A handful of fuzzy, moth-like flies clinging to the bathroom wall above the tub does not mean your house is dirty — it means there is a film of organic gunk inside a drain somewhere, and it took the flies about eight days to reproduce in it. Drain flies in house infestations look alarming but solve quickly once you understand the life cycle. The adults you see are not the problem; the larvae multiplying in the slime layer inside your drain pipes are. Kill the breeding site and the visible flies disappear within two weeks. Keep treating the breeding site and they never come back. Here is the exact process that works.
Confirm They Are Actually Drain Flies
Drain flies (also called moth flies, sewer gnats, or filter flies) are 1/16 to 1/8 inch long, fuzzy gray or tan, and have leaf-shaped wings held tent-like over their body when at rest. They are weak fliers — they hop and flutter rather than zoom around like fruit flies or houseflies.
If the flies you see are zipping fast around fruit on the counter, those are fruit flies (Drosophila). Solving fruit flies requires removing fermenting food sources, not treating drains. Drain flies stay near sinks, tubs, floor drains, and basement floor traps. Misidentifying the pest leads to weeks of treating the wrong problem.
The Life Cycle You Need to Interrupt
An adult drain fly lives 8 to 24 days. Females lay 30 to 100 eggs on the slime layer inside drain pipes, sump pumps, or any standing organic film. Eggs hatch in 32 to 48 hours into larvae that feed on the biofilm. Larvae mature in 9 to 15 days, pupate for 1 to 3 days, and emerge as adults.
The full cycle takes 11 to 20 days. This is why a single treatment rarely solves the problem — you kill the visible adults but leave eggs and larvae behind, and a fresh wave hatches before you stop noticing the original infestation. The fix requires repeated treatment over 3 to 4 weeks to interrupt the cycle completely.
Find the Breeding Site
Tape a clear piece of plastic wrap or a sticky trap loosely over each suspect drain at bedtime. Adults emerging from the drain stick to the trap or land on the plastic. Check each trap in the morning — the drain with the most flies caught is your breeding site.
Common locations: rarely-used guest bathroom sinks, basement floor drains, sump pump pits, the overflow drain inside a bathtub, the drain pan under a refrigerator’s water dispenser. Less obvious sources: a cracked or loose toilet wax ring leaking sewage into the subfloor, condensate drain lines on HVAC systems, and the cleanout cap on the main drain stack.
Step One: Mechanical Cleaning
Once you identify the drain, you need to physically remove the biofilm where the larvae live. Boiling water alone does not penetrate the slime layer.
Remove the drain stopper and run a flexible drain brush (Holikme 25-inch flexible drain brush, $9) through the trap and as far down the pipe as you can reach. Scrub vigorously to dislodge the gel-like coating. Pour two gallons of boiling water down the drain to flush loose debris. Then pour 1/2 cup of baking soda followed by 1 cup of white vinegar; let foam for 15 minutes, then flush with another gallon of hot water.
Step Two: Enzyme Drain Treatment
Standard drain cleaners like Drano or Liquid-Plumr are caustic and do not effectively break down the protein-rich biofilm that drain flies breed in. Enzyme-based cleaners do — they contain bacteria that digest organic material.
Bio-Clean Drain Septic Bacteria ($45 for 2 lb container) and Green Gobbler Enzymes ($18 per quart) are the two products that consistently work. Pour 1/4 cup down the affected drain at night, after the last water use. The enzymes need 6 to 8 hours of contact time without flushing — they cannot work if water rinses them away.
Repeat every 3 to 4 nights for 3 weeks. The full life-cycle disruption requires this duration; one or two applications kills the current adults but lets the next generation emerge.
Step Three: Kill the Visible Adults
While you are treating the breeding site, knock down the adults you see flying around. A handheld swatter works fine — drain flies are slow. For larger populations, a Stingmon UV electric bug zapper for indoor use ($28) attracts and kills adults overnight without insecticide.
An apple cider vinegar trap accelerates the kill. Pour 1/2 cup ACV into a small bowl, add 2 drops of dish soap to break the surface tension, and cover with plastic wrap punched with toothpick holes. Adults enter through the holes, cannot escape, and drown. Set the trap next to the affected drain.
Special Cases: Sump Pumps and Floor Drains
Sump pumps create reservoirs of standing water that drain flies treat as breeding heaven. If the sump is the source, scrub the pit walls with a stiff brush and a 10 percent bleach solution. Then add 1/2 cup of enzyme cleaner to the sump weekly for a month.
Floor drains in basements, laundry rooms, and garages often go months without water flowing through them, allowing biofilm to accumulate and the P-trap to dry out. Pour a half-gallon of water down every floor drain monthly to refill the trap (a dry trap also lets sewer gas into the house). Add 2 tablespoons of mineral oil after the water — the oil floats on top of the trap water and slows evaporation between flushes.
When the Problem Is Not the Drain
If you have treated every drain for three weeks and adults keep appearing, the breeding site is probably outside the visible drainage system. Check three less-common locations.
First, the toilet wax ring. A failing wax ring lets sewage seep into the subfloor under the toilet, creating a hidden breeding site. Look for soft flooring, dark staining, or odor at the base of the toilet. Replace the wax ring and inspect the subfloor for rot.
Second, condensate drains on HVAC systems. Pour 1 cup of distilled white vinegar into the condensate line cleanout every spring; the vinegar prevents algae buildup that drain flies love. Third, the cleanout cap on the main sewer line — if it is cracked or leaking, sewage seeping into the surrounding soil produces a continuous fly population.
Prevention Going Forward
Pour 1/4 cup enzyme cleaner down every drain in the house monthly. Run water through rarely-used drains weekly. Check drains for slow drainage — slow drainage means biofilm accumulation, which means future drain flies. Clean drain hair traps regularly; the trapped hair becomes the food source for larvae.
Drain flies in house infestations are a maintenance problem, not a hygiene failure. Modern drain systems develop biofilm over time even in clean homes. The 30 minutes per month spent on enzyme maintenance prevents the cycle from restarting and saves the much larger time investment of a full eradication campaign.