
Drain Flies
Drain flies are fuzzy, moth-like gnats that breed in slime inside sinks and showers. How to identify them vs fruit flies, if they are harmful, and the causes.

- Also called
- moth flies, sewer gnats, filter flies
- Size
- 1/16–1/5 inch
- Look
- gray or tan, fuzzy, wings held like a roof or heart
- Breeds in
- slime (biofilm) inside drains, traps, sewage
- Egg to adult
- about 1–4 weeks (7–28 days)
- Adult lifespan
- up to about 2 weeks
- Bite?
- no
Drain flies are small, fuzzy, gray or tan flies, about 1/16 to 1/5 inch long, that breed in the slimy film inside sink, shower, and floor drains. They are harmless (they do not bite), but they mean organic gunk has built up in a pipe or a drip pan, and they keep coming back until you physically remove it.
You will also hear them called moth flies, sewer gnats, filter flies, or simply "gnats in the bathroom." They belong to the family Psychodidae; the most common species in US homes are Clogmia albipunctata and Psychoda species.
What do drain flies look like?
- Shape: like a tiny moth. Wings are broad, oval, and densely hairy, held over the body like a roof (Washington State University's description) or flat in a heart shape at rest.
- Color: pale brownish-gray to nearly black; often a pale fringe on the wing edges.
- Size: 1/16 to 1/5 inch (about 1.5–5 mm).
- Behavior: sit still on walls, mirrors, and the tub for long periods. When disturbed they hop and flutter a short distance instead of flying off. Squashed, they leave a powdery gray smudge.
- Time of day: most active in the evening and at night.
Baby drain flies (larvae)
The larvae are slender, legless, grayish worms up to about 3/8 inch long, with a darker head and a short breathing tube at the tail. They live inside the gelatinous slime on pipe walls and in traps, feeding on the algae, bacteria, and fungi in it (University of Maryland Extension). They tolerate hot water and low oxygen well, which is why a kettle of boiling water often fails.
How long do drain flies live?
The University of Maryland puts egg-to-adult at about 7 to 28 days, depending on temperature, and adult life at up to about two weeks. Once a drain is established, adults emerge every day. That has two practical consequences: you will keep seeing a few flies for one to two weeks after a good cleaning, and if numbers have not dropped after two weeks, the real source is still active.
Drain flies vs fruit flies (and other bathroom gnats)
People often call drain flies "fruit flies in the bathroom." The difference matters because fruit flies are solved in the kitchen and drain flies only in the pipe.
| Drain fly | Fruit fly | Fungus gnat | Phorid fly | |
|---|---|---|---|---|
| Body | fuzzy, gray or tan | smooth, tan, red eyes | slim, black, long legs | humpbacked, tan-brown |
| Wings | broad, hairy, roof- or heart-shaped | clear, held along the back | clear, long | clear, held flat |
| Behavior | sits still on walls, short hops | hovers around food | near plants and windows | runs in jerky bursts |
| Breeds in | slime in drains, drip pans, sewage | fermenting food, sometimes drains | wet potting soil | rotting organic matter, sewage leaks |
| Vinegar trap | mostly ignores | goes right in | ignores | sometimes |

So if you have "fruit flies in the bathroom" and no food around, they are almost certainly drain flies. A pinned guide in r/pestcontrol uses the same shortcut: if they won't go into a vinegar trap, they are not fruit flies. If flies run on the wall rather than hop, think phorid flies, which are more often linked to a plumbing or sewer leak. See also gnats vs fruit flies and the general gnats page.
What causes drain flies? Where they come from
Drain flies need standing moisture plus organic slime. University of Maryland Extension and pest pros list the same spots:
- Bathroom sink and shower drains, especially hair and soap scum on the stopper and the first foot of pipe.
- Sink overflow holes, which almost nobody cleans.
- Rarely used drains: a guest shower, basement floor drain, or laundry standpipe. When trap water evaporates, flies (and sewer gas) come straight up.
- Kitchen drains and garbage disposals, especially the underside of the rubber splash guard.
- Condensate pans under refrigerators and AC units, and clogged AC condensate lines.
- Saucers under potted plants and dirty garbage cans.
- Sewer leaks and broken drain lines under a slab, in a wall, or in a crawl space. Suspect this if flies persist after every drain has been cleaned, or if they come out of a wall, baseboard gap, or access panel rather than a fixture.
- Outdoors: septic fields, clogged gutters and storm drains, compost.
How to confirm which drain they come from
Do the tape test: put a strip of clear packing tape, sticky side down, loosely over each suspect drain at night, leaving small air gaps. Check in the morning. The University of Kentucky suggests a variation for disposals and awkward openings: tape a clear plastic food bag over the opening overnight and see what emerges into it. Repeat for several nights, because adults do not emerge in big numbers every day. Test every drain, including the overflow, the floor drain, and the tub, not just the one where you see flies.

Are drain flies harmful?
For most households, no. Drain flies do not bite, sting, or damage property. Washington State University describes them as mostly a nuisance and notes that very high numbers have occasionally been linked to inhalant allergies. They are not known to spread disease in homes, though flies breeding in actual sewage can carry bacteria onto surfaces, which is another reason to treat a persistent infestation as a plumbing problem. The bigger risk is what they signal: standing water, a dry trap letting in sewer gas, or a leak.
Do drain flies bite?
No. Drain flies cannot bite or sting and do not feed on blood. If you are getting bitten in the bathroom, look for other causes, such as fleas from a pet or mosquitoes that came in through a window.
How to get rid of drain flies, in brief
- Find the source drain with the tape test.
- Remove the stopper and scrub the pipe with a long, stiff drain brush; clean the overflow and the disposal splash guard too.
- Take apart and clean the P-trap if you can.
- Use a biological or enzyme drain gel or foam at night for a week or more to digest what the brush missed. Washington State recommends non-toxic biological drain cleaners and no insecticides.
- Empty drip pans and plant saucers; run water in unused drains weekly.
Full instructions are in how to get rid of drain flies.
What people who dealt with it say
Threads on r/pestcontrol from people with months-long infestations follow a clear pattern.
- What most people try first: vinegar traps, UV fly lights, boiling water, and bleach. Traps and lights catch a lot of adults (people post photos of glue boards covered after a few days), which feels like progress but does not touch the slime.
- Boiling water is hit or miss. A few people say pouring boiling water down every drain daily for days fixed it; others say it worked one year and not the next. Pest pros prefer a gel or foam made for biofilm, and plumbers point out that PVC drain pipe is rated for roughly 140 °F: an occasional kettle is fine if you run cold water at the same time, but boiling water left sitting in a plastic P-trap can soften joints and cause leaks.
- Spraying by exterminators often disappoints. Several renters describe a company spraying the bathroom twice with no change. One technician with 11 years in the trade said he never uses insecticides for drain flies; he has customers treat every drain daily with a biological drain product until flies stop, and checks houseplants too.
- Consistency wins. People who succeeded scrubbed drains and the disposal flap, used an enzyme product nightly, stopped leaving dirty dishes, dried out the dishwasher, and kept at it for weeks. One couple reported about two months to full clearance.
- Septic and sewer connections can be the source. One family had flies out of every drain in the house right after their septic tank was pumped; the fix had to happen at the tank and main line, not at the sinks.
- The source is often not a drain. Recurring finds: a basement floor drain no one had looked into in years, a fridge condensation pan, a dry trap in an unused bathroom, and in the hardest cases a leaking pipe in a wall void or a broken sewer line under the slab. One homeowner whose flies came out of a wall access panel ended up needing a camera inspection; in a similar case a camera in the wall showed a rusted pipe pouring water into the cavity.
- In apartments, the landlord and a plumber matter more than a pest company. Pros advise renters to ask for a plumber, not another spray, and to contact the local health department if the landlord refuses.
Why drain flies keep coming back
The usual reason is that the drain was rinsed, not scrubbed. Larvae live in a layer of slime that clings to pipe walls and the underside of stoppers and splash guards, and flushing hot water, bleach, or a quick squirt of drain cleaner leaves much of it in place. The second reason is a second source: the overflow hole, a basement floor drain, a drip pan, or a shower nobody uses. The third is a hidden leak. And remember that adults live up to about two weeks, so a few stragglers after a thorough cleaning are normal.
When to call a plumber or pro
If flies keep appearing after two weeks of cleaning every drain, the breeding site is likely hidden: a crack in a drain line under the floor, a leaking wax ring under the toilet, a leak in a wall, or wet debris in a crawl space. A plumber with a sewer or wall camera is often more useful than a pest company here. Expect roughly $150 to $350 for a camera inspection (approximate, varies by region).
FAQ
What are drain flies?
Are drain flies harmful?
Do drain flies bite?
What causes drain flies?
How long do drain flies live?
Why are there fruit flies in my bathroom?
What do baby drain flies look like?
Drain flies vs fruit flies: how can I tell?
Sources and real-world experience
Built from the expert sources and real discussions below — we read each one. How we research.
- University of Maryland Extension: Drain Flies
- Washington State University Pestsense: Moth flies (drain flies)
- University of Kentucky Entomology: Fruit Flies (ENTFACT-621)
- UC IPM: Fungus Gnats (Pest Notes)
- Reddit r/pestcontrol: Phorid Flies / Drain Flies / Moisture Flies / Fungus Gnats / Shore Flies
- Reddit r/pestcontrol: Drain Flies Ruining My Life
- Reddit r/pestcontrol: Unable to locate drain fly infestation source
- Reddit r/Plumbing: Is it okay to pour boiling water occasionally down PVC pipes?