In short: Land hermit crabs (Coenobita) need a group of at least three, a glass tank of roughly 80 × 40 × 50 cm or larger, 24–29 °C, 70–80 % humidity, at least 15 cm of damp sand and coco fibre for moulting, two deep water dishes (fresh and salt) and several spare natural shells per crab. They are surprisingly good climbers, so a textured background and roots turn a plain tank into usable territory.

Which hermit crabs can you keep in a terrarium?
This guide is only about land hermit crabs of the genus Coenobita. They breathe through modified gills that must stay moist, but they would drown if kept under water. The species you will find most often are:
- Caribbean or purple pincher crab (Coenobita clypeatus): the most common species, likes to climb, prefers round shell openings.
- Ecuadorian crab (C. compressus): smaller and very active, prefers oval or D-shaped openings.
- Strawberry crab (C. perlatus): red to orange, needs especially stable humidity.
- Ruggie (C. rugosus) and blueberry crab (C. purpureus): widespread in the Indo-Pacific, sociable and hardy.
Hermit crabs are social animals that live in large colonies. A single crab is stressed and inactive, so plan for at least three from the start. With good care they can live well over 15 years, which surprises many people who bought them as a "starter pet".
How big should a hermit crab tank be?
Ground area matters, but so does depth: the substrate must be deep enough to bury completely during a moult. That pushes the minimum height up, and the climbing behaviour makes extra height useful anyway.
| Group | Minimum tank (L × W × H) | Better | Substrate depth |
|---|---|---|---|
| 3 small crabs (shell up to 3 cm) | 60 × 40 × 40 cm | 80 × 40 × 50 cm | 15 cm |
| 3–5 medium crabs (3–5 cm) | 80 × 40 × 50 cm | 100 × 50 × 60 cm | 15–20 cm |
| 5+ crabs or large individuals | 100 × 50 × 60 cm | 120 × 60 × 60 cm | 20 cm or 3 × height of the largest crab |
Use a glass tank with a tight glass or acrylic lid. Mesh tops let the humidity escape within hours. Leave a small ventilation strip, but the goal is a warm, damp, tropical climate.
What temperature and humidity do hermit crabs need?
Keep the tank at 24–29 °C during the day, with a slightly cooler corner, and never let it fall below 22 °C at night. Humidity should sit between 70 and 80 %. Below 70 % the gills dry out and crabs slowly suffocate; well above 85 % with stagnant air, bacteria and mould take over.
- Heat: a heat mat on the side or back wall above the substrate line, controlled by a thermostat. Never place it under the floor, because crabs dig down to escape heat, not towards it.
- Humidity: damp substrate, a moss pit with sphagnum and the open water dishes keep humidity up. Spray the walls lightly if needed.
- Light: 12 hours of daylight with an LED on a timer. Hermit crabs do not need UVB.
- Control: one digital thermo-hygrometer at substrate level, one near the top. They often differ by several degrees.
What substrate do hermit crabs need?
A mix of about five parts washed play sand to one part coco fibre, moistened until it holds its shape like sandcastle sand, works for all Coenobita species. A crab digs a cave and moults underground for four to eight weeks. If the cave collapses, the soft crab can be injured or killed, which is why depth and the right moisture are not optional.
Never dig up a buried crab. If you are worried, you can carefully check the surface for a collapsed spot, but the best help is to leave it alone and keep the climate stable.

Why do hermit crabs need fresh and salt water?
Hermit crabs drink and bathe in both types of water and use them to fill the small reservoir inside their shell. Provide two dishes, each deep enough that the largest crab can submerge, with a ramp, stones or a root so the smallest crab can climb out again.
- Fresh water: tap water treated with a dechlorinator, or bottled spring water.
- Salt water: dechlorinated water mixed with marine salt made for saltwater tanks. Table salt is not suitable.
- Change both daily or every other day; crabs carry sand into the dishes.
How many shells does a hermit crab need?
Shells are a crab's home, armour and water reservoir. Without a suitable larger shell after a moult, crabs fight or steal shells from each other. Offer at least three to five empty natural shells per crab, slightly larger than the current one, in different opening shapes.
Never use painted shells: the paint flakes off and is toxic. Boil new shells briefly in dechlorinated water, let them cool, and you can dip some in salt water before you put them in the tank, because crabs like shells that already hold a little moisture.
How should you lay out the tank?
Here is the layout we use as a starting point in an 80 × 40 × 50 cm tank:
- Warm side: heat mat on the side glass, both water dishes nearby to raise humidity.
- Cool side: moss pit with damp sphagnum and a half-buried hide.
- Centre: deep open digging area, at least 15 cm, with leaf litter on top.
- Back wall: a structured background that crabs can climb, plus roots leaning against it as ladders to a raised platform.
- Shell station: a shallow corner with spare shells grouped by size.
Hermit crabs climb more than most beginners expect, and a flat glass back wall wastes that behaviour. A background with roots in sand-coloured soil, such as the Driftwood in Sandy Soil Background, gives grip from bottom to top. Add a sturdy root like the Massive Spider Root and the crabs have a three-dimensional climbing route.

Which background size fits a hermit crab tank?
Pick the background roughly 2.5 cm smaller than the inner width and height of the tank. Measure above the planned substrate line when you decide how much of the background will stay visible. Our background size guide explains the details.
| Tank (front W × H) | Background (W × H) | Note |
|---|---|---|
| 60 × 45 cm | 57.5 × 42.5 cm | The lower 15 cm disappear behind substrate |
| 90 × 45 cm | 87.5 × 42.5 cm | Good for a group of 3–5 crabs |
| 100 × 50 cm | 97.5 × 47.5 cm | Room for a raised platform |
| 120 × 60 cm | 117.5 × 57.5 cm | Large colony, full climbing wall |
For an 80 cm tank, ask for a custom background. Let the silicone cure for at least 48 hours with the lid open before adding substrate and crabs.
The maker's view: why artificial decor works in a damp crab tank
A hermit crab tank is warm and wet all year, which is hard on real wood and cork. Real roots must be boiled or baked before use, they can still bring in mould spores, and they slowly rot in damp sand. Our backgrounds and roots are cast from lightweight, non-toxic material, hand-painted and sealed, so they handle constant humidity without softening or growing mould. Crabs cannot shred them, and you can scrub them under warm water during a deep clean.

What does a hermit crab setup cost?
| Item | Typical price in 2026 |
|---|---|
| Land hermit crab, per animal | 10–25 € |
| Glass tank 80 × 40 × 50 cm with glass lid | 120–220 € |
| Heat mat and thermostat | 40–70 € |
| Sand, coco fibre, sphagnum | 30–50 € |
| Two water dishes, marine salt, dechlorinator | 30–50 € |
| Spare shells (10–15) | 20–40 € |
| Food, calcium, cuttlebone per year | 60–100 € |
What are common hermit crab mistakes?
- Keeping a single crab or a pair in a small plastic box.
- Mesh lids and too little humidity.
- Substrate that is too shallow or too dry for a safe moult.
- Only fresh water, or salt water made with table salt.
- Painted shells or too few spare shells.
FAQ
Do hermit crabs need a bioactive setup?
It is not required, but springtails and isopods help keep the deep damp substrate clean. Our bioactive terrarium guide explains how the layers and the clean-up crew work.
Why is my hermit crab buried for weeks?
It is almost certainly moulting. Leave it alone, keep the climate stable and make sure food and water stay available on the surface.
What do hermit crabs eat?
A varied diet of crab pellets, fruit, vegetables, shrimp, egg, nuts and leaf litter, plus calcium from cuttlebone. Remove fresh food after a day.
Want a tank your crabs will actually climb? Explore our hermit crab tank decor and build a habitat that stays fresh in tropical humidity.