Drain Flies (Sewer Gnats): What They Mean About Your Plumbing and How to Get Rid of Them

Updated 2026-08-01 · Plumber Comparator editorial team

Flat illustration of a sewer lateral running from a house to the street with an inspection camera

Tiny, fuzzy, moth-like flies loitering on the bathroom wall, always near a sink or shower: drain flies (also called sewer gnats or moth flies). They don't bite, they fly badly, and they're easy to squash — which is why most people ignore them for weeks. But drain flies are never random. They breed in one specific thing: the gelatinous film of bacteria and organic gunk coating the inside of a drain that isn't moving enough water. Find the film, and you've found the flies — and sometimes, a plumbing problem that was going to surface anyway.

What they are and why they're in your house

The common indoor drain fly is Clogmia albipunctata, a moth fly whose larvae live in the slime layer inside drains, overflow passages, and traps. The adults barely travel — if you're seeing them in a bathroom, the breeding site is almost always within a few feet. And they're more than a nuisance in principle: because the adults walk on drain slime and then on your surfaces, they can carry what the slime carries. A study by Faulde and Spiesberger published in the Journal of Hospital Infection in 2013 documented moth flies acting as mechanical vectors of bacterial pathogens in German hospitals, which is exactly why hospitals treat drain fly outbreaks as a hygiene event rather than a curiosity (study on Google Scholar). A home isn't a hospital, but flies breeding in sewage film and landing on toothbrushes is a solvable problem worth solving.

Find the source drain

What actually works

When drain flies signal a real plumbing problem

A cloud of flies with no findable indoor source is worth taking seriously: flies breeding under the house point to a broken or leaking drain line, a compromised sewer lateral, or standing sewage in the crawl space — conditions that also produce gurgling drains and odor. That's no longer an insect question; it's a camera inspection question, and finding it early is dramatically cheaper than finding it after the soil under the bathroom washes out.

Scrub first — it fixes most cases for the cost of a $10 brush. If the flies outlast your effort, or the smell suggests something bigger than a slimy trap, request a free quote from a licensed plumber and get the actual source diagnosed rather than treated cosmetically.

Need a plumber you can trust?

Tell us about the job — a licensed California plumber gets back to you with a real quote.

Get free quotes

Keep reading

Get free plumbing quotes

Describe your job — a licensed local plumber calls you back. Free, no obligation.

By submitting, you agree to be contacted about your project by phone or email. We never sell your details for anything else. Privacy