Vinegar doesn’t kill fruit flies on contact, but it’s the single most effective bait for trapping and drowning them. Fruit flies are intensely attracted to the smell of fermenting fruit, and vinegar mimics that scent perfectly. The actual killing happens when you combine vinegar with a drop of dish soap, which breaks the surface tension of the liquid so flies sink and drown instead of landing safely on top.
How Vinegar Traps Actually Work
The vinegar itself is a lure, not a poison. Fruit flies detect the acetic acid in vinegar the same way they detect ripening and rotting fruit, and they fly toward it instinctively. On its own, though, vinegar won’t do much. Fruit flies can land on the surface of plain vinegar and fly away because the liquid’s surface tension supports their tiny bodies.
That’s where dish soap changes everything. A single drop of liquid dish soap breaks the surface tension of the vinegar. When a fruit fly lands on the treated liquid, it immediately sinks and drowns rather than resting on top. Without the soap, you’ll watch flies touch down on your vinegar and leave unharmed.
Which Vinegar Works Best
Apple cider vinegar is the gold standard for fruit fly traps. Its fermented apple base produces a sweet, fruity scent that fruit flies find nearly irresistible. White distilled vinegar works too, but it lacks the fruity aroma that makes apple cider vinegar so effective, so you’ll catch fewer flies with it. Red wine vinegar and balsamic vinegar can also attract fruit flies, though apple cider vinegar is the most widely recommended and tested option.
If you don’t have apple cider vinegar on hand, a leftover glass of red wine works on the same principle. Fruit flies are drawn to anything that smells like fermentation.
Setting Up a Vinegar Trap
Pour about a quarter cup of apple cider vinegar into a small bowl, jar, or cup. Add two or three drops of liquid dish soap and give it a gentle stir. Place the trap near your fruit bowl, compost bin, or wherever you’re seeing the most flies. That’s genuinely all there is to it.
You can increase effectiveness by narrowing the opening. Stretch plastic wrap over the top of a jar, secure it with a rubber band, and poke several small holes with a toothpick. Flies crawl in through the holes, reach the vinegar, and can’t easily find their way back out. Even without the plastic wrap, the dish soap method alone catches plenty of flies since they drown on contact with the liquid surface.
Replace the vinegar every two to three days, or sooner if it gets cloudy with dead flies. A fresh trap smells stronger and attracts more effectively.
How Long It Takes to Clear an Infestation
You can noticeably reduce fruit fly numbers within two to three days of setting out traps. But fully eliminating an infestation takes longer because of the fruit fly life cycle. A fruit fly goes from egg to adult in just 8 to 15 days depending on temperature, meaning eggs laid before you set your trap will keep hatching into new adults for up to two weeks.
Plan on keeping traps out for at least two full weeks, refreshing the vinegar regularly. If you’re still seeing flies after that, the traps are catching adults but the flies are breeding faster than you’re trapping them. That means there’s a breeding source you haven’t addressed.
Why Traps Alone Might Not Be Enough
Vinegar traps kill adult fruit flies, but they do nothing about eggs and larvae. Fruit flies lay their eggs in any small accumulation of damp organic material, and they need surprisingly little of it. A thin film of food residue in a hidden spot is enough to sustain a breeding population indefinitely.
The most common breeding sites aren’t always obvious. Check for forgotten fruit (even a single banana going soft in a bag), the bottom of recycling bins where juice from cans and bottles pools, drip trays under your refrigerator, residue behind countertop appliances, and the underside of garbage can lids. Standard cleaning sometimes just adds moisture to these spots, making them more attractive to egg-laying flies rather than less.
Kitchen drains can also harbor larvae in the gelatinous buildup that coats pipe walls. Pouring boiling water or bleach down the drain won’t reliably remove this film. An enzyme-based drain cleaner designed to break down organic buildup is more effective at eliminating larvae living inside drain pipes. For a persistent problem, a stiff drain brush physically removes the sludge that regular liquid cleaners leave behind.
Make Sure You’re Dealing With Fruit Flies
Small flying insects in your kitchen aren’t always fruit flies. Fungus gnats look similar but breed in damp potting soil, not food. They’re darker, slightly leggier, and tend to hover around houseplants rather than fruit. Drain flies are fuzzy and moth-like, usually appearing near bathroom or kitchen drains. A vinegar trap will catch some of these other insects, but it won’t solve the problem if you’re targeting the wrong breeding source.
Fruit flies are tan or brownish with distinctive red eyes, roughly an eighth of an inch long. If the bugs you’re seeing match that description and they’re congregating around produce, trash cans, or drinks left on the counter, vinegar traps are the right tool. Pair them with a thorough cleanup of any damp organic material in your kitchen, and the combination of trapping adults and eliminating breeding sites will end the cycle within a couple of weeks.