Drain flies in a bedroom almost always mean there’s a hidden moisture source nearby. These tiny, fuzzy-winged flies don’t wander far from where they breed, so if you’re seeing them on your bedroom walls or ceiling, the breeding site is close, even if there’s no obvious drain in the room. The most common culprits are air conditioning condensate lines, floor drains that have dried out, or a plumbing leak you can’t see.
Make Sure They’re Actually Drain Flies
Drain flies are sometimes called moth flies because of their distinctive fuzzy, leaf-shaped wings. They’re tiny (about 1/8 inch) and tend to rest on walls with their wings spread flat, looking almost like miniature moths. They’re weak fliers and tend to make short, hopping flights rather than buzzing around your head.
Two common lookalikes show up in bedrooms for different reasons. Fungus gnats have long legs and long antennae, and they breed in the wet soil of overwatered houseplants. If you gently shake a potted plant and tiny flies scatter, that’s your answer. Fruit flies are slightly smaller, with rounded bodies and red eyes, and they cluster around fermenting food. If what you’re seeing has fuzzy wings and sits motionless on your walls, you’re dealing with drain flies.
Why They’re in Your Bedroom
Drain flies lay eggs in the slimy organic film (biofilm) that builds up wherever water sits or flows slowly. In a bathroom or kitchen, the source is obvious. In a bedroom, you need to think about less visible water sources.
- Air conditioning condensate lines and drip pans. Window units and central AC systems produce condensation that drains through a line or collects in a pan beneath the evaporator coil. If that line gets clogged or the pan doesn’t drain properly, stagnant water and sludge accumulate. This is one of the most common bedroom breeding sites.
- Dried-out floor drains. Some bedrooms, especially in basements or older buildings, have floor drains. The water trap inside a floor drain evaporates in two to three weeks without regular water flow. Once it dries, there’s nothing stopping drain flies from traveling up through the pipe.
- Hidden plumbing leaks. Water accumulating beneath leaking pipes, behind walls, or under a slab creates the dark, wet conditions drain flies need. A recurring infestation that doesn’t respond to cleaning every visible drain often points to a broken pipe or leak in a crawlspace beneath the home.
- Bathroom drains in an attached or adjacent bathroom. Drain flies are weak fliers, but they can easily drift through an open bathroom door into your bedroom. The actual breeding site may be in a nearby shower drain or sink overflow.
How to Find the Exact Source
The single most important step is identifying where the flies are breeding. Killing adults without removing the source accomplishes nothing, because their entire life cycle from egg to adult takes only 21 to 27 days, and each generation produces more eggs in the same spot.
Start with a simple tape test. Place a strip of clear packing tape sticky-side down over any suspect drain, covering about 75% of the opening (leave gaps so air can still flow). Check the tape every morning for a few days. If new adult flies are stuck to the underside, that drain is an active breeding site. Test every drain within range: the bathroom sink, shower, tub, and any floor drains.
If no drains test positive, inspect your AC system. Pull out any removable drip tray from a window unit and check for standing water or dark sludge. For central air, the indoor drain pan sits beneath the evaporator coil, typically in a closet, attic, or basement. Look for standing water or algae buildup. Also check the exterior end of the condensate drain line for blockage.
If you still can’t find the source, the problem may be structural. A leak inside a wall, under the foundation, or in a crawlspace can create a breeding site you’ll never see without professional inspection.
Why Bleach and Boiling Water Don’t Work
Pouring bleach down a drain is probably the most common first instinct, and it’s largely ineffective. Bleach kills adult drain flies on contact, but it cannot penetrate the biofilm layer where larvae live and feed. Biofilm is a structured, slimy mat of microbes with a protective outer layer that resists chemical penetration. The eggs and larvae embedded inside survive the treatment, and new adults emerge within days.
Boiling water has the same limitation. By the time it travels through the drain body and into the pipe, the temperature drops significantly, and it contacts only a small fraction of the biofilm surface. Enzyme-based drain cleaners are better in theory, since they’re designed to break down organic matter, but they work slowly, require repeated application, and rarely eliminate the full extent of biofilm inside a pipe. There are no EPA-registered pesticides specifically approved for drain fly control inside drain pipes, which is why chemical approaches alone consistently fail.
How to Actually Get Rid of Them
The only reliable fix is physically removing the biofilm where larvae develop. For accessible drains, use a stiff drain brush to scrub the inside of the drain body and the first several inches of pipe. This removes the slimy buildup and the larvae living in it. Follow up with an enzyme-based drain cleaner to break down residual organic matter deeper in the pipe, but treat the brushing as the primary intervention and the cleaner as a supplement.
For an air conditioning condensate system, the process is different. Remove standing water from the drip pan using rags or a wet vacuum and clean the pan thoroughly. Clear any visible debris from the drain line opening. A shop vacuum attached to the exterior end of the condensate line can suction out clogs, which often come out as a dark mass of algae, dust, and mold. Pouring a cup of distilled white vinegar down the condensate drain line periodically helps keep the line clear between deep cleanings.
For dried-out floor drains, pour water into the drain to refill the trap. This creates a water barrier that prevents flies from coming up through the pipe. In drains that don’t receive regular water flow, you’ll need to refill the trap every two to three weeks. A waterless trap seal, which is a one-way silicone valve that drops into the drain body, solves this permanently. It allows water to flow down but blocks anything from coming back up, and unlike a water trap, it never evaporates.
How Long Until They’re Gone
Once you’ve removed the breeding source, the remaining adult flies die off quickly. Males live only a few days, and females survive up to about a week. You shouldn’t see new flies emerging after roughly two weeks if you’ve fully eliminated the biofilm or standing water. If adults keep appearing after that window, the breeding source hasn’t been fully addressed, or there’s a second site you haven’t found.
The life cycle is fast enough that even aggressive weekly treatments can’t outpace the reproductive rate if the biofilm remains intact. This is why identification and physical removal of the source matter so much more than any spray or chemical treatment. A single thorough cleaning at the right location does more than months of pouring products down drains.
Keeping Them From Coming Back
Brush-clean bathroom drains every few weeks if you’ve had a prior infestation. Run water through any floor drains that don’t see regular use at least twice a month to keep the trap filled. Have your AC condensate line inspected and flushed during routine seasonal maintenance. If your bedroom is in a basement or on a slab, stay alert to any signs of moisture on the floor or walls, which could indicate a hidden leak creating conditions for a new colony.