What to Feed a Crab: Safe Foods and What to Avoid

Crabs are omnivorous scavengers, which means they eat just about anything: plant matter, animal protein, decaying organic material, and even bits of eggshell. What you feed your pet crab depends on the species, but the core nutritional needs are similar across the board. A mix of protein, calcium-rich foods, fruits, vegetables, and natural plant matter will keep most pet crabs healthy through growth, molting, and daily life.

Protein Comes First

Protein is the single most important part of a crab’s diet. Research on salt-marsh crabs found that individuals fed invertebrate-based diets grew significantly faster than those eating only plant material. While crabs can survive on leaves, algae, or even mud, they strongly prefer and thrive on animal protein. In the wild, crabs hunt small invertebrates, scavenge dead fish, and eat just about any animal matter they come across.

For pet crabs, good protein sources include dried shrimp, bloodworms, mealworms, dried fish, and small pieces of cooked (unseasoned) chicken, egg, or seafood. Dried daphnia, tiny crustaceans sometimes called water fleas, are particularly useful because they’re rich in both protein and chitin. Chitin is the structural material crabs need to build and maintain their exoskeletons, so feeding foods that contain it gives your crab a direct building block for shell health.

Fiddler crabs and other semi-aquatic species do well with sinking shrimp pellets, tadpole pellets, flake fish food, or even crushed dry cat food as a protein base. These are convenient, shelf-stable options that deliver consistent nutrition.

Calcium for Shell Health

A crab’s exoskeleton is made of chitin reinforced with calcium, phosphorus, and magnesium. Specialized proteins within the shell guide where calcium gets deposited, giving the exoskeleton its mechanical strength. Without enough dietary calcium, a crab’s shell grows thin and brittle, and molting becomes dangerous.

The easiest calcium sources for pet crabs are crushed eggshells, cuttlebone (the same kind sold for birds), and crushed oyster shell. You can leave a piece of cuttlebone in the enclosure at all times so your crab can nibble as needed. Coral sand or calcium-rich substrate also helps, especially for hermit crabs that sift through their substrate while foraging. Some keepers offer crushed coral or calcium powder sprinkled lightly over food a few times a week.

Fruits, Vegetables, and Plant Matter

Plant material provides fiber, vitamins, and enrichment. Most pet crabs will eat small pieces of apple, banana, mango, coconut, grape, leafy greens, carrot, sweet potato, and zucchini. Tropical fruits tend to be popular with hermit crabs especially, since many species originate from tropical coastlines where fallen fruit is part of their natural diet.

Dried leaves are another excellent food source that’s easy to overlook. Oak leaves, Indian almond leaves, and sea grape leaves can be left in the enclosure for crabs to graze on at their own pace. In the wild, leaf litter is a constant food source, and crabs will pick through it for both the plant material and the tiny organisms living on it. Dried seaweed and algae sheets are also safe and nutritious, providing trace minerals that are hard to get from other foods.

What to Avoid

The biggest threats to pet crabs aren’t specific toxic foods so much as chemical contamination. Avoid anything treated with pesticides, herbicides, or fertilizers. If you’re collecting leaves or wood from outside, make sure the area hasn’t been sprayed. Tap water treated with chlorine or chloramine is harmful to crabs, particularly aquatic species. Use dechlorinated or spring water for both drinking and habitat maintenance.

Processed human foods are generally a bad idea. Salty snacks, sugary foods, anything with preservatives or artificial flavoring, and seasoned meats can all cause problems. Citrus fruits are sometimes flagged as too acidic for hermit crabs, though opinions among keepers vary. When in doubt, stick to mild, whole foods. Metals, especially copper, are toxic to crustaceans even in trace amounts, so avoid any food or water source that may have contacted copper pipes or cookware.

Feeding During Molting

Molting is the most physically demanding thing a crab does. It sheds its entire exoskeleton and grows a new one, a process that requires large reserves of energy, protein, and minerals. Research on blue swimming crabs shows the body ramps up energy storage in the weeks before a molt, converting sugars into glycogen reserves. After the old shell comes off, protein levels in the new cuticle rise sharply as the shell hardens and mineralizes.

You can support this process by offering extra calcium and protein-rich foods in the weeks leading up to a molt. Signs that a molt is approaching include reduced activity, digging behavior (in hermit crabs), dulling of shell color, and cloudy eyes in some aquatic species. After molting, many crabs eat their shed exoskeleton to reclaim the calcium and chitin, so don’t remove it from the enclosure. A crab that’s just molted is soft and vulnerable, and that recycled shell material is critical for hardening the new one.

How Often and How Much

Most pet crabs do well with daily feeding in small amounts. Offer a variety of foods in a shallow dish or directly on the substrate, and remove uneaten fresh food within 24 hours to prevent mold and bacterial growth. Dried foods like leaves, cuttlebone, and seaweed can stay in the enclosure longer since they don’t spoil quickly.

Crabs are nocturnal feeders, so putting food out in the evening aligns with their natural activity cycle. Don’t be alarmed if your crab seems to eat very little. They have small bodies and correspondingly small appetites. A hermit crab might take a few nibbles from several different food items in a night rather than consuming a full “meal” from one source. This grazing behavior is normal, and offering variety encourages it.

Tailoring Diet by Species

Hermit crabs are the most common pet crabs, and they benefit from the widest variety of foods. Rotate between proteins, fruits, vegetables, and dried natural materials like coconut, oak leaves, and seaweed. They also appreciate occasional treats like unsalted nuts, dried flowers, and honey in very small amounts. In the wild, land hermit crabs are extreme generalists, eating everything from fallen fruit to animal droppings to carrion.

Fiddler crabs are semi-aquatic and spend time filtering organic particles from sand and mud. In captivity, they take shrimp pellets, flake food, and small vegetable pieces readily. They need both a land area and shallow brackish water in their enclosure, and food can be offered on the dry side. Red claw crabs, Thai micro crabs, and vampire crabs each have slightly different habitat needs, but the dietary principles are the same: protein, calcium, plant matter, and variety.

For any species, the goal is to mimic the diversity of a natural diet. A crab that gets the same pellet food every day is nutritionally shortchanged compared to one eating a rotating mix of animal protein, plant material, and mineral-rich supplements. Variety isn’t just enrichment. It’s how crabs evolved to meet their nutritional needs.