Hermit crabs are sold in tiny plastic boxes with a sponge and a bowl — conditions they survive for weeks and slowly die in. They are not low-maintenance starter pets; they are long-lived, social, and environmentally sensitive, requiring a decade-long commitment. The setup is the whole thing — get the tank, substrate, and humidity right, and they thrive; get it wrong, and they suffocate slowly in their own shells.
This guide covers the habitat that produces healthy, long-lived hermit crabs.
The Tank: 10 Gallons Minimum
- 10 gallons for two or three small crabs; 20 to 30 gallons as they grow. The sold-in boxes are display cases, not habitats.
- Long and low beats tall — hermit crabs are ground dwellers, and the floor space is the territory.
- Glass terrariums hold humidity better than screen-topped tanks. A glass top with a small vented section works.
- A secure lid — hermit crabs climb and escape through gaps. They also open poorly-secured lids.
Substrate: Deep and Moist
The substrate is the most commonly failed element:
- Play sand and coconut fiber mix — roughly 5 parts sand to 1 part coco fiber. The fiber helps hold moisture without making it soggy.
- Depth: three times the height of the largest crab — they bury completely to molt, and shallow substrate prevents the process that keeps them alive.
- Never calcium sand — it hardens when wet and can trap or crush molting crabs.
- Never gravel or wood shavings — gravel is abrasive and dirty; cedar and pine shavings are toxic.
- Keep it moist, not wet — it should hold shape when squeezed, like sandcastle sand. Soaked substrate breeds bacteria and mold.
Molting happens underground, completely buried, and takes weeks. A crab that cannot dig deep enough to molt safely will surface mid-molt, which is frequently fatal.
Humidity: The Number That Matters Most
Hermit crabs have modified gills and need moist air to breathe:
- 70 to 80 percent relative humidity — a digital hygrometer monitors it, and cheap analog gauges lie.
- Temperature: 72 to 80 degrees Fahrenheit — an under-tank heater on one side creates a gradient.
- Low humidity suffocates crabs slowly — gills dry out, and the crab cannot breathe. It is the most common cause of death in pet hermit crabs.
- Misting with dechlorinated water raises humidity — one to two times daily, as needed.
- A damp sponge in the tank supplements humidity but is not a primary source — it grows bacteria fast.
The humidity and temperature numbers are the difference between crabs that live two years and crabs that live fifteen.
Water: Two Dishes, Different Salinity
- Freshwater dish — dechlorinated or spring water, deep enough to submerge but shallow enough to climb out. Crabs drink and bathe.
- Saltwater dish — marine salt mix (not table salt), same depth. The saltwater provides minerals they need for shell health and molting.
- Both dishes deep enough for the crab to submerge — hermit crabs store water in their shells and need to be able to refill.
- Both dishes shallow enough to escape — crabs drown in water they cannot climb out of. Pebbles or a sponge ramp provides the exit.
- Change both daily — dirty water grows bacteria and crabs foul it fast.
No tap water directly — chlorine and chloramines are toxic. Dechlorinator treats it, or use bottled spring water.
Shells: The Rotation Rule
Hermit crabs change shells as they grow, and a tank without options causes problems:
- Provide multiple shells of varying sizes — slightly larger than the current shell, and some the same size for choice.
- Natural shells — turbo, turret, and pecten types are commonly accepted. Painted shells are toxic — the paint chips and is ingested.
- Boil or bake new shells before adding them — sterilization.
- Crowd the shell options — a pile of choices lets crabs select the fit they want.
Crabs fight over good shells, and a crab without shell options stays in an uncomfortable shell or goes unprotected. The pile is essential.
Diet and Supplements
- Commercial hermit crab food as the base, supplemented with variety.
- Protein: dried shrimp, mealworms, fish flakes, cooked egg — a few times a week.
- Calcium: cuttlebone and crushed eggshell always available — shell and exoskeleton health.
- Fruits and vegetables: coconut, mango, apple, carrot, leafy greens — small amounts, removed if uneaten.
- Variety matters — a single-food diet causes deficiencies over the long lifespan.
- Feed at night — hermit crabs are nocturnal and eat mostly in the dark.
Enrichment
- Climbing structures: choya wood, cork bark, coconut huts — crabs climb and hide.
- Hides: coconut huts or half-logs — prey animals need retreat.
- Deep digging areas: the substrate is the enrichment — burying and tunneling is the main activity.
- Live or plastic plants: cover and climbing. Live plants add humidity.
Molting: The Process to Protect
Molting is when hermit crabs are most vulnerable, and disturbance is fatal:
- The crab buries completely and stays under for weeks, sometimes months.
- Do not dig for a “missing” crab — a buried molting crab looks dead and is not. Digging it up kills it.
- Leave the shed exoskeleton — crabs eat it to reclaim the calcium. It is food, not trash.
- Signs of an approaching molt: excessive digging, eating and drinking heavily, dull color, cloudy eyes.
- During and after molting, keep the environment stable — no tank moves, no handling, no substrate changes.
The most common owner mistake is disturbing a molting crab — the patience is the care.
Frequently Asked Questions
How long do hermit crabs live?
Ten to fifteen years in proper conditions. Crabs in pet-store boxes with sponges typically die within weeks to months. The setup is the lifespan.
Can hermit crabs live alone?
They survive alone but are social — groups of two or more show natural behavior and live longer. A single crab in proper conditions works, but a group is better for the animal.
How many hermit crabs can live together?
Two or three in 10 gallons; up to six in a 30-gallon tank. They are not territorial in the aggressive sense, but they compete for shells and hiding space — more space per crab as the group grows.
My crab has been buried for a month. Is it dead?
Probably not — buried crabs are molting, and the process takes weeks. Do not dig it up. A fishy odor after months of burial is the sign of death; before that, wait.
The Bottom Line
Ten gallons minimum, deep moist substrate three times the crab’s height, 70 to 80 percent humidity and 72 to 80 degrees — both monitored with digital gauges. Two water dishes, one fresh and one saltwater, both climbable. A pile of natural shells in varying sizes. Night feeding with variety, calcium always available. Climbing structures and hides. And the patience to leave a buried crab alone through its molt. Hermit crabs live a decade or more in this setup and months in a box — the difference is entirely the habitat.

Leave a Reply