Skip to main content
§ — From Articles

What Drain Flies Breed In and How to Shut Them Down for Good.

Drain flies breed in the film coating the inside of a pipe, which is why pouring things down the drain never works. Here is what does.

August 27, 2026·6 min read·Otesse

TL;DR

Drain flies breed in the gelatinous film that coats the inside of drain pipes, not in the water. That is why pouring boiling water, bleach, or drain cleaner down almost never solves it -- the liquid runs straight past the film without touching it. Mechanical scrubbing with a long brush is what actually works.

What you are looking at

Drain flies, also called moth flies, are small, dark, and fuzzy, with wings held roof-like over the body. They are poor flyers and tend to rest motionless on a wall near a sink, tub, or floor drain rather than hovering.

That resting behavior is the giveaway. Fruit flies hover around fruit bowls and bins and fly in an active, hesitant way; drain flies sit still on tile and make short, weak hops when disturbed. The distinction matters because the sources are completely different, as covered in where fruit flies come from in a clean kitchen.

Source: published entomology guidance on nuisance flies

The film in the pipe is the nursery

Every drain that carries organic material develops a layer on the pipe wall -- a soft, gelatinous coating of soap residue, hair, skin cells, food particles, and the microorganisms that live on all of it.

Drain fly larvae live in that layer. They feed on it, they are protected inside it, and they need only a very thin coating to complete their cycle. A drain that runs perfectly well can still be lined with more than enough for a population.

This is the reason the usual remedies fail. Water poured down a drain runs through the center of the pipe and exits, contacting the walls for a fraction of a second. Bleach behaves the same way. The larvae are in a protected layer that a rinse never really touches.

Where to look

  • Rarely used sinks and showers. A guest bathroom is the classic case, because the trap dries out and the drain sits undisturbed.
  • Basement and garage floor drains. Almost always the source when flies appear in a basement.
  • The sink overflow hole. The small opening near the rim has its own passage, and it collects film that never gets cleaned.
  • Shower and tub drains, under the strainer.
  • Kitchen drains and the garbage disposal, including the underside of the splash guard.
  • Air conditioning condensate drains and pans, sump pits, and standing water in a crawl space.

Test one drain at a time. Tape clear packing tape sticky side down over the opening overnight, leaving a small gap for air, and check the underside in the morning. That tells you which drain rather than making you guess.

A dry trap is worth checking too. Every drain has a water-filled trap that blocks sewer gas; when a fixture goes unused for weeks the water evaporates and the passage opens. Pouring a cup of water down every unused drain monthly closes it again.

Cleaning the drain properly

The tool matters more than the product.

  1. Remove the strainer or stopper and clear the visible hair and debris.
  2. Work a long stiff bottle brush or drain brush down into the pipe and scrub the walls in a twisting motion. This is the step that removes the film, and there is no substitute for it.
  3. Do the overflow opening with a small brush or a pipe cleaner, since it is a separate passage.
  4. Flush with hot tap water after scrubbing to carry away what you loosened.
  5. Scrub the underside of a disposal splash guard, which holds a surprising amount.
  6. Follow with an enzyme drain maintainer if you want to keep the film down between cleanings. Enzymes digest organic material gradually rather than blasting it, which is the right tool for maintenance, as compared in enzyme drain maintainer vs caustic drain cleaner.
  7. Repeat weekly for a few weeks. The cycle from egg to adult takes roughly two to three weeks, so one cleaning catches only part of the population.

Two cautions. Boiling water can crack porcelain and stress older plastic pipe joints, so hot tap water is the safer choice. And never combine drain products -- mixing different drain cleaners, or adding bleach to another product, can react violently in a confined space, which is the subject of why drain cleaners must never be combined.

The gentler maintenance routines are set out in how to maintain drains without harsh chemicals.

Why the usual advice does not work

Bleach down the drain. Runs through in seconds, contacts the film barely at all, and does not reach larvae inside it. It also should never meet another product in the pipe.

Boiling water. Same contact problem, plus a real risk to porcelain and pipe joints.

Baking soda and vinegar. Produces satisfying foam and very little cleaning. It does not remove the film.

Chemical drain cleaner. Formulated to dissolve clogs, not to strip a thin biofilm from the pipe wall. Caustic products also damage some pipe materials over time.

Covering the drain. Blocks adults leaving but leaves the breeding site intact, so it returns the moment you uncover it.

When to call a plumber

If flies keep appearing after several weeks of proper mechanical cleaning on every drain in the room, the breeding site is somewhere you cannot reach.

That usually means a cracked drain line under a slab or behind a wall, a broken sewer connection, or a failed seal at a toilet flange. Sewage leaking into a wall cavity or under a floor is both a plumbing repair and a contamination issue, and it does not resolve itself.

Plumbing and pest control are separate licensed trades from cleaning. A cleaning routine controls the film in accessible drains, which resolves most drain fly problems, and it does not repair a broken pipe.

FAQ

What causes drain flies?

The gelatinous film coating the inside of drain pipes. It is made of soap residue, hair, skin cells, and food particles, and drain fly larvae live and feed inside it. Any drain carrying organic material can build enough of that layer to support a population, even one that drains perfectly well.

Will bleach kill drain flies?

Not reliably. Bleach poured down a drain runs through the center of the pipe in seconds and barely contacts the film on the walls where the larvae live. It also must never be combined with another drain product. Mechanical scrubbing with a long brush works far better.

How do I find which drain the flies are coming from?

Tape clear packing tape sticky side down across each drain opening overnight, leaving a small gap for air, and check the underside in the morning. Do one drain at a time over several nights so you know which one is producing rather than guessing.

How long does it take to get rid of drain flies?

Usually two to three weeks of repeated cleaning, since that is roughly how long the cycle from egg to adult takes. One scrubbing removes much of the film but not every larva, so weekly cleaning for a few weeks is what actually clears a population.

Why do drain flies appear in a bathroom that is rarely used?

Because the water in the trap evaporates when a fixture goes unused, opening the passage from the drain line, and the undisturbed film in the pipe builds up. Pouring a cup of water down every unused drain each month keeps the trap sealed.

Are drain flies harmful?

They are a nuisance rather than a biting or stinging insect, though large numbers indicate organic buildup or, occasionally, a broken drain line. Any specific health question belongs with a doctor. Persistent flies after thorough cleaning are worth investigating as a plumbing problem.

This sits inside the broader whole-home work covered by house cleaning services.

Drains are the part of a house that never look dirty and frequently are. If you want them and the rest of the kitchen and bathrooms handled properly on a regular schedule, get a quote and we will talk through what makes sense.

§ — About the author

Otesse.

Otesse Team

Otesse provides professional home services across Oregon's I-5 corridor, from cleaning and junk removal to exterior care, lawn care, and moving labor.

Related articles

3 ITEMS
§ — Ready to book

Get the price.
Book the crew.

Fixed price, locked at booking. No surprise fees. Same crews, same standards across the Willamette Valley.