The fastest way to get rid of fruit flies is to eliminate their food and breeding sources first, then trap the adults with apple cider vinegar and dish soap.
Whether fruit flies have taken over your kitchen counter or just the trash can, the fix follows the same order: cut off what they’re breeding in, then kill the adults that remain. Skip the source removal and the traps only catch a fraction of the swarm. Here’s the step-by-step approach that actually ends the cycle.
Why Fruit Flies Keep Coming Back
Fruit flies breed wherever fermenting organic material sits. That means overripe fruit on the counter, a damp sponge, a half-empty beer can, or the slime inside your sink drain.
Sprays fail because they only kill the adult flies you see. The eggs and larvae hide in the breeding material, so unless you remove it, a new batch hatches within days. The goal isn’t to kill flies one by one; it’s to make your kitchen unlivable for them.
The Step-Order That Ends an Infestation
Work through the cleanup first, then set the traps. Skipping ahead to trapping alone will leave the source breeding fresh flies all week.
Remove Every Breeding Source
- Wash produce the day you bring it home. Michigan State University Extension recommends washing fruit to remove eggs, then refrigerating or eating it promptly.
- Throw out any overripe, bruised, or rotting fruit and vegetables immediately. Check the produce drawer, the counter bowl, and that bag of onions you forgot about.
- Empty the kitchen trash and recycling every evening during an outbreak, per MSU guidance, and scrub the cans with soapy water to remove sticky residue.
- Wipe down counters, spills, and any dried juice, beer, wine, or syrup. Even a thin film of fermenting sugar attracts them.
- Clean the sink drain—NPR recommends pouring boiling water down the drain to sterilize the slime layer where eggs hatch, then blocking the drain overnight so any survivors can’t crawl back out.
Set a Simple Vinegar Trap
The vinegar pulls them in; the soap breaks the surface tension so they sink and drown instead of walking on top. Cover the container with plastic wrap, poke a few small holes, and set it where you see the most flies. A paper cone with a small opening works too—it lets them in and makes escape nearly impossible.
Fruit flies have a short lifespan, so if no new flies hatch, the swarm collapses on its own.
Common Mistakes That Stretch Out the Problem
Most people trap diligently but never find the real breeding site. The top culprits: ripe fruit left on the counter, an unchecked produce drawer, a garbage disposal that hasn’t been cleaned, and empty bottles or cans in recycling. Also, don’t rely on spray as your primary fix—it kills only hatched adults and leaves the eggs untouched.
For heavily infested drains, boiling water is the safer first move. Bleach often doesn’t sit in the drain long enough to break down the slime layer the flies are actually feeding on, so it may not solve that specific problem.
When Cleanup Isn’t Enough, Get Help
If the swarm persists after a full cleanup and a week of trapping, the source may be deeper—behind an appliance, inside a garbage disposal, or in a drain you haven’t treated. Fresh traps and repeated boiling-water drain treatments are the answer. If you’re ready to bring in stronger tools, our roundup of the best fruit fly killers covers the traps and sprays that actually hold up when the infestation is stubborn.
References & Sources
- Michigan State University Extension. “How to get rid of fruit flies in your home.” Covers washing produce, emptying trash daily, and cleaning drains.
- NPR. “How to get rid of fruit flies.” Details the boiling-water drain treatment and the brown paper bag ripening tip.
- McGill University Office for Science and Society. “How to beat a fruit fly infestation.” Explains why vinegar-and-soap traps work and why sprays fall short.
FAQs
Does apple cider vinegar work better than white vinegar for fruit fly traps?
Yes. Apple cider vinegar smells like fermenting fruit, which is exactly what fruit flies search for. White vinegar lacks that fruity scent and pulls in far fewer flies. If you don’t have apple cider vinegar on hand, a piece of overripe fruit or a splash of red wine in a jar works as a backup attractant.
How long does it take to get rid of a fruit fly infestation?
With thorough cleanup and nightly trap maintenance, a typical infestation clears in about a week. If you still see flies after two weeks, you’ve likely missed a breeding site like a drain or a spot behind the fridge.
Can fruit flies come from the drain?
Yes. Fruit flies breed in the moist, fermenting slime that builds up inside sink drains and garbage disposals. Pouring boiling water down the drain kills the eggs and larvae, and covering the drain overnight prevents any survivors from re-entering the kitchen. Repeat this for several days to fully clear the breeding site.
