Hermit crabs do not make their own shells. Every shell a hermit crab carries was built by a gastropod, the broad group of mollusks that includes sea snails, whelks, and conchs. The gastropod secretes calcium carbonate from its mantle tissue, layer by layer, producing a spiraling structure that the snail occupies for life. When the snail dies, the empty shell becomes real estate for hermit crabs, who lack the biological machinery to produce a hard protective covering of their own. How those shells are built, how hermit crabs track them down, and what happens when the supply runs short are all more interesting than the simple answer suggests.
How Gastropods Build Their Shells
A gastropod shell starts forming when the animal is still a larva, and it never stops growing until the snail dies. The mantle, a thin organ draped over the snail’s body, extracts calcium and carbonate ions from the surrounding seawater and deposits them as crystals of either calcite or aragonite, two different mineral forms of calcium carbonate. These crystals do not pile up haphazardly. They are organized into layered microstructures guided by a small amount of protein, typically less than five percent of the shell’s total mass, that acts as a scaffold and determines how the crystals stack together.1Wiley Online Library. Deciphering mollusc shell production: the roles of genetic mechanisms through to ecology, aquaculture and biomimetics The result is a composite material that is far tougher than pure calcium carbonate on its own.
The shape of the shell, whether tall and conical, globular, or flat-spired, is determined by the snail’s genetics and growth rate. Each species produces a characteristic form, and the snail adds material at the aperture (the opening) as it grows, widening the spiral to accommodate its increasing body size. The outer surface picks up color from pigments the mantle deposits, and texture from ridges and spines that can serve as defenses against predators. None of this is under the hermit crab’s control. The crab inherits whatever architecture the original builder left behind.
How Hermit Crabs Find Empty Shells
A hermit crab’s abdomen is soft and unprotected, curled to fit inside a spiral shell rather than shielded by the tough exoskeleton that covers its legs and claws. Finding a suitable shell is not optional. But empty shells do not advertise themselves, and hermit crabs have evolved surprisingly sophisticated ways to locate them.
Smell is the primary tool. When a gastropod dies, its decomposing tissue releases chemical cues into the water. Hermit crabs detect these cues and home in on the source, often arriving within hours. Experiments on rocky shores have shown that chemical signals from dead snails attract hermit crabs far more reliably than visual cues alone. When researchers offered crabs a clean shell they could see but not smell, most crabs stayed put. But when tissue from a dead snail was present as an odor source, most crabs navigated to the shell quickly.2Journal of Experimental Marine Biology and Ecology. Hermit crabs use vision, olfaction, and eavesdropping to detect potentially available gastropod shells on a natural rocky shore Vision plays a supporting role when combined with scent, but on its own it is not enough to reliably guide a crab to a new home.
There is also eavesdropping. Hermit crabs pay attention to what other crabs are doing. If one crab investigates a shell, nearby crabs notice and move in, sometimes forming small crowds around a single empty shell within minutes. This social attentiveness feeds into a much larger behavioral system.
Vacancy Chains and Shell Swapping
One of the most remarkable things about hermit crab ecology is that shells do not simply pass from a dead snail to a single crab. They ripple through a population in a process called a vacancy chain. When a new, larger shell becomes available, the biggest crab nearby claims it, leaving its old shell behind. A slightly smaller crab then takes the vacated shell, leaving its own shell for an even smaller crab, and so on down the line. A single high-quality shell entering a group can trigger a cascade of upgrades that benefits several individuals at once.3Animal Behaviour. The vacancy chain process: a new mechanism of resource distribution in animals with application to hermit crabs
These exchanges are not chaotic free-for-alls. In some species, crabs form orderly size-ranked queues, waiting in sequence for their turn to move into a better shell. The coordination required is precise. Studies of terrestrial hermit crabs have shown that shells modified by previous occupants, hollowed out and reshaped over time, generate different social dynamics than unmodified shells, catalyzing vacancy chains with more participants and more structured turn-taking.4PubMed. Architectural modification of shells by terrestrial hermit crabs alters social dynamics in later generations The shell is not just shelter; it is a social currency that structures interactions across the entire population.
What Hermit Crabs Look for in a Shell
Not every empty shell will do. Hermit crabs are choosy, and what they prioritize reveals a lot about the trade-offs of carrying someone else’s architecture on your back.
Internal volume is the single most important feature. A crab needs enough room inside the shell to retract its body fully when threatened. In experiments where shells were artificially weighted to be about 25 percent heavier, crabs still chose them as long as the interior volume was right, suggesting that volume trumps weight in their decision-making.5Journal of Experimental Marine Biology and Ecology. The importance of various shell characteristics to the shell-selection behavior of hermit crabs However, when researchers altered the angle of the shell’s central axis or shifted its center of gravity, crabs showed a strong aversion to the modified shells. A shell that wobbles or tips when carried is a liability, even if it has plenty of room inside.
Different species weigh these trade-offs differently. Among two closely related intertidal species, one consistently chose shells that were 136 to 300 percent larger than its body required, while the other preferred tighter-fitting shells. The large-shell species survived desiccation at low tide far longer, since a bigger shell retains more water. But the tight-shell species moved faster, an advantage for foraging and escaping predators.6PubMed Central. Performance Implications of Divergent Shell Size Preferences and Exoskeleton Mass of Two Closely Related Hermit Crabs Shell choice is not one-size-fits-all; it reflects each species’ ecological niche.
Shell Modification on Land
Marine hermit crabs are stuck with whatever internal geometry a snail left behind. Land hermit crabs are not so passive. Several terrestrial species actively remodel their shells, scraping away interior walls and whorls to create more room. Over time, a shell that has passed through multiple generations of land hermit crabs can become dramatically hollowed out compared to a freshly vacated snail shell.7Current Biology. Evolution: Remodelling Hermit Shellters
This remodeling matters enormously for survival. For terrestrial species, the shell is the primary defense against drying out. Experiments with the land hermit crab Coenobita compressus found that young crabs without shells could not survive exposure to humidity below 99 percent, while those carrying shells tolerated humidity as low as 52 percent.8Invertebrate Biology. Desiccation resistance in megalopae of the terrestrial hermit crab Coenobita compressus: water loss and the role of the shell A bigger interior holds more water, so a remodeled shell with expanded volume provides a survival edge on hot, dry days. The crabs that inherit a pre-hollowed shell are getting a better product than a raw snail shell right off the beach.
Not Always a Snail Shell
Gastropod shells account for the vast majority of hermit crab homes, but they are not the only option. At least one species has gone in an entirely different direction. The hermit crab Discorsopagurus schmitti lives exclusively inside tubes built by sabellarian worms, which construct rigid, sand-cemented tubes on rocky surfaces. When offered a choice between worm tubes and gastropod shells in the lab, this species actively prefers the tubes.9Canadian Journal of Zoology. Sabellarian tubes as the housing of the hermit crab Discorsopagurus schmitti It is the only known crustacean that is both ecologically and geographically tied to worm-built structures rather than snail shells.
The fossil record reveals even more exotic housing choices. A specimen from the Upper Jurassic of central Russia preserves a hermit crab inside the shell of an ammonite, the coiled, chambered relatives of modern squid and nautiluses that went extinct alongside the dinosaurs. The find suggests that ancient hermit crabs did not merely scavenge dead ammonite shells but may have actively hunted these animals, based on lethal and sublethal injuries found on ammonite shells in the same rock layers.10Palaeogeography, Palaeoclimatology, Palaeoecology. A hermit crab preserved inside an ammonite shell from the Upper Jurassic of central Russia: Implications to ammonoid palaeoecology
Sea Anemone Partnerships
Some hermit crabs do not settle for a shell alone. They recruit sea anemones as living accessories, placing one or more anemones on the outer surface of their shell. The relationship benefits both parties: the anemone gets carried to new feeding grounds, while the hermit crab gains the anemone’s stinging tentacles as an additional predator deterrent. Hermit crabs typically initiate the partnership by physically detaching an anemone from a rock and pressing it onto the shell, though anemones can also mount shells on their own, apparently triggered by chemical compounds in the shell’s outer layer.11PubMed. Origin and evolution of the symbiosis between sea anemones (Cnidaria, Anthozoa, Actiniaria) and hermit crabs, with additional notes on anemone-gastropod associations
In some deep-sea species, the anemone partnership goes further. A newly described species of sea anemone, found off Japan’s Pacific coast, lives exclusively on shells occupied by one particular deep-sea hermit crab. The relationship appears to be obligate: the anemone is never found without its crab partner, and the crab is almost never found without the anemone.12PubMed Central. Mutualism on the deep-sea floor: a novel shell-forming sea anemone in symbiosis with a hermit crab In these cases, the anemone’s tissue can even extend and enlarge the shell opening over time, effectively growing new housing material around the crab. The shell is no longer just a repurposed snail product; it has become a jointly maintained structure.
How Shell-Living Shaped Hermit Crab Evolution
Living inside borrowed shells has left a deep imprint on hermit crab body plans. Their abdomens are soft, asymmetrical, and curved to the right, perfectly shaped to coil into the interior of a gastropod spiral. The exoskeleton that protects most other crabs’ bodies is reduced to a thin membrane across the abdomen of a hermit crab. This arrangement works only as long as shells are available, and it has constrained what hermit crabs can become. They cannot grow larger than the biggest shell in their habitat.13Nature. Evolution of king crabs from hermit crab ancestors
That constraint has driven at least one dramatic evolutionary escape. King crabs, the large, heavily armored crabs fished commercially in cold waters, evolved from hermit crab ancestors that abandoned shell-living altogether. By re-calcifying their abdomens and developing their own protective exoskeletons, king crabs broke free from the size ceiling that shells imposed. Their abdomens retain a faint asymmetry, a vestige of their spiral-shell past.
Traces in the Fossil Record
Hermit crabs themselves fossilize poorly because their soft abdomens decay quickly. But the shells they lived in preserve beautifully, and the way hermit crabs use shells leaves distinctive marks that paleontologists can identify. Encrusting organisms like bryozoans and barnacles settle on shells carried by hermit crabs in patterns different from those found on shells still occupied by living snails, because the hermit crab drags the shell across substrates and into microhabitats that the original snail would never have visited. Borings and etchings concentrated around the shell aperture are another telltale sign.14Journal of Paleontology. Criteria for recognizing marine hermit crabs in the fossil record using gastropod shells
This “hermitted shell” signature has been traced back to the middle Jurassic, roughly 170 million years ago. The record shows that hermit crabs have been dependent on gastropod shells for an extraordinarily long time, and that the basic strategy of borrowing someone else’s home has been stable across mass extinctions, changing ocean chemistry, and the rise and fall of entire gastropod lineages.
When Shells Run Short
The supply of suitable shells is not always abundant. In many habitats, hermit crabs outnumber available shells, and the intensity of competition can be fierce. A study across islands in the Maldives found that on uninhabited islands, roughly ten hermit crabs competed for each usable empty shell. On tourist-heavy islands, oddly, each crab had about one available shell, but for a dark reason: tourism introduces non-native debris while also disturbing natural gastropod populations. On islands with local human residents who harvested snails for food, empty shells were plentiful but most were too large or the wrong shape for the crabs to use.15Scientific Reports. Disentangling the environmental impact of different human disturbances: a case study on islands
Shell collection for the souvenir and aquarium trades further reduces the pool. Beaches that are heavily visited by tourists show measurable declines in shell availability, and the species that suffer most are the gastropods whose shells are large and attractive, exactly the ones hermit crabs need.16PLOS ONE. Vanishing Clams on an Iberian Beach: Local Consequences and Global Implications of Accelerating Loss of Shells to Tourism Meanwhile, empty tethered shells that are not occupied by a hermit crab tend to get crushed by predators rather than buried and preserved, so shells that sit unclaimed do not last long in the environment.17Palaeogeography, Palaeoclimatology, Palaeoecology. Taphonomic significance of hermit crabs (Anomura: Paguridea): Epifaunal hermit crab — Infaunal gastropod example
Plastic Caps and Bottle Homes
When natural shells are scarce, hermit crabs improvise with whatever they can find. A global survey using photographs posted on social media documented 386 individual hermit crabs living inside artificial materials. The overwhelming majority, about 85 percent, were using plastic bottle caps. Ten of the world’s 16 terrestrial hermit crab species have been photographed inside artificial shells, and the behavior has been observed on tropical coastlines on every continent.18Science of The Total Environment. The plastic homes of hermit crabs in the Anthropocene
Field surveys in Japan have confirmed these observations at the population level. On one island, about 3.3 percent of one land hermit crab species was found living in plastic caps, metal sockets, or glass bottles.19Journal of Crustacean Biology. Photographic records of land hermit crabs (Decapoda: Anomura: Coenobitidae) using beach debris as shells on Ishigakijima and Takarajima islands, Japan One individual was even found inside a discarded coconut crab claw. Whether these artificial shelters protect as well as natural shells is an open question. Plastic lacks the thermal insulation and water-retention properties of calcium carbonate, and its smooth inner surface may make it harder for the crab to grip and retract. But when the alternative is no shell at all, crabs take what they can get.
Ocean Acidification and the Future of Shell Supply
The shells hermit crabs depend on are made of calcium carbonate, and calcium carbonate dissolves in acidic water. As the ocean absorbs more atmospheric carbon dioxide, seawater pH drops, a process already measurable in many marine environments. This creates a double threat for hermit crabs. First, it becomes harder for gastropods to build thick, durable shells in the first place, potentially reducing both the supply and the quality of available housing. Second, the shells that are already in circulation degrade faster.
Laboratory experiments with deep-sea hermit crabs have demonstrated both problems. Shells corroded visibly during exposure to low-pH seawater, becoming lighter and more fragile. Even shells kept in control water showed some deterioration over the course of the experiment. Beyond the physical damage, the lower pH disrupted the crabs’ ability to detect chemical cues, increasing variability in their olfactory behavior and potentially making it harder for them to locate new shells when they need them.20ICES Journal of Marine Science. CO2-driven decrease in pH disrupts olfactory behaviour and increases individual variation in deep-sea hermit crabs
What 3D-Printed Shells Have Revealed
Researchers have taken advantage of hermit crabs’ willingness to try new shells to probe how these animals think. Using X-ray imaging of preferred shell types, scientists created 3D-printed replicas and then deliberately altered either the interior or exterior architecture. In experiments where crabs were placed in enclosures with a narrow exit, some printed shells had the right external dimensions to fit through the gap and some did not. The crabs consistently chose shells that allowed them to escape, even when those shells were not the type they would normally prefer. They were solving a spatial problem using external architecture, treating the shell not just as armor but as a tool with navigational implications.21PubMed Central. Shells as ‘extended architecture’: to escape isolation, social hermit crabs choose shells with the right external architecture
The finding points to a level of spatial reasoning that is easy to underestimate in an animal the size of your thumb. A hermit crab evaluating a shell is not just checking whether it fits. It is assessing how the shell will interact with the environment it needs to move through: tight crevices, narrow burrow entrances, and the physical constraints of its habitat. The shell is borrowed architecture, but the brain deciding which borrowed architecture to wear is doing genuine problem-solving.