Cave ecosystems are communities of organisms that live partly or entirely underground, sustained not by sunlight but by energy imported from the surface or, in rarer cases, manufactured by microbes from chemical reactions deep within the rock. These systems run on a fraction of the energy available to surface habitats, and nearly everything about them reflects that constraint: the animals are small, slow, and metabolically frugal; the food webs are short; and many species are found nowhere else on Earth. What makes caves fascinating as ecosystems is precisely this austerity, because life has not merely persisted in total darkness but diversified into forms that challenge assumptions about what organisms need to survive.
Zones of a Cave and Why They Matter
Caves are not uniform environments. From the entrance inward, they divide into roughly three zones based on how much surface influence reaches them. The entrance zone receives daylight and fluctuates with outdoor weather. A twilight zone sits just beyond, where dim light fades to nothing and temperature swings become muted. Then comes the dark zone, the deep interior where no light penetrates, humidity often hovers near saturation, and temperatures barely budge across seasons.
That thermal stability is one of the defining features of deep cave environments. Research linking surface and subterranean climate data has confirmed that temperatures deep within caves correlate with the mean annual surface temperature of the region but tend to run slightly below it, and the deeper you go, the less variable the readings become.1Ecosphere. Linking surface and subterranean climate: implications for the study of hibernating bats and other cave dwellers Microclimate data from caves and mines in New Brunswick, Canada, showed the same pattern: winter dark-zone temperatures were warmer and far less variable than conditions at the entrance or above ground.2Dryad. Raw microclimate data from caves and mines in New Brunswick, Canada This buffered environment is exactly why bats choose deep cave passages for hibernation, and it is also why organisms adapted to these stable conditions can be devastatingly sensitive to even small disturbances.
How Energy Gets In Without Sunlight
The most obvious question about any cave ecosystem is where the energy comes from. In most caves, the answer is simple: it comes from outside. Organic material washes in through streams, seeps through cracks in the rock, or gets carried in by animals. Leaves, wood debris, dissolved organic carbon in drip water, and the carcasses of creatures that wander in and die all contribute small subsidies. But the single most important energy source in many tropical and temperate caves is bat guano.
Bat colonies that roost underground by day and forage outside at night act as biological pipelines, funneling surface-derived calories into the cave in the form of feces. Frugivorous bats like the flat-faced fruit bat deposit organic matter and moisture that support entire invertebrate communities below their roosts.3PubMed Central. Cross-ecosystem engineers: the dual role of fruit bats in cave nutrient dynamics and landscape seed dispersal Insectivorous bats play an even larger role in many systems: their guano is rich in chitin from insect exoskeletons and has been shown to act as a keystone resource, shaping invertebrate community structure and driving higher species richness and abundance.4PubMed Central. An endangered cave-roosting insectivorous bat supports strongly distinct macro-invertebrate communities in caves of an oceanic island The guano piles themselves host beetles, mites, flies, and fungi, forming a miniature food web layered on top of what amounts to a heap of imported nutrients.
Even vertebrates get in on the act. A study of cave-adapted salamanders in the eastern United States found that some deliberately eat bat guano rather than relying solely on invertebrate prey. Stable isotope analysis confirmed that guano was being assimilated into muscle tissue, and nutritional testing showed it was comparable in energy value to the invertebrate prey the salamanders would otherwise hunt.5PubMed Central. Coprophagy in a cave-adapted salamander; the importance of bat guano examined through nutritional and stable isotope analyses In an environment where calories are scarce, switching to a reliable, energy-dense detritus makes good evolutionary sense.
Caves That Make Their Own Food
A small number of caves bypass the surface entirely and run on chemical energy. In these systems, microorganisms harvest energy from inorganic compounds like hydrogen sulfide, ammonia, or iron, then use that energy to fix carbon dioxide into organic molecules. The result is a food web built from scratch underground, with no dependence on photosynthesis at all.
The most famous example is Romania’s Movile Cave, sealed from the surface for millions of years and sustained by sulfur-oxidizing bacteria. But chemosynthetic communities are not limited to that one site. Sulfuric acid caves more broadly tend to host communities where primary production runs on chemical energy rather than imported organic matter.6PubMed Central. The geomicrobiology of limestone, sulfuric acid speleogenetic, and volcanic caves: basic concepts and future perspectives A study of a cold, oxygen-poor, hypersaline spring in the Arctic found that sulfur-cycling bacteria dominated primary productivity even during periods of constant illumination at the surface, demonstrating that chemosynthesis can outcompete photosynthesis when chemical energy is abundant enough.7PubMed Central. Sulfur-cycling chemolithoautotrophic microbial community dominates a cold, anoxic, hypersaline Arctic spring
Australia’s Bundera Sinkhole offers another window into this world. It is the only known continental anchialine system in the Southern Hemisphere, meaning its underground waters connect to the sea but have no open surface link. Metagenomic analysis revealed that about three-quarters of the microbial genomes recovered belonged to entirely new or uncharacterized families, and their metabolisms shifted with depth along gradients of oxygen and salinity, coupling nitrogen and sulfur cycling to drive energy production.8PubMed Central. Stratified microbial communities in Australia’s only anchialine cave are taxonomically novel and drive chemotrophic energy production via coupled nitrogen-sulphur cycling The sheer novelty of these organisms underscores how little we still know about microbial life in caves.
How Cave Animals Have Changed
The evolutionary hallmarks of obligate cave life are strikingly consistent across unrelated groups. Animals that have lived underground for thousands or millions of generations tend to lose their eyes and skin pigmentation, grow longer sensory appendages, and slow their metabolisms. These changes have evolved independently in fish, crustaceans, salamanders, insects, and spiders, making caves one of the best natural laboratories for studying convergent evolution.
Eye loss and pigment reduction are the most visible examples. In the Mexican cavefish, eye development begins normally in embryos but the lens later degenerates, leaving a vestigial structure covered by skin.9PubMed Central. Cavefish and the basis for eye loss Genetic mapping in cave-adapted crustaceans has identified specific genomic regions of large effect responsible for both pigmentation traits and eye loss, confirming that these are genetically tractable changes, not just random drift.10PubMed Central. Genetic basis of eye and pigment loss in the cave crustacean, Asellus aquaticus
What replaces vision is equally interesting. Blind cavefish navigate using their lateral line, a system of pressure-sensitive receptors along the body that detects water movement. When researchers experimentally disabled the lateral line, the fish did not become helpless. They switched to touching obstacles with their fins and snouts, revealing backup sensory strategies that most surface fish never need to use.11PubMed. Compensatory sensory mechanisms in naïve blind cavefish navigating novel environments after lateral line ablation The redundancy suggests that cave organisms may invest more developmental resources in touch and vibration sensing than their surface relatives do.
Living Slow in an Energy-Poor World
Food in most caves arrives unpredictably and in small amounts. The organisms that thrive have adapted by turning down their metabolic dials. The olm, a fully aquatic cave salamander from southeastern Europe, is perhaps the most extreme vertebrate example. Studies of its response to prolonged starvation found that it could endure extraordinarily long fasts by entering a torpor-like state and sparing its protein reserves, keeping metabolic and activity rates far below those of comparable surface amphibians.12PubMed. Behavioural, physiological and metabolic responses to long-term starvation and refeeding in a blind cave-dwelling (Proteus anguinus) and a surface-dwelling (Euproctus asper) salamander The olm has been described as a “low-energy-system vertebrate,” essentially running on idle for extended periods until food becomes available again.
Not every cave species has evolved the same solution. Mexican cavefish, despite living in energy-poor environments, do not actually outperform their surface relatives in fasting endurance. When food was withheld, cave populations burned through glycogen, fat, and protein stores faster than surface fish did, suggesting they rely more on storing extra energy when food is available than on rationing it during lean times.13PubMed. Cave colonization without fasting capacities: an example with the fish Astyanax fasciatus mexicanus This is a useful reminder that “cave adaptation” is not one recipe but many, depending on the species and the particular cave’s ecology.
One particularly clever energy-saving trick involves the circadian clock. Surface-dwelling fish show a daily rhythm in metabolism, with oxygen consumption peaking during subjective daytime. Cave-dwelling populations of the same species have lost this rhythm entirely, and the metabolic flatline saves them roughly a quarter of their energy budget compared to surface fish experiencing normal day-night cycles.14PLoS ONE. Eyeless Mexican Cavefish Save Energy by Eliminating the Circadian Rhythm in Metabolism When there is no day and no night, maintaining an internal clock becomes a metabolic luxury some species have abandoned.
Yet circadian rhythms have not disappeared from all cave life. Cave-adapted scorpions in Brazil retain circadian activity patterns even in constant darkness, though the expression of those rhythms differs from surface species, suggesting that the internal clock is being modified rather than deleted wholesale.15PubMed. Oscillating in darkness: Circadian rhythms of cave-dwelling scorpions Whether a cave species keeps or ditches its circadian rhythm seems to depend on how long it has been underground and how much the energy savings matter relative to other selective pressures.
The Hidden Aquifers
Much of cave biodiversity lives in water rather than on rock. Stygofauna, the collective term for groundwater-dwelling animals, include crustaceans, worms, snails, and even fish that spend their entire lives in the water-filled fractures and channels of karst bedrock. Many are tiny, translucent, and extremely hard to find. Traditional survey methods using nets tend to underestimate their diversity; eDNA sampling of cave water has shown it can detect soft-bodied species and fish that nets miss entirely.16PubMed. Taking eDNA underground: Factors affecting eDNA detection of subterranean fauna in groundwater
Monitoring networks in England have found that stygofauna are more widespread than previously assumed, with obligate groundwater species turning up across many sites and even species not recorded nationally for nearly a century being rediscovered through systematic sampling.17PubMed. From subterranean blues to stygofauna clues: Developing a groundwater ecology monitoring network for England The challenge with aquatic cave life is not so much that it is rare, but that detecting it requires specialized effort. Many regions almost certainly harbor undocumented species in their groundwater systems.
Microbes as Architects
Caves are often thought of as geological features shaped by water dissolving rock over millennia, and that is true. But microorganisms actively participate in both the destruction and construction of cave structures. Bacteria can produce acids that corrode limestone bedrock, contributing to cave enlargement, while other microbial communities catalyze the precipitation of carbonate minerals, helping to build stalactites, stalagmites, and other formations collectively called speleothems.18Elements. Cave Decorating with Microbes: Geomicrobiology of Caves
Laboratory experiments confirm this dual role. Microbial communities cultured from cave speleothem surfaces have been shown to precipitate calcium carbonate crystals in vitro, indicating that the metabolic activity of these organisms contributes to mineral formation in living caves.19PubMed Central. Microbial Diversity and Mineralogical-Mechanical Properties of Calcitic Cave Speleothems in Natural and in Vitro Biomineralization Conditions Work in a lava tube cave identified specific bacterial genera, including Pseudomonas and Bacillus, that induce carbonate precipitation through a process called ureolysis, and the type of mineral precipitated changed depending on the chemical composition of the surrounding water.20PubMed Central. Carbonate mineral precipitation induced by microorganisms enriched from the cave water and biofilm in a lime-decorated lava tube The formations that tourists admire on cave tours are partly biological products, not just geological ones.
Ice Caves and Other Extremes
Not all caves are warm and wet. Ice caves, where perennial ice accumulates in underground passages, host microbial communities adapted to near-freezing temperatures. In an Alpine ice cave, metagenomic analysis revealed a dominance of cold-adapted bacteria whose metabolic capabilities shifted with depth: communities near the entrance were enriched in nitrogen-fixing species, while deeper zones harbored nitrifying bacteria with complete pathways for converting nitrogen compounds.21PubMed Central. Taxonomy and functional profile of microbial communities across the depths of the Alpine Cenote Abyss ice cave Carbon-fixation pathways were partially represented at all depths, suggesting that even in ice, microbial communities maintain some capacity to build organic matter from scratch.
In Utah’s Winter Wonderland ice cave, researchers found that bacteria preferentially associate with calcium carbonate crystals embedded in the ice rather than distributing evenly through frozen water. The microorganisms may survive on nutrients contained within these mineral particles, effectively making the crystals tiny oases in a frozen desert.22PubMed Central. Bacterial diversity and geomicrobiology of Winter Wonderland ice cave, Utah, USA This uneven distribution means that sampling ice alone can underestimate the microbial community actually present, a practical headache for researchers trying to catalog cave biodiversity.
Threats That Follow Water Underground
Because karst systems are hydrologically connected to the surface, cave ecosystems are vulnerable to pollutants that infiltrate from above. Microplastics have emerged as a growing concern. Surveys of karst systems have detected microplastic particles in cave waters and sediments, and because karst aquifers are open systems with rapid conduit flow, surface contamination can reach underground environments quickly.23PubMed. Preliminary investigations of microplastic pollution in karst systems, from surface watercourses to cave waters
In South African cave systems, researchers found microplastics not only in sediment and water but also inside the bodies of cave-dwelling amphipods. Plastic densities correlated with human visitation and activity around the caves, and polypropylene was the most abundant polymer detected.24Hydrobiologia. Plastics underground: microplastic pollution in South African freshwater caves and associated biota Because many cave invertebrates are endemic to a single cave system, even localized contamination has the potential to threaten entire species.
Disease is another imported threat. White-nose syndrome, caused by the fungal pathogen now called Pseudogymnoascus destructans, has decimated hibernating bat populations across North America since it was first observed in a New York cave in the mid-2000s. The fungus grows on the skin of hibernating bats, disrupting their torpor and causing them to burn through fat reserves before spring. It is considered an emerging disease likely introduced through human activity.25PubMed. White-Nose Syndrome: Human Activity in the Emergence of an Extirpating Mycosis Since bats are the primary energy couriers for many cave food webs, a collapse in bat populations cascades through the entire system: less guano means fewer invertebrates, which means less food for everything else.
The fungus itself appears to have some capacity to survive in caves independently of bats. Research comparing it to related cave-dwelling fungi found that P. destructans can produce cellulases and chitinases, enzymes that break down plant debris and insect exoskeletons, both of which occur in caves via flooding and bat guano.26PLOS ONE. Comparison of the White-Nose Syndrome Agent Pseudogymnoascus destructans to Cave-Dwelling Relatives Suggests Reduced Saprotrophic Enzyme Activity This ability to subsist on environmental carbon sources may allow the pathogen to persist in a cave long after bats have been driven out, complicating recovery.
Caves as Climate Archives
Beyond their ecological value, caves serve as archives of past climate. Speleothems grow incrementally from mineral-laden drip water, and the chemical composition of each layer records the temperature, rainfall, and vegetation conditions that prevailed on the surface at the time it was deposited. Uranium-series dating can assign precise ages to these layers going back hundreds of thousands of years, making speleothems one of the most important tools for reconstructing terrestrial climate histories.27Quaternary Research. Studies of Cave Sediments: Physical and Chemical Records of Paleo-climate
This technique has been applied even in arid regions where other paleoclimate proxies are scarce. Pollen trapped within speleothems from desert caves in Africa has provided glimpses of past vegetation, and the dating potential extends to a million years using certain methods, offering a window into ancient landscapes that left few other records.28Palaeogeography, Palaeoclimatology, Palaeoecology. Desert paleoenvironmental data from cave speleothems with examples from the Chihuahuan, Somali-Chalbi, and Kalahari deserts The microbial communities living on those same formations today may subtly influence the chemical signals being laid down, which means that understanding cave geomicrobiology is not just an ecological question but a geochemical one too. What microbes do to speleothem chemistry can affect how accurately we read the climate record stored inside them.