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

Does drain cleaner kill drain flies?

Updated · The Pest Guide · Editorial policy

Illustration of the drain flies
Drain flies Family Psychodidae
Short answer

Traditional chemical drain cleaners do not kill drain flies because gravity pulls the liquid quickly past the edges of the pipe. This leaves the thick organic biofilm lining untouched, where drain fly larvae safely feed and breathe. Eliminating an infestation depends on using physical scrubbing or a specialized biological gel to strip away that stubborn scum.

What is actually going on

You walk into the guest bathroom on a quiet Tuesday morning, spot a tiny fuzzy insect hitching a ride on the porcelain basin, and immediately reach under the sink for that half-empty bottle of chemical drain opener. You figure a harsh dose of lye or acid will scour the pipes clean and solve the problem for good. Two days later, a fresh batch of winged bugs is back on the mirror, acting as if you just gave them a warm bath. It feels baffling, but traditional chemical drain cleaners do not actually kill or eliminate drain fly infestations.

The reason these harsh liquids fail comes down to fluid dynamics and plumbing physics. When you pour sodium hydroxide, concentrated sulfuric acid, or liquid bleach down a domestic drain, gravity pulls the liquid straight through the center of the pipe lumen. It flushes down past the trap in a matter of seconds, contacting the perimeter walls for just a fleeting moment. It acts very much like rain rolling off a slick plastic raincoat, washing over the surface while leaving what lies underneath completely undisturbed.

The actual breeding ground for drain flies is a thick, gelatinous microbial scum that clings tightly to the interior pipe walls and traps. This organic biofilm is a dense mixture of hair, soap residue, culinary fats, skin cells, and microscopic fungi. Female flies deposit their eggs directly into this moist matrix, and the legless larvae burrow right inside it. While their bodies stay safely submerged in the thick film, they poke a specialized breathing tube out into the center of the pipe to pull in oxygen.

Because the liquid chemicals flash past the outer edges of the pipe, they fail to break down this protective organic bunker. The caustic wash might dissolve a stray hair clog in the middle of the line, but it leaves the stubborn biofilm lining intact. The larvae continue feeding and growing undisturbed, pupating safely in the sludge before emerging as winged adults a few days later. Treating a heavy pipe scum with a quick splash of bleach is a lot like trying to clean plaque off your teeth with mouthwash alone, because you need physical friction to strip the surface clean.

Before you start scrubbing or buying specialized products, you usually want to confirm what kind of insect you are dealing with and whether it is actually coming from the drain. Not every tiny flying bug in a home is a drain fly, and misidentifying the culprit leads to wasted time and effort. You can run a simple diagnostic test by drying the sink basin, taking a strip of clear packing tape, and placing it sticky-side-down across the drain opening while leaving small gaps at the edges for airflow. Alternatively, you can invert a clear glass jar directly over the drain.

Leave that trap in place for twenty-four hours while the plumbing remains unused. If you return to find tiny, fuzzy insects stuck to the tape or trapped inside the glass, that specific drain is usually an active breeding site. When you look at them closely on the surface, true drain flies, also known as moth flies or sewage flies, typically measure around one-sixteenth to one-fifth of an inch long. Their bodies and leaf-shaped wings are densely covered in fine hairs, giving them a distinct fuzzy appearance that resembles a miniature moth rather than a house fly.

Their flight is weak, clumsy, and usually limited to short, fluttering hops across sink basins or tile walls rather than long-distance buzzing. If you crush one against a surface, it usually leaves behind a small powdery grey smudge.

You might also encounter phorid flies, sometimes called scuttle flies, which are tiny and dark with a noticeably arched thorax when viewed from the side. Unlike the lazy hops of a drain fly, phorid flies run in rapid, erratic bursts across surfaces before taking flight. If you have tiny gnats hovering exclusively around overwatered houseplants, those are usually fungus gnats breeding in wet potting soil rather than your plumbing lines. Pinpointing the exact insect keeps you from treating a plant pot with a pipe brush or wasting drain gel on a potted fern.

How to tell for sure

Once you confirm the drain is the breeding source, your main choice generally comes down to choosing between physical elbow grease and biological digestion, because chemical shortcuts are off the table. You need to wipe out that gelatinous organic scum lining the pipes, which means reaching the exact physical layer where the larvae live. The most direct approach is mechanical scrubbing.

This involves removing the sink stopper or floor drain grate and running a long, flexible, stiff-bristle pipe brush deep into the trap and vertical runs. You scrub vigorously in an up-and-down and rotational motion to physically detach the slimy biofilm from the metal or PVC walls, then flush the loosened debris down with a few liters of hot water.

If scrubbing every pipe in the house sounds like too much manual labor, the alternative is applying a specialized biological or enzymatic drain cleaner. These formulations contain live spores of non-pathogenic bacteria and natural enzymes suspended in a thickened gel. Unlike watery chemical openers, this viscous gel clings to the vertical walls of the pipe rather than plunging straight to the bottom.

The bacteria and enzymes go to work over several hours, digesting fats, proteins, and starches to turn the solid pipe scum into water and carbon dioxide. You generally apply these microbial gels right before bedtime when the plumbing will sit idle for six to eight hours, repeating the process over several consecutive days until the scum is fully digested and the flies disappear.

If you try these methods and the flies keep returning after a week, the problem usually points somewhere deeper. A persistent infestation can indicate a cracked or broken drain pipe beneath a concrete slab floor, where sewage leaks into the surrounding soil and gives rise to a massive underground breeding population. In that sort of situation, surface drain cleaning will not help, and you are looking at a plumbing repair rather than a simple do-it-yourself fix.

What usually comes next

There are moments when a simple household chore crosses the line into a situation requiring outside expertise. If you have scrubbed your pipes thoroughly and applied biological gel for a week, but fuzzy flies keep emerging in droves, it is time to bring in a licensed plumber. Persistent infestations often signal unvented lines, disconnected traps, or broken sewer pipes leaking beneath your floors or behind walls, which require professional diagnostic cameras and structural repairs to fix.

You should also reach out to a licensed pest control operator if you are managing a commercial kitchen, a healthcare facility, or a multi-unit building where drain flies have infested multiple structural voids and large-scale plumbing runs. Professionals in these settings often rely on specialized equipment, such as foaming formulations of insect growth regulators that disrupt larval development without damaging commercial plumbing systems.

On the safety front, keep chemical hazards in mind before you pour anything down a sink. Never mix traditional chemical drain openers with chlorine bleach or ammonia. Combining an acidic cleaner with bleach releases toxic chlorine or chloramine gas that can cause severe lung injury, while mixing caustic lye with acids can trigger a violent reaction that splashes burning chemicals onto your face and hands.

While drain flies do not bite humans, the microscopic hairs shed by large populations can trigger allergic rhinitis or bronchial asthma in sensitive individuals, and adults emerging from filthy sewer lines can mechanically transfer unwanted bacteria onto food prep surfaces. If someone in your home experiences severe chemical exposure, skin burns, fume inhalation, or accidental ingestion from drain treatments, contact poison control, an urgent care facility, or a medical clinician right away.

When to get help

When dealing with persistent infestations that survive standard maintenance, consulting a licensed professional is the safest path. A licensed plumber can test your pipes for structural damage, and a professional pest controller can manage severe commercial outbreaks safely.

Next questions