Crabs are mostly ocean animals, but they now live in nearly every wet or damp place on Earth, from deep seafloors and coral reefs to riverbanks, caves, and island forests. Their move toward land didn’t happen once. Crabs took that step many separate times in their history.1Science News. Crabs left the sea not once, but several times, in their evolution Even the ones living far inland usually stay tied to the sea in one crucial way, through how they raise their young.
Crabs of the Open Sea Floor and Deep Ocean
Most ocean crabs live on the bottom, not swimming in open water. The Japanese spider crab, the largest crab by leg span, usually lives on sandy and rocky seafloor about 150 to 300 meters deep.2Animal Diversity Web. Macrocheira kaempferi During spawning season it moves up into shallower water around 50 meters deep.2Animal Diversity Web. Macrocheira kaempferi
A crab’s flattened, tough body and walking legs are built for crawling, which is why even huge spider crabs spend their lives on the seafloor and not in the water above it. Crabs that do swim, like swimmer crabs, have paddle-shaped back legs, but they still rest and feed on the bottom. On the bottom, rocks, crevices, and sand give crabs places to hide from predators while they scavenge or hunt for food.
Some crabs handle conditions that would kill most sea life. A few live beside shallow undersea volcanic vents where gas makes the water strongly acidic.3PubMed Central. Specialized adaptations allow vent-endemic crabs (Xenograpsus testudinatus) to thrive under extreme environmental hypercapnia These vent crabs keep their own body chemistry steady even in water far more acidic than normal seawater.3PubMed Central. Specialized adaptations allow vent-endemic crabs (Xenograpsus testudinatus) to thrive under extreme environmental hypercapnia
Beaches, Mudflats, and Mangroves
Fiddler crabs live on tidal mudflats and beaches, in the strip between high and low tide. They come out to feed at low tide and stay in their burrows when the tide is high.4PubMed. Modeling activity rhythms in fiddler crabs The burrows usually reach 8 to 50 centimeters deep, and one species can dig down about a meter.5Ecological Engineering. The relationship between intertidal soil composition and fiddler crab burrow depth How deep and what shape they dig depends mostly on the soil they live in.5Ecological Engineering. The relationship between intertidal soil composition and fiddler crab burrow depth
The tide gives these crabs two different worlds each day: covered by seawater at high tide, then exposed to sun, wind, and air at low tide. A burrow handles both problems. It stays damp and cooler than the surface at low tide, and it protects the crab from birds and fish that hunt as the tide comes in or goes out. Fiddlers prefer soft, muddy ground, while other crabs prefer drier sand higher up, so the type of shore decides which crab you find. Mangrove crabs add a third pattern, climbing roots or trunks to escape rising water instead of only digging down.
Burrows reshape the shore itself. They change how mud drains and how much air and nutrients reach below the surface.6Journal of Sea Research. Mangrove crabs as ecosystem engineers; with emphasis on sediment processes Water flushing through burrows carries oxygen deep into mangrove and salt marsh soils, changing their chemistry.7Geoderma. Crab bioturbation drives coupled iron-phosphate-sulfide cycling in mangrove and salt marsh soils
Sandy beaches above the tide line belong to ghost crabs. They can draw water up from damp sand through tufts of tiny hairs on their bodies.8Physiological Zoology. Uptake of Interstitial Water from Soil: Mechanisms and Ecological Significance in the Ghost Crab Ocypode quadrata and Two Gecarcinid Land Crabs That lets them pull water from sand that is less than 5% water, so they can live anywhere on a beach where the water table sits close below the sand.8Physiological Zoology. Uptake of Interstitial Water from Soil: Mechanisms and Ecological Significance in the Ghost Crab Ocypode quadrata and Two Gecarcinid Land Crabs Egg-carrying females spend longer soaking up water, because their eggs block the hairs from touching wet sand.9PubMed Central. Unique Behavioral Strategies Adopted by Gravid Ghost Crab Ocypode gaudichaudii to Overcome Dehydration Stress while Minimizing Predation Risks
To spot ghost crabs, look for round holes in dry sand above the waterline. They are most active at dusk and at night. Their pale color blends with the sand, so movement gives them away. Tread carefully, since burrows and crabs are easily crushed.
Crabs That Live on Land
Some crabs are true forest animals. On Guam, coconut crabs live mostly in coastal limestone forest, sheltering in burrows in the rock.10University of Guam Marine Laboratory Technical Report. Biological Studies on the Coconut Crab (Birgus latro) in the Mariana Islands They hide by day and come out at night to scavenge coconuts, fruit, rotting wood, and other crabs.10University of Guam Marine Laboratory Technical Report. Biological Studies on the Coconut Crab (Birgus latro) in the Mariana Islands They drag big pieces of food back to their burrows and may stay several days eating.10University of Guam Marine Laboratory Technical Report. Biological Studies on the Coconut Crab (Birgus latro) in the Mariana Islands On Saipan, mixed habitat held about 16 coconut crabs per hectare.11Micronesica. Management implications of a coconut crab (Birgus latro) removal study in Saipan, Commonwealth of the Northern Mariana Islands
Land crabs are not a separate kind of animal. They are crabs whose bodies and habits have shifted toward air, and they are related to seashore crabs that look quite different. Some stay near the water’s edge and dip into it often, while coconut crabs and red crabs can live far from standing water for long periods. A coconut crab is a kind of hermit crab that grows up and no longer carries a shell as an adult, which helps explain why it is so large and heavily armored.
Breathing air takes special equipment. Land-living crabs have fewer, smaller gills than sea crabs.12Arthropod Structure and Development. The morphology and vasculature of the respiratory organs of the terrestrial hermit crabs (Coenobita and Birgus): gills, branchiostegal lungs and abdominal lungs Many have a lung-like chamber lined with blood vessels inside the shell. Coconut crabs have an especially large, folded one that gives more surface to take in oxygen.12Arthropod Structure and Development. The morphology and vasculature of the respiratory organs of the terrestrial hermit crabs (Coenobita and Birgus): gills, branchiostegal lungs and abdominal lungs Even fiddler crabs on mudflats have this extra air-breathing chamber.13PubMed. The branchiostegal lung of Uca vocans (Decapoda: Ocypodidae): Unreported complexity revealed by corrosion casting and MicroCT techniques
The chamber sits over the gills, where its moist lining lets oxygen move into the blood without the animal drying out. Gills still matter, so a land crab needs some moisture on them, and dry air is its main danger. That’s why these crabs stay in damp burrows during hot, dry daytime hours and come out at night or in rain. Coconut crabs may also visit the beach to drink seawater for salt balance.
Land crabs shape the forests they live in. In mangroves and tropical coastal forests, they eat seeds and seedlings, limiting which trees can grow.14PubMed. Land crabs as key drivers in tropical coastal forest recruitment But their burrows also loosen soil and pull leaf litter underground, which helps the forest.14PubMed. Land crabs as key drivers in tropical coastal forest recruitment
Freshwater and Cave Crabs
At least 70 species of freshwater crabs are known from caves in Southeast Asia.15Edaphologia. Brachyuran crabs (Crustacea: Decapoda) in the limestone caves of Thailand, with a checklist of freshwater cave-dwelling crabs in Southeast Asia Most cave crabs in Thailand also live in outside streams and waterfalls.15Edaphologia. Brachyuran crabs (Crustacea: Decapoda) in the limestone caves of Thailand, with a checklist of freshwater cave-dwelling crabs in Southeast Asia True cave-only crabs tend to be pale, with tiny eyes or none, and long thin legs.15Edaphologia. Brachyuran crabs (Crustacea: Decapoda) in the limestone caves of Thailand, with a checklist of freshwater cave-dwelling crabs in Southeast Asia A cave crab found in Mexico has no eyes and no color.16PubMed. A new species of stygobitic freshwater crab of the genus Rodriguezia Bott, 1969 (Crustacea: Decapoda: Trichodactylidae) from Tabasco, Mexico
In darkness, eyes and color give no advantage, and long legs help feel the way. These crabs often live in a single cave system and nowhere else, so a species confined to one cave can vanish when that cave is destroyed. Limestone caves are being lost to quarrying and mining, and new cave species are still being discovered.
Switching between salty and fresh water takes body work. Fresh water is much less salty than a crab’s body fluids, so water tends to flow in and salts tend to leak out. Crabs living in fresh water must actively pull salt into their bodies through their gills.17PubMed Central. Ionic regulatory strategies of crabs: the transition from water to land
Crabs that move between river and sea can adjust. The mud crab works hard to hold its salt levels in low-salt water but simply matches its surroundings in salty water.18PubMed Central. Multi-omic approach provides insights into osmoregulation and osmoconformation of the crab Scylla paramamosain Some strictly freshwater crabs cannot go back to the sea.
Why Land Crabs Still Need the Sea
Christmas Island red crabs show the pattern. They live in the island’s forests but must travel to the coast each year to breed.19PubMed. Ecology and behavior of Gecarcoidea natalis, the Christmas Island red crab, during the annual breeding migration The migration starts when monsoon rains arrive after months of dry-season inactivity.20PubMed. Metabolic status and respiratory physiology of Gecarcoidea natalis, the Christmas Island red crab, during the annual breeding migration Their larvae, or baby crabs, go into the sea, where whale sharks gather to eat them.21Marine and Freshwater Research. DNA evidence of whale sharks (Rhincodon typus) feeding on red crab (Gecarcoidea natalis) larvae at Christmas Island, Australia
Newly hatched crabs are tiny floating larvae that look nothing like their parents, and they develop through several stages before turning into small crabs. In most species those early stages need seawater to feed and grow, so a forest crab can raise adults on land but cannot raise babies there. That’s why a crab’s land habitat has to be within reach of the coast, even if the crab seldom touches the water otherwise.
Coconut crabs follow the same rule. Young coconut crabs drift at sea before coming ashore near the coast.10University of Guam Marine Laboratory Technical Report. Biological Studies on the Coconut Crab (Birgus latro) in the Mariana Islands So females must stay near enough to the shore to carry their eggs to the water.10University of Guam Marine Laboratory Technical Report. Biological Studies on the Coconut Crab (Birgus latro) in the Mariana Islands
Crabs That Live Inside Other Animals
Some crabs make a living animal their home. Gall crabs live only inside reef-building corals, from shallow reefs down to about 89 meters.22Frontiers in Marine Science. Diversity and distribution of coral gall crabs associated with Red Sea mesophotic corals They rely on their coral for settling as babies, for shelter, and for food, so damage to coral reefs hits them hard.23Symbiosis. Dining on corals: stable isotope evidence for close trophic connection between gall crabs (Cryptochiridae) and their stony coral hosts A gall crab doesn’t harm the coral the way a predator would. It settles on the coral as a baby and the coral grows around it, forming a small pit or chamber that becomes its home.
Pea crabs live inside shellfish like oysters and mussels.24Journal of Shellfish Research. Oyster Utilization and Host Variation of the Oyster Pea Crab (Zaops ostreum) One pea crab prefers clams longer than about 28 millimeters.25Journal of Natural History. Responses of the pea crab Pinnotheres taichungae to the life history patterns of its primary bivalve host Laternula marilina Inside the shell it is safe from predators, though it may take some of the host’s food.
Hermit crabs borrow homes. Land hermit crabs live in empty snail shells, and one species used shells from 90 different snail species.26PubMed Central. Shell resource partitioning as a mechanism of coexistence in two co-occurring terrestrial hermit crab species The shell isn’t a living animal, so the crab can leave and swap homes as it grows. Its soft abdomen is unprotected, so the shell stands in for the armor other crabs carry on their backs. A crab will often inspect several shells for size, weight, and fit before moving.
Because they outgrow shells, hermit crabs need bigger ones, and a shortage of shells limits how many can live in an area. Taking shells from beaches removes future homes.
How Crab Habitats Are Changing
As the ocean takes up more carbon dioxide from the air, the water becomes more acidic, which makes it harder for animals to build and keep hard shells. More acidic water made young king crabs’ claws softer.27Journal of Experimental Marine Biology and Ecology. Ocean acidification leads to altered micromechanical properties of the mineralized cuticle in juvenile red and blue king crabs Softer claws may make it harder to crush food and defend themselves.27Journal of Experimental Marine Biology and Ecology. Ocean acidification leads to altered micromechanical properties of the mineralized cuticle in juvenile red and blue king crabs Acidic water also lowered pinching strength in another shell-crushing crab.28PubMed. The combined effects of ocean acidification and warming on a habitat-forming shell-crushing predatory crab
Invasive crabs cause damage of a different kind. An invasive species has moved to a new region, often with human help, and harms the places it arrives in. The European green crab is one of the most invasive sea animals, eating young salmon and juvenile king crab.29NOAA. Look Out for Invasive Crab! It spreads on ships and in shipments, and in new waters it has few natural enemies, so numbers can grow quickly.
Adults uproot eelgrass and young ones graze it.30ICES Journal of Marine Science. Disruption of essential habitat by a coastal invader: new evidence of the effects of green crabs on eelgrass beds In one test, eelgrass dropped 73 to 81% more with many green crabs over 4 weeks.31Biological Invasions. Habitat alteration by invasive European green crab (Carcinus maenas) causes eelgrass loss in British Columbia, Canada Eelgrass beds are underwater meadows that shelter young fish and crabs and hold sediment in place. When they shrink, the animals that depend on them lose cover and food.
If you find a green crab, look for five spines along each side of the shell’s front edge, beside each eye; its color varies a lot, so don’t rely on that. Report sightings to local wildlife or fisheries agencies, and never move live crabs between waters.
Human-built shorelines can also become homes. Breakwaters and seawalls can give crabs places to live.32Ecological Engineering. Artificial defences in coastal marine ecosystems in Chile: Opportunities for spatial planning to mitigate habitat loss and alteration of the marine community structure Shore crabs use artificial rock pools on seawalls for shelter.33Bournemouth University Research Online. Concrete ecological enhancement in the temperate marine environment

