How to Prevent Drain Flies from Coming Back

Where Are Drain Fly Larvae?

Drain fly larvae live in various pipes where standing water and grime accumulate. Finding where the larvae are hiding is the only way to treat the problem at its source.

Common Breeding Locations

Larvae need a damp environment with organic matter. Focus your inspection on:

  • Floor drain P-traps — stagnant water and sludge in the pipe bend are the most common drain fly breeding sites.
  • Inside sink drain pipes — the slime layer coating the inner pipe wall. Larvae hide there, eating organic debris.
  • Toilet tank and base crevices — damp gaps where breeding occasionally occurs.
  • Mop sink drains — constantly damp, with lint from mops serving as larval food.
  • Washing machine drain hose connections — with standing water, lint, and detergent residue.
  • Kitchen sink drain pipes — food debris accumulation, rich in nutrients.

What Do the Larvae Look Like?

  • Thin, white, worm-like, about 4–5 mm long.
  • The head is darker (dark brown), and the body is semi-transparent.
  • They wriggle in the sludge and are hard to spot unless you look closely.
  • If you see tiny white worms flushed out when cleaning the pipes, they are almost certainly drain fly larvae.

How to Check?

Remove the floor drain cover and insert a thin stick or long-handled brush into the pipe. If the sludge you pull out contains tiny white worms, those are drain fly larvae. You can also watch the water when pouring boiling water down — look for larval bodies in the outflow.

Treatment

Once you find larvae: first scrub the sludge off the inner pipe wall with a brush, then use boiling water to kill remaining larvae and eggs. After that, flush the pipes with boiling water weekly to prevent larvae from re-establishing.