You flick on the bathroom light at midnight and spot tiny fuzzy moths clinging to the mirror or hovering around the shower drain. Those are drainflies, also called moth flies or sewer gnats, and they breed in the gelatinous slime coating the inside of every drain pipe in a house. Adults live only about 20 days, but a single female lays up to 300 eggs at a time, which is why one or two flies turn into clouds within a week. Fixing the problem means killing the larvae deep in the pipe, not just swatting the adults.
- How to Tell Drain Flies from Fruit Flies or Gnats
- Find Every Breeding Site Before You Treat
- The Mechanical Clean That Actually Works
- Best Products for Killing Drain Fly Larvae
- Catching the Adults Already Flying
- Step-by-Step Drain Fly Elimination Plan
- Why Drain Flies Keep Coming Back
- When to Call a Plumber
How to Tell Drain Flies from Fruit Flies or Gnats
Misidentification leads to wasted weeks of the wrong treatment. Drain flies measure about 1/8 inch long, have fuzzy gray or tan bodies, and hold their wings tent-style over their backs like tiny moths. They are weak fliers and tend to hop in short bursts rather than dart around.
Fruit flies, by contrast, have red eyes, tan bodies, and zip rapidly around ripe produce or open trash. Fungus gnats are slim, dark, and hover around houseplant soil. If you find the bugs near drains, especially in basements, laundry rooms, or rarely used guest bathrooms, drainflies are the likely culprit.
Find Every Breeding Site Before You Treat
The classic mistake is treating one drain while three others quietly produce more flies. Test every drain in the house with a piece of clear packing tape. Cover the drain opening fully overnight, sticky side down, then check in the morning. Any drain with adults stuck to the tape is breeding flies.
Common breeding zones include shower drains, kitchen sinks, garbage disposals, floor drains in basements and garages, washing machine standpipes, and rarely flushed toilets in guest bathrooms. Outdoor sources matter too. Standing water in clogged gutters, AC condensate lines, and birdbaths can seed an infestation if doors stay open in summer.
The Mechanical Clean That Actually Works
Chemical cleaners alone rarely solve this problem because the slime layer where larvae live is thick enough to shield them. You have to physically break it up first. Buy a long flexible drain brush, around $8 on Amazon for the OXO Good Grips bottle brush, and work it down the pipe with twisting strokes.
Pour a kettle of boiling water down the drain first to soften the biofilm. Scrub aggressively for two minutes, hitting the curve of the trap if you can reach. Follow with a half cup of baking soda, a cup of white vinegar, and let it foam for 30 minutes. Flush with another kettle of boiling water. Repeat the routine every other day for two weeks to break the breeding cycle.
Best Products for Killing Drain Fly Larvae
If brushing alone does not finish the job, use a bio-enzymatic gel that clings to pipe walls and digests the organic film. These work better than bleach because bleach runs straight down the pipe in seconds. Top options include:
- Invade Bio Drain Gel, around $30 for 32 ounces, applied at one ounce per drain nightly for a week. Citrus oils plus microbes.
- Bio-Clean, a powder mixed with water, about $35 for a two-pound jar. Treats drains for up to a year per container.
- Green Gobbler Drain Fly Killer, $20 for 32 ounces, marketed specifically for drain flies and safe for septic systems.
Skip bleach and skip chemical drain openers like Drano. Both fail to coat the upper pipe walls where larvae cluster, and Drano can damage older PVC or chrome trap arms.
Catching the Adults Already Flying
While you treat the larvae, kill the adults already in the air so they cannot lay more eggs. The simplest trap is a bowl of apple cider vinegar with a drop of dish soap on the counter near the worst drain. The vinegar lures them, the soap breaks the surface tension, and they drown within minutes.
A sticky trap like the Trapro yellow card, $12 for a pack of 20, mounted on the wall above the drain catches adults that fly upward looking for light. A simple shop vacuum hose held near the drain in the early morning sucks up dozens at once if the infestation is heavy.
Step-by-Step Drain Fly Elimination Plan
Combining all these tactics in the right order ends a typical infestation within 10 to 14 days:
- Day 1: Tape-test every drain to identify breeding sites.
- Day 1 evening: Brush each affected drain, then apply Invade Bio gel.
- Day 2 morning: Set apple cider vinegar bowls in active rooms.
- Days 2 through 7: Apply gel nightly. Avoid running water for at least 6 hours after.
- Day 8: Brush all drains again. Pour boiling water plus baking soda and vinegar.
- Days 9 through 14: Continue gel every other night. Monitor with fresh tape tests.
- Day 14: If tape tests come up empty for three days running, you have won.
Why Drain Flies Keep Coming Back
If the flies return within a month, the breeding site is somewhere you have not yet treated. Check the overflow drain on the bathtub, the floor drain behind the washing machine, and any drain pipe that smells musty when the trap dries out. A floor drain that is rarely used can dry out, allowing flies to come up from the sewer line below.
Pour a cup of water down all unused drains weekly to keep traps sealed. In vacation homes, plug drains entirely with rubber stoppers before leaving. Drainflies need wet biofilm to breed, so anywhere water sits stagnant for more than two weeks is fair game.
When to Call a Plumber
Persistent drain flies despite weeks of treatment suggest a deeper problem. A cracked drain pipe behind a wall, a broken sewer line under the slab, or a failing wax ring under a toilet can leak just enough sewage to feed an unseen breeding zone. A plumber with a camera scope, typically $250 to $450 for the inspection, can find the leak. Repairs vary widely, but discovering a pipe failure early saves thousands compared to letting it rot framing or subfloor over time.