‹ All guides

Drain Cleaners for Drain Flies: Do Bleach and Vinegar Work?

A woman picks up a long drain brush beside bleach, vinegar, baking soda and a kettle on a bathroom counter

Illustration: bleach, vinegar, baking soda and a kettle lined up on the bathroom counter, and a long flexible drain brush in hand.

Drain cleaners for drain flies: mostly no. Bleach, vinegar and baking soda kill a few larvae on the surface of the drain slime, so the flies come back. The fix is scrubbing that slime out with a stiff drain brush ($8–15), then flushing with boiling water. Use a bacterial gel only where the brush can’t reach, and never mix cleaners.

Cost: about $8–15 in supplies. Difficulty: moderate. Call a pro if tape over a drain you scrubbed still catches flies after two weeks and you can’t find another breeding site, or you suspect a sewer leak or broken pipe under the floor.

This guide compares seven drain fly remedies on whether they remove the slime, what they cost and how safe they are, then shows how to check the result with tape. We haven’t tested these ourselves; it rests on six university extension fact sheets, Poison Control and CDC guidance, plus list prices.

How We Compared These Remedies

Drain flies are the fuzzy, moth-like gnats, 1/16 to 1/4 inch long (University of Maryland), that rest on bathroom walls. Their larvae live and feed in the slime that coats the inside of drain pipes, so we rated each remedy on:

  • Slime removal: does it get the film off the pipe walls, or just wet the surface?
  • Cost: U.S. list prices checked October 1, 2026, before tax.
  • Safety: fumes, burns and mixing risks, with kids and pets in mind.
  • Effort: how much scrubbing and repeat work it takes.

A fuzzy gray moth-like drain fly resting with its wings spread on a pale wall

A drain fly (moth fly) resting on a wall. Photo by Stanzilla (CC BY-SA 4.0), via Wikimedia Commons.

Sources: Virginia Tech, Texas A&M, Kentucky, Iowa State, Maryland and Wisconsin extension, plus Poison Control and the CDC, listed at the end. Not sure you have drain flies? See how to tell small gnats apart.

Drain Fly Remedies at a Glance

RemedyWorks?CostMain limitation
Stiff brush, then boiling waterYes: removes the slime the larvae live in$7.99–$14.97 brushTakes elbow grease; deep drains are hard
Bacterial (enzyme) drain gelHelps where you can’t scrub$20.80 for 32 ozCosts more; follow the label exactly
Caustic or foaming cleanerFlushes loose film only—Won’t clear thick buildup; burn risk
Boiling water aloneShort-term$0Larvae survive a day or more underwater
BleachNot recommended$6.39 for 81 ozDoesn’t soak into the slime; fumes
Baking soda and vinegarNot recommendedPantry itemsSame problem as bleach
Insecticide down the drainDon’t—Temporary at best

Brush and gel: Walmart and DoMyOwn, October 1, 2026; bleach: our site-wide September 2026 list price.

Stiff Drain Brush and Boiling Water: The Fix That Works

Scrubbing is the only remedy that takes away the larvae’s home. Texas A&M says to clean the slime off the pipe walls, then flush the lines with boiling water to rinse out what the brush loosened.

Step 1: Find the breeding drain. Stick one strip of clear tape across each suspect drain overnight, leaving gaps at the sides; sealed shut, with no air flow, flies won’t come up (Texas A&M). Flies on the tape mark the drain.

Step 2: Scrub until the bristles come up clean. Take out the stopper and push a long, stiff brush down the drain and into the small overflow hole near the sink rim.

Step 3: Flush with a kettle of boiling water, poured slowly down the sides of the pipe.

A very clogged pipe may need the trap (the U-shaped pipe under the sink) taken off and cleaned, and soapy hair in a shower drain may need a plumber’s snake (Virginia Tech). Renting? If the trap has to come off or the drain is slow, tell your landlord in writing and let them handle the plumbing.

Best for: any sink, tub or shower drain you can reach, which is most of them.
Main limitation: it takes real scrubbing, and a deep floor drain may be out of the brush’s reach.

Bacterial Drain Gel: Only Where the Brush Can’t Reach

A bacterial or enzyme gel digests the organic matter the larvae feed on. Iowa State lists it as an option for drains you can’t scrub, used exactly as the label directs. Brush what you can first, then use gel deep in a floor drain or a pipe the brush can’t follow.

Best for: floor drains and deep lines, after brushing what you can.
Main limitation: at $20.80 a bottle it costs more than the brush and doesn’t scrub, so it’s an add-on, not a replacement.

Caustic and Foaming Drain Cleaners: Not a Cure

Caustic gel, the usual clog remover sold as Drano and similar brands, may not be as effective as other cleaning methods, Texas A&M says. Foaming drain cleaner may flush some film away, but thick buildup still needs a stiff brush (Virginia Tech). On a septic system, check the label first.

These are also the harshest products in the lineup: Poison Control says non-enzymatic (caustic) drain cleaners can cause serious burns if swallowed.

Best for: a drain that’s actually clogged, not a fly problem.
Main limitation: it leaves the slime film behind, and it’s dangerous around children.

Boiling Water Alone: Short-Term Only

Boiling water kills larvae on the surface, not the ones buried in the film. The larvae can survive underwater for a day or more (University of Kentucky), so flooding a drain doesn’t drown them. For a drain you can’t scrub, Iowa State suggests pouring boiling water slowly down the sides of the pipe, or rinsing it with water under high pressure.

Best for: the rinse right after scrubbing, and a stopgap tonight.
Main limitation: used alone, the flies come back within days.

Bleach: Kills a Few, Then They’re Back

It kills some, which is why it seems to work. Virginia Tech’s insect lab says bleach may kill a few larvae on the surface of the slime but won’t penetrate it, and can damage pipes if not properly diluted. Larvae buried in the film keep developing, and new eggs laid on it hatch in under 48 hours (Texas A&M).

Cross-section of a drain pipe coated with a thick slime layer: on the left, clear liquid poured from a bottle runs over the top of the slime, and on the right, a brush scrapes the slime off the pipe wall

Illustration: liquid poured into the drain runs over the slime layer (left), while a brush scrapes the slime off the pipe wall (right).

Best for: nothing in a drain fly drain; save it for surfaces.
Main limitation: it misses the larvae in the film, and it’s the product most likely to be mixed with something dangerous.

Never Mix Bleach With Other Drain Cleaners

This is the real risk, because people try one product after another in the same drain. Bleach plus ammonia (common in glass cleaners) makes chloramine gas, and bleach plus an acid, such as vinegar or some toilet bowl cleaners, makes chlorine gas (Poison Control). Bleach after a caustic drain cleaner can produce chlorine gas right in the drain line, Texas A&M warns.

The rule is one product per drain, not a sequence. Already poured bleach tonight? Don’t add vinegar on top; open a window. If someone breathes the fumes, get them to fresh air and call Poison Control at 1-800-222-1222.

Baking Soda and Vinegar: Skip It

None of the six university fact sheets we read recommends baking soda and vinegar for drain flies, or drain gnats, as many people call them. Virginia Tech, the only one to address vinegar, puts it with bleach: it may kill a few surface larvae but won’t get through the slime. The fizz looks like cleaning, but nothing in it scrubs the pipe walls.

Best for: nothing here.
Main limitation: vinegar is an acid, so it turns dangerous if bleach follows it.

Insecticide Down the Drain: Don’t

Texas A&M notes that sprays for adult flies give temporary control but aren’t a real solution, because new adults keep hatching from the slime.

Best for: no situation in the fact sheets we read.
Main limitation: it treats flies, not the breeding site.

Is It Working? Check the Tape

Leave a strip of tape across the scrubbed drain and look at it every few mornings for about two weeks. A clear plastic cup with a light coat of vegetable oil inside, turned upside down over the drain, works too (University of Kentucky).

Two weeks, not two days: at about 70°F the drain fly life cycle takes 10 to 15 days (University of Kentucky), and longer in a cold house. Fewer flies for a few days, then more, is the surface kill from a pour-down remedy, so scrub again. Count only the tape; flies on the walls may have hatched before you treated.

Two rows of tape strips from the same drain on successive mornings: in the top row the drain fly catches drop to none, in the bottom row they drop and then climb back

Illustration: tape strips from successive mornings. Top row: catches fall to none after scrubbing. Bottom row: catches dip after a pour-down remedy, then climb back.

Still Seeing Drain Flies After a Week?

A week isn’t long enough to judge: adults may live up to 2 weeks (University of Maryland).

Drain flies also breed in sewer leaks, dirty garbage cans, saucers under potted plants and drip pans under refrigerators and air conditioners. And if the tape stays empty but the flies don’t, they may not be drain flies: check fruit and peelings, where fruit flies breed, and houseplant soil, where fungus gnats do.

Which Remedy Fits Your Situation

SituationWhat to useWhy
Bathroom or kitchen sinkBrush, including the overflow hole, then boiling waterYou can reach the whole slime layer
Floor drain or deep lineBrush what you can, then bacterial gelIowa State’s option for drains you can’t scrub
Shower drain with soapy hairPlumber’s snake, then brushSoapy hair may need a snake (Virginia Tech)
Septic systemBrush and boiling water; check any cleaner’s labelRead the label first on septic
Kids or pets at homeBrush and boiling water, kids out of the roomSkips caustic cleaners and bleach fumes
You rent and the trap must come offAsk the landlord in writingLet them handle the plumbing
You already poured bleachNothing else tonight; ventilate, then brush tomorrowMixing cleaners makes toxic gas

What It Might Still Cost

ItemTypical cost
Long flexible drain brush$7.99–$14.97
Bacterial drain gel, 32 oz$20.80
Pro drain fly treatment$170–$260
Pro, large drain fly infestationAbout $375 on average

DIY: U.S. list prices from Walmart (brush) and DoMyOwn (gel), October 1, 2026, before tax. Pro: Fixr (updated January 2025). One homeowner on Reddit was quoted $600 to treat drain flies. Our exterminator vs. DIY cost page puts pro quotes in context.

Call a pro if the tape over a scrubbed drain still catches flies after two weeks and you can’t find another source, and ask what they’ll do about the breeding site, not just the adults. For a suspected sewer leak or broken pipe, call a plumber instead. The full cleanup plan is in how to get rid of drain flies.

Before You Start: A Quick Checklist

  1. Tape each suspect drain overnight to find the one that’s breeding.
  2. Buy a long, stiff drain brush, not another bottle.
  3. Scrub the pipe and overflow hole until the bristles come up clean.
  4. Flush with boiling water poured slowly down the sides.
  5. Use one product per drain, and never mix bleach with anything.
  6. Keep kids and pets out while you work and while the kettle is out.
  7. Check the tape for two weeks before you call it done.

Common questions

Not reliably. Caustic clog removers may not be as effective as other cleaning methods, Texas A&M says, because the larvae live in the slime film along the pipe walls. Scrub the film out instead.

The Bottom Line

Buy a drain brush, not another bottle of bleach. Scrub the slime out of the breeding drain, flush it with boiling water, and add a bacterial gel only where the brush can’t reach. Skip vinegar, baking soda and insecticides, and never mix cleaners.

Then let the tape decide: two weeks with no catches over the scrubbed drain means you’re done. If flies keep coming with the drains clean, look for a second breeding site or a sewer leak.

Sources and further reading · 8

Get new guides and updates

We'll email you when we publish a new guide. No spam. To sign up, send a quick note to the address below.

[email protected]