Hermit crabs are omnivores that eat both plant and animal matter. Their diet includes algae, seaweed, fallen fruits, dead fish, carrion, small invertebrates, and occasionally other crustaceans. Some species specialize in crinoids or fish eggs.
Pet hermit crabs need a balanced, varied diet with commercial food, fresh produce, and occasional protein treats to stay healthy.