🦀 How to Set Up a Land Hermit Crab Habitat (Humidity Is Everything)
A land hermit crab is far more demanding than the little plastic cup it is often sold in, and the single most important thing to get right is moisture. Hermit crabs breathe through modified gills that must stay damp to work, so their home has to be both warm and humid all the time. Get the air right and everything else falls into place; let it dry out and a crab slowly suffocates. The good news is that a proper habitat is easy to build once you understand what these long-lived little crustaceans actually need.
The right home
Start with a glass tank that has a lid, and plan on at least 10 gallons per crab — so a pair needs a 20-gallon tank or bigger. The little plastic carriers crabs are sold in are travel boxes, not homes: they can't hold deep sand or damp air. A covered glass tank holds heat and humidity far better than an open wire cage, which lets all that precious moist air escape. Wire cages are made for hamsters, not crabs, and they simply cannot keep the air damp enough. Choose a tank you can seal across the top, leaving just enough airflow to prevent mold, and you are already most of the way there.
Heat and humidity
Hermit crabs are tropical, so aim for a warm 75-82°F and a humid 75-85%. Because you cannot judge either by feel, place a thermometer and a hygrometer (a humidity gauge) inside the tank and check them daily. If the numbers drift low, a little more substrate moisture and a low, safe heat source will bring them back up. Steady warmth and dampness keep those gills working and your crabs active.
Deep substrate for molting
Hermit crabs grow by molting, shedding their old exoskeleton and forming a new one, and to do it safely they need to bury themselves completely underground. Give them a deep bed of sand, or a sand-and-coconut-fiber mix, at least 3 times as deep as your largest crab is tall, and never less than about 6 inches, so it can dig all the way under and hollow out a little room to molt in. This is not optional: a molting crab that cannot bury is in real danger, and disturbing a buried, molting crab can kill it. If a crab vanishes for days or even weeks, resist the urge to dig it up. Leave buried crabs completely alone, and never isolate a molting crab in a way that stresses it. The kindest thing you can do is nothing.
Water pools and shells
Offer two pools of water, not one: a fresh-water dish and a salt-water dish, each deep enough for a crab to fully submerge and climb back out of. Make the salt water with marine aquarium salt (the kind sold for saltwater tanks, never table salt) mixed into water. Always use dechlorinated water for both pools, because the chlorine in tap water harms crabs. Set out several empty shells a little larger than the ones your crabs currently wear, so they can move into a roomier home as they grow. One firm warning: never use painted shells, because the paint can chip off and poison them. Plain, natural shells are always best.
Company and the long haul
Hermit crabs are social animals that do best with company, so plan to keep two or more together rather than a lone crab. They are also surprisingly long-lived. With good care, a hermit crab can live 20 years or more, far longer than most families expect. That makes them a real commitment rather than a throwaway pet, but a rewarding one. If you are weighing whether they suit your household, our best pets for kids guide can help you compare.
Quick setup checklist
- Glass tank with a snug lid to hold humidity
- Thermometer and hygrometer; keep it 75-82°F and 75-85% humidity
- Deep sand (or sand-and-coco-fiber) substrate, 3x your biggest crab's height and at least 6 inches deep
- Two pools, fresh and salt water, both with dechlorinated water and deep enough to submerge in
- Several plain, unpainted spare shells in slightly larger sizes
- At least two crabs for company
Set the habitat up before your crabs come home, and you will spend your time enjoying them instead of playing catch-up. For help deciding whether hermit crabs fit your family, read how to choose a pet or take our free pet quiz.
🛒 Recommended supplies
Hand-picked gear for this guide. Affiliate links — we may earn a commission. The $/$$/$$$ badges are a rough budget guide, not live prices.
🧽 Cleaning & maintenance
Hermit crab maintenance is really about holding humidity and keeping the water clean, not scrubbing. Check the thermometer and hygrometer daily and mist to keep humidity at 75–85%. Change both the fresh and salt water pools every day or two (dechlorinated water and real marine salt — never table salt), and rinse the sponges. Spot-clean obvious waste and uneaten food so the humid tank does not grow mold, and do a deeper sand change every few months. The big rule: if a crab has burrowed to molt, do not dig it up or do a major clean — disturbing a molting crab can kill it, so just keep the humidity steady and wait. Stir and lightly dampen the sand only when no one is molting.
Cleaning supplies for this habitat. Affiliate links — we may earn a commission. The $/$$/$$$ badges are a rough budget guide, not live prices.
⚠️ Common hermit crab setup mistakes
Already have one and something feels off? Start here. These catch almost everybody — none of them mean you have done badly, and every one of them is fixable.
Where should the heat mat go on a hermit crab tank?
The mistake: Sticking the heat mat underneath the tank.
Crabs bury themselves to molt, so heat coming up through the floor warms the exact layer where they are most helpless and can't move away from it. It also dries out the deep sand — and that's the layer that has to hold a tunnel.
Try this: Peel the mat off and stick it to a side or back wall instead, above the sand line, and run it through a thermostat so it can't overheat. Most mats re-stick fine, so this often costs nothing but the thermostat.
Is my hermit crab's sand too dry?
The mistake: Deep sand that's too dry to hold a tunnel.
Depth alone isn't enough. Dry sand collapses the moment a crab digs into it, and a caved-in tunnel can trap a molting crab. It's also why crabs give up and molt on the surface, which very often fails.
Try this: Mix about five parts play sand to one part coconut fiber, and dampen it with dechlorinated water until a squeezed handful holds its shape like a sandcastle — damp, never dripping. Skip calcium sand and colored gravel: one dissolves and collapses, the other leaves gaps crabs get stuck in.
Is my hermit crab dead or molting?
The mistake: Throwing out a crab that looked dead.
A freshly molted crab looks limp, pale and lifeless, and the shed skin beside it looks like a second dead crab. Live crabs get thrown away this way all the time. The real test is smell: a crab that has actually died smells strongly of rotting fish within a day or two.
Try this: If there's no smell, change nothing — don't dig, don't poke, don't move it to a separate tub. Leave the shed skin in there too; your crab eats it back for the calcium it needs to harden up. Just keep the tank warm and damp and wait.
Is the food that came with my hermit crabs enough?
The mistake: Feeding only the little tub of pellets.
Kit pellets are usually one flavor of filler, and crabs get bored and eat less of them over time. Some also contain copper sulfate or ethoxyquin, both of which are toxic to invertebrates. A crab building a whole new exoskeleton needs protein, calcium and plant food, and it molts badly without them.
Try this: Feed from your kitchen instead: unsalted nuts, plain cooked fish or chicken, oats, leafy greens and fruit, rotated so it isn't the same thing daily. Add a cuttlebone or crushed oyster shell for calcium and leave it in permanently. Swap fresh food out each day before it molds. It costs almost nothing.
How many shells do my hermit crabs need?
The mistake: Putting out only one or two spare shells.
Shells are something crabs compete over, and one upgrade shell between them isn't a choice — it's a prize. A crab that's outgrown its shell will harass one that hasn't, and a crab pulled out of its shell has a completely soft abdomen that's easily damaged.
Try this: Offer several shells per crab across a range of sizes, slightly bigger and slightly smaller than what they're wearing, with smooth natural openings and no paint or drilled holes. And never pull a crab out yourself — they grip hard enough to be torn in the attempt.
❓ Common questions
How much does a hermit crab cost to keep?
Setting up a hermit crab habitat means buying the basics like glass tank + thermometer/hygrometer, extra shells (assorted sizes), heat mat + sand substrate. Day to day, a hermit crab runs about $10–$25 a month for food, bedding, and supplies — the one-time habitat setup and any vet care are extra.
Is a hermit crab a good pet for an apartment?
Yes. Hermit crabs need only a small space, so they suit apartments and small bedrooms well — just give the habitat a stable spot out of direct sun and drafts.
How much time does a hermit crab need each day?
Only a little. A hermit crab needs a few minutes a day for fresh food and water and a quick health check, plus a bigger clean about once a week.
📚 Where this comes from
We check our care advice against vets, animal charities, and government health guidance. Here is what this page is built on.
Vets, charities & official guidance
Keeper & species-community guides
- Habitat and housing standards — Land Hermit Crab Owners Society
- Shell standards — Land Hermit Crab Owners Society
- Molting and growth standards — Land Hermit Crab Owners Society
Checked August 2026. These are other people’s websites, and none of it replaces your own vet — if a pet seems unwell, call one.