Part of the The Complete Guide to Flies: Identification, Prevention & Elimination guide.
Flies in the Bathroom: Why They Are There and How to Get Rid of Them
| Sign or symptom | Likely cause | Risk level | What to do next |
|---|---|---|---|
| Fresh activity related to Flies in the Bathroom | flies are active nearby or recently passed through the area. | High if signs repeat or appear in multiple rooms. | Inspect the surrounding cracks, seams, food sources, and travel paths. |
| Old or isolated evidence | A past problem, accidental introduction, or inactive nesting site. | Moderate until you confirm whether activity is current. | Clean and mark the area, then recheck in 24 to 48 hours. |
| Multiple signs together | A developing infestation rather than a one-off sighting. | High because populations can spread before they are obvious. | Start control steps immediately and consider professional inspection. |
Bathrooms are the second most common room for indoor fly infestations, after kitchens. The combination of moisture, organic matter in drains, and often poor ventilation creates ideal conditions for several fly species. If you are finding flies in your bathroom regularly, the good news is that the source is usually easy to identify and fix.
Why Bathrooms Attract Flies
Bathrooms offer flies several key resources:
- Moisture: Showers, baths, sinks, and toilets provide constant moisture
- Organic matter: Hair, soap scum, skin cells, and body oils accumulate in drains
- Warmth: Bathrooms are typically warm and humid, especially after showers
- Breeding sites: Drain biofilm is a perfect breeding medium for certain fly species
Common Bathroom Fly Species
Drain Flies
Drain flies are the most common bathroom fly and the usual suspect when you find small, fuzzy, moth-like insects resting on bathroom walls. They breed in the organic biofilm that lines shower drains, sink drains, and floor drains.
Key signs: Fuzzy wings, resting on walls near drains, most visible in the morning.
Fruit Flies
Fruit flies occasionally show up in bathrooms if they find a food source. Common bathroom attractants include:
- Sticky toothpaste residue
- Spilled mouthwash or beauty products
- Damp, dirty towels or bath mats
- Garbage cans with tissues or used personal care products
Phorid Flies
Phorid flies in bathrooms often indicate a cracked or leaking drain line beneath the floor. These tiny flies run across surfaces and can emerge from cracks in tile grout or around toilet bases.
Fungus Gnats
While technically not flies in the common sense, fungus gnats are small flying insects that can appear in bathrooms if there are potted plants with moist soil.
Identifying the Source
The Tape Test
To confirm which drain is producing flies, use the tape test:
- Dry the area around each drain thoroughly
- Place a strip of clear packing tape over the drain opening, sticky side down
- Leave small gaps for airflow
- Check every 24 hours for trapped flies on the tape
- Test all drains: shower, sink, bathtub, and floor drains
Visual Inspection
- Look for maggots or larvae inside drain openings (use a flashlight)
- Check for biofilm (dark, slimy buildup) on the inside walls of drains
- Inspect the toilet tank and overflow tube
- Check behind the toilet for leaks or moisture
- Examine the caulk around the tub and shower for gaps or deterioration
Elimination Steps
Step 1: Clean the Drains
This is the primary solution for bathroom flies. See our detailed guide on how to get rid of drain flies for step-by-step instructions:
- Remove the drain cover and clean it
- Use a stiff-bristled drain brush to scrub inside the drain pipe
- Pour boiling water down the drain
- Apply an enzymatic drain cleaner according to directions
- Repeat for 5 to 7 consecutive days
Step 2: Reduce Moisture
- Run the bathroom exhaust fan during and for 30 minutes after showers
- Fix any leaking faucets or toilet components
- Ensure proper ventilation (consider installing a timer on the exhaust fan)
- Wipe down wet surfaces after bathing
- Hang damp towels to dry in a well-ventilated area
Step 3: Remove Organic Matter
- Clean hair from drain covers after each shower
- Wash bathroom garbage cans weekly
- Launder bath mats and towels regularly
- Clean around toilet bases and behind toilets
- Scrub tile grout to remove mold and organic buildup
Step 4: Seal Entry Points
- Caulk gaps around pipes where they enter walls
- Seal cracks in tile grout around the shower and tub
- Ensure the toilet is properly sealed to the floor with an intact wax ring
- Install screens on bathroom windows
Trapping Bathroom Flies
While addressing the source, reduce the adult population with:
- Fly paper strips placed discreetly near walls where drain flies rest
- Small vinegar traps if fruit flies are present
- Window traps for flies congregating at bathroom windows
When to Call a Plumber
If bathroom flies persist after thorough drain cleaning, the problem may be in the plumbing infrastructure:
- Broken or cracked drain pipes beneath the floor
- Improper slope causing standing water in lines
- A failed wax ring under the toilet allowing sewer flies to enter
- Issues in the main sewer line
A plumber can camera-inspect your drain lines to identify hidden problems. For pest-specific issues, consider a professional fly control service.
For comprehensive fly management, visit our complete guide to flies.
Professional Insight
Bathroom fly calls make up a significant portion of my residential IPM caseload. In 15 years of practice, I have found that the tape test is the single most useful diagnostic tool for bathroom fly problems. It eliminates guesswork about which drain is the source and prevents clients from unnecessarily cleaning drains that are not contributing to the problem. I recommend testing every drain in the bathroom, including floor drains that are often overlooked, as these are frequently the culprit in basement and laundry room fly issues.
Sources and References
- University of Florida Entomology - Bathroom Flies - UF identification resources for fly species commonly found in bathroom environments.
- EPA - Moisture Management and Pest Prevention - EPA guidance on controlling moisture to prevent pest breeding in residential bathrooms.
- NPMA - Drain Flies and Bathroom Pests - National Pest Management Association resources on managing fly problems in bathrooms.
- Penn State Extension - Drain Fly Management - Penn State's step-by-step guide to identifying and eliminating bathroom drain flies.
Main Causes
Indoor flies activity is driven by accessible breeding material and warmth. House flies and blow flies breed in garbage, pet waste, compost, and dead animals; fruit flies breed in overripe produce, drain biofilm, fermenting liquids, and unrinsed recycling; drain flies breed in the gelatinous film inside infrequently used drains; phorid flies breed in broken sewer lines and decomposing material under slabs. Adults find their way inside through torn screens, gaps around doors, vents, and any opening to the outside. Warm weather accelerates the entire life cycle, and a sustained population always points to an unaddressed source either inside the structure or close enough that adults keep arriving in volume.
How to Identify
Identify the species before treating, because effective control depends on locating the correct breeding site. House flies are gray with four dark thoracic stripes and feed on garbage and feces. Fruit flies are tiny, tan or yellow with red eyes, and breed in fermenting produce or drain biofilm. Drain flies are fuzzy, moth-like, and emerge in small slow flights from drains. Blow flies are large and metallic blue or green and indicate a dead animal nearby. Phorid flies hover in jerky paths and breed in broken sewer lines under slabs. Cluster flies are slow and dark and overwinter in attics. Sticky cards placed near suspected sources for 24 to 48 hours both confirm the species and pinpoint the breeding zone.
Risk and Severity
Flies are mechanical disease vectors, picking up pathogens from feces, decomposing material, and garbage on their bodies and depositing them on food and surfaces. House flies in particular regurgitate digestive fluids when feeding, contaminating any surface they land on. Documented transmissible pathogens include Salmonella, E. coli, Shigella, and Campylobacter. Blow flies in homes signal a dead animal in or near the structure โ a secondary health concern from decomposition gases and additional pest activity around the carcass. Biting flies (horse flies, stable flies, black flies) deliver painful bites and can trigger allergic reactions; in some regions they transmit parasites or bacterial infections. Children, elderly, and immunocompromised individuals face elevated risk.
Solutions and Actions
Effective fly control requires locating and eliminating the breeding source โ adult-only treatments produce only temporary relief. For house flies: remove and seal garbage, clean pet waste daily, manage compost properly, and check for dead animals in wall voids or attics if blow flies are present. For fruit flies: discard overripe produce, clean drains with enzymatic cleaner weekly, rinse recycling, and empty kitchen compost containers daily. For drain flies: brush drain walls thoroughly and treat with enzymatic drain cleaner weekly for at least three weeks. For phorid flies: investigate for broken sewer lines or moisture intrusion under slabs. Adult control through sticky cards, UV light traps, and targeted residual sprays supplements but never substitutes for source elimination.
Prevention
Prevention combines source elimination with exclusion. Keep all kitchen garbage in sealed bins and empty daily during warm months. Refrigerate ripening produce, rinse all recyclables before storing, and run garbage disposals briefly each day. Clean drains weekly with enzymatic drain cleaner during fly season, and brush drain walls with a flexible drain brush quarterly to remove biofilm. Remove pet waste from the yard daily. Manage compost with a proper carbon-to-nitrogen ratio and bury food scraps under brown material. Install and maintain tight-fitting window and door screens, repair tears promptly, and add door sweeps to exterior doors. Inspect the structure annually for dead-animal indicators (sudden blow fly activity) and resolve any wildlife exclusion issues that could lead to carcasses in wall voids.
Frequently Asked Questions
Why do I keep finding small flies on my bathroom walls?
Small, fuzzy flies resting on bathroom walls are almost certainly drain flies (Psychodidae). They breed in the organic biofilm that accumulates inside shower drains, sink drains, and floor drains. The warm, humid bathroom environment provides ideal conditions for their development. The flies emerge from drains and tend to rest on nearby walls and ceilings, which is where you notice them.
How do I do the tape test for drain flies?
Dry the area around each suspect drain. Place a strip of clear packing tape over the drain opening, sticky side down, leaving small gaps at the edges for airflow. Leave the tape in place for 24 to 48 hours, then check for adult drain flies stuck to the adhesive. Any drain showing trapped flies is an active breeding site that needs cleaning.
Can drain flies come from my toilet?
Drain flies rarely breed in toilets because the frequent flushing and chlorinated water are unfavorable for biofilm development. However, they can enter through the overflow tube inside the tank or through a failed wax ring seal at the toilet base. If you see drain flies near the toilet, inspect the wax ring and tank overflow as potential entry points from the sewer line below.
Will pouring boiling water down the drain get rid of drain flies?
Boiling water alone is insufficient to eliminate an established drain fly population. While it kills larvae and eggs on contact, it cannot penetrate the thick biofilm where drain flies breed. Effective control requires mechanical scrubbing with a drain brush to physically remove the biofilm, followed by enzymatic drain cleaners to break down remaining organic material. Boiling water works best as a supplemental treatment after mechanical cleaning.
Continue reading:
The Complete Guide to Flies: Identification, Prevention & Elimination →Sources & Further Reading
- House Flies โ Pest Notes — University of California Statewide IPM Program
- Fruit Flies in the Home — Penn State Extension
- Controlling Pests Safely — U.S. Environmental Protection Agency