The relationship between a hermit crab and its shell is a form of symbiosis called metabiosis, where one organism uses something another organism created. In this case, the hermit crab occupies the empty shell of a dead gastropod (a snail or similar mollusk) to protect its soft, vulnerable abdomen. The snail that originally built the shell is long gone, so this isn’t a relationship between two living partners. It’s a one-sided arrangement where the crab benefits from the architectural work of a creature that no longer needs it.
Why Hermit Crabs Need Shells
Unlike most crabs, hermit crabs don’t have a fully hardened exoskeleton. Their abdomen is soft and exposed, making them easy targets for predators like rock crabs that can crush shells and sea creatures that pick off unprotected prey. A borrowed gastropod shell serves as portable armor. When threatened, the crab retracts its body inside, using its hard claws to block the opening like a door.
The shell does more than stop predators. For land-dwelling hermit crabs, it creates a tiny humid microclimate around their gills, preventing them from drying out. Shells, burrows, and other shelters keep humidity high enough for these crabs to breathe on land, which is critical since they still rely on moist gills for gas exchange. Without a shell, a terrestrial hermit crab would desiccate and suffocate.
How Hermit Crabs Choose Their Shells
Hermit crabs are surprisingly picky about the shells they inhabit. They evaluate shell size, weight, shape, and internal volume before committing. The ideal shell is large enough for the crab to fully retract its body, including its front claws and the front edge of its carapace. A shell that’s too small leaves parts of the crab exposed, which defeats the purpose. Research on Pacific coast hermit crabs found that some species consistently prefer smaller, lighter shells that don’t fully cover them, while closely related species in the same habitat choose larger shells that allow complete retraction. These preferences are species-specific and consistent.
Common shell sources include various sea snail species. Two frequently used shells on the Pacific coast come from snails in the genus Nucella, with small shells weighing under half a gram and measuring about 16 millimeters long, and larger ones weighing 4 to 4.5 grams at roughly 28 millimeters. The crab grips the inside of the shell with specialized appendages at the tip of its abdomen, holding on tightly enough to resist being pulled out by a predator.
Shell Swapping and Vacancy Chains
One of the most remarkable behaviors tied to this relationship is how hermit crabs trade shells. Because good shells are a limited resource, crabs have evolved a cooperative queuing system. When a large empty shell appears on the seafloor, nearby crabs gather around it and line up in descending order by size. The largest crab inspects the vacant shell first. If it moves in, the next crab in line immediately claims the newly vacated shell, and the crab behind that one takes the next empty shell, and so on. This entire chain of exchanges can happen within seconds.
There are two types of these vacancy chains. In the synchronous version, multiple crabs line up and swap simultaneously in a rapid cascade. In the asynchronous version, individual crabs stumble across empty shells one at a time. The synchronous chains are especially striking because they show a level of social coordination you wouldn’t expect from animals that are otherwise solitary and territorial.
Competition for a Scarce Resource
Empty shells are often in short supply, and this scarcity shapes hermit crab populations in significant ways. When researchers studied three hermit crab species living in the same habitat in the San Juan Archipelago in Washington State, they found that competition for shells was intense, but mostly within each species rather than between them. Each species experienced roughly ten times more competition from members of its own species than from the other two. This is partly because different species prefer different shell shapes and sizes, and they tend to occupy slightly different parts of the habitat, which reduces direct conflict between species while keeping pressure high within each one.
When shells are truly scarce, crabs will fight for them. Shell fights involve one crab rapping its shell against another’s, trying to force the occupant out. These contests can be prolonged and energetically costly, and the attacker doesn’t always win. The defending crab wedges itself deep inside its shell, and eviction requires significant effort.
The Shell as a Platform for Other Symbioses
The hermit crab’s borrowed shell often becomes a foundation for additional symbiotic relationships. Sea anemones frequently attach to hermit crab shells, creating a partnership that benefits both animals. The anemone gets transported to new feeding grounds and picks up food scraps from the crab’s meals. The crab, in turn, gains protection from the anemone’s stinging tentacles, which deter predators.
Some of these partnerships go further than simple hitchhiking. A deep-sea species of sea anemone, recently described by researchers and named Paracalliactis tsukisome, actually secretes and constructs a shell-like structure called a carcinoecium around the hermit crab it lives with. This structure effectively expands the crab’s living space, allowing it to grow larger than related species that lack such a partner. The host crab in this case reaches substantially bigger body sizes than similar species in the same environment, providing direct evidence that the anemone’s shell-building gives the crab a measurable growth advantage. The anemone benefits too: stable isotope analysis showed it feeds on the crab’s waste and on organic particles stirred up from the surrounding water.
Sponges also colonize hermit crab shells. One well-studied species, Suberites domuncula, grows over the shell and can eventually dissolve it entirely, leaving the crab living inside a sponge “shell” instead. Research on predator avoidance found that crabs living in sponge-covered shells behaved differently from those in bare gastropod shells. They emerged from hiding more quickly overall, suggesting they may rely on different defensive strategies. When exposed to a shell-crushing predator like the red rock crab, both sponge-shelled and gastropod-shelled crabs stayed hidden longer. But when a sponge-eating nudibranch was the threat, sponge-shelled crabs came out faster, apparently recognizing that staying inside a sponge that’s being eaten is worse than running.
Why It’s Metabiosis, Not Mutualism
The crab-shell relationship is classified as commensalism, specifically metabiosis, because the shell’s original builder (the snail) is dead and neither benefits nor suffers from the arrangement. The crab benefits enormously. The snail is unaffected because it no longer exists. This distinguishes it from mutualism, where both living partners gain something, or parasitism, where one partner is harmed.
That said, the relationship has broader ecological effects. Hermit crabs function as ecosystem engineers, recycling shells that would otherwise sit empty on the ocean floor. By occupying, transporting, and eventually abandoning shells, they keep these resources circulating through the population and create opportunities for other organisms like anemones and sponges to find living platforms they wouldn’t otherwise have.

