How to Get Rid of Drain Flies (and Stop Them Coming Back)
Drain flies live and breed in the slimy film inside your drains, so the fix is cleaning that film out, not spraying the flies. Scrub the pipe, keep it clean for a few weeks, and the fuzzy little flies stop showing up.
You turn on the bathroom light at night and a few tiny, fuzzy flies lift off the wall near the sink. By morning there are more. Drain flies are one of the most common small nuisances in American homes, and they are also one of the easiest to get rid of once you know where they come from. They do not mean your house is filthy. They mean one drain, somewhere, has a layer of buildup that gives their larvae a place to grow.
What do drain flies look like?
Adult drain flies, also called moth flies or sewer flies, are tiny. University extension sources put them at roughly one-tenth to one-fifth of an inch long, so smaller than a typical housefly and about the size of a grain of rice or less. The features that give them away:
- Fuzzy, moth-like look. The body and the wings are covered in fine hairs. The wings are broad and oval and usually held roof-like over the body, so a resting fly looks like a miniature gray or dark brown moth.
- Weak, erratic flight. They flutter in short hops of a few feet rather than zipping around. Most of the time you will see them sitting on the wall or ceiling near a sink, tub or shower.
- Most active at night. You often notice them when you walk into a bathroom or kitchen after dark.
- Wormlike larvae. The larvae are legless, grayish and about three-eighths of an inch long, and they live inside the slime, so you rarely see them unless you scrape a drain.
How to tell them from other small flies
Three look-alikes get confused with drain flies, and the difference matters because each one breeds somewhere different.
- Fruit flies are about an eighth of an inch long, tan or gray with crosswise stripes on the abdomen and often red eyes. They hover around ripe produce, but Iowa State Extension notes that in late fall and winter the source is often a slow or seldom-used drain with slime above the water line.
- Fungus gnats are slender, dark gray to black, with smoky wings held out to the side. They almost always come from overwatered houseplant soil.
- Drain flies are the fuzzy, triangular ones that rest on walls near drains and move in short, wobbly flights.
If the tiny flies are gathered around a plant, think fungus gnats. If they are around a fruit bowl, think fruit flies. If they are on the bathroom wall near the tub, they are probably drain flies.
Why you have them
Female drain flies lay their eggs, 30 to 100 per female, on the gelatinous film that builds up along the sides of drains and overflow pipes. That film is a mix of soap scum, hair, grease and bacteria. The larvae feed on it. According to Alabama Extension the whole cycle from egg to adult can take as little as 8 days and as long as 24, depending on temperature and humidity, and Ohio State Extension puts adult lifespan at about two weeks. So a drain that is left alone can produce a steady stream of new flies.
The usual suspects are drains that get little use or never get a good scrubbing:
- A guest bathroom sink or tub that sits unused for weeks
- A floor drain in the basement or laundry room
- Kitchen sink drains with a greasy film on the pipe above the waterline
- Overflow holes in sinks and tubs
- Drip pans under refrigerators, dehumidifiers and air conditioners
- Damp spots such as leaking pipes, wet mop heads and trays under houseplants
Outdoors, septic systems, wet compost and dirty trash cans can also supply flies that wander in.
Step 1: Find the drain that is the source
You may have a dozen drains in the house and only one or two are the problem. Extension specialists recommend a simple test. Tape a piece of clear plastic or clear tape sticky side down over the drain opening, leaving a small gap for air, and leave it overnight. A clear cup or jar with a thin coat of petroleum jelly or cooking oil on the inside, turned upside down over the drain, works the same way. If flies are stuck to the tape or inside the cup in the morning, that drain is feeding them. Test every suspect drain, including the ones you rarely use.
Step 2: Scrub out the film
The single most effective step, according to the Virginia Tech and Ohio State extension guides, is to physically remove the buildup. Pouring something down the drain is not enough, because the larvae sit inside a slimy coat that liquids slide over.
- Take the drain apart as far as you can. Remove the stopper, the strainer or cover, and any pivot rod. Wash them in hot, soapy water.
- Scrub the opening and the pipe. Use a stiff, long-handled bottle brush or a drain brush, and go as far down as it reaches. Scrape the inside of the overflow hole too. Use a flashlight to look for slime.
- Clear any slow clog. A plastic drain snake removes hair and soap that hold the film in place. If the drain is badly backed up or the trap needs removal and you are not comfortable doing it, call a plumber.
- Use an enzyme or foaming drain cleaner if you like. Ohio State suggests enzyme-action products made to break down the bacterial film. Follow the label, and never mix cleaning products. Mixing bleach with ammonia, vinegar or other acidic cleaners (including some drain cleaners) can release toxic gases.
- Flush with hot water. Hot tap water rinses loosened material away and gives short-term control of larvae near the surface. It will not clean a thick layer by itself.
What does not work
- Bleach and vinegar. Both Virginia Tech and Ohio State say bleach is not very effective against the larvae, and Virginia Tech adds that it may damage pipes if not properly diluted. Ohio State notes drain fly larvae are highly resistant to it.
- Baking soda, by itself. The Alabama Extension guide lists baking soda alongside bleach, vinegar and boiling water as ineffective for this job.
- Insecticide poured down the drain. Extension sources warn against this. It rarely reaches the larvae and can harm plumbing and sewage systems.
- Spraying the adults. Aerosol sprays kill the flies that are in the air but not the larvae in the pipe, so new flies keep emerging. Total-release foggers are not suitable for kitchens and areas where food is prepared.
- Traps alone. Sticky traps and UV light traps catch some adults, but extension specialists say they will not end an infestation.
Step 3: Keep at it for a few weeks
Because eggs and larvae can survive a first cleaning, repeat the scrub and flush every few days for two to three weeks, which is long enough to cover more than one full life cycle. Keep checking with the tape test. When the tape stays clean for a week, you are done. If you are still seeing flies after a few rounds, look for other sources you missed: a rarely used floor drain, a leaking pipe or a wet area under an appliance.
Prevent them from coming back
- Run water for a minute or so in drains you rarely use, at least once a week, to keep the trap full and the film from building up.
- Clean sink stoppers, strainers and shower drain covers regularly, every few weeks, before slime can form.
- Fix leaks and dry out damp areas. A dehumidifier helps in a basement or laundry room.
- Empty and clean refrigerator and dehumidifier drip pans and wipe out wet mop buckets.
- Keep kitchen trash cans clean, and avoid letting water sit in plant saucers.
- Seal gaps around doors and windows and keep screens in good shape if flies are coming in from outdoors.
Are drain flies harmful?
Drain flies do not bite or sting. Extension sources describe them as a nuisance rather than a disease threat. Because the larvae grow in dirty drain material, adults can carry bacteria on their bodies, so keep them away from food and wash counters if flies have landed on them. Ohio State also notes that dust from large numbers of dead flies can trigger asthma in sensitive people, which is one more reason to clear a heavy outbreak quickly.
When to call a professional
Bring in a plumber if several drains are slow or backing up, if you smell sewage, or if the flies keep returning after weeks of thorough cleaning. A cracked or leaking pipe, a failing septic system or a breeding spot inside a wall is beyond a household scrub brush. A pest control company can help locate a hidden source, but the cleanup still comes down to removing the buildup.
This guide is general information for ordinary households, not advice for your particular property. If you use any product, follow the label and keep it away from children and pets.
Frequently asked questions
What do drain flies look like?
They are tiny, about one-tenth to one-fifth of an inch long, and fuzzy, with broad oval wings held roof-like over the body so they look like miniature moths. They fly weakly in short hops and usually rest on walls near sinks, tubs and drains.
Does bleach kill drain flies?
Not reliably. Virginia Tech and Ohio State extension guides say bleach is not very effective because the larvae sit inside a slimy film that it does not penetrate, and it can harm pipes if misused. Scrubbing the film out is what works. Never mix bleach with ammonia, vinegar or other acidic cleaners.
How long does it take to get rid of drain flies?
Once you scrub the source drain, adults die off in about two weeks, but eggs and larvae can survive a first cleaning. Repeat the scrub and flush every few days for two to three weeks and check with the tape test.
Do drain flies bite or spread disease?
They do not bite or sting. Extension sources call them a nuisance rather than a disease threat, but they can carry bacteria from dirty drain material onto surfaces, so keep them off food and clean counters where they land.
Why do I have drain flies when my house is clean?
Drain flies need only a thin film of soap scum, hair, grease and bacteria inside a pipe, which can build up in a perfectly clean home. Drains that get little use, such as a guest bathroom or basement floor drain, are the most common source.
How do I tell drain flies from fruit flies and fungus gnats?
Drain flies are fuzzy and moth-like and rest on walls near drains. Fruit flies are tan with striped abdomens and often red eyes. Fungus gnats are slender, dark and breed in overwatered houseplant soil. Where the flies gather usually tells you which one you have.