Skip to content
The Pest Guide logo: an orange ant behind a magnifying glass The PestGuide
Question · answered · Flies & Gnats

Will bleach kill drain flies?

Updated · The Pest Guide · Editorial policy

Illustration of the drain flies
Drain flies Family Psychodidae
Short answer

No, bleach will not kill drain flies. These tiny pests breed inside a thick layer of organic slime lining the inside of the drain and trap, and bleach simply slides right past this protective film without harming the larvae underneath.

What is actually going on

You are brushing your teeth at night and there it is again: a tiny fuzzy moth-looking thing sitting on the bathroom wall next to the sink. You swat it, feel briefly victorious, and the next evening there are three more. So you do what everyone does. You grab the jug of bleach, pour a generous glug down the drain, and wait for the problem to die. It does not.

The blunt answer is no, bleach will not kill a drain fly infestation. What it kills is your sense of having done something about it, which is arguably worse, because it buys the flies another few weeks of quiet breeding. The reason is not that bleach is weak. Bleach is ferocious stuff. The problem is where the flies actually live. Drain flies do not breed in the water or in the open pipe. They breed inside a thick, gelatinous layer of organic slime that coats the inside of the drain and the trap, a mix of grease, soap scum, food particles, bacteria and general pipe gunk that builds up over months. The eggs are laid in that film, the larvae burrow into it and feed on it, and the film itself works like a heavy rubber raincoat. Pour bleach down the drain and it slides right over the surface, straight through the pipe and off to the sewer in a matter of seconds. The larvae underneath stay dry, sheltered and well fed. You have essentially hosed down a raincoat and declared the person inside it defeated.

There is a second, sneakier reason bleach fails. Its active ingredient reacts with organic material on contact and gets used up almost immediately. By the time it has splashed across the surface of all that slime, its killing power is largely spent, and it never had the contact time to soak into the deeper layers anyway. The larvae even carry a small breathing tube, a siphon at the tail end, that pokes up through the slime to reach air, so brief immersion in liquid does not trouble them either. They are, frankly, better prepared for your bleach than you are for their slime.

So the real question is not "what chemical kills drain flies" but "how do I get rid of the slime they live in." Remove the film and you remove the nursery, the pantry and the hiding place in one move. That is the whole game, and bleach simply does not play it.

How to tell for sure

Before you spend money on treatments, make sure you are actually dealing with drain flies, because several tiny flies get blamed for each other's crimes and the fix is different for each one. Drain flies are small, usually somewhere around 1/16 to 1/5 inch long, dark gray to brownish, and covered in fine hairs that give them that fuzzy, miniature moth look. At rest they hold their wings over the body like a little pitched roof. They are also terrible fliers: short, clumsy hops of a foot or two, then they land on the tile or the wall and just sit there, which is why you keep finding them loitering near the same sink or shower.

The lookalikes matter. Fruit flies are usually tan with noticeably red eyes and hang around the fruit bowl, the wine glasses and the recycling bin. Fungus gnats are delicate, long-legged, mosquito-looking things that come from overwatered houseplant soil, not from plumbing at all. Phorid flies are the trickiest: small, brownish, with a humped back, and instead of flying off when you approach, they sprint across the counter in fast, jerky zigzags. Phorids can breed in drains too, but also in rotting food, dirty mop heads and broken sewer lines, so the response has to be broader.

Once the suspect matches the description, confirm the crime scene with the tape test. At night, dry the drain opening and the surrounding porcelain, then lay a strip of clear packing tape across the drain, sticky side down, covering about half to three quarters of the opening. Leave gaps at the edges so air can still move; if you seal the drain completely, nothing can come up and the test tells you nothing. An upside-down glass over the drain works too. Check it in the morning. Flies stuck to the tape or trapped in the glass mean that pipe is an active breeding site. No flies usually means that particular drain is innocent and you should test the others. Think of it as a tiny overnight toll booth. It saves you from scrubbing three drains when only one is guilty.

What usually comes next

So here is your decision, and it is simpler than the internet makes it look: stop pouring things down the drain and start scrubbing it. The method that actually works is mechanical first, biological second. Pull out the stopper or strainer, run a long, stiff-bristled drain brush down into the pipe, and scrub the walls of the drain and the trap hard enough to physically peel that film off. This is the step everyone wants to skip, and it is the one step that is genuinely non-negotiable. Follow it with a good flush of hot water to carry away whatever you knocked loose. One caution about the "boiling water" tip making the rounds online: very hot water does help, but a full kettle at a rolling boil can warp thin plastic pipe or stress porcelain fixtures, so hot-from-the-tap or just off the boil is the safer play.

Once you have scrubbed, bring in a microbial or enzymatic drain cleaner, the kind built on live bacteria or enzymes that digest grease, protein and slime instead of just scorching their way through the pipe. Apply it along the drain edges at night, or any time the drain will sit untouched for hours, so it gets real contact time, and repeat it daily for several days the way the label says. These products finish what the brush started, reaching film tucked into bends and low spots your brush cannot reach. What you should not do is pour insecticide down there. Ordinary bug sprays are not labeled for drain use, they do nothing to the breeding film anyway, and sending them into wastewater is an environmental problem and, in the United States, a violation of the label rules that govern how pesticides may be used. Short version: if the label does not explicitly say drain application, it does not go down the drain.

Two situations rewrite the whole plan. First, if the flies are showing up near a drain nobody uses, a guest bathroom, a basement floor drain, the fix can be almost embarrassingly easy. The U-shaped trap under every drain holds water that works as a door against the sewer. Let a drain sit dry for weeks and that water evaporates, leaving the door wide open for flies coming up from the sewer line itself. Run the tap for ten seconds or pour in a quart or two of water, and the door closes. No scrubbing required, no products, nothing. Second, if you have scrubbed, treated and confirmed the source with the tape test, and the flies keep coming anyway, especially with a sewage smell riding along, the breeding site may be a cracked pipe leaking into the soil under a slab or crawl space, and no drain cleaner on earth can reach that.

One more word about the bleach jug, because safety beats pride every time: never mix bleach with ammonia, vinegar or acidic drain openers. Those combinations release chlorine or chloramine gas, which can seriously damage your lungs. And if your home runs on a septic system, repeated heavy bleach use kills the bacteria your tank depends on, which is a remarkably expensive way to lose an argument with flies.

When to get help

Call a licensed plumber when the flies survive honest scrubbing and enzyme treatment, when you smell sewer gas alongside them, or when they seem to come up through floor cracks or expansion joints instead of a drain opening. Those signs point to a broken line under the slab, and the answer there is a camera inspection and pipe repair, not another bottle of anything.

Call a licensed pest control professional if you are running a restaurant, cafeteria, school or healthcare facility, or if the infestation stretches across multiple units in a building. Pros carry foaming equipment, commercial-grade microbial products and insect growth regulators that are specifically approved for drain use, and they know how to find breeding sites you would never think to check, like condensate pans and the space under appliances.

On the health side, drain flies are mostly a nuisance, but they breed in filth and can carry bacteria onto food surfaces, and the dust from dead flies can aggravate allergies or asthma in sensitive people. If anyone in the house develops breathing trouble or a persistent reaction you suspect is connected, that conversation belongs with a clinician, not a hardware store. For a normal household case, though, the path is refreshingly unglamorous: find the guilty drain with tape, scrub the slime out, let the enzymes finish the job, and retire the bleach to laundry duty where it belongs.

Next questions