Skip to content
The Bug Identifier

Drain flies

Drain Flies: Why They Keep Coming Back and How to Stop Them

You bleached the drain, waited a week, and the little fuzzy flies came right back. That is not bad luck. It happens because the treatment never reached the place they actually breed.

Is it a drain fly?

Drain flies are easy to name once you know the two giveaways. First, they look fuzzy rather than sleek, because the body and the wings are both covered in fine hairs. Second, they sit still. A drain fly will rest on a tile or a mirror for a long stretch, then make one short clumsy flight of a few feet and settle again.

Drain flies resting on a pale bathroom wall, showing the fuzzy grey body and the broad wings held roof-like over the back
The wings are held flat and roof-like over the back, which is why people read them as tiny moths. Note how broad they are relative to the body.

Identification checklist

Check each clue below to narrow down what you saw.

  • Size: 2 to 5 mm

    Roughly 1/16 to 1/5 inch. Small enough that most people describe them as specks until they look closely.

  • Fuzzy grey, tan or near-black body

    Dense hairs on both body and wings. Under a phone camera they look velvety, and they leave a smudge when squashed.

  • Wings held roof-like over the back

    Broad wings, wider than you expect, folded flat like a tiny moth at rest. Fruit flies hold theirs tight and narrow.

  • Weak, hesitating flight

    A few feet at a time, then it lands. Drain flies do not hover in the middle of a room the way fruit flies do.

  • Long, beaded antennae

    Thirteen segments, each with a whorl of hairs. Visible in a close-up photo and unusual among small household flies.

  • Found near a drain, not near food

    Bathroom sink, shower, floor drain, basement. Flies gathering on fruit or a bin are a different insect.

The family is Psychodidae, which holds more than 2,600 species worldwide. In homes you are usually looking at Clogmia albipunctata, the larger spotted-wing species, or at Psychoda species, which are smaller and plainer. People also call them moth flies, filter flies, sink flies, sewer flies and sewer gnats, so those names all describe the same insect.

Why drain flies keep coming back

This is the part almost every guide skips, and it explains the whole problem. Inside your drainpipe, above the standing water, there is a layer of biofilm. It is a soft rubbery mat of bacteria bound together with hair, grease and soap scum, and it clings to the pipe wall. In a neglected drain it can reach roughly an eighth of an inch thick.

That film is not a side effect of the infestation. It is the infestation. Female drain flies lay their eggs directly into it, in masses of anywhere from 10 to 200. The larvae then live inside the mat and eat the bacteria, algae and fungi growing in it. They never need to leave the pipe.

So think about what happens when you pour a liquid down that pipe. Bleach, vinegar and boiling water are all thin, and they run down the middle and out. They barely touch a rubbery layer stuck to the wall above the waterline. As a result the adults in the room die, the nursery survives, and a fresh batch emerges a few days later. That is the three-day return so many people report.

Ohio State University Extension puts it bluntly: bleach does not seem to rid pipes of the scum, and drain fly larvae are surprisingly resistant to bleach. Until the film comes off the wall, nothing else matters.

How to get rid of drain flies

The method below is mechanical first and chemical second, which is the order that actually works. Set aside three weeks rather than one weekend, because that is what breaking the life cycle takes.

  1. Find the drain that is breeding them

    Do not treat every drain. Instead, tape a strip of clear packing tape sticky side down across each suspect drain before bed, leaving a small gap for air. Check each one in the morning. The drain with flies stuck to the tape is the breeding site, and often only one drain is responsible. Repeat two or three nights, because emergence varies from night to night.

  2. Scrub the pipe wall, including under the rim

    Run a stiff long-handled drain brush as far down the pipe as it reaches, then work it against the walls rather than just pushing it up and down. Pay attention to the underside of the drain lip, which is where the film is thickest and where most people miss it. A drain snake helps in deeper lines. This step does the actual work, so do not rush it.

  3. Follow with an enzyme drain cleaner

    Enzyme and bacterial drain products digest the organic scum rather than flushing past it, which is why Ohio State University Extension recommends an enzyme-action product for this specific job. Pour it in last thing at night so it sits in the pipe for hours without water running through. Follow the label dose, since more product does not work faster.

  4. Repeat weekly for at least three weeks

    Eggs and larvae already in the pipe keep hatching after the first clean, and adults live about two weeks. Arkansas Cooperative Extension recommends keeping treatment going for at least three weeks to break the life cycle. Mark the dates somewhere, because the single most common reason drain flies return is stopping after one clean.

  5. Fix what made the drain slimy

    Film builds fastest in drains that run slowly or sit unused. So run water in guest bathrooms and floor drains weekly, clear slow drains properly instead of living with them, and repair leaks that keep a cabinet damp. That way the breeding site does not simply rebuild over the next few months.

One detail is worth repeating, since it saves most of the labor. Run the tape test before you clean anything. Homes often have six or eight drains and only one breeding site, so testing first means you scrub one pipe properly instead of eight pipes badly.

What does not work, and what is unsafe

A lot of popular advice targets the wrong stage of the insect. None of the following is a cure, though some of it has a limited role.

Common drain fly remedies and what they actually achieve
RemedyWhat it really doesVerdict
Bleach down the drainRuns past the film on the pipe wall. Extension sources report larvae are notably resistant to it.Does not solve it
Baking soda and vinegarFizzes, smells clean, and loosens very little of a rubbery bacterial mat.Does not solve it
Boiling waterKills some surface larvae and softens grease. The film re-forms because it is still there.Helpful add-on only
Drano or caustic cleanerDissolves grease clogs. It rarely strips the full inside surface where larvae live.Wrong tool
Aerosol bug sprayKills the adults flying in the room and nothing in the pipe.Tidying up only
Apple cider vinegar bowl trapTraps a few adults. It is a monitoring tool, and it attracts fruit flies better than drain flies.Monitoring only
Stiff drain brushPhysically removes the biofilm the larvae live and feed in.This is the fix
Enzyme drain cleanerDigests the remaining organic scum after scrubbing, and slows its return.Best follow-up

Are drain flies harmful?

For nearly everyone, no. Drain flies are a nuisance pest rather than a health threat, and the short answer to the common worries is reassuring.

Two small caveats are worth stating honestly. Because the larvae develop in drains and sewage lines, an adult landing on a worktop can transfer microbes mechanically, so it is still sensible to wipe surfaces. And in large, long-running infestations, inhaled fragments and dust from dead flies have been linked to bronchial asthma. Both risks scale with how long the problem is left, which is another reason to deal with the drain.

Can drain flies lay eggs in a person?

No, and the claim deserves a clear answer because it circulates widely. A 2022 review in the Journal of Medical Entomology went through all 21 published cases that blamed drain flies for myiasis, which means fly larvae developing in living tissue. The authors concluded the evidence does not hold up. Larvae were almost never recovered from an actual lesion, imaging and clinical confirmation were usually missing, and the insect feeds on decaying matter rather than living tissue. Contamination of urine or stool samples in a bathroom explains the reports better than infection does.

Baby drain flies, larvae and drain worms

People search for baby drain flies expecting a miniature version of the adult. In fact the young stage looks nothing like one, which is why it often gets reported as a separate pest called a drain worm.

Larvae are pale grey, legless and thin, roughly 4 to 10 mm long, with a darker head and tail end and faint bands across the back. They live buried in the pipe film. Cleverly, they breathe through a tube that reaches up to the surface, so they survive in shallow, dirty, low-oxygen water that would kill most insects. Finding them confirms the breeding drain immediately.

Drain fly life cycle, and why three weeks of treatment is the minimum
StageHow long it lastsWhere it happens
EggAbout 32 to 48 hours at 70°FLaid in masses of 10 to 200 directly in the pipe film
LarvaAbout 9 to 15 days, through four instarsInside the biofilm, feeding on bacteria, algae and fungi
PupaRoughly 20 to 40 hoursIn the same film, close to the surface
AdultAbout two weeksResting on walls near the drain, returning to lay eggs

Egg to adult can finish in as little as one to three weeks depending on temperature, and warm pipes speed it up. Note what that timing means in practice. Clean once and you remove the current generation, yet eggs laid in the days before keep hatching afterwards. Arkansas Cooperative Extension therefore recommends treating for at least three weeks to break the cycle.

What causes drain flies, and where they come from

Drain flies come from inside your own plumbing far more often than from outdoors. They need two things together: an organic film to breed in, and an opening into the room. Anywhere those overlap, a population can establish quietly over a few weeks.

The film builds fastest where water moves slowly or rarely. That is why the usual sources are so predictable:

Seasonality plays a part too. Searches for drain flies roughly quadruple between February and July every year, because warmth speeds the life cycle up and holiday homes and spare bathrooms sit unused over summer. If they turned up suddenly in June, nothing unusual has happened to your house.

When it is not the drain

Sometimes every drain tests clean and the flies persist. In that case the breeding site is another patch of wet organic matter, and these get overlooked constantly:

Track the source the same way as before. Watch where the flies rest and cluster, because they are weak fliers and rarely travel far from where they emerged. A wall covered in them is usually within a few feet of the breeding site.

Drain flies, fruit flies and fungus gnats

Three small flies turn up indoors constantly, and they need completely different treatments. Getting the identification right first saves weeks of work on the wrong drain.

Telling the three common small household flies apart
FeatureDrain flyFruit flyFungus gnat
LookFuzzy, grey, moth-likeSmooth, tan, often red eyesSlender, dark, long legs
Wings at restBroad, flat, roof-likeNarrow, held over bodyNarrow, clear
MovementSits still, short clumsy hopsHovers actively near foodDrifts weakly around plants
Where you see itBathroom walls, near drainsKitchen, fruit bowl, binsHouseplants, potting soil
Breeds inBiofilm inside pipesFermenting fruit and residueDamp potting compost
The fixScrub the drain filmRemove the fermenting sourceLet the soil dry out

A fourth insect fools people regularly as well. Phorid flies also breed in drains and in sewage under a cracked pipe, yet they run across surfaces in quick jerky bursts instead of flying. If the flies are humped at the shoulder and scuttle rather than rest, a phorid infestation can point to a broken sewer line, so it is worth investigating properly.

Still not sure what you are looking at? Our guide to small black bugs in the house works through the usual suspects room by room, and the free insect identifier gives an answer from a photo. For anything else indoors, start at what bug is this.

Pest control disclaimer. Photo-based identification can help, but it is not always perfect. For dangerous spiders, large infestations, or anything you are unsure about, contact a licensed pest control professional.

Frequently asked questions

What are drain flies?
Drain flies are small, fuzzy, moth-like flies in the family Psychodidae. They are also called moth flies, filter flies, sink flies and sewer gnats. Adults are about 2 to 5 mm long, grey or tan, and covered in fine hairs. They breed in the slimy bacterial film that lines the inside of drainpipes, which is why they seem to appear from nowhere.
How do I get rid of drain flies permanently?
Scrub the breeding drain, then keep it clean. Find which drain they are using with an overnight tape test, scrub the pipe wall with a stiff drain brush including under the rim, and follow with an enzyme drain cleaner. Repeat weekly for at least three weeks, because that is how long it takes to break the life cycle. Chemicals alone do not work, since they do not remove the film the larvae live in.
Does bleach kill drain flies?
Not reliably. Ohio State University Extension states plainly that bleach does not rid pipes of the scum, and that drain fly larvae are surprisingly resistant to it. Bleach is a thin liquid, so it sheets straight down the pipe and past the film on the walls. It may kill a few adults, yet the larvae and eggs inside the film survive and the flies return within days.
Will Drano kill drain flies?
Drano and similar caustic cleaners clear grease clogs, but they are not a drain fly treatment. They can loosen some buildup, though they rarely strip the film from the full inside surface of the pipe where larvae live. Never follow a caustic cleaner with bleach, because the combination can release chlorine gas.
Are drain flies harmful?
No, they are a nuisance rather than a health threat. Drain flies do not bite, they do not sting, and they are not established carriers of human disease. Two minor risks exist: they can move microbes mechanically from a drain onto a surface, and in heavy long-term infestations the dust from dead flies has been linked to bronchial asthma.
Do drain flies bite?
No. Drain flies have no biting mouthparts, and the adults feed on nectar and water or do not feed at all. If something in your bathroom is biting you, it is another insect. Bites in a damp room more often point to fleas, mosquitoes or bed bugs.
What causes drain flies?
A layer of organic slime inside a pipe, plus a way in. That film of bacteria, hair, soap scum and grease is the larval food source, and it builds up in any drain that runs slowly or sits unused. Guest bathrooms, floor drains, basement sinks and rarely used showers are the usual culprits.
Where do drain flies come from?
Almost always from inside your own plumbing rather than from outdoors. Females lay eggs directly in the film above the waterline of a drain, and the whole life cycle happens in the pipe. They also breed in septic lines, wet compost, clogged gutters, the tray under a potted plant and the condensate pan of an air conditioner.
What are baby drain flies?
They are the larvae, and people also call them drain worms. Each one is pale grey, legless, thin and about 4 to 10 mm long, with a darker head and tail end. Larvae live inside the pipe film and breathe through a tube that reaches the surface, so they survive in water with very little oxygen. Seeing them means the breeding site is that drain.
How long do drain flies live?
Adults live about two weeks. The full cycle runs faster than most people expect: eggs hatch in roughly 32 to 48 hours at 70°F, larvae feed for about 9 to 15 days, and the pupal stage takes only 20 to 40 hours. Egg to adult can finish in one to three weeks, so a population rebuilds quickly if the film stays.
How long does it take to get rid of drain flies?
Plan on three weeks of repeated cleaning. Adults die off within about two weeks, but eggs and larvae already in the film keep hatching after the first clean. Arkansas Cooperative Extension recommends treating drains for at least three weeks to break the life cycle. Most people stop after one weekend, which is exactly why the flies come back.
Can drain flies lay eggs in humans?
No. A 2022 review in the Journal of Medical Entomology examined all 21 published cases attributing myiasis to drain flies and found none of them held up. Larvae were almost never recovered from an actual lesion, and the insect feeds on decaying matter rather than living tissue. Contamination during sample collection explains the reports.
Why do drain flies keep coming back?
Because the treatment killed adults and left the nursery intact. Drain flies breed in biofilm, which is a rubbery mat of bacteria roughly an eighth of an inch thick that clings to the pipe wall above the standing water. Liquids run past it. Until that layer is physically scrubbed off, a fresh generation emerges every week or two.
What kills drain flies instantly?
A household aerosol knocks down the adults flying around the room, and that is all it does. The eggs and larvae in the pipe are untouched, so the room refills in a few days. Treat the spray as tidying up rather than as control, and put the real effort into scrubbing the drain.
Can I pour insecticide down the drain?
No, and this matters. Ohio State University Extension warns that pouring insecticide into a drain can cause major damage to sewer and sanitation systems, and Arkansas Cooperative Extension notes that no insecticide products are registered for use in drains or sewer systems at all. Mechanical cleaning is the approved route.
Are the flies in my bathroom drain flies or fruit flies?
Look at the shape and the way it moves. A drain fly is fuzzy and grey, holds its wings flat over its back like a tiny moth, and sits still on the wall for long periods. A fruit fly is smooth and tan with red eyes, hovers actively, and gathers near fruit or bins rather than near the drain.
Do drain flies go away on their own?
Rarely, unless the conditions change by themselves. If a guest bathroom starts getting daily use again, the flushing water may scour enough film to end the problem. In most homes the film stays, so the flies persist until the drain is cleaned.
What if the flies are not coming from a drain?
Check the other wet spots. A failed toilet floor seal is a common hidden source, and so are the condensate pan of an air conditioner, a clogged roof gutter, the saucer under a houseplant, a rain barrel and a damp patch under a leaking pipe. If every drain tests clean, one of these is the breeding site.

Related guides

Sources