Skip to content
Wagonsmith

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:

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.

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:

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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

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

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.