A vermifilter (also vermi-digester or lumbrifilter) is an aerobic treatment system, consisting of a biological reactor containing media that filters organic material from wastewater. The media also provides a habitat for aerobic bacteria and composting earthworms that purify the wastewater by removing pathogens and oxygen demand. The "trickling action" of the wastewater through the media dissolves oxygen into the wastewater, ensuring the treatment environment is aerobic for rapid decomposition of organic substances.
Vermifilters are most commonly used for sewage treatment and for agro-industrial wastewater treatment. Vermifilters can be used for primary, secondary and tertiary treatment of sewage, including blackwater and greywater in on-site systems and municipal wastewater in large centralised systems.