How to Get Rid of Fruit Flies in Your Drain?

LEAVE A COMMENT

Your email address will not be published. Required fields are marked *

fruit flies hovering around food scraps in a kitchen sink drain.

Table of Contents

Fruit flies that keep coming back after you clean the kitchen are often breeding just below the drain opening.

Knowing how to get rid of fruit flies in your drain comes down to scrubbing out the film they breed in and checking each drain overnight until no new flies hatch.

Ours came back two days after I poured half a box of baking soda and some vinegar down the kitchen sink. The fizz never got past the first inch of pipe, and that isn’t where they were living.

Fruit Fly, Drain Fly or Fungus Gnat?

Fly Looks like Breeds in
Fruit fly Tan, red eyes, about 1/8 inch Ripe fruit and drain film
Drain fly Fuzzy, with moth-like wings Slime inside drainpipes
Fungus gnat Tiny dark mosquito Damp potting soil and rotting plant matter

Not every tiny fly near the sink is a fruit fly, and the three you’re most likely to see breed in different places.

Fruit flies and drain flies both breed in drain slime, so the same scrub-and-check routine clears either one.

Fruit flies, or Drosophila melanogaster, are drawn to the sugars and yeasts in ripe or fermenting fruit and vegetables.

They don’t bite, but they can carry bacteria onto food, so they’re worth clearing out fast in a kitchen. That’s the same warning UNH Cooperative Extension gives.

Why Fruit Flies Breed in Your Drain

Kitchen, bathroom, and even utility room drains can all breed fruit flies.

  • Moisture: The film inside a drain stays wet, and fruit flies need only a moist film of fermenting material to develop.
  • Organic Matter: Bits of food, grease, and soap residue build up into a slimy film on the pipe wall, often called biofilm.
  • Hiding Spots: That film collects just below the drain opening, on the stopper, inside the overflow hole, in the trap under the sink, and around the garbage disposal.
  • Breeding Ground: Fruit flies lay their eggs in the film, and the larvae feed on it. Until it’s scrubbed out, new flies keep hatching, no matter how many adults you catch.

How to Tell Which Drain Is Breeding Flies

Clear plastic bag taped flat over a sink drain with tiny flies trapped inside

  1. Before bed, tape a clear plastic food-storage bag over the drain opening.
  2. Leave it in place overnight.
  3. Check it in the morning. If there are flies in the bag, that drain is breeding them.
  4. Test every drain you suspect, not just the kitchen sink. Bathroom sinks, tubs, showers, floor drains, and basement drains can all hold the same film.
  5. Keep a bag on each problem drain every night while you treat it. It stops newly hatched flies from getting into the room, and it shows whether the cleaning is working.

The drain is clear once the bag stays empty night after night.

When I taped a bag over our kitchen sink the first night, there were six or seven tiny flies buzzing inside it by morning. By the end of the second week, ours stayed completely empty, even after I left it on a few extra nights just to be sure.

How to Get Rid of Fruit Flies in a Drain, Step by Step

Work through these steps on every drain that caught flies in the bag test, and repeat them until its bag stays empty.

  1. Run the hottest water from your tap, not boiling water, down the drain for about a minute.
  2. Add a squirt of dish soap and let it sit for 10–15 minutes.
  3. Pull out the stopper and strainer and scrub them.
  4. Work a stiff drain brush down the pipe and around its walls. Do the overflow hole too.
  5. Scrub under the disposal’s rubber splash guard, then grind a handful of ice with cool water running.
  6. Rinse with hot tap water and tape a clear bag over the drain until morning.

Why a Stiff Brush Works Best

Scrub every time, not only when the drain looks clogged. A stiff brush pulls out the slime where eggs and larvae live, and that’s the cleaning method Virginia Tech Extension rates as most effective.

Mine is a stiff nylon drain brush with a long, flexible handle. The first pull came up coated in what looked like wet gray lint, and it smelled like a damp basement.

It reached about a foot down before the handle hit the bend, so I cleaned the trap separately.

Dishwasher Filter and Air Gap

While you’re at the sink, clean the dishwasher filter so trapped food doesn’t sit in it.

If your sink has an air gap, the small cap behind the faucet, lift the cap off and wipe out the gunk inside.

Do This Tonight

  • Tape a clear bag over every drain you suspect.
  • Move ripe fruit into the fridge and take out the trash.
  • Give the worst drain its first full scrub.
  • Set a vinegar trap next to the sink.

How Long to Keep Going

One cleaning won’t do it. Fruit flies can go from egg to adult in one to two weeks, and drain flies usually take a week or two as well. A cool house slows both down, and any eggs left behind will hatch later.

When Scrub routine Overnight bag check
Nights 1–14 Every night Every night
Weeks 3–4 Once a week Every night
After week 4 Once a week Stop once the bag stays empty

How to Clean the Sink Trap

If the sink drains slowly, clean the P-trap, the curved pipe under the sink where thick buildup collects.

  1. Set a bucket under the trap.
  2. Loosen the slip nut at each end by hand, or with slip-joint pliers if one won’t budge.
  3. Lower the trap into the bucket and let it drain. Don’t run that sink while the trap is off.
  4. Scrub the inside with your drain brush and rinse it clean.
  5. Refit the trap, hand-tighten the nuts, and run the faucet to check for drips.

I took ours apart myself. Both slip nuts turned by hand, and the trap came off holding about a cup of gray water.

Inside was a band of grease and food scraps packed against the walls like wet cardboard, matted with hair and what looked like old coffee grounds. I scraped most of it out with a wooden skewer, then ran the brush through both ends until the water came out clear.

Putting it back took two minutes. That trap held the heaviest buildup of anything I cleaned, and it’s the first place I’d look if the flies ever come back.

Home Remedies That Don’t Work (and Why)

a person pouring baking soda and water into a kitchen sink drain, while another image shows a lemon and a brush by the drain.

Pour-in remedies can freshen a drain, but none of them removes the film the flies breed in. That’s the same verdict Alabama Cooperative Extension gives on pouring baking soda, vinegar, bleach or boiling water down a drain.

Method Works? Why
Scrubbing with a stiff brush Yes Removes the film
Overnight bag check Yes Shows the source and progress
Vinegar trap Partly Catches adults only
Hot water and dish soap Partly Loosens grease only
Vinegar and baking soda No Leaves the film behind
Bleach No Weak, and can harm pipes
Boiling water No Short-term, risky for pipes
Bug spray No Never pour it down a drain

Will Pouring Vinegar Down the Drain Kill Fruit Flies?

No, and baking soda won’t either. Together they fizz and loosen a little grime near the opening, but never reach the film in the pipe.

Vinegar doesn’t keep fruit flies away either. Its smell draws them in, which is why it works as trap bait.

Does Bleach Kill Fruit Flies in a Drain?

Not reliably. Bleach doesn’t reach all the larvae in the film, and undiluted bleach may damage pipes.

Never mix bleach with ammonia, vinegar or drain cleaner, even inside a drain. Each mix can give off toxic gas, and insecticide never belongs in a drain.

Does Boiling Water Down the Drain Kill Fruit Flies?

Only the ones it reaches. Hot water can kill larvae on the surface of the slime, but not for long.

Boiling water may also damage plastic PVC drainpipe, which its makers rate for no more than 140°F. Hot tap water is the safer choice.

Will Dawn Dish Soap Kill Drain Flies?

Not on its own. Dish soap like Dawn helps cut the grease that coats the pipe.

But it doesn’t remove the film where the eggs sit, so new flies keep hatching. Use it to loosen grease before you scrub, not instead of scrubbing.

Does Lemon Juice Keep Fruit Flies Away?

No. Lemon juice doesn’t repel fruit flies, and pouring it down the drain adds the fruit sugar they feed on.

Mixed with a little salt, though, it makes a gentle scrub for the drain rim and stopper. It cleans well and leaves a fresh scent.

Set Traps to Catch Fruit Flies

a homemade fruit fly trap using jars with funnels and liquid bait to catch flies.

A trap won’t fix the drain. It catches the adults already flying around and lets you see if their numbers are dropping.

Fill a small bowl with apple cider vinegar, then add a couple of drops of dish soap. The vinegar attracts the fruit flies, and the dish soap breaks the surface tension, causing them to drown.

Cover the bowl with plastic wrap and poke a few small holes in it. Set it next to the drain and check it every morning.

A red wine trap or a paper cone set in a jar of fruit juice works the same way, so use whatever you have on hand.

How to Keep Fruit Flies From Coming Back

If the bag stays empty but flies are still around, they’re breeding somewhere other than the drain. Check the drip pan under the fridge, the air conditioner’s condensate pan, and saucers under potted plants.

Look around the toilet base and tank for leaks too. A pipe leaking behind a wall or under the floor can hold wet debris that drain flies breed in. In an apartment, that’s one for your building manager, so tell them if your own drains test clean but the flies keep coming.

If they hover around your plants rather than the sink, they may be fungus gnats, not fruit flies.

A drain you rarely use can be the culprit too. Run water through guest bathrooms and basement drains once a week so the trap doesn’t dry out, and fix any leaking pipes or faucets.

Scrape plates into the trash, not the sink. Add the drain to your kitchen deep-cleaning checklist so the weekly scrub doesn’t slip.

Clean and Clear the Drains Regularly

a woman in a kitchen discarding food scraps into a trash bin while using a colander to strain.

Between weekly scrubs, an enzyme or foaming drain cleaner can help keep the film from building back up. Use one only on a drain you’ve already scrubbed, since heavy sludge still needs the brush.

Foam may work best on the pipe walls. Follow the label for how much to use and how long to leave it, then flush with hot tap water.

On a septic system, skip harsh chemical drain openers. They can kill the organisms that treat your waste, so choose a drain product labeled safe for septic systems.

When to Call a Plumber or Pest Pro

If your bag keeps catching flies after four weeks of scrubbing every drain, something bigger is going on, and a plumber is the call worth making.

The one time we paid a plumber to clear a slow kitchen drain, he ran a camera down the line. He found a grease shelf about four feet in that no brush was ever going to reach.

So how do plumbers get rid of drain flies? They clean the line itself. A plumber can snake or jet the pipe to clear buildup you can’t reach and look for a leak or broken pipe that keeps feeding the flies.

Floor and basement drains are harder to reach with a brush. Lift the grate and scrub as far down as the brush goes. If the bag over a floor drain keeps catching flies, the breeding spot may be out of reach, and that’s a job for the plumber too.

A pest control pro is the better call when you can’t tell which fly you have, or you can’t find where they’re breeding.

Frequently Asked Questions

Where Else Can Fruit Flies Breed in the Kitchen?

Besides drains, they breed in empty bottles and cans, trash containers, damp mops and cleaning rags. Rinse recyclables and let mops dry fully.

Do Fruit Flies Lay Eggs in the Fruit Bowl?

Yes. Fruit flies breed on overripe and rotting fruits and vegetables. Eat ripe produce quickly or move it to the fridge, and toss anything spoiling.

Why Do Drain Flies Sit on the Walls During the Day?

Drain flies rest on walls during the day, close to where they breed, and get more active at night. Seeing them there points to a nearby drain.

Why Do Drain Flies Show Up More in Summer?

Their life cycle changes with temperature and humidity. That’s why warm, humid months can turn a few flies into a real problem much faster than winter.

The Bottom Line

Scrubbing every drain and checking it overnight is what ends the cycle.

Since I added a quick weekly brush scrub to my cleaning routine, our drains have stayed completely fly-free for over a year. That’s even through the warm summer months, when they always used to show up.

So tape a bag over your drains tonight. By morning, you’ll know exactly which one to scrub first.

LEAVE A COMMENT

Your email address will not be published. Required fields are marked *