Hermit crabs bury themselves for several reasons:
- To molt: Burying protects them while they shed their exoskeleton.
- To escape predators: Burial hides them from birds, fish, and other crabs.
- To regulate temperature: It helps them stay warm or cool as needed.
- To find food: They can locate buried plant and animal matter.
They typically bury in sand or mud and may stay underground for days or weeks before emerging to feed or mate.