The Aquarium Adviser
Invertebrates

Hermit Crab Behavior in Captivity | Food, Climbing, Digging & Aggression

By Sharon Ben-Moshe · Founder, The Aquarium Adviser · Updated 9 min read
Hermit Crab Behavior in Captivity | Food, Climbing, Digging & Aggression

Photo by JWH Photography on Openverse (Public Domain Mark)

Hermit crabs are surprisingly social and active in captivity, displaying a rich range of behaviors that make them genuinely interesting to observe and care for. Understanding these behaviors-from food-seeking and climbing to digging, aggression, and their occasional odd vocalizations-not only enriches your experience as a caretaker but also helps you keep your crabs healthy, entertained, and safe.

Social Behavior & Living in Groups

One of the most striking things about hermit crabs is how social they are. In the wild, hermit crabs live in large, active groups and interact constantly. In captivity, they bring that same social drive to your crabitat.

If you watch your crabs during the evening hours (when they're most active), you'll see them:

  • Rubbing antennae with one another as a greeting
  • Crawling all over each other in a seemingly chaotic pile
  • Banding together to knock over items by literally piling on top of each other
  • Gathering around the food dish to share meals
  • Waving their antennae at each other in what looks like genuine interaction

This is why hermit crabs do best when housed with other hermit crabs rather than alone. They're not solitary creatures-they actively enjoy each other's company. Spending time observing them in the evening, you'll come to recognize individual personalities and typical group patterns. It's one of the most rewarding aspects of crab ownership.

Food-Seeking & Eating Behavior

Watching your hermit crabs hunt for food and eat is genuinely one of the most enjoyable aspects of keeping these crustaceans. Hermit crabs have impressive sensory abilities when it comes to meals.

Sensing Food from a Distance

Hermit crabs can detect food by sight and smell from up to 6 feet away. If you place something particularly fragrant in their food dish after sunset, you'll likely see your crabs emerging to investigate within minutes. They're driven by both hunger and curiosity, and the smell of fresh food will pull them out of wherever they're hiding.

How Hermit Crabs Eat

Hermit crabs have a distinctive eating style:

  • They pick up food with their claws
  • They bring it to their mouth in a motion that looks like "shoveling"
  • They consume favorite foods much faster than foods they find less appealing

Because hermit crabs also respond to the sight of other crabs eating, you'll typically see several crabs gathering at the food dish at once. Their social nature extends to mealtime-it's not just a solo feeding experience, but a group activity.

Climbing: A Natural Instinct

Hermit crabs are natural climbers. In the wild, they use this ability to scale trees and hunt for food. In captivity, they'll climb anything they can get their claws on-which is both entertaining to watch and important to manage safely.

Why They Climb

Climbing isn't just recreation; it's a genuine instinct. Hermit crabs hook the tips of their legs onto small protrusions on vertical surfaces and haul themselves upward, shell and all, using these natural "rungs" to climb. They're so adept at this that they can even position themselves upside down on mesh screen tops and hold on.

Climbing Setup & Safety

To encourage healthy climbing behavior, provide:

  • Climbing mats
  • Textured ornaments or decorations
  • Driftwood or branches
  • Screen surfaces

Critical safety note: Climbing is strenuous, and hermit crabs will often take a nap on a vertical surface once they've climbed as high as they want. However, because they're such good climbers, you must secure the top of your crabitat firmly. Without a secure lid, your crabs may escape.

Digging: Creating the Right Substrate

Digging is a fundamental behavior for hermit crabs, and providing adequate substrate is one of the most important parts of crab care.

Why Hermit Crabs Dig

Hermit crabs dig for three main reasons:

  • To navigate obstacles - They often prefer to dig underneath or through objects rather than go around them
  • To cool themselves - When they feel warm, they'll bury their bodies in cooler substrate
  • To hide - Digging creates shelter and reduces stress

Substrate Depth & Moisture

Hermit crabs prefer moist substrate for digging, which is why you might find your water dish knocked over or their substrate dam-some owners report that crabs deliberately dampen areas by filling their shells with water from the dish and crawling to another spot to release it, then digging in the newly wet area.

Provide adequate substrate depth based on crab size:

  • Smaller crabs: 4-5 inches minimum
  • Larger crabs: 7-10 inches

Make sure the substrate is loose enough for your crabs to move easily with their small pincers. A mix of sand and coconut husk works well and allows crabs to burrow naturally.

Grooming Behaviors

Although hermit crabs aren't as fastidious as cats, they do maintain their own cleanliness, and understanding grooming behavior helps you spot health issues.

Why Crabs Groom

Keeping their bodies clean helps hermit crabs see and function better in their environment. Clean shells also prevent sand and irritants from building up inside where they could irritate the crab's sensitive abdomen.

What They Groom

Hermit crabs focus grooming efforts on:

  • Claws: Picking dirt and sand out of crevices with their opposing claw
  • Legs: Rubbing them on each other to clean
  • Eyestalks and antennae: Rubbing these with their legs
  • Interior shell: Scraping the inside with back legs to push out debris, and using their small claw to keep the opening clean

You won't always see internal shell cleaning happening, but if your crab appears to be doing something inside their shell, they're likely cleaning house.

Aggression: Prevention & Intervention

While most hermit crab behaviors are endearing, crab-on-crab aggression is common and can be serious. Understanding what triggers it and how to stop it is essential.

Common Aggressive Behaviors

When hermit crabs become aggressive, they typically:

  • Pull at other crabs with their pincers
  • Flip other crabs onto their backs to avoid defensive strikes
  • Engage in shell fights, where one crab tries to pull another out of their shell by grabbing and yanking
  • Attack eyes, antennae, and limbs, sometimes causing severe injury

Victims may drop a limb in a defensive attempt to dislodge the aggressor's grip. Untreated aggression can result in infection and death.

De-escalation Strategies

If you see active aggression:

  • Separate immediately - Remove the aggressive crab and place it in a dark, quiet space (a small molting tank or travel carrier work well)
  • Let it calm down - Keep the crab isolated until it settles
  • Reassess before reintroducing - Consider the cause and make environmental changes

If aggression involves shell-fighting:

  • Separate the crabs again
  • Add more empty shells to the enclosure before reintroducing the aggressor crab
  • If the aggressor simply wants a new shell and has options available, they're more likely to stop harassing other crabs

If aggression persists:

  • Provide more space - A larger crabitat reduces territorial aggression
  • If a crab attacks regardless of shells or space, it may need permanent separation
  • Note: Aggressive crabs shouldn't live alone, so provide one or two crabs of the same size or larger to discourage further attacks

Vocalizations: Chirping & Clicking

Hermit crab owners familiar with these crustaceans often hear sounds they make. Understanding the difference between the two main types helps you interpret what your crabs are doing.

Stridulation (Chirping)

The odd sound familiar to longtime crab keepers-a cross between a frog's croak and a cricket's chirp-is called stridulation by scientists. Hermit crabs make this noise when they're picked up or during altercations with other crabs.

The exact mechanism is still not entirely understood by scientists, but researchers believe crabs create it by rubbing certain parts of their body together. You won't see this happening, but you'll definitely hear the result.

Shell Clicking

A more familiar sound is the clicking made when hermit crabs knock their shells together. Unlike stridulation, this happens inadvertently-usually when crabs are gathering in the food dish, climbing on decorations en masse, or doing anything that brings them in close contact with each other. These clicks are simply the byproduct of their active social behavior.

Hiding: Stress Reduction & Security

Hermit crabs hide in two ways: retreating into their shells and using external hiding places. Both are essential for their wellbeing.

Shell Retreats

Hermit crabs withdraw as deeply into their shells as possible when threatened or stressed, covering the shell entrance with their large pincher to block intruders. This is why providing properly-sized shells is critical-crabs living in shells that are too small will have trouble fully retreating, which causes constant stress.

External Hiding Places

In nature, hermit crabs hide in structures (leaf piles, coconut shells, rock clumps) while retreating into their shells for sleep. In captivity, providing external hiding places significantly reduces stress and helps crabs feel secure.

Good hiding options include:

  • Commercial reptile hides
  • Half-buried terra cotta pots
  • Cut-in-half 1-liter plastic soda bottles
  • Coconut shell halves
  • Driftwood with cavities

If you provide roomy, appealing hiding spots, you'll often see your crabs gathering together to sleep inside these protective covers. This social sleeping behavior is another sign of their communal nature.

Shell Swapping: A Chain Reaction Behavior

One of the most amusing hermit crab behaviors is shell swapping-a phenomenon where one crab abandons their shell for a new one, triggering a cascade of shell changes through the entire population.

If you ever see one of your crabs changing shells, watch closely. Within moments, other crabs in the enclosure may start swapping too, creating what looks like a crab version of musical chairs. It's a fun reminder of how connected and responsive these creatures are to each other's actions.

This behavior also highlights why having multiple appropriately-sized shells available is so important. Providing plenty of shell options reduces competition, stress, and aggression while allowing your crabs to express their natural instinct to upgrade when they find a better fit.

Creating an Environment That Supports Natural Behavior

Understanding these behaviors shows you what hermit crabs naturally want and need:

  • Social housing with multiple compatible crabs
  • Climbing opportunities with a secure enclosure
  • Digging substrate at least 4-10 inches deep depending on crab size
  • Multiple shells of various sizes to reduce aggression
  • Adequate space to reduce territorial conflicts
  • Hiding spots to reduce stress and support natural sleep patterns
  • Varied food that triggers their sensory-driven eating response

By supporting these natural behaviors, you're not just providing entertainment-you're keeping your hermit crabs healthier, happier, and less prone to stress-related illness and aggression. Spend time observing your crabs in the evening, and you'll come to recognize the unique personality of each individual in your crabitat.

Frequently asked questions

How can I stop my hermit crabs from fighting?+

If you see aggression, immediately separate the aggressive crab in a dark, quiet space to calm down. Before reintroducing it, add more empty shells to the enclosure (if the fight was over shells) or provide more space. If a crab attacks regardless of shells or space, it may need permanent separation in its own tank with one or two same-sized or larger crabs for companionship. Aggression can be deadly, so intervention is important.

Why do my hermit crabs dig so much and knock over their water dish?+

Hermit crabs dig to navigate obstacles, cool themselves, and hide. They prefer moist substrate, which is why they're attracted to the area around their water dish. Some crabs deliberately dampen substrate by filling their shell with water and releasing it elsewhere before digging. Provide at least 4-10 inches of loose substrate depending on crab size to accommodate this natural behavior.

What does it mean when my hermit crab makes a chirping sound?+

That sound-called stridulation by scientists-is produced when hermit crabs are picked up or involved in fights with other crabs. It sounds like a cross between a frog's croak and a cricket's chirp. The exact mechanism is still somewhat mysterious, but researchers believe crabs create it by rubbing parts of their body together. Clicking sounds, by contrast, are just the incidental noise of shells bumping during normal activity.

Do hermit crabs need to live alone or with other crabs?+

Hermit crabs are highly social and do best when living with other hermit crabs, not alone. In the wild, they live in large groups and interact constantly. In captivity, they socialize by rubbing antennae, gathering to eat together, and sleeping in groups. However, they need adequate space and multiple shells to minimize aggression and territorial conflicts.

How far away can hermit crabs smell food?+

Hermit crabs can detect food by sight and smell from up to 6 feet away. If you place fragrant food in their dish after sunset (when they're most active), they'll quickly emerge to investigate. They're also driven to eat when they see other crabs eating, which is why you'll typically see multiple crabs gathering at the food dish at once.

What should I do to prevent my hermit crabs from escaping?+

Hermit crabs are excellent climbers and can scale almost any surface, including mesh screen tops, positioning themselves upside down if necessary. You must secure the top of your crabitat firmly to prevent escapes. Provide climbing opportunities like climbing mats, textured ornaments, and driftwood to satisfy this natural instinct while keeping them safely contained.