Introduction

Climate change is a main driver of biodiversity loss, affecting species’ geographical distribution, ecosystem functioning and services (human benefits provided by the ecosystems)1,2,3. These include support, provisioning, regulation and cultural services4. Thus, understanding how global warming affects all ecosystems is crucial3.

Our ability to make predictions regarding climate change on the surface has increased significantly over the last decades2. Nevertheless, below the ground hides a vast subterranean ecosystem, whose response to climate change remains largely unknown5. Caves are the most accessible underground ecosystems and constitute a window to study the vast dimension of the subterranean domain, that includes the mesocavernous shallow environment (MSS), a terrestrial shallow subterranean environment composed of the interstitial spaces between rocky fragments6,7. Caves lack light and are known to have stable environmental conditions, with surface influence decreasing with depth5,6,7,8,9,10,11. Temperature in caves show lower amplitude than at the surface7,12, although stable temperature in caves has been directly linked to average annual temperature at the surface for the same location8,11,12,13. Caves, with their isolated habitats and stable environmental conditions, serve as excellent models for predicting ecological responses to various environmental stressors, such as climate change9,13,14,15. In fact, a long-term thermal variation study over 13 years in an ice cave has found a warming trend on cave temperatures16.

Caves harbour unique organisms with specific adaptations to the peculiar conditions of subterranean habitats, including many short-range endemics, representing independent colonisations of surface ancestors, many ancient lineages and countless species yet to be discovered5,17. These ecosystems provide multiple benefits to humans17,18. They include the largest spaces for groundwater storage, but also water purification, in which subterranean biota plays the crucial role in the degradation of organic matter and pollutants5,18,19. In addition, caves are fundamental shelters for a variegated set of species, some of which are already known as being at risk of extinction, including bats17. Further, caves can provide opportunities for outdoor recreation, provide a unique environment for ecological end evolutionary scientific research, and have cultural and spiritual significance for indigenous communities and other groups5,17. Considering the importance of these ecosystems, understanding the thermal behaviour in caves is crucial to predict their fate under the ongoing global warming5,13,17,20,21.

We studied the temperature variation of deep zones in caves (those that do not receive any light from the surface and are more isolated) and on their respective surface (above the deep part of the cave), at sediment level for one year. Our hypothesis is that the temperature in the deep zones of caves follows the pattern of the average temperature at the surface for each location, expressing a slight delay and lower amplitude. We selected 12 caves located in different climatic zones, from tropical to cold continental climates, to study the relationship between surface and cave temperatures. We analysed the overall amplitudes, thermal patterns among seasons and months, and unveiled cyclicity patterns. Understanding how temperature in caves is related to surface temperatures in different climatic areas is crucial for predicting how climate change will affect subterranean ecosystems and consequently the ecological quality of groundwater.

Results

Temperature variation in caves vs on the surface

We found that temperature was consistently more stable in the caves than at the surface, with the lowest amplitudes occurring in the caves (Fig. 1, Table 1, Tables S2-S13). The highest temperature was recorded at the surface in southern Portugal (Vale Telheiro: 39.1 °C) and the highest cave temperature in Guam (Talofofo: 26.7 °C). In comparison, the lowest temperatures were recorded in northern Norway (− 0.5°C at the surface and 2 °C in the Setergrotta Cave) (Table 1). For this high latitude location, it should be noted that surface air temperatures may drop beyond − 25°C during winter (e.g. − 24.2 °C in February 2020, data from the “Norwegian Meteorological Institute”). The observed constancy of winter temperature in the other locations is due to up to 2 m thick snow cover at the surface site. We found a statistically significant difference between the cave and surface mean daily temperature (MDT) for seven of the studied locations (Balcões, Honda de Güímar, Jazinka, Cerâmica, Lazareva, Planinska and Sant Josep) (Table 1).

Figure 1
figure 1

Thermal amplitude of deep zones of caves and their respective surface.

Table 1 Statistics and comparison between deep zones of caves (C) and their respective surfaces (S).

Annual thermal amplitudes in caves ranged from 0.1 °C in Planinska Cave in Slovenia to 8.8 °C in Balcões Cave on the Atlantic Island of Terceira in the Azores archipelago (Fig. 1, Table 1). The lowest thermal amplitudes at the surface were recorded in an Am (Tropical—Monsoon) climate zone in Guam (2.5 °C in the cave and 4.9 °C at the surface), and in a Csb (Temperate—Dry summer—Warm summer) climate zone in the Azores (8.8 °C in the cave and 12.4 °C at the surface), with Guam having the most similar values between cave and surface thermal amplitudes. The highest thermal amplitude was recorded at the surface in the vertical of Vale Telheiro Cave, southern Portugal (32.2 °C).

Annual temperature variation patterns in caves compared to the surface

We found three main correlation patterns between annual cave and surface temperature variation: (1) caves with high positive correlation values to surface temperature, having the same thermal signal (0–1 months difference) as the surface but with a smaller amplitude (Balcões, Jazinka, Lazareva, Talofofo), (2) caves with low correlation to surface temperature, and with a slight thermal delay of the signal from the surface (1–4 months) (Vampirjeva, Setergrotta, Sant Josep, Honda de Güímar), and (3) caves with high negative correlation with the surface temperature, showing an extreme delay from the surface (5–6 months) (Vale Telheiro, Cerâmica, Planinska, Viento) (Table 1).

The caves with the lowest correlation with the surface (Vale Telheiro, Cerâmica, Planinska and Viento) show the most extreme delay in the coldest and warmest surface peaks (Fig. 2, Table 1). In these cases, the coldest temperatures inside the caves correspond to the warmest temperatures at the surface and vice versa. Contrarily, the caves that showed highest correlation with the surface show similar behaviour to the surface, with little to no delay.

Figure 2
figure 2

Average monthly thermal variation for the 12 studied locations along one year.

Thermal cyclicity in caves

We found daily thermal cycles in seven caves (Balcões in Azores, Jazinka in Croatia, Lazareva in Serbia, Talofofo in Guam, Vampirjeva in Slovenia, Viento and Honda de Güímar in the Canary Islands) (Fig. 3), with spectral density values always lower than those obtained for their surface (Table 1, Fig. 3, Figure S1). All other caves show no daily peaks, even at low spectral densities (Fig. 3). Caves with daily thermal cycles, show daily thermal cyclicity for individual seasons, but not necessarily for the four of them, while caves lacking daily thermal cyclicity, also lack cyclicity for seasonal data (Figures S2-S13).

Figure 3
figure 3

Spectral density analysis of temperature for deep zones of all studied caves.

Discussion

Temperature variation in caves vs. on the surface

The temperature in the caves was always more stable than on the surface. We found this across climate zones, lithologies, altitudes and latitudes and cave morphologies. The annual average temperature in caves is highly correlated with the average surface temperature. This agrees with other comparative studies that measured, simultaneously, temperature in caves and at their surface in tropical caves8, in cave air temperature in Slovenia22, and in cave-floor temperature in the Czech Republic23. This implies that temperature variations—such as those imposed by climate change—at surface will be reflected underground. Thermal stability in caves exercises strong selective pressure on all organisms thriving in the underground13, and the temperature increase due to climate change is known to threaten the ecological sustainability of subterranean ecosystems5,20,21,24.

Annual temperature variation patterns in caves compared to surface

Cave temperatures are known to react “to long term temperature drifts with some delay”18, due to the inertia of the rock and fluids infiltration. Therefore, cave temperature is directly influenced by the temperature of the outer atmosphere25, and the surface heat transmission through the Earth’s upper crust is mainly via conductivity26,27. The signal delay has putatively been related to the depth of the cave zone13, i.e., in deep zones of caves forced ventilation seems to be the primary influence on temperature27.

Measuring temperature at soil level in the deep zone of each cave, we found three main correlation patterns in the annual temperature variation of the caves compared to the surface: (1) caves with high positive correlation with the surface temperature and identical thermal signal to the surface, but smaller amplitude, (2) caves with low correlation with the surface temperature and slight thermal delay of the signal from the surface, and (3) caves with high negative correlation to the surface temperature and extreme delay from the surface. This indicates that the thermal regime of the caves is influenced by the surface, but also by the individual characteristics of each cave. Rock properties, where igneous rocks have higher thermal conductivity than sedimentary rocks26,28, may lead to lower thermal delay in volcanic caves, which could explain the patterns found in Talofofo Cave (Guam) and Balcões Cave (Azores), but the opposite was found for Viento Cave (Tenerife), which was the most thermally stable of all caves measured. Cave morphology may affect the thermal regime as well, with deep parts of large caves usually being more stable11,29, which was observed for Planinska and Viento caves; however, Vale Telheiro (Portugal) is a very shallow cave (< 20m depth) and was also very stable. Latitude and altitude, which controls temperature at the surface and consequently in depth26. Moreover, air and water circulation contribute significantly to the regulation of cave temperatures30,31,32,33.

Caves are semi-closed complex systems and must therefore be understood as dynamic environments where the interaction of factors acting in the past plays a role in controlling the actual cave temperature. Air circulation is particularly relevant for caves with large and multiple entrances where air can be rapidly renewed, as in Guam, the Azores and Honda de Güímar Cave in Tenerife. Also, the geometry of cave passages may be a predictor of air circulation and consequently of temperature34,35. The surface air is denser in winter than in summer, resulting in cooler air entering the cave towards the lower points. The cold air pushes the warm air deeper into the most stable parts of the cave, forming an atmospheric “cul-de-sac”, where air renewal is more limited36, which might explain the pattern observed in caves with negative correlation to surface temperature37. These include some of the most biodiverse caves in the world38,39. On the other hand, the permanently undercooled caves, with often permanent presence of ice due to the downward gravitational movement of cold air (a so-called ice traps) are also known for high subterranean biodiversity, especially from the Dinarides4.

At higher latitudes and altitudes, seasonal ice layers formed during the cold season act as a thermal buffer, resulting in a lower thermal amplitude inside caves during winter, due to the lack of percolating water during that season30. This happened in Setergrotta Cave in northern Norway where we recorded a plateau in winter and early spring.

Other factors may be influencing the cave’s temperatures such as surface vegetation, by providing shadow13, humidity7,40,41, and potentially the geothermal gradient where temperature increases with depth36,42, although in karst regions this effect seems to be buffered by the advection of groundwater31.

Thermal cyclicity in caves

Despite the general thermal stability in caves compared to the surface, caves with temperatures highly correlated with the surface showed daily thermal cycles. We expected this cycle to occur in caves that are most influenced by their respective surface, such as those with multiple entrances, where airflow plays an important role in controlling the cave microclimate. This pattern has already been observed in tropical caves, but limited to the shallowest parts of the cave8. We found daily cycles in the deep zones of caves located in different climatic areas, suggesting that daily temperature cycles in deep parts of caves may be frequent.

Circadian rhythms are intimately related to environmental cues such as light, and regulate different processes in organisms43,44. Previously, it was assumed that there were no daily variations in caves that could exert control over organisms43. However, the observed daily thermal cycles could play an important role to mark the circadian rhythms in cave-adapted organisms. Cave-adapted biodiversity is controlled by ecological, climatological, temporal and geological conditions45, but interestingly, we can observe that some of the most biodiverse caves (Planinska, Vale Telheiro and Cerâmica) have no daily cycles, suggesting that thermal stability could be a factor promoting high species richness below ground.

Our findings on thermal patterns and cyclicity in caves are particularly relevant for studying the impact of climate change in subterranean ecosystems and niche partitioning, but also for speleothems genesis46, and paleoclimatic reconstructions47, with potential implications on our capacity to interpret historical data from cave records. Further studies are needed to disentangle the role of the different drivers influencing cave microclimates.

We studied the variation at soil level in the deepest parts of different caves in many parts of the world, but thermal stratification may also occur in caves11,29,33,40,48. Further studies should include the effect of thermal stratification within individual caves, because the variation in temperature across the cave zones and between the floor and the roof of a gallery may have a major impact on speleogenesis, the formation and maintenance of ice in caves and, consequently in the creation of distinct ecological niches30.

Subterranean ecosystems harbors 95% of the world’s freshwater resources available for direct human consumption and the largest water reservoir for plants and agriculture5,46. Consequently, it is pivotal to understand the factors that influence cave temperatures and how they may affect cave species and ecosystem services18,20,21,24,46. The Intergovernmental Panel on Climate Change (IPCC) synthesis report from 2014 confirms that climate change has and will continue to impact ecosystems and geographical species’ distribution at surface, which will be reflected underground, by mean annual surface temperatures increase but also by the decrease of rainfall and extreme climatic events2. While epigean/surface dwelling species may have the ability to disperse to other altitudes and latitudes, cave-adapted communities are isolated in caves and with none or very limited survival capacity at surface49. This is even more evident in terrestrial communities that may be doomed without the ability to disperse50. We observed that the average temperature in the deep zones of the caves reflects the average surface temperature for each cave, therefore, we expect the increase in surface temperature to be reflected in the underground. In addition to global climate change, other human activities are also known to increase temperature in subterranean ecosystems, such as proximity to cities51,52,53. Moreover, in caves where the temperature is highly dependent on the surface, such as Balcões in the Azores and Talofofo in Guam, climate extremes may even be detected inside the cave. However, this work also shows how difficult it is to explain the factors that control cave climate. This is still very understudied and should be explored further to better understand the degree to which caves depend on the surface, and how vulnerable they are to anthropogenic threats such as climate change.

Methods

Data collecting

We selected twelve caves in different climate zones: Tropical (Am Tropical—Monsoon), Arid (BWk—Arid—Desert—Cold, BSk—Arid—Steppe—Cold), Temperate (Cfa—Temperate—No dry season—Hot summer, Cfb—Temperate—No dry season—Warm summer, Csa—Temperate—Dry summer—Hot summer, Csb—Temperate—Dry summer—Warm summer), and Continental (Dfb—Continental—No dry season—Warm summer, Dfc—Continental—No dry season—Cold summer) (Fig. 4, Cave coordinates in Supplementary Table 1). For each location, temperature was recorded inside the cave in the deep zone to ensure minimal outside influence, and vertically above the cave at surface. Temperature data loggers (HOBO TidbiT v2) recorded temperature every two hours during a 12-month period, with an accuracy of ± 0.21 °C and a resolution of 0.02 °C. These were installed 2 cm into the soil at the surface and 2 cm into the sediment in the deepest part of each cave. The caves differ in terms of lithology, formation, size, climate zones, number of entrances, depth, and altitude. The map of localities was produced in ArcGIS (v10.7.1, https://www.esri.com/en-us/arcgis/products/arcgis-pro), over a Köppen-Geiger climate classification layer adopted from Peel et al. 54.

Figure 4
figure 4

Locations of the studied caves across biomes. Map produced in ArcGIS (v10.7.1), with Köppen-Geiger climate classification layer adopted from Peel et al. 54.

Data analysis

Data was analysed with basic statistics in R and R Studio (v1.3.1073)55 and visualized with the package ggplot256. Mean daily temperature (MDT), average annual temperature (AAT) and maximum and minimum temperatures were calculated for both the cave and the surface for each location. The correlation between the cave and surface environments for the annual and monthly data was analysed using a Pearson coefficient for variables with a linear relationship, while a Spearman coefficient was used for non-linear ones. To test whether the difference in MDT between each cave and respective surface pair was statistically significant, initially, a Shapiro–Wilk test was performed to check the normality of the variables. If the variables were parametric, we performed a t-test. If not, a two tailed Wilcoxon signed-rank test was used.

Thermal cyclicity was studied using spectral density analysis in JMP software (v16.0.0) to investigate the existence of 24 h cycles in caves. Spectral density analysis is used to study a signal’s periodicity linked to a cyclic behaviour57. This was performed searching for cyclical patterns in temperature data that repeats approximately every 60 h period. For this, the thermal cycles were analysed for the annual data of cave and surface for each location, and for the seasonal data, i.e. analysing independently the data from each season. Because the temperature was recorded every 2 h, the 24 h cycles are detectable as 12-time intervals, and the 12h cycles are detectable as 6-time intervals.