What Can I Pour Down the Drain to Kill Gnats?

The most effective thing you can pour down a drain to kill gnats is an enzyme-based drain cleaner, applied repeatedly over several days. But here’s the honest truth: pouring anything down the drain only partly solves the problem. The tiny flies breeding in your pipes live inside a sticky layer of organic slime that coats the pipe walls, and most liquids slide right past it. To get rid of drain gnats for good, you need to physically remove that slime, not just pour something on top of it.

Why These Gnats Live in Your Drain

The insects you’re seeing are almost certainly drain flies (sometimes called moth flies or sewer gnats). They’re tiny, fuzzy, moth-shaped flies about 2 to 4 mm long that rest on bathroom walls and hover near sinks, showers, and floor drains. Females lay clusters of 15 to 40 eggs on the wet walls inside your drainpipe, directly on top of the slimy biofilm that builds up from soap residue, hair, grease, and other organic debris.

Their full life cycle takes about 21 to 27 days. Eggs hatch in less than two days, and the larvae spend 9 to 15 days feeding inside that slime layer before becoming adults. This is the core of the problem: the larvae don’t float freely in standing water. They live embedded in a sticky film that clings to the vertical walls of your pipes, making them extremely difficult to wash away with any liquid.

Enzyme Drain Cleaners: The Best Pour-Down Option

Enzyme-based or bacterial drain cleaners are your best bet for a pourable solution. These products contain microorganisms that digest organic matter, breaking down the same greasy biofilm where drain fly eggs and larvae live. Unlike bleach or boiling water, enzyme cleaners are designed to cling to pipe walls and work over time, eating away at the buildup rather than just passing through it.

Look for products labeled as enzyme or bio drain cleaners (often marketed specifically for drain flies or organic buildup). Pour the recommended amount down the drain at night when you won’t be running water for several hours. This gives the enzymes time to work on the slime layer. You’ll typically need to repeat this nightly for at least a week to make a real dent, since each application only reaches part of the buildup, and any surviving eggs will keep hatching for up to two weeks.

Why Bleach Doesn’t Work Well

Pouring bleach down the drain is the most common suggestion online, and it’s mostly a waste of time. Orkin, one of the largest pest control companies, calls it “a common misconception” and notes that bleach passes too quickly through the drain to penetrate the thick buildup where eggs and larvae are embedded. It might kill a few adults or surface-level larvae on contact, but the colony survives deeper in the pipe.

Bleach also creates a serious safety risk if anything else has been poured down that drain recently. Mixing bleach with vinegar or any acid produces chlorine gas, which causes coughing, chest pain, breathing difficulties, and eye irritation even at low concentrations. Mixing bleach with ammonia (found in many household cleaners) produces chloramine gases with similar toxic effects. The Washington State Department of Health warns that high-level exposure to either gas can cause pneumonia, fluid in the lungs, or death. If you’ve already tried vinegar, a different drain cleaner, or any acidic product, do not follow it with bleach.

Boiling Water: Limited But Safe

Boiling water kills organisms it contacts directly, but by the time it travels through the drain body and into the pipe, the temperature drops significantly. It also only touches a small fraction of the biofilm surface, since the slime coats the walls in a 360-degree ring and water runs along the bottom. You can use boiling water as a supplement (pour it slowly, a few cups at a time), but don’t expect it to solve the problem on its own. If you have PVC pipes, use very hot tap water instead, since true boiling water can soften PVC joints over time with repeated use.

Baking Soda and Vinegar: Mostly Ineffective

The classic baking soda and vinegar combination produces a satisfying foam, but it has almost no real cleaning power. The foaming reaction is a simple acid-base neutralization that creates carbon dioxide gas and saltwater. It doesn’t generate enough mechanical force to scrub biofilm off pipe walls, and the chemical byproducts don’t kill larvae. It’s one of those home remedies that looks like it’s doing something but isn’t.

The Step That Actually Fixes the Problem

No pourable product fully replaces physically scrubbing the slime out of your drain. The Alabama Cooperative Extension System recommends removing the drain plate, sink stopper, or shower cover and scraping the slimy biofilm from the inside of the drainpipe using a stiff brush. A long, flexible pipe brush (sometimes called a drain brush) reaches several inches into the pipe where the heaviest buildup sits. Clean the removed parts separately with soap and water before putting them back.

For drains you can’t easily disassemble, a drain snake or auger physically breaks up the organic layer deeper in the pipe. If you have a persistent clog creating standing organic material, that’s likely your main breeding site, and a plumber with a mechanical router is the fastest fix.

A Practical Cleanup Plan

Combining mechanical and chemical approaches gives you the best results. Start by removing your drain cover and scrubbing the visible interior with a stiff brush and a standard biodegradable cleaner. Get as far into the pipe as you can reach. Then, each night for 7 to 14 days, pour an enzyme drain cleaner down the affected drain and avoid running water until morning. The scrubbing removes the bulk of the breeding habitat, and the enzyme treatments handle what’s left.

During this period, you can tape a piece of clear packing tape loosely over the drain opening overnight (leaving small gaps for airflow) to monitor progress. If you’re still catching adult flies on the tape after two weeks of consistent treatment, the breeding site may be deeper in the plumbing system or in a secondary location like an overflow hole, a rarely used floor drain, or a leaking pipe under the slab. Drain flies need wet organic material to breed, so any chronically moist spot with gunk is a candidate.

Once the flies are gone, running water through infrequently used drains every week or two and doing a monthly enzyme treatment prevents biofilm from building back up to a level that supports a new colony.