Drain fly larvae are small, worm-like creatures that live in the slimy buildup inside your shower drain, feeding on soap scum, bacteria, and other organic gunk coating the pipe walls. They’re one of the most common household pests in bathrooms, and while they’re not dangerous, they won’t go away on their own. Getting rid of them means destroying the slimy layer they live in, not just killing the adult flies you see on the wall.
What Drain Fly Larvae Look Like
The larvae are slender, about a quarter inch long, and range from white to creamy brown. They have a distinct dark head, a segmented body made up of 11 sections, and small breathing tubes at the tail end. They look somewhat like tiny mosquito larvae. You’ll most often spot them clinging to the walls of your drain or wriggling in standing water when you remove the drain cover.
Don’t confuse them with the thin, dark “sewer worms” (tubifex worms or black worms) that sometimes appear in drains. Drain fly larvae are lighter in color, slightly fatter, and have a visible head. If you’re seeing small, fuzzy, moth-like flies resting on your bathroom walls or ceiling, those are the adults. Each one can lay eggs that hatch into dozens more larvae inside your drain.
Why They Breed in Shower Drains
Inside every shower drain, a layer of biofilm gradually builds up. This is a slimy coating of soap residue, body oils, hair, dead skin cells, bacteria, algae, and fungi. It clings to the interior surface of your pipes and provides the perfect food source and habitat for drain fly larvae. The larvae feed directly on this organic sludge, molting through four growth stages over roughly 18 days before turning into pupae. The pupal stage lasts about five days, and then new adult flies emerge.
The entire life cycle, from egg to adult, takes 21 to 27 days at room temperature and speeds up in warmer conditions. That means a single infestation can cycle through a new generation roughly every three weeks. Both the eggs and larvae are aquatic but can survive short periods of drying out, so even drains that aren’t used daily can harbor them. Showers are especially attractive because they provide consistent moisture, warmth, and a steady supply of organic material.
Are They Harmful?
Drain flies don’t bite or sting. The larvae themselves pose no direct threat to you. However, there are a couple of indirect concerns worth knowing about. Adult drain flies can pick up bacteria from the drain and carry it to other surfaces in your home, including kitchen counters. When large numbers of drain flies die indoors, the dust and body fragments they leave behind can trigger allergic reactions, particularly in people with asthma.
So while a few drain flies aren’t a medical emergency, a growing infestation is worth addressing promptly, both for hygiene and comfort.
Why Bleach and Boiling Water Don’t Work
The most common first instinct is to pour bleach or boiling water down the drain. Neither is particularly effective. The reason comes down to biofilm. That slimy layer isn’t just sitting on the surface of your pipes. It’s a structured microbial community with a protective outer layer that resists chemical penetration. Bleach kills adult flies on contact and may wipe out organisms on the very top of the biofilm, but larvae embedded deeper in the slime survive. New adults emerge within days.
Boiling water has a similar limitation. By the time it travels through the drain body and into the pipe, the temperature drops significantly. It contacts only a small fraction of the biofilm, providing a temporary reduction in fly numbers without addressing the larvae protected further down the system.
Enzyme-based drain cleaners are a step in the right direction because they’re designed to break down organic matter in biofilm. But they work slowly, require repeated applications, and rarely eliminate the full biofilm layer, which can extend for several feet along the interior of the pipe. A single pour from the drain opening simply can’t reach the entire colony.
How to Actually Eliminate Them
The most effective approach combines mechanical cleaning with chemical or enzymatic follow-up. Start by removing the drain cover and physically scrubbing the inside of the drain with a stiff brush, a pipe brush, or even a long-handled bottle brush. Your goal is to break up and remove as much of the biofilm as possible. This is the step most people skip, and it’s the most important one. No liquid treatment can replace physically stripping that slime layer off the pipe walls where you can reach.
After scrubbing, flush the drain with very hot water. Then apply a treatment to target what you couldn’t reach mechanically. A simple DIY option: pour half a cup of baking soda into the drain, follow it with one cup of white vinegar, let it fizz for about 10 minutes, and flush with very hot (not quite boiling) water. Fully boiling water can potentially damage certain pipe materials, so the hottest tap water is a safer choice. This won’t eliminate a severe infestation in one round, but repeated every few days over two to three weeks, it can break the breeding cycle.
For persistent problems, enzyme-based drain gel cleaners applied nightly for one to two weeks can gradually dissolve biofilm deeper in the pipe. Apply them at night when the drain won’t be used for several hours, giving the enzymes time to work.
The key timeline to keep in mind: the larval stage lasts 9 to 15 days, and the full life cycle runs 21 to 27 days. You need to maintain your cleaning routine for at least a full month to ensure you’ve disrupted every generation, including eggs that haven’t hatched yet.
Keeping Them From Coming Back
Once you’ve cleared the infestation, prevention is straightforward but requires consistency. Clean your shower drain every one to two weeks by removing the cover, pulling out accumulated hair, and scrubbing the visible interior. Hair catchers or drain screens are a simple addition that dramatically reduces the organic buildup that feeds biofilm.
Run water through any drains that don’t get regular use. Guest bathroom showers, basement floor drains, and similar fixtures are common breeding sites precisely because stagnant water and undisturbed biofilm accumulate there. A weekly flush of hot water is enough to make these drains inhospitable.
Fix any leaks around your shower, including slow drips from the faucet or water pooling around the base. Drain flies need persistent moisture to breed, and eliminating unnecessary water sources removes their habitat. If your bathroom has poor ventilation, running the exhaust fan after showers helps dry out surfaces faster and makes the environment less inviting for egg-laying adults.
When the Problem Persists
If you’ve scrubbed, treated, and maintained your drain for a full month and still see new flies emerging, the breeding site may not be your shower drain at all. Drain flies can breed in any location with stagnant organic-rich moisture: under a cracked shower pan, inside a wall cavity with a slow leak, in the overflow hole of a sink, or in a floor drain you haven’t checked. Place a piece of clear tape over each suspect drain overnight, sticky side down. If flies are emerging from that drain, you’ll find them stuck to the tape in the morning. This simple test helps you confirm exactly where the larvae are developing so you can target your cleaning efforts accurately.