Know your enemy: the drain fly life cycle
Drain flies (family Psychodidae, also called moth flies, sink flies, or filter flies) are tiny — about 1/16 to 1/5 of an inch long — with fuzzy bodies and broad, hairy wings that make them look like miniature moths. They are feeble fliers: a drain fly hops a few inches, takes a short jerky flight, and lands on a wall near the drain it came from. If your flies swarm around fruit or rise out of houseplants instead, check the identification table on our home page — they may be fruit flies or fungus gnats, which need different fixes.
The important part is where they live. Female drain flies lay batches of 30 to 100 eggs — up to roughly 300 in a lifetime — in the gelatinous biofilm that coats the inside of drain pipes. This film of bacteria, soap scum, grease, hair, and decaying food is both shelter and food. Eggs hatch in 24 to 48 hours; the larvae spend 9 to 15 days feeding in the film, then pupate for a day or two before emerging as adults, which live about two weeks.
That cycle explains everything about treating them. Spray kills today's adults but not the eggs and larvae sealed in the film, so "new" flies keep appearing. The only lasting fix is to destroy the breeding site — remove the biofilm — and keep treating until surviving eggs hatch into a drain that is no longer habitable. Expect one to two weeks, not one afternoon.
The treatment, step by step
-
Confirm the breeding drain with the tape test
Never treat blind: usually only one or two of a home's dozen drains are breeding flies. In the evening, wipe around a suspect drain dry, then cover the opening with clear packing tape, sticky side down. Leave it overnight. Flies stuck to the tape in the morning mean that drain is a breeding site; a clean tape means the source is elsewhere. Repeat for each suspect drain — kitchen sink, bathroom sinks, tub and shower, floor drains — one or two per night, and note which test positive. Only those need the full treatment.
-
Scrub the drain mechanically — the step that matters most
Remove the sink stopper or drain strainer. Push a stiff drain brush (a long bottle brush works) as far down the pipe as it will reach, and scrub the walls vigorously with hot water and dish soap, working up, down, and around to scour off the gelatinous film. This physical removal is the heart of the method: eggs and larvae live inside the film, and liquids poured down the drain largely slide over it. Rinse and scrub again. On a garbage disposal, also scrub the underside of the rubber splash guard, where the film is thickest — our kitchen guide covers the disposal in detail.
-
Flush with boiling water
Slowly pour a kettle or large pot of boiling water down the drain in two or three stages, letting each surge heat the pipe walls. Boiling water kills larvae on contact and melts grease out of the film. Do this once a day for the first week. One caution: with older PVC pipes, let the kettle stand a minute off the boil first — very hot tap water plus scrubbing is the safer long-term routine for PVC.
-
Follow with baking soda, salt, and vinegar
Pour ½ cup of baking soda (add ½ cup of table salt if you like) into the drain, followed by 1 cup of white vinegar. The fizzing mixture loosens residue on the pipe walls and deodorizes the drain. Cover the opening and let it sit at least an hour — overnight is better — then flush with hot water. Be clear about what this step does: it is a cleaner and deodorizer that supports the scrubbing, not a pesticide, and alone it won't kill an established colony. And never combine vinegar with bleach or bleach-based cleaners; the mixture produces toxic chlorine gas.
-
Apply an enzyme or bio-gel drain cleaner
For anything beyond a light infestation, this step finishes the job. Enzyme and bacterial gel cleaners are thickened liquids that cling to pipe walls instead of running straight through; their enzymes digest the organic film the larvae feed on, removing the food supply wall by wall. Apply the label dose in the evening, when the drain will sit unused, and repeat nightly for five to seven nights. These products are safe for metal and plastic pipes and for septic systems.
-
Catch the adults already in the room
While the drain treatment works, reduce the flying population so the room is usable. Set out a small bowl of apple cider vinegar with a drop of dish soap stirred in — the soap breaks the surface tension, so flies that land drown. Sticky fly tape helps too, and resting flies on walls can simply be vacuumed up. Numbers should fall noticeably within three or four days of the first deep clean.
-
Repeat, then verify
Keep up the boiling-water flushes daily and the enzyme treatment nightly for a full week, then tape-test the treated drains again. Clean tape and no new adults for several days means the colony is gone. If flies still emerge after 10 to 14 days of every step above, a breeding site is still hiding — retest every drain, including the ones you skipped: floor drains, the tub overflow, the washing-machine standpipe, and the refrigerator drip pan.
What about bleach?Bleach is the most common advice you'll hear, and one of the least effective: it flashes past the biofilm in seconds, barely touching the larvae inside it. Scrubbing plus an enzyme gel outperforms it every time.
When to call a professional
Most drain fly problems yield to the steps above. Call a plumber or pest-control professional when:
- Flies persist after two to three weeks of thorough treatment — you may have a hidden breeding site, such as a broken pipe leaking under a slab, where organic matter collects out of reach.
- Flies pour from many drains at once, especially with a sewage smell. That pattern points to a cracked sewer line — a plumbing repair, not a cleaning job.
- The source is inaccessible — a sealed floor drain, a drain under a fixed tub, or a crawl-space pipe you cannot scrub.
- There is any sign of sewage backup, or flies appear alongside slow drains throughout the house.
A one-time pest-control visit for drain flies commonly costs a few hundred dollars depending on your region, and a good technician spends most of it doing what this guide describes — finding the source and applying professional bio-foam. A plumber's camera inspection costs more, but is the right spend if a broken line is suspected.
Keeping them away
Prevention is the light version of treatment, done on a schedule: a weekly hot-water flush, a monthly brush scrub of your busiest drains, an enzyme maintenance dose every month or two, and water poured into rarely used drains so their traps stay full. The fast-action guide lays these habits out as a simple routine, and the room guides cover the specific trouble spots in the kitchen and bathroom.