Millipedes are recyclers. Their main food is plant matter that is already dead and rotting, not living plants.1Elsevier. Foraging behaviour as a mechanism for trophic niche separation in a millipede community of southern Vietnam A millipede in your mulch or leaf pile is usually there for the decay, not for your flowers.
Dead Leaves and Rotting Wood Are the Main Menu
A millipede’s diet is dead plant material lying on the ground, such as leaf litter, decaying wood, and fallen fruit.1Elsevier. Foraging behaviour as a mechanism for trophic niche separation in a millipede community of southern Vietnam The great majority of millipede species alive today live on this kind of decaying plant matter.2New Scientist. Ancient mass extinction may have driven millipedes to eat meat
That is why they gather in mulch, compost, and damp corners: moisture speeds up rot, so damp spots hold the most edible material. Letting the mulch near the house dry out and thinning it reduces what draws them in.
Given a choice, millipedes go for leaves that have sat and softened over fresh-fallen ones.3Elsevier (Pedobiologia). Leaf litter preference and conversion by a saprophagous tropical pill millipede, *Arthrosphaera magna* Attems Fresh leaves carry more bitter plant chemicals than leaves that have aged on the ground.4Elsevier / Pedobiologia. Leaf litter preference and conversion by a saprophagous tropical pill millipede, Arthrosphaera magna Attems When offered several kinds of leaves, millipedes ate the most from a mix.3Elsevier (Pedobiologia). Leaf litter preference and conversion by a saprophagous tropical pill millipede, *Arthrosphaera magna* Attems
They tend to stay where leaf litter lies thick. That layer holds moisture against the soil, and millipedes lose water easily, so a damp blanket lets them feed through the day without drying out. Wood works the same way only when it has gone soft and crumbly. A rotting stump attracts them, while a sound, dry fence post usually does not.
Eating is a slow business. Strong jaws chew and crush soft decayed material into small bits, and the size of the teeth on those jaws sets how small the pieces end up.5Zoologica Scripta. Morphology of the mandibles in the millipedes (Diplopoda, Arthropoda)
Fungi, Moss, and Microbes on the Side
Millipedes also eat fungi and algae found on decaying matter.6Responsible Pest & Scorpion Control. What Do Millipedes Eat? A Simple Guide to Their Diet On rotting logs, they graze moss, algae, lichen, and fungi when they find them.7Exuvium Isopods. Nature’s Recyclers: A Guide to the Millipede Diet
Some millipedes even eat their own droppings.8PubMed Central. Disruption of millipede-gut microbiota in E. pulchripes and G. connexa highlights the limited role of litter fermentation and the importance of litter-associated microbes for nutrition The first trip through the gut softens tough plant matter, and fungi and microbes then grow on the droppings.9Communications Biology. Unravelling the Mystery of Millipede Nutrition: Understanding the Role of Their Gut Microbiota A second meal gives the millipede fresh, microbe-rich food it couldn’t get the first time.8PubMed Central. Disruption of millipede-gut microbiota in E. pulchripes and G. connexa highlights the limited role of litter fermentation and the importance of litter-associated microbes for nutrition
For gardeners, moldy mulch or a fungus-covered log is a feeding site, not a sign that millipedes are spreading disease. They are eating the decay, the same process that makes compost. If heavily moldy, wet debris is piled near your foundation, clearing it cuts their food supply.
Tiny dark pellets in a damp corner may be their droppings, a sign they have been feeding there. Because they eat soft surface growth, they leave fine scraped or shredded leaf material rather than neat holes in live leaves.
Will Millipedes Eat Your Garden Plants
In carrot and sweet potato fields, the common millipede found there may cause some damage to sweet potatoes.10Journal of Applied Entomology. Guilty by association: an evaluation of millipedes as pests of carrot and sweet potato But wireworms, which are small beetle larvae, were the main cause of damage to those crops.10Journal of Applied Entomology. Guilty by association: an evaluation of millipedes as pests of carrot and sweet potato
Their taste for soft, decaying plant material extends to fallen or bruised fruit.1Elsevier. Foraging behaviour as a mechanism for trophic niche separation in a millipede community of southern Vietnam Strawberries, tomatoes, or tubers lying on wet soil are the most likely targets, especially when ripe, split, or bruised, since firm, intact produce gives them no easy way in. Lifting fruit off the ground with straw or a trellis limits contact. Among living plants, seedlings and very soft young growth are the likeliest to be nibbled, particularly when stressed or damaged.
They hide in the same damp, sheltered places where other pests feed, so finding one beside a damaged plant is weak evidence that it did the chewing. To work out who did it, look at what was damaged and how. Seedlings cut off at soil level, roots hollowed out, or leaves with ragged holes each point more toward other pests. Chewed seedlings are more often the work of slugs or other pests, and millipedes lack the jaws for tough living stems on healthy plants. Look for wireworms, slugs, or beetle grubs near damaged roots. Holes with already-rotting edges can be one clue that millipedes moved in after another problem, and damage on firm, healthy leaves is unlikely to be theirs. A flashlight check at night shows who is actually feeding.
You can keep numbers down without poison. Water in the morning so the soil surface dries by evening, and pull mulch a few inches back from stems and house walls. Clear away rotting fruit and boards that hold moisture. Indoors, millipedes dry out and die, so sealing gaps is usually enough.
Meat, Old Skins, and Calcium
A handful of millipede species have been seen eating dead animals.2New Scientist. Ancient mass extinction may have driven millipedes to eat meat Millipedes are scavengers, not hunters, and won’t attack people or pets.
When threatened, a millipede coils up with its head tucked inside and its softer underside protected by the hard back plates. Many species ooze defensive fluids from pores along the sides of the body, meant to deter predators such as ants and beetles. The fluid can stain skin brown and cause irritation, so rinse with water after handling one and keep your hands away from your eyes until you have washed.
Millipedes molt, shedding their old outer shell several times as they grow.11Orkin. Millipede Diet: What Do Millipedes Eat? After each molt they eat the cast-off skin.11Orkin. Millipede Diet: What Do Millipedes Eat? This may help them replace calcium their hard shell needs.11Orkin. Millipede Diet: What Do Millipedes Eat?
Why Their Diet Helps Your Soil
Millipedes chew dead plants into small pieces that bacteria then break down further, which releases the nutrients locked in the leaves into the soil.12International Journal of Entomology Research. Millipedes as ecosystem engineers: Their role in nutrient cycling, soil health and biotechnological significance Their droppings rot faster than the original leaves did.13Biodiversity Science. Ecological functions of millipedes in the terrestrial ecosystem
In compost bins, millipedes help by shredding material, and a healthy bin can host many without problems. Their presence signals moist, active decay. Leave them be unless they spread to planted beds.
A modest layer of leaves under shrubs or in a corner of the garden lets millipedes and other decomposers feed the soil without any effort from you. If millipedes are crowding near the house, move the leaf layer away from the foundation instead of clearing leaves from the whole yard.
What to Feed a Pet Millipede
For giant African millipedes, most of the food should be oak leaf litter.14Dubia.com. African Giant Millipede Care Sheet Add pieces of fresh vegetables and fruit for variety, and offer a small protein source such as fish flakes or dog kibble.14Dubia.com. African Giant Millipede Care Sheet Keep a piece of cuttlebone in the enclosure as calcium.14Dubia.com. African Giant Millipede Care Sheet
Choose aged, softened leaves, since millipedes prefer them, and collect them from areas free of pesticides. A mix of leaf types suits them better than one kind. Keep the substrate damp so the leaves keep rotting.
As the leaves are eaten and turn into droppings, top up the litter rather than replacing everything at once. Put fresh vegetable or fruit pieces on a small dish or flat surface so leftovers are easy to spot.
Too much fruit spoils and draws mites, so remove leftovers within a day or two. Protein is a small side, not a staple. Don’t leave the millipede without calcium, and don’t let the substrate dry out, which stops natural decay.
Your millipede shows how it’s doing. One that regularly chews the cuttlebone is using it, so leave it in place and replace it when it is mostly gone. Leaf litter that is eaten down and replaced by dark droppings means normal feeding.

