Millipedes are decomposers that eat decaying plant matter, including leaves, stems, flowers, fruits, dead insects, and fungi. In captivity, offer fresh vegetables, fruits, dead leaves, and occasional fish flakes two to three times per week. Remove uneaten food and provide constant moisture.