Drain flies in the bathroom are almost always breeding in the slimy film inside a drain: the shower or tub drain, the sink drain and its overflow hole, a floor drain or a rarely flushed toilet. To get rid of them, find which drain is the source, pull out the hair and soap scum, scrub the pipe with a stiff brush, flush it with hot water and keep it clean. Sprays and drain chemicals on their own rarely work, because they do not remove the film the larvae live in.
What causes drain flies in a bathroom?
University of Maryland Extension explains that drain fly larvae live in the gelatinous film in drains and traps and feed on the algae, bacteria and fungi in it. Bathrooms are ideal: hair, soap scum, skin cells and toothpaste build that film quickly, and the room stays warm and damp. Common sources:
- Shower and tub drains. Hair and soap scum collect just below the drain cover and in the trap. This is the most common bathroom source.
- Tub and sink overflow openings. The channel behind the overflow plate stays damp and is almost never cleaned.
- Sink drains and pop-up stoppers. Film builds on the stopper rod and the pipe walls.
- Toilets, especially ones that are rarely flushed, and leaks under the toilet base. See drain flies coming from the toilet.
- Floor drains and unused fixtures. Iowa State University Extension notes that seldom-used or slow drains are especially likely to breed moth flies.
- Leaks and damp spots. Dripping pipes under the vanity, failed caulk and wet grout can hold moist organic matter.
For the full list of breeding sites in and around a home, see what attracts drain flies.
How to tell you have drain flies
Drain flies are small, about 1/16 to 1/4 inch long according to UMD, with fuzzy bodies and wings that make them look like tiny moths. Ohio State University Extension notes that they rest on walls near plumbing fixtures and on the sides of showers and tubs during the day, and are most active in the evening, when they hover around drains and sinks. They make short, weak, hopping flights. Gray, wormlike larvae in the drain or on the shower floor are another sign. Our guide to drain worms in the shower covers the larvae.
To find which drain is the source, Iowa State suggests taping clear plastic wrap over each drain overnight. Flies breeding in that drain collect under the plastic within a day or two. Check every drain in the room, including the overflow openings.
How to get rid of drain flies in your shower or tub
- Remove the drain cover or stopper. Most shower covers unscrew or pop out. Tub stoppers usually lift or unscrew.
- Pull out the hair and gunk. A plastic drain-cleaning strip or a bent wire reaches the clump just below the cover. Wear gloves.
- Scrub the pipe walls. Push a stiff, long-handled drain brush down the drain and scrub up and down. Iowa State says the only effective way to stop drain flies breeding in a drain is to clean the organic matter out of the pipe.
- Clean the overflow. Unscrew the tub overflow plate, scrub behind it and run the brush down the overflow channel.
- Flush with hot water. Pour very hot water slowly down the pipe walls after scrubbing. Check that your plumbing can handle it, since plastic drain pipes and fittings can be damaged by repeated boiling water.
- Follow up with an enzyme or bacterial drain treatment for a few weeks. Ohio State says enzyme-action products work best on the bacterial scum.
How to get rid of drain flies in a bathroom sink
- Remove the pop-up stopper and clean the film off the stopper and its rod.
- Scrub the drain with a narrow drain brush, then scrub the overflow hole with a small bottle brush.
- If you are comfortable doing it, put a bucket under the sink, unscrew the P-trap and clean it out. Ohio State recommends removing the trap when you can.
- Reassemble, run hot water and check for leaks under the vanity.
Our step-by-step guide to cleaning the breeding film out of a drain has more detail.
Clean up around the drains
- Deal with the adults. Swat, vacuum or use sticky traps. Ohio State notes that fly paper and light traps catch some adults but will not end an infestation.
- Fix leaks under the sink and around the toilet, and replace failed caulk and grout so water cannot soak in behind tiles.
- Dry the room. Run the exhaust fan during and after showers, and hang bath mats and towels to dry.
Natural remedies vs chemicals
- Hot water: helpful after scrubbing, not a substitute for it.
- Baking soda and vinegar: the fizz is mild and does not scrub the film off the pipe walls. It may help a little as part of regular cleaning.
- Enzyme drain cleaners: the best product option, because they break down the film itself. Expect repeat applications.
- Caustic drain cleaners and bleach: Ohio State says lye-based cleaners are not as effective as mechanical cleaning and larvae are surprisingly resistant to bleach. Never mix bleach with other drain products. See whether Liquid-Plumr kills drain flies.
- Insecticide sprays and foggers: Ohio State says they only knock down adults and new flies soon appear. Never pour insecticide down a drain.
How to prevent drain flies in your bathroom
- Clean shower hair catchers and drain covers every week or two.
- Brush out shower, tub and sink drains every month or so.
- Run water in unused showers, sinks and floor drains every week, and flush unused toilets.
- Use hair catchers over shower and tub drains.
- Keep the room ventilated so it dries out between uses.
When to call a professional
If flies keep coming after every drain has been scrubbed and tested, the source may be hidden: a cracked drain line, a leak inside a wall or under the floor, or a problem with the plumbing vent. A plumber can camera-inspect lines you cannot reach.
FAQ
Why do I have drain flies in my bathroom but nowhere else?
Bathrooms have several drains that build up hair and soap scum, and they stay warm and humid. That makes them the most common place for drain flies to start.
How long does it take to get rid of drain flies?
Ohio State notes larvae mature in 9 to 15 days and adults live about two weeks. After a thorough cleaning, numbers should drop over one to two weeks. If new flies still appear after that, another drain is breeding them.
Are drain flies in the bathroom harmful?
They do not bite or sting. See are drain flies harmful for details.
Can drain flies come up through the shower drain from the sewer?
The water in the trap normally blocks the sewer line. Flies in a shower usually hatch from film inside the drain itself, between the cover and the trap.
Sources
- University of Maryland Extension: Drain Flies
- Ohio State University Extension: Drain Flies (Moth Flies)
- Iowa State University Extension: Moth Fly