Why Fruit Flies Keep Coming Back (and the Drain Step That Stops Them)

Every tip here is checked against the sources listed at the bottom.

A kitchen counter with a small glass jar trap (plastic wrap with tiny holes on top) beside a bowl of fruit in the fridge door, and a narrow brush resting by the sink drain

The short answer

What works Set a cider vinegar trap with a few drops of dish soap to catch the grown flies. Then clear where they breed: ripe fruit, the trash can bottom, unrinsed recycling, sour rags and sometimes a drain. Scrub a breeding drain with a stiff brush and flush it with hot water.

How long
Fruit flies go from egg to adult in about a week, so eggs laid before you clean up can still turn into flies over the next week. Keep the trap out that long. An enzyme drain product can take several weeks of repeat doses.
What it costs
At Target.com on November 7, 2026, a 16 oz bottle of Good & Gather apple cider vinegar was $1.29 and a narrow bottle brush was $3.99. The enzyme drain product below was $12.34, if you need one.
What you need
Apple cider vinegar, dish soap, a small jar or bowl, plastic wrap, clear packing tape, gloves and a stiff, narrow brush. Maybe an enzyme drain product.
Jump to the steps
From your cabinet
  • Dish soap

Before you start: is it really a fruit fly?

Texas A&M AgriLife Extension says fruit flies are about 1/8 inch long and usually have reddish eyes. If the little flies at your bathroom sink are fuzzy, grayish and shaped like tiny moths, those are drain flies, which breed in the film that grows inside drains. The drain steps below go after that same film.

Step by step

  1. Set a trap where you see them

    Pour a few ounces of apple cider vinegar (about 1/4 cup) into a small jar or bowl, and add a few drops of dish soap. Cover the top with plastic wrap and poke a few small holes in it with the tip of a pen. Set it wherever the flies gather.

    Texas A&M says traps alone rarely control flies, but they catch adults while you clean and help you pinpoint where they come from. Keep the holes small, because Cornell says a trap opening should be under a quarter inch.

    What it looks like: tiny flies floating in the vinegar. The soap breaks the surface of the liquid, so flies that land sink instead of standing on it. Cornell says to check the trap daily.

  2. Put away the ripe fruit

    Eat ripe fruit, put it in the fridge, or throw it out. Cut away any cracked or bruised parts and toss them. Then look for produce stored out of sight, because the University of Kentucky says a single rotting potato or onion can raise a lot of flies.

    Overripe fruit goes in an outside trash can, not the kitchen one.

  3. Wash the trash can and rinse the recycling

    Pull the bag out of the kitchen trash can and look at the bottom. Texas A&M says the wet bottom of a can, where a liner leaked, is a common breeding spot. Wash it with soap and water and let it dry before you put a new bag in.

    Rinse bottles and cans before they go in the recycling, and empty kitchen compost often.

  1. Dry out the rags, sponges and mop

    Wring out dish rags and sponges, let them dry all the way, and swap them out often. Hang the mop up off the floor to dry. Cornell says fruit flies can breed in mop heads and dish rags soaked with food or drink, and a sour, damp sponge is the same kind of spot.

  2. Test your drains with tape

    Put a strip of clear packing tape across each drain you suspect, without covering the whole opening. Texas A&M says to leave some air space, because flies may not come up through a fully sealed drain. Check the tape the next morning.

    What it looks like: if tiny flies are stuck to the tape, you have found a breeding drain.

  3. Scrub that drain and flush it

    Put on gloves. Take out the drain stopper or strainer if it lifts out. Push a stiff, narrow brush down the drain and scrub the inside of the pipe as far as it reaches, which breaks up the film where the flies breed. Then flush the drain with hot water.

  4. Follow up with an enzyme drain product for a few weeks

    If you cannot reach the film with a brush, use a drain product made to break down that buildup. Use it exactly as its label says. Texas A&M says these products usually need repeat treatments over several weeks, so one dose is not the end of it.

    If your home has a septic tank, make sure the label says the product works with septic systems.

When it will not work, and what to do instead

Sometimes the flies keep coming even after a good cleanup. Here is what that usually means.

  • There is still a breeding spot somewhere. The University of Wisconsin says you often have to be a good detective. Look for food swept under appliances and check the fridge’s drain pan. Texas A&M adds loose lids on vinegar, wine, beer or cider, and recycling bins with unrinsed bottles.
  • You poured bleach or boiling water down the drain. That makes sense to try, since it seems like the strongest thing in the house. But UC Integrated Pest Management says neither one removes the film inside the pipe, so it helps for a short time at best.
  • They came home with the groceries. Cornell says fruit flies often arrive as eggs or larvae on store-bought produce. Store produce the right way and keep up the trap for a week.
  • They are fuzzy little moth-shaped flies at the bathroom sink. Those are drain flies. Skip the fruit hunt and go straight to Steps 5 to 7.

Be safe

  • One drain product at a time. New Jersey’s health department says bleach and drain cleaner can make toxic chlorine gas, and different drain cleaners can react with each other. So never follow one drain product with bleach or another drain product, enzyme ones included. See the full never-mix chart.
  • Keep the trap away from bleach. Vinegar is an acid, and New Jersey’s health department says bleach and vinegar give off harmful vapors, including chlorine. Never use the trap jar for anything else.
  • Gloves on for the drain. Wear gloves to scrub drains and to handle any drain product, and read the product’s label first.
  • Septic tank? Texas A&M says to make sure any drain product you use is compatible with your septic system.
  • Kids and pets. Set the trap where kids and pets cannot drink it or knock it over, and keep drain products up high.
  • Poison Help line, 1-800-222-1222. It is free and confidential, 24 hours a day, 7 days a week.

What to buy

We may earn a small fee from these links. It never changes the picks or your price.

  • Good & Gather Apple Cider Vinegar, 16 oz

    The bait for the trap. $1.29 at Target.com on 11/7/2026.

  • A narrow bottle brush with firm bristles

    It fits down a sink drain to scrub the film. up&up Bristled Bottle Brush was $3.99 at Target.com on 11/7/2026.

  • An enzyme drain product, if a drain is the source

    Drano FlowGuard Enzymatic Build-Up Remover, 30 oz, was $12.34 (regular $12.99) at Target.com on 11/7/2026. Read its label for the dose, the wait time and septic use before you buy.

Why it works

Fruit flies are not really after your fruit. Their young feed on the yeast that grows on food as it ferments (slowly breaks down and turns sour). Cornell says the larvae need that yeast. So anything sweet and going sour, from a soft banana to the slime in a drain, can be a nursery.

The numbers are why they seem to come out of nowhere. One female can lay about 500 eggs, and the University of Kentucky says the whole trip from egg to adult can take about a week.

That is why a trap alone never finishes the job. It is a little like mopping under a leaky faucet without turning off the water. The University of Wisconsin says the only way to stop them completely is to find and get rid of where they breed.

A word from Denise

You catch a jar full, and three days later there they are again. You are not doing anything wrong. They are just hatching somewhere you have not looked yet.

Questions people ask

Do fruit flies live in drains?

They can. The University of Kentucky lists drains and garbage disposals among their breeding sites. Tape a strip across part of the drain overnight; if flies are stuck to it in the morning, that drain needs a scrub.

Does pouring bleach down the drain get rid of fruit flies?

No. UC Integrated Pest Management says bleach and boiling water do not remove the film where they breed, and Texas A&M says bleach is largely ineffective there. Scrub the drain with a stiff brush instead.

What is the best bait for a fruit fly trap?

Texas A&M lists apple cider vinegar, wine, beer and bananas among good baits. Add a few drops of dish soap so the flies sink, and replace the bait every few days.

More help like this

Next tipHow to get rid of ants in the kitchen
Denise laughing in her kitchen

About Denise

I’m Denise, and I explain home fixes the way a friend would at your kitchen table. Every tip I share is written from the sources listed on its page and checked against them before it goes up.

How my tips are checked

Sources

Sources opened and checked on November 7, 2026.

  1. Texas A&M AgriLife Extension, ENTO-050 Indoor Flies and Their Control (M. Merchant) (PDF: about 1/8 inch, reddish eyes, breeding sites including leaky trash can liners, potatoes and onions, loose lids, unrinsed recycling, damp mops and rags; larvae feed on yeasts; tape test; stiff brush then hot water; bleach largely ineffective; repeat drain treatments over several weeks; septic; bait traps, soap, small entry ports; traps help pinpoint the source; drain flies fuzzy and moth-like) agrilifeextension.tamu.edu
  2. University of Kentucky Entomology, ENTFACT-621 Fruit Flies (about 500 eggs, egg to adult in about a week, drains and disposals, a single rotting potato or onion, recycling, a few ounces of cider vinegar, eat, discard or refrigerate ripe produce, cut away damaged parts) entomology.mgcafe.uky.edu
  3. University of Wisconsin-Madison Extension, Fruit Flies in the Home (8 to 10 day life cycle, good detective, food swept under appliances, refrigerator drain pans, the only way to stop them is to find and eliminate breeding sites) hort.extension.wisc.edu
  4. Cornell CALS Integrated Pest Management, Fruit Flies (as many as 500 eggs, larvae need yeast, mop heads and dish rags, arrive on produce, funnel opening under a quarter inch, check daily and replace bait every few days) cals.cornell.edu
  5. Washington State University PestSense, fruit flies (up to 500 eggs, a week from egg to adult, drains and disposals) pestsense.cahnrs.wsu.edu
  6. UC Statewide Integrated Pest Management Program, Pest Notes: Drain Flies (boiling water and bleach do not remove the film, short-term control at best; enzymatic cleaner may help prevent buildup) ipm.ucanr.edu
  7. New Jersey Department of Health, Hazard Alert: Mixing bleach with other cleaning products can be deadly (bleach plus drain cleaner can create toxic chlorine gas; bleach plus vinegar gives harmful vapors including chlorine; different brands of drain cleaners react) (PDF) nj.gov
  8. HRSA Poison Help, Calling Poison Help (1-800-222-1222; free and confidential help 24 hours a day, 7 days a week) poisonhelp.hrsa.gov
  9. Target.com search results (prices, checked 11/7/2026) target.com target.com target.com
Fact log: how each claim on this page was checked (30 claims)

Every claim on this page, the source behind it and what the check found. Kept open for anyone who wants to look under the hood.

ClaimSourceWhat the check found
Larvae feed on yeast from fermenting foodSources 1, 3, 4 (rechecked November 7)Matches the source.
About 500 eggs per femaleSources 2, 4, 5 (2 and 4 rechecked November 7)Matches the source.
Egg to adult in about a week (UK, WSU); 8 to 10 days (UW)Sources 2, 3, 5Matches the source. Hatch time left out on purpose
Eggs already laid can still become flies over about a week, so keep the trap out that longArithmetic from; Cornell (Source 4) says to keep checking and replacing baitMatches the source. As reasoning from sourced facts
Cider vinegar plus a few drops of soap; soap breaks surface tension so landing flies drownSource 1 (rechecked November 7)Matches the source.
A few ounces of cider vinegarSource 2 (rechecked November 7)Matches the source. “About 1/4 cup” is a plain conversion (2 oz)
Plastic wrap with small pen holesSource 1 (small entry ports make escape difficult)Matches the source. As a form of the same trap
Opening under a quarter inch; check daily; replace bait every few daysSources 4 and 1 (rechecked November 7)Matches the source.
Traps help pinpoint the source; bait traps alone rarely provide adequate controlSource 1 (rechecked November 7)Matches the source.
Eat, discard or refrigerate ripe produce; cut away damaged partsSource 2 (rechecked November 7)Matches the source.
A single rotting potato or onion can breed many fliesSource 2 (rechecked November 7)Matches the source.
Overripe fruit in the outside trashSource 1 (take out the trash, remove overripe fruit)Matches the source.
Wet bottoms of trash cans where liners leaked; check under liners, soap and waterSource 1 (rechecked November 7)Matches the source.
Recycling with unrinsed containersSources 1 and 2 (rechecked November 7)Matches the source.
Mop heads and dish rags soaked with food or drink; hang mops off the floorSources 4 and 1 (rechecked November 7)Matches the source.
Sour, damp sponge is the same kind of spotReasoning from Sources 1 and 4 (damp rags and dish rags soaked with food or drink); no source names spongesStated as the same kind of spot, not as a source finding
Tape across part of the drain, not fully covered; flies stuck = sourceSource 1 (rechecked November 7)Matches the source.
Clean pipes with a stiff brush, then flush with hot waterSource 1Matches the source. The page says hot water, not boiling, to stay on the safe side
Drain products usually need repeat applications over several weeksSource 1 (rechecked November 7)Matches the source.
Septic: make sure the product is compatibleSource 1 (rechecked November 7)Matches the source.
Bleach and boiling water do not remove the film; short-term at best; bleach largely ineffectiveSources 6 and 1 (rechecked November 7)Matches the source.
Fruit flies often arrive on produce as eggs or larvaeSource 4 (rechecked November 7)Matches the source.
Good detective; food swept under appliances; refrigerator drain pans; loose lids on vinegar, wine, beer or ciderSources 3 and 1 (rechecked November 7)Matches the source.
Drain flies are fuzzy, moth-like, grayish; breed in drain filmsSource 1 (rechecked November 7)Matches the source.
Fruit fly about 1/8 inch, usually reddish eyesSource 1 (rechecked November 7)Matches the source.
Bleach plus drain cleaner can create toxic chlorine gas; different drain cleaners react; bleach plus vinegar gives harmful vapors including chlorineSource 7 (rechecked November 7)Matches the source (official).
Do not chase an enzyme product with bleach or another drain productSource 7 (bleach plus drain cleaner can make toxic gas; different drain cleaners react); follow the product labelMatches the source.
Prices: Good & Gather ACV 16 oz $1.29; up&up Bristled Bottle Brush $3.99; Drano FlowGuard Enzymatic 30 oz $12.34 (reg $12.99)Source 9, opened November 7, 2026Matches the source (dated, Target.com; Walmart links carry no price).
Poison Help line, 1-800-222-1222; free and confidential, 24 hours a day, 7 days a weekSource 8Matches the source (HRSA Calling Poison Help page; one wording site-wide, November 7).
Dropped: banana-rubbed plastic wrap; “hatch in a week”; “biggest source is drains”; “enzyme cleaner has bacteria that eat the gunk”; Drano FlowGuard dose, wait time and septic claims (drano.com blocked our reader; the page says only to follow the label); and, at the 11/7 check, the visual cues no source gives and a “tan” colorNo source we opened backs themLeft out on purpose