The tiny moth-like insects in your bathroom are almost certainly drain flies, not actual moths. They’re 2 to 4 millimeters long (roughly the size of a sesame seed), gray or tan, and covered in fine hairs that give them a fuzzy, moth-like appearance. They also go by moth flies, sewer flies, filter flies, and bathroom flies. Despite looking like miniature moths, they’re actually flies with only two wings and distinctly parallel wing veins. They don’t bite, sting, or transmit disease, but they multiply fast and won’t go away on their own.
Why They Look Like Moths but Aren’t
Drain flies belong to the insect family Psychodidae. Their bodies and wings are densely covered in tiny hairs, which is what creates the fuzzy, moth-like silhouette you’re seeing. They tend to rest on walls and ceilings with their wings held flat, roof-like, over their bodies, reinforcing the resemblance to a small moth. Their color ranges from dark gray to light tan, often with faint spots on the wings.
You’ll notice they’re weak, erratic fliers. They tend to make short hops rather than sustained flights, and they’re drawn to light. One distinctive feature: their fine hairs are water-repellent, which makes them surprisingly difficult to drown or wash down a drain.
What’s Attracting Them to Your Bathroom
Drain flies breed in one specific thing: the slimy, gelatinous film that builds up inside drain pipes. This biofilm is made of decaying organic matter, bacteria, algae, and sediment. It coats the inside walls of your shower drain, sink drain, overflow pipe, or any other plumbing fixture that stays moist. Female drain flies lay their eggs directly in this slime, and the larvae feed on it as they develop.
Any drain that isn’t used frequently is especially vulnerable. Guest bathroom sinks, floor drains, and overflow holes are common culprits because water evaporates from the trap, and organic buildup goes undisturbed. The combination of moisture, warmth, and stagnant organic matter makes bathrooms the ideal breeding ground. If you’re seeing the flies consistently near one fixture, that drain is likely the source.
How to Confirm the Source Drain
Place a strip of clear tape loosely over each suspect drain at night, sticky side down, leaving enough gap around the edges for air to flow. In the morning, check for flies stuck to the tape. This tells you exactly which drain is producing them. You may need to repeat this for a few nights, since not every adult emerges on the same schedule.
Why Bleach and Boiling Water Don’t Work
The most common advice people try first is pouring bleach or boiling water down the drain. Neither solves the problem, and understanding why saves you weeks of frustration.
Bleach kills adult drain flies on contact, but it cannot penetrate the biofilm where larvae actually live. Biofilm is a structured microbial layer with a protective outer matrix that resists chemical penetration. You may kill a few adults at the surface, but the 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 only contacts a fraction of the biofilm surface, so it provides a temporary dip in fly numbers at best. The colony in the pipe remains intact.
Enzyme-based drain cleaners are a step in the right direction, since they’re designed to break down organic matter in biofilm. But they work slowly, require repeated applications, and rarely eliminate the entire biofilm layer. The slime in a drain pipe can extend for several feet along the interior walls, and a single treatment poured from the drain opening simply can’t reach all of it.
How to Actually Get Rid of Them
The only reliable fix is physically removing the biofilm from inside the drain. This is the food source and breeding ground for the larvae, so once it’s gone, the population collapses.
Start by removing the drain cover and using a stiff drain brush (a long, narrow pipe brush works well) to scrub the inside walls of the pipe as far down as you can reach. Pull out any clumps of hair, soap residue, or visible slime. Follow this with an enzyme drain cleaner to help break down residue you couldn’t reach mechanically. Repeat the enzyme treatment daily for about a week.
For shower drains, unscrew or pop off the drain plate and clean underneath it. A surprising amount of biofilm accumulates on the underside of drain covers and in the first few inches of pipe, which is exactly where most egg-laying happens. For sink overflows (the small hole near the top of the basin), flush them with an enzyme cleaner or use a small bottle brush, since these are often overlooked breeding spots.
The adult flies you see on walls will die within about two weeks of their food source being eliminated. You can remove visible adults with a vacuum or a swat, but killing adults alone won’t stop the cycle. No new adults will emerge once the biofilm is gone.
Keeping Them From Coming Back
Prevention comes down to two things: keeping drains clean and keeping them flowing.
- Run water through every drain weekly. Guest bathrooms, basement floor drains, and rarely used sinks are the most common re-infestation sources. Running water keeps the drain trap full (blocking sewer gas and fly access) and flushes out early biofilm.
- Clean drain covers monthly. Pop off shower and tub drain covers and wipe away any buildup. Hair catchers help reduce the organic debris that feeds biofilm.
- Use your bathroom exhaust fan. Reducing humidity in the room makes surfaces less hospitable. Run the fan during and for 15 to 20 minutes after showers.
- Treat drains with an enzyme cleaner periodically. Once a month is enough for maintenance. This keeps biofilm from re-establishing itself.
When the Problem Points to Something Bigger
If drain flies keep returning despite thorough cleaning, the biofilm source may be somewhere you can’t reach with a brush. A cracked or broken sewer pipe underground can leak moisture into surrounding soil, creating a breeding site outside your plumbing that continuously produces new flies. Gaps around pipe fittings, a failed wax ring under a toilet, or a leaking shower pan can also create hidden moist zones where biofilm develops unseen.
Persistent infestations that survive repeated drain cleaning typically need a plumber’s camera inspection to find the actual source. This is especially true in older homes where cast iron drain pipes may have corroded internally, creating rough surfaces that biofilm clings to aggressively.
Are They Harmful?
Drain flies don’t bite, sting, or spread disease. They’re a nuisance, not a health threat. The one exception: in large, long-standing infestations, the decomposing bodies of dead drain flies can trigger allergic reactions in sensitive individuals, particularly respiratory symptoms. For most people, the biggest concern is simply the unpleasantness of finding fuzzy little insects on the bathroom walls every morning. Addressing the biofilm in your drains resolves the problem completely, usually within one to two weeks.