What Do Gnats Eat?
Fruit Fly Diet
Fruit fly adults and larvae feed on the same things; the eggs and pupae do not feed. This list of preferred food sources includes:
- Fruits
- Vegetables
- Organic matter in a stage of fermentation and decomposition
- Slime produced by moist, organic matter that accumulates in poorly maintained drains, garbage containers, garbage disposals and other sources of waste products.
Moth Fly Diet
Moth fly larvae feed on the surface film of poorly maintained drains and pipes dirty waste disposal containers, plus places where sewer leaks occur. Adults of many moth flies may feed on nectar from plants and polluted water sites. Eggs and pupae do not feed.

What Do Phorid Flies Eat?
Phorid fly larvae eat organic matter found in their developmental sites. Such sites include:
- Rotting plants
- Moist manure
- Decaying animal carcasses
- The slime that occurs on drains and waste receptacles
Larval Feeding
Fungus gnat larvae feed on plant roots, other organic matter and fungi found in the soil. Fungus gnat pupae do not feed and the adult stage generally feeds on flower nectar. Larval stage feeding can sometimes damage plants and stunt their growth.