Blocked Drains & Drainage, Toilets, Leaks & General Plumbing

How to Get Rid of Drain Flies (and Stop Them Coming Back)

You spot a tiny moth-like insect hovering near the bathroom sink. Then another. Then several more. Before long, you’re sharing your home with a colony of drain flies, and wondering how you got here.

The good news is that drain flies, also known as sewer flies, are more of a nuisance than a genuine health concern. The better news is that getting rid of drain flies is absolutely doable with a few targeted steps. In this guide, we’ll walk you through how to identify them, what’s attracting them, and the most effective ways to eliminate drain flies and keep them gone.

If DIY fixes don’t cut it, we’ll also cover when it’s time to call in a professional plumber, because persistent drain flies often signal an underlying plumbing issue worth addressing properly.

What Are Drain Flies?

Drain flies (scientifically known as Psychodidae) go by a few names: moth flies, sewer flies, filter flies, and sink flies. Whatever you call them, they’re small, fuzzy insects that measure roughly 1.5 to 5mm in length. Up close, they look a little like tiny moths, with rounded hairy wings and short antennae.

They’re weak fliers and tend to hop around rather than fly in straight lines. You’ll most often spot them resting on walls near drains, hovering around bathroom sinks, or lurking near shower drains after you’ve turned off the lights.

How to Tell Drain Flies Apart From Fruit Flies

an image of a drain fly

It’s easy to mix these two up, but there are clear differences. Fruit flies are sleek and tend to swarm around overripe fruit, rubbish bins, and fermented liquids. Drain flies, on the other hand, have that distinctive fuzzy, moth-like appearance and stick close to drains, pipes, and damp areas, rather than food sources.

If you’re seeing small flies near your kitchen drain rather than your fruit bowl, drain flies are the more likely culprit.

The Life Cycle of Drain Flies

While drain flies are generally harmless, their presence can be a nuisance and may indicate underlying plumbing or sanitation issues that need attention. Some individuals may experience allergic reactions to the fine hairs of these flies, which can cause skin irritation or respiratory issues. However, it’s important to note that drain flies do not bite and are not known to transmit diseases.

Understanding the drain fly life cycle helps you break it. These insects go through four stages: egg, larva, pupa, and adult.

A single female drain fly can lay anywhere from 30 to 200 eggs at a time, depositing them into the moist organic film inside drains. Eggs hatch in around 48 hours under warm conditions. The larval stage lasts roughly 9 to 15 days, during which larvae feed on the organic sludge coating your pipe walls.

From egg to adult, the whole cycle typically spans 21 to 27 days. That’s why a small infestation can grow surprisingly fast if the breeding ground isn’t cleared.

How Do You Know If You Have Drain Flies?

Drain flies australia

Drain flies thrive in environments with standing water and organic matter, which serve as ideal breeding grounds. Clogged drains or sewer lines create stagnant water, attracting these pests. Unused toilets and leaking pipes can also become breeding grounds for drain flies due to the accumulation of standing water.

These insects are commonly spotted in areas with accumulated organic matter, such as food scraps, oils, fats, and other debris in kitchen sinks. The moist environments rich in organic materials provide ample food for drain fly larvae to thrive. The presence of drain flies can signal unsanitary plumbing conditions that need addressing to prevent the infestation from worsening.

The Tape Test: How to Confirm a Drain Fly Infestation

a sink without any drain flies

Here’s a simple way to verify the source. Place a piece of clear adhesive tape, sticky side down, over your drain opening before bed. Leave it overnight. If drain flies are breeding in that drain, some will try to emerge and get caught on the tape.

Repeat this over a few nights to narrow down which drains are the main source. This helps you focus your cleaning efforts rather than treating every drain in the house.

Other signs to look for include:

A musty or slightly organic smell coming from a drain

Tiny moth-like flies resting on bathroom or kitchen walls near drains

Small white larvae visible at the opening of a drain or under the drain cover

Flies appearing in greater numbers at night or when the lights go off

What Causes a Drain Fly Infestation?

Drain flies don’t appear out of nowhere. Their presence is almost always linked to a specific condition in your plumbing or home environment.

Organic Buildup Inside Drains

The main driver. Over time, a thick biofilm of grease, hair, soap residue, and food scraps builds up on the inside walls of your drainpipes. This film is warm, moist, and nutrient-rich, exactly what drain fly larvae need to survive and grow.

This is particularly common in kitchen sinks, bathroom drains, and floor drains that see a lot of daily use. If you’ve been noticing common plumbing problems in your Sydney home, organic buildup is often part of the picture.

Seldom-Used Drains

Guest bathrooms, spare toilet drains, and floor drains that rarely get used are a surprisingly common source of drain fly problems. Without regular water flow flushing them through, these drains develop stagnant water in the trap, which quickly becomes a prime breeding spot.

If you have a bathroom you don’t use daily, make a habit of running water through the sink and shower drains at least once a week.

Leaking Pipes and Standing Water

Drain flies are drawn to moisture. A slow leak under the sink or a cracked pipe creating a small pool of standing water gives them exactly the damp environment they need. If you’ve checked your drains thoroughly and still can’t find the source, a hidden leak might be the culprit.Getting on top of blocked drains early can prevent the kind of organic accumulation that attracts these pests in the first place.

How to Get Rid of Drain Flies: Step-by-Step

Kitchen sink attracting drain flies

Getting rid of drain flies is about targeting their breeding ground, not just the flies themselves. Adult flies will keep coming back as long as there’s a suitable environment waiting for them in your pipes.

Step 1: Locate the Source

Use the tape test described earlier to identify which drain or drains are harbouring the infestation. Check all drains in the house, including floor drains, laundry tubs, and any seldom-used bathrooms. Once you know where the problem is concentrated, you can focus your treatment there.

Step 2: Scrub the Drain

This is the most important step. Use a metal pipe brush to scrub the inside walls of the affected drain, removing as much of the organic biofilm as possible. Also remove and clean the drain cover, as larvae often hide beneath it.

This physical scrubbing is what breaks the breeding cycle. Boiling water and cleaning products alone won’t remove a thick biofilm without the mechanical action of a brush.

Step 3: Flush With Boiling Water

After scrubbing, pour boiling water down the drain to flush out loosened debris and kill any remaining larvae. Repeat this once or twice daily for about a week to ensure all larvae are eliminated before they reach adulthood.

Step 4: Use a Baking Soda and Vinegar Treatment

For a natural follow-up treatment, this method works well. You can read our full guide on 

using baking soda and vinegar for drain cleaning for more detail, but the basic approach is:

  • Pour half a cup of baking soda down the drain
  • Follow immediately with half a cup of white vinegar
  • Let the mixture fizz and sit for 10 to 15 minutes
  • Flush through with boiling water

Repeat every few days until the infestation clears. The reaction helps break down residual organic matter and discourages new egg-laying.

Step 5: Set Up an Apple Cider Vinegar Trap

While you’re treating the drains, this simple trap helps catch adult flies that are already in the room:

  • Mix equal parts water, apple cider vinegar, and a small amount of sugar in a small bowl or jar
  • Add a few drops of dish soap (this breaks the surface tension so flies can’t escape)
  • Place the bowl near the affected drain and leave it overnight

The sweet vinegar scent attracts adult drain flies, and the dish soap prevents them from flying off once they land. Replace the mixture every day or two until you stop catching flies.

Step 6: Try an Enzyme-Based Drain Cleaner

If natural remedies alone aren’t shifting the biofilm, an enzyme-based or microbial drain cleaner is worth trying before reaching for harsh chemicals. These products use natural enzymes to break down organic matter in your pipes without damaging your plumbing.

You can find them at most hardware stores or supermarkets. Follow the product instructions carefully, as some require the drain to be left undisturbed overnight for the enzymes to work effectively.

Step 7: Use a Commercial Drain Cleaner if Needed

For stubborn organic buildup that isn’t responding to natural methods, a commercial drain cleaner like Drano can help clear the remaining residue. Use sparingly and follow instructions closely, as overuse can affect older pipework.

If you’d prefer to avoid harsh chemicals, a professional drain clean is a safer and often more thorough alternative.

Drain Fly Treatment Methods: Quick Comparison

MethodBest ForTime to WorkNotes
Pipe brush + scrubRemoving biofilm (core step)ImmediateMost important step β€” do this first
Boiling water flushKilling larvae, flushing debris1 week of daily useSimple and free
Baking soda + vinegarOngoing maintenanceA few daysEco-friendly and pipe-safe
Apple cider vinegar trapCatching adult fliesOvernightUse alongside drain treatment
Enzyme-based cleanerPersistent biofilmOvernight to 48 hrsGentler alternative to chemicals
Commercial drain cleanerStubborn blockagesHoursUse sparingly
Professional jet blastSevere or recurring infestationsSame dayMost thorough solution

How to Stop Drain Flies From Coming Back

Once you’ve cleared the infestation, a few simple habits will stop drain flies from taking up residence again.

Clean Your Drains Regularly

A quick monthly clean with a pipe brush and a baking soda and vinegar flush goes a long way. You don’t need to scrub aggressively every time, but keeping on top of organic buildup prevents the conditions drain flies need to breed.

If you’d like to know more about how to unblock a sink drain, our step-by-step guide walks you through the process.

Run Water Through Unused Drains

For any drains that don’t see regular use, run water through them at least once a week. This refreshes the water in the drain trap and prevents the stagnant conditions that drain flies love.

Fix Leaks Promptly

Even a small drip under the sink can create enough standing moisture to attract drain flies. Check under sinks and around pipe connections periodically, and get leaks sorted as soon as you spot them.

Keep Organic Matter Out of Drains

Food scraps, oil, and grease are the main fuel for drain fly breeding grounds. Use sink strainers to catch food particles, avoid pouring cooking fat down the drain, and rinse dishes before loading the dishwasher. Less organic matter in your pipes means less reason for drain flies to settle in.

When Should You Call a Plumber About Drain Flies?

If you’ve tried the steps above consistently for two to three weeks and the drain flies keep coming back, it’s worth calling in a professional. Persistent infestations often mean there’s an underlying issue that DIY methods can’t fully address.

Common culprits include:

  • A partial blockage in your sewer line creating a warm, slow-moving environment ideal for breeding
  • A cracked pipe or joint that’s allowing moisture to accumulate in a hidden area
  • A build-up so deep in your pipes that a brush and cleaner can’t reach it

A professional plumber can use a CCTV drain camera to inspect your pipes and identify exactly what’s going on. From there, a high-pressure jet blast can clear even the most stubborn biofilm and organic buildup, removing the breeding ground entirely rather than just managing symptoms.

Rapid Service Plumbing offers expert drain cleaning and plumbing inspection services across Sydney. If drain flies have become a recurring problem in your home, our team can diagnose the root cause and apply a lasting fix.

Key Takeaways

  • Drain flies breed in the organic biofilm inside your drains, not just on the surface β€” scrubbing with a pipe brush is the most important step
  • The tape test is a simple way to confirm which drains are harbouring the infestation
  • A combination of scrubbing, boiling water, and baking soda and vinegar treatments is usually effective for mild to moderate infestations
  • Seldom-used drains are a common and overlooked source β€” run water through them weekly
  • If drain flies keep returning after 2 to 3 weeks of treatment, a professional drain inspection may reveal a deeper plumbing issue

Frequently Asked Questions

How do I permanently get rid of drain flies?

The key is removing their breeding ground, not just the adult flies. Scrub the inside of affected drains with a pipe brush to clear the biofilm, flush with boiling water daily for a week, and follow up with regular maintenance flushes. If they keep returning, a plumber can jet blast your pipes to clear deep-seated buildup.

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

Most infestations clear within one to two weeks of consistent treatment. The full life cycle spans roughly 21 to 27 days, so you’ll want to treat for at least that long to ensure all eggs and larvae are eliminated before they mature into adults.

Are drain flies harmful to humans?

Drain flies don’t bite and are not known to transmit diseases. Some people may experience mild skin irritation from contact with the fine hairs on their bodies. The main concern with drain flies is what they signal: an organic buildup or plumbing issue in your pipes worth addressing.

What’s the difference between drain flies and fruit flies?

Drain flies have a distinctive fuzzy, moth-like appearance with rounded wings and hairy bodies. Fruit flies are sleeker and tend to gather near food, overripe produce, and rubbish bins. If the flies are concentrated near drains rather than food sources, they’re most likely drain flies.

Can drain flies come from outside?

They can, but household infestations are almost always sourced from within the home. Drain flies rarely travel far and prefer to stay close to their breeding sites. If you’re seeing them consistently indoors, start investigating your drains, floor drains, and any seldom-used bathroom fixtures.

Latest Guides

View more Guides