Detritivores, also known as detrivores, detritophages, detritus feeders, or detritus eaters, are heterotrophs that obtain nutrients by consuming detritus (decomposing plant and animal parts as well as feces). There are many kinds of invertebrates, vertebrates and plants that carry out coprophagy. By doing so, all these detritivores contribute to decomposition and the nutrient cycles. They should be distinguished from other decomposers, such as many species of bacteria, fungi and protists, which are unable to ingest discrete lumps of matter, but instead live by absorbing and metabolizing on a molecular scale (saprotrophic nutrition). However, the terms detritivore and decomposer are often used interchangeably.
Detritivores are an important aspect of many ecosystems. They can live on any soil with an organic component, including marine ecosystems, where they are termed interchangeably with bottom feeders. Detritivores also help stop the spread of disease by removing dead material from the environment and organisms like earthworms that live in the soil mix up and aerate the soil with their movements. 
Typical detritivorous animals include millipedes, springtails, woodlice, dung flies, slugs, many terrestrial worms, sea stars, sea cucumbers, fiddler crabs, and some sedentary polychaetes such as amphitrites (Amphitritinae, worms of the family Terebellidae) and other terebellids.
Scavengers are typically not thought to be detritivores, as they generally eat large quantities of organic matter, but both detritivores and scavengers are specific cases of consumer-resource systems. The eating of wood, whether alive or dead, is known as xylophagy. Τhe activity of animals feeding only on dead wood is called sapro-xylophagy and those animals, sapro-xylophagous.
In food webs, detritivores generally play the roles of decomposers. Detritivores are often eaten by consumers and therefore commonly play important roles as recyclers in ecosystem energy flow and biogeochemical cycles.
Many detritivores live in mature woodland, though the term can be applied to certain bottom-feeders in wet environments. These organisms play a crucial role in benthic ecosystems, forming essential food chains and participating in the nitrogen cycle.
Fungi, acting as decomposers, are important in today's terrestrial environment. During the Carboniferous period, fungi and bacteria had yet to evolve the capacity to digest lignin, and so large deposits of dead plant tissue accumulated during this period, later becoming the fossil fuels.
- Wetzel, R. G. 2001. Limnology: Lake and River Ecosystems. Academic Press. 3rd. p.700.
- "Detritivore". biologydictionary.net. Retrieved 9 January 2018.
- Getz, W. (2011). Biomass transformation webs provide a unified approach to consumer–resource modelling. Ecology Letters, doi:10.1111/j.1461-0248.2010.01566.x.
- "Nitrogen in Benthic Food Chains" (PDF)., Tenore, K.R., SCOPE publication.