Bleach can kill gnats on contact, but it’s surprisingly ineffective at eliminating an infestation. The problem isn’t potency. Bleach is a powerful disinfectant. The problem is that it flows too quickly through drains to reach the larvae hiding in the slimy buildup coating your pipes. If you’ve been pouring bleach down the drain and still seeing gnats a few days later, that’s why.
Why Bleach Fails in Drains
The gnats you’re seeing near your sink or shower almost certainly started as larvae embedded in a sticky layer of organic sludge clinging to the inside of your drainpipe. This biofilm, made up of decomposing food particles, grease, hair, and bacteria, is extremely difficult to wash away. Larvae live inside this protective slime and breathe by extending tiny tubes through it to the surface.
When you pour bleach down a drain, it slides right past this layer. It doesn’t dissolve grease, break apart food buildup, or strip away hair. It simply passes through. Even if it kills a few larvae on the surface, the eggs and deeper larvae remain protected. A single female can lay 15 to 40 eggs at a time, and those eggs hatch in less than two days at room temperature. So even a partial miss means the population bounces back quickly.
The Alabama Cooperative Extension System is blunt about this: pouring bleach, vinegar, baking soda, or boiling water down the drain is generally ineffective against drain-breeding insects and may damage pipes over time.
Risks of Using Bleach in Your Pipes
Bleach won’t corrode copper, iron, or plastic pipes, so occasional use isn’t a plumbing emergency. The bigger concerns are chemical and environmental. Bleach can react with other substances already in your pipes, like ammonia-based cleaners, and release toxic fumes. It also does nothing to clear the organic gunk that’s actually feeding the larvae, so you’re adding a harsh chemical without solving the root cause.
If you have a septic system, regular bleach use is a real concern. Septic tanks rely on bacteria to break down waste. Pouring bleach kills those bacteria, and salt from the bleach builds up in the lateral field over time, potentially harming vegetation. A small amount once in a while probably won’t cause lasting damage, but repeated treatments will.
What Actually Works
The only reliable way to stop drain gnats is to physically remove the biofilm they breed in. A stiff drain brush or pipe brush, the kind you can buy at any hardware store, is the most effective tool. Push it into the drain and scrub the interior walls of the pipe. This strips away the sludge layer along with any eggs and larvae embedded in it.
After scrubbing, flush the drain with very hot water (not boiling, which can soften PVC joints). Some people follow up with a combination of half a cup of baking soda and one cup of white vinegar, letting it fizz for about 10 minutes before flushing with hot water. This helps loosen remaining organic material, though it works best as a follow-up to physical scrubbing rather than a standalone treatment.
Consistency matters because of the lifecycle. Drain flies complete their development from egg to adult in 21 to 27 days, faster in warm weather. The larval stage alone lasts 9 to 15 days. So a single cleaning might miss eggs that haven’t hatched yet. Scrubbing and flushing every few days for two to three weeks covers the full lifecycle and prevents a new generation from establishing.
Identify Which Gnat You’re Dealing With
Not all small flying insects in your kitchen are the same, and the source determines the fix. Three types are commonly lumped under “gnats,” and each breeds in a different place.
- Drain flies are light gray or tan with fuzzy, moth-like bodies about an eighth of an inch long. They fly clumsily out of drains and land on nearby walls and ceilings. Their larvae live in drain sludge.
- Fruit flies are similar in size but look like tiny house flies, often with red or dark eyes and striped abdomens. They hover around fruit bowls, trash cans, and recycling bins. They lay eggs on rotting fruit or in food debris collected in drains and garbage disposals.
- Fungus gnats are dark brown or black with long legs, resembling tiny mosquitoes. They swarm around houseplants and have almost no interest in your kitchen. Their larvae develop in moist potting soil.
If your gnats are clustered around potted plants, bleach and drain cleaning won’t help at all. You need to let the soil dry out between waterings to kill the larvae. If they’re hovering near fruit or trash, removing the food source and cleaning the area solves the problem faster than any drain treatment.
Keeping Gnats From Coming Back
Once you’ve cleared an infestation, prevention comes down to eliminating the organic buildup that attracts egg-laying adults. Run water through infrequently used drains at least once a week, since stagnant pipes with damp residue are ideal breeding sites. Clean your garbage disposal regularly. Don’t leave fruit sitting on the counter once it starts to soften, and take out trash and recycling before it begins to ferment.
For drains, a quick brush and hot water flush once a week keeps biofilm from accumulating to the point where it can support larvae. This takes less than a minute per drain and is far more effective than any chemical treatment you can pour down the pipe.