Tips & Tricks

How to Get Rid of Drain Flies Fast: Proven Methods That Actually Work

Last summer, I walked into my bathroom and noticed tiny moth-like bugs hovering around my sink drain. I had no clue what they were. Turns out, I had a full-blown drain fly infestation — and they were coming right out of the gunk built up inside my pipes. If you’re dealing with the same thing, don’t worry. Getting rid of drain flies is totally doable, and you don’t need to call an exterminator.

Here’s what actually works:

  • Clean the drain thoroughly — remove the biofilm they breed in
  • Use boiling water, baking soda, or enzyme cleaners to kill eggs and larvae
  • Set traps to catch adult flies
  • Fix moisture problems so they don’t come back

🪲 Free Drain Fly Elimination Checklist (PDF)

Download our step-by-step checklist to wipe out drain flies in 48 hours — print it, follow it, done.

Download Free PDF →

⚡ Quick Summary

  • Drain flies breed in the slimy biofilm inside clogged or slow-moving drains
  • They’re harmless to humans but multiply fast — one drain can host hundreds
  • Boiling water, baking soda + vinegar, and enzyme drain cleaners kill larvae effectively
  • Sticky traps and apple cider vinegar traps catch adult flies quickly
  • Keeping drains clean and dry is the only real long-term fix

What Are Drain Flies, Exactly?

The Basic Facts

Drain flies go by a few names — moth flies, filter flies, sewer gnats, or Psychodidae if you want the scientific term. They’re tiny, fuzzy, and look a little like mini moths. They’re only about 1/8 inch long, with wings covered in tiny hairs that give them that fuzzy look.

They don’t bite. They don’t sting. But they are seriously annoying — and they reproduce fast. A female can lay 10–200 eggs at a time, and those eggs hatch in under 48 hours. So a small problem becomes a big one really quickly if you ignore it.

Are They Dangerous?

Drain flies aren’t dangerous in the way mosquitoes are. They don’t spread disease directly. But they can trigger allergies in some people, and their decomposing bodies can contaminate food prep areas if the infestation is near a kitchen sink. So it’s worth dealing with them fast.

macro close up of a drain fly with wings spread on white wall showing fuzzy body and antennae
A drain fly up close — notice the fuzzy, moth-like wings that set them apart from fruit flies.

Where Do Drain Flies Come From?

The Real Culprit: Biofilm

Drain flies don’t just appear out of nowhere. They breed in the thick, slimy layer of organic matter — called biofilm — that builds up inside drains over time. This gunk is made of hair, soap scum, grease, food particles, and bacteria. It’s warm, wet, and basically a five-star hotel for drain flies.

The most common breeding spots are bathroom sink drains, shower drains, kitchen sink drains, floor drains in basements or garages, and standing water in appliance drip trays. If your drain smells bad or drains slowly, there’s probably biofilm in there.

How Do They Get Inside?

They fly in through any gap they can find — floor drains, AC condensate lines, or even tiny cracks in sewer lines. If you have a rarely used bathroom or floor drain that sits dry for weeks, that stagnant water sitting in the P-trap becomes a breeding ground too.

cutaway view of drain pipe filled with thick white biofilm buildup where drain flies breed and lay eggs
This is what biofilm looks like inside a drain pipe — exactly where drain flies lay their eggs.

How to Identify a Drain Fly Infestation

The Tape Test (Works Every Time)

Not sure which drain is the source? Here’s a simple test. Place a piece of clear tape — sticky side down — over the drain opening at night. Leave it overnight. Check it in the morning. If you see tiny fuzzy bugs stuck to the tape, that’s your drain. This trick works because drain flies tend to fly upward out of the drain at night.

What They Look Like vs. Other Bugs

People sometimes confuse drain flies with fruit flies or fungus gnats. Here’s how to tell them apart:

BugSizeColorWhere FoundWings
Drain Fly1/8 inchGray/tan fuzzyNear drainsMoth-like, fuzzy
Fruit Fly1/8 inchTan, red eyesNear fruit/trashClear, smooth
Fungus Gnat1/16 inchBlack, thinNear soil/plantsClear, long legs

How to Get Rid of Drain Flies — Step by Step

Step 1: Clean the Drain Mechanically

This is the most important step. You’ve got to remove the biofilm physically. Use a stiff drain brush or pipe brush and scrub the inside of the drain pipe. Pull out any hair clumps or debris. Get a plumber’s snake if needed. This alone can wipe out most of the larvae habitat.

Don’t skip this step. No amount of boiling water or chemicals will work long-term if the biofilm is still sitting in there.

hand using flexible spiral drain cleaning brush to remove hair clog from bathroom sink drain to eliminate drain flies
A flexible drain brush like this is the single best tool for physically clearing out the biofilm drain flies live in.

Step 2: Kill the Larvae With Boiling Water or Enzyme Cleaner

After scrubbing, pour a kettle of boiling water slowly down the drain. Do this once a day for a week. Boiling water kills larvae on contact and helps loosen remaining biofilm.

Even better — use an enzyme-based drain cleaner (like Bio-Clean or Green Gobbler). These aren’t harsh chemicals. They use live bacterial enzymes to eat through organic buildup. They’re safe for pipes, septic systems, and pets. Pour it in, let it sit overnight, and rinse in the morning.

Step 3: Treat Adult Flies

While you’re killing the larvae, you need to deal with the adult flies already in your home. A few options: set sticky tape traps near the drain, use a light trap, or make a DIY vinegar trap (covered below). Killing adults won’t stop the infestation unless you also clear the breeding site, but it speeds up the process.

Natural Remedies That Actually Work

Baking Soda + Vinegar + Boiling Water

This is the most popular home remedy — and it does work, but mainly to loosen biofilm, not kill all the larvae. Here’s the method:

  1. Pour ½ cup of baking soda down the drain
  2. Follow with ½ cup of white vinegar
  3. Let it fizz for 10–15 minutes
  4. Flush with a full kettle of boiling water

Repeat every few days. This combo breaks down organic matter and deodorizes the drain at the same time. Pair it with a drain brush for best results.

Salt + Baking Soda Overnight Soak

Before bed, pour ½ cup salt, ½ cup baking soda, and 1 cup of white vinegar into the drain. Let it sit overnight without running water. Flush with boiling water in the morning. The salt acts as a mild abrasive and helps scrub the pipe walls while the baking soda and vinegar react.

Diluted Bleach (Use Carefully)

Pour ½ cup of bleach diluted in a gallon of water down the drain. This will kill most larvae. Don’t use full-strength bleach — it can damage your pipes and is bad for your septic system. Never mix bleach with vinegar or ammonia. Just use it on its own, rinse well, and don’t do it too often.

green enzyme cleaner being poured into shower drain to kill drain fly larvae and remove biofilm
Pouring an enzyme cleaner directly into the drain is one of the most effective ways to kill drain fly larvae at the source.

Best Drain Fly Traps That Actually Catch Them

Apple Cider Vinegar Trap (Free, Takes 5 Minutes)

Fill a small bowl or glass halfway with apple cider vinegar. Add 2–3 drops of dish soap. Cover the top with plastic wrap and poke a few small holes. The flies are attracted to the vinegar smell, crawl in through the holes, and drown because the soap breaks the surface tension. Place it right next to the drain. Replace every 2–3 days.

apple cider vinegar trap in white cup showing dozens of drain flies and fruit flies drowned at the surface
This is what a working apple cider vinegar trap looks like after just a couple of days — it really does catch them fast.

Sticky Tape and Yellow Sticky Traps

Yellow sticky traps hung near the drain area catch adult flies without any chemicals. You can get a pack from any hardware or garden store. They work on drain flies, fungus gnats, and fruit flies all at once. Cheap and effective.

Commercial Drain Gel + Trap Combo

For heavy infestations, combine an enzyme drain gel with a fly light trap. The gel eliminates the breeding source, while the UV light trap attracts and kills adults. This two-pronged approach clears an infestation within 1–2 weeks in most cases. If you’re dealing with other small flying insects like gnats, many of the same traps work just as well.

How to Prevent Drain Flies From Coming Back

Keep Drains Clean and Moving

Drain flies only thrive where there’s standing moisture and biofilm. If you keep your drains clean, they won’t have anywhere to breed. Pour boiling water down every drain once a week. Use a drain cover with fine mesh to catch hair and debris before it builds up. Run water in rarely used sinks and floor drains at least once a week so the P-trap doesn’t dry out.

hand in green glove using snake tool to clean shower drain and prevent drain fly infestations from biofilm buildup
Regular drain cleaning with a snake or brush every few weeks is the easiest way to stop drain flies before they start.

Fix Leaks and Reduce Humidity

Check under sinks for slow leaks or moisture. Any damp area — even a wet mat under the sink — can attract drain flies. Fix dripping pipes and make sure your bathroom has good ventilation. A bathroom fan running during and after showers makes a big difference. If you’re also battling other moisture-loving insects, reducing humidity in your home tackles several problems at once.

Monthly Enzyme Treatments

Once you’ve cleared the infestation, do a monthly enzyme drain treatment as maintenance. This keeps biofilm from building back up without using harsh chemicals. It’s the same concept as a routine car oil change — a little prevention saves you from a big problem later. You can read more about natural pest control methods that work with the same low-chemical philosophy.

When to Call a Professional Plumber or Exterminator

Signs You’re Dealing With More Than a Simple Infestation

If you’ve tried everything above for 2+ weeks and drain flies are still everywhere, there might be a bigger issue — a cracked sewer pipe, a broken septic line, or a hidden drain you can’t access. In these cases, a plumber can scope the pipe with a camera and find the source. An exterminator can help if the flies are coming from a commercial floor drain or basement sump pit that’s hard to treat yourself.

Also, if your infestation is in a rental property, your landlord is responsible for fixing the structural plumbing issues that cause it. You’re not alone in navigating pest issues in rental homes — there are rights and steps renters can take to get it resolved.

Quick Reference: Drain Fly Situation Guide

SituationBest SolutionTimeline
1–5 flies near bathroom sinkDrain brush + boiling water daily3–5 days
Many flies, slow drainEnzyme drain cleaner + sticky traps7–10 days
Flies in kitchen near garbageClean garbage disposal + baking soda/vinegar3–7 days
Flies in basement/floor drainEnzyme gel + pour water weekly to fill P-trap1–2 weeks
Flies keep returning after treatmentCall a plumber to inspect for broken pipesImmediate
Large infestation, multiple drainsProfessional pest treatment + drain replacement2–3 weeks

The Bottom Line on Drain Flies

Drain flies are gross but they’re fixable. The whole secret is going after the biofilm where they breed — not just spraying around the adults you can see. Scrub the drain, use an enzyme cleaner, set a few traps, and be consistent for 1–2 weeks. That’s really all it takes for most cases.

Once you’ve cleared them out, a quick monthly enzyme treatment keeps them gone for good. Clean drains, low humidity, and a little routine maintenance is all the protection you need. If you’ve dealt with other bugs getting inside your home, you already know that prevention beats treatment every single time.

Frequently Asked Questions About Drain Flies

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

Most drain fly infestations clear up within 1–2 weeks with consistent treatment. If you clean the drain thoroughly and use an enzyme cleaner daily, you can see results in as little as 3–5 days. Adult flies live about 2 weeks, so once you destroy the breeding site, the remaining adults die off naturally.

Why do I suddenly have drain flies?

Drain flies appear suddenly because their eggs hatch fast — within 32–48 hours. A slow or clogged drain builds up biofilm rapidly, especially in warm weather. You might not notice them until there’s already a large population. A drain that hasn’t been cleaned in months is the most common cause.

Can drain flies come from the toilet?

Yes, but it’s less common. Drain flies can breed in the area under the toilet rim or in a cracked wax seal where organic matter collects. If you notice flies near the toilet, try the tape test over the toilet opening overnight to confirm. Clean the area under the rim with a brush and disinfectant.

Does bleach kill drain flies?

Diluted bleach can kill drain fly larvae on contact, but it doesn’t eliminate the biofilm they breed in. It also dissipates quickly in water and won’t coat the pipe walls long enough to wipe out an entire colony. Enzyme cleaners are more effective for killing larvae and their food source together.

Are drain flies the same as fruit flies?

No. Drain flies (Psychodidae) and fruit flies (Drosophilidae) are completely different species. Drain flies are fuzzy, moth-like, and breed in drain biofilm. Fruit flies are smooth, have red eyes, and breed near rotting fruit or fermented liquids. The treatments are also different — drain cleaning fixes drain flies, while removing ripe fruit and cleaning trash cans fixes fruit flies.

Can drain flies infest my entire house?

Drain flies don’t infest a “house” the way ants or roaches do. They stay close to their breeding source — usually within a few feet of the drain. However, a large infestation in a basement or multiple drains can make it seem like they’re everywhere. Treat each drain separately using the tape test to find all active breeding sites.

What smell do drain flies hate?

Drain flies are repelled by strong scents like peppermint oil, eucalyptus, and cinnamon. You can add a few drops of peppermint essential oil to your drain cleaning mixture as a deterrent after treatment. However, these scents don’t eliminate an existing infestation — they just help discourage flies from returning once the drain is already clean.

Do drain flies go away on their own?

Technically yes — if the organic matter dries up or gets cleaned, drain flies will die off. But in a normal home with running water, the biofilm keeps replenishing itself, so they won’t leave on their own. You need to break the cycle by cleaning the drain and removing the breeding material.

Can drain flies make you sick?

Drain flies are generally not considered dangerous. They don’t bite or sting, and they’re not known to transmit diseases to humans directly. However, their shed body parts and waste can trigger asthma or allergy symptoms in sensitive individuals. In kitchen areas, a heavy infestation near food prep surfaces warrants quick action.

What is the fastest way to kill drain flies?

The fastest approach combines three things at once: physically scrub the drain with a pipe brush, pour an enzyme drain cleaner overnight to kill larvae, and set an apple cider vinegar trap to catch adult flies the same night. Most people see a major drop in fly numbers within 24–48 hours using this combined method.

Are drain flies worse in summer?

Yes. Drain flies thrive in warm, humid conditions. Their eggs hatch faster, larvae develop quicker, and adults are more active in summer. That’s why infestations seem to appear “overnight” in hot months. Keeping drains cleaner more frequently during summer months (every 1–2 weeks instead of monthly) helps prevent flare-ups.

Scroll to Top