How to Get Rid of Drain Flies | Break the Breeding Cycle

Drain flies are eliminated by scrubbing the organic slime inside drains where they breed, then cleaning regularly for at least three weeks.

Drain flies are a sign of a problem, not the problem itself. The tiny moths hovering near your sink are drawn to the layer of organic slime — biofilm — that builds up inside drain pipes. Pouring insecticide down the drain won’t fix this. The only approach that works is removing that film physically, then maintaining the drain long enough to break the fly’s life cycle.

Why Drain Flies Keep Coming Back

Drain flies breed directly in the moist organic film that accumulates inside pipes, traps, and overflow channels. Bathroom sinks, kitchen sinks, shower and tub drains, and floor drains are all common breeding sites. As long as that biofilm stays, eggs and larvae survive, and new adults keep emerging.

This is why a single cleaning rarely works. The life cycle takes about one to three weeks, so a one-time scrub kills the current generation but leaves the next one untouched. Consistent cleaning over several weeks is what actually ends the infestation.

The Scrub That Removes the Breeding Film

The core step is mechanical, not chemical. Use a stiff-bristle brush — a bottle brush or a dedicated drain brush works well — to scrub the inside of the drain opening and as far down the pipe as you can reach. The goal is to physically remove the scum and biofilm coating the walls. Pull out any hair, soap residue, or debris trapped near the opening and dispose of it.

After scrubbing, flush the drain thoroughly with hot water. For the next several weeks, repeat this cleaning at least twice a week, per extension service guidance, to fully eliminate the organic residue the flies need. This maintenance phase is the step most people skip, and it’s the step that actually works.

Moisture, Leaks, and the Real Source

Drain flies need moisture as much as they need organic film. Fix any plumbing leaks promptly, clear slow or clogged drains, and reduce standing water around sinks and fixtures. For drains you rarely use, run water through them weekly to keep traps full and prevent film from building up.

If flies persist after treating all visible drains, the breeding site may be hidden. University extension guidance recommends testing each drain individually by covering it with clear tape or plastic wrap overnight; emerging adults will stick to the surface, confirming their source. Flies coming from crawl spaces, wall voids, or slab areas point to a moisture problem there — fix the leak and seal the entry point rather than treating only the visible drain.

Enzyme-based drain cleaners can help maintain a clean pipe once the physical scrubbing is done, but they are not a substitute for brushing. They break down organic matter slowly and work best as part of an ongoing routine, not as a one-time cure.

What Not to Do: Insecticides in Drains

Do not pour insecticide or pesticide down the drain. University extension services are clear that no insecticide products are registered for use in drains or sewer systems, and doing so should be discouraged. Beyond being ineffective against the biofilm, pesticides poured into plumbing can damage septic systems and sewer infrastructure — a risk not worth taking for a problem that scrubbing solves.

Action Purpose Frequency
Scrub drain interior with stiff brush Removes the biofilm where flies breed Twice per week
Flush with hot water after scrubbing Washes away loosened organic matter Every cleaning session
Fix leaks and clear clogs Eliminates the moisture flies require As needed
Run water in unused drains Keeps traps full and film from building Weekly
Apply enzyme cleaner Maintains a clean pipe between scrubbings Per product label

Drain flies disappear when their breeding conditions do. Scrub the film away, keep the drains clean for three weeks or longer, and fix the moisture issues that keep the cycle alive. That sequence — not a can of spray — is what ends the infestation for good.

FAQs

Why do drain flies keep coming back after I clean?

Most likely, the cleaning removed adult flies but not the biofilm deeper in the drain where eggs and larvae hide. A single pass rarely reaches far enough down the pipe. Scrubbing the interior walls with a stiff brush and repeating the process at least twice a week for three weeks breaks the full life cycle.

Can I use bleach to kill drain flies?

Bleach will kill some adults on contact but won’t penetrate or remove the biofilm layer where larvae develop. The film protects them from the chemical, and the flies return once it wears off. Physical scrubbing is more effective; bleach can be used afterward to sanitize, but not as a substitute for brushing.

Are drain flies harmful to humans?

Drain flies do not bite, sting, or transmit disease to people. They are primarily a nuisance pest, though their presence indicates a sanitation issue in the drain. In rare cases, large populations can linger near food preparation areas, which is why eliminating the breeding source is recommended.

References & Sources

  • University of Arkansas Division of Agriculture. “Drain Flies.” Covers breeding habits and the scrubbing-based control method.
  • Utah State University Extension. “Drain Fly.” Details on identification, breeding sites, and the tape-test verification method.
  • The Ohio State University. “Drain Flies / Moth Flies.” Guidance on maintenance frequency and why insecticides are not registered for drains.
  • Gardening Beyond. “Best Drain Fly Killer.” Tested product recommendations for gels, foams, and biological cleaners.

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.