How to Trap Fruit Flies with Apple Cider Vinegar

A simple apple cider vinegar trap can start catching fruit flies within hours. All you need is a small bowl or jar, apple cider vinegar, dish soap, and optionally some plastic wrap. The setup takes about two minutes, but you’ll need to keep traps active for at least two weeks to break the breeding cycle.

Why Apple Cider Vinegar Works

Fruit flies are drawn to the chemical byproducts of fermentation, which is exactly what apple cider vinegar is. The acetic acid, along with fruity esters produced during fermentation, mimics the smell of overripe fruit. Interestingly, fruit flies are only mildly attracted to acetic acid at low concentrations (around 1%) and actively avoid it at higher concentrations. What makes apple cider vinegar effective is the full cocktail of fermentation compounds, not just the acid alone. Other organic acids found in fruit, like citric acid and glycolic acid, are strongly attractive to flies at lower levels, and apple cider vinegar contains traces of these alongside its signature smell.

The dish soap is the critical ingredient that turns the attractant into a trap. Fruit flies are light enough to land on liquid surfaces without breaking through, thanks to surface tension. A few drops of dish soap eliminate that surface tension, so flies that land on the vinegar sink and drown instead of flying away.

The Basic Bowl Trap

Pour about half an inch of apple cider vinegar into a small bowl, ramekin, or jar. Add three to four drops of liquid dish soap and give it a gentle stir. That’s it. Set it near where you’ve seen the most flies and leave it overnight. You should see results by morning.

This open-bowl method is the simplest approach and works well for moderate infestations. The vinegar stays effective for about three to four days before the scent fades and trapped flies accumulate. Dump it out, rinse the bowl, and refill with fresh vinegar when you stop seeing new catches or the liquid looks cloudy.

The Funnel Trap for Heavy Infestations

If you’re dealing with a serious population, a funnel trap catches more flies by preventing escape. Pour apple cider vinegar and dish soap into a jar or glass. Then roll a piece of paper into a cone shape with a small opening at the tip (about the width of a pencil) and set it in the jar’s mouth, point down. The flies follow the scent through the narrow opening but can’t easily navigate back out.

You can achieve the same effect with plastic wrap stretched over the top of a jar, secured with a rubber band. Poke five or six small holes with a toothpick. The holes need to be big enough for a fruit fly to crawl through, roughly 2 to 3 millimeters, but small enough that they won’t find the exit easily once inside.

Where to Place Your Traps

Fruit flies breed wherever there’s moisture and decaying organic material, so placement matters as much as the trap itself. The fruit bowl on the counter is the obvious spot, but don’t stop there. Place traps near kitchen sink drains, garbage disposals, recycling bins with empty bottles or cans, compost containers, and trash cans. Fruit flies also breed on damp sponges, mop heads, and the drip trays under refrigerators.

Setting out two or three traps in different locations works better than one central trap. A small bowl left by the sink overnight can catch flies emerging from drain buildup, while another near the fruit bowl targets the main food source. If you’re seeing flies in a bathroom, there’s likely organic residue in a drain that needs cleaning.

Keep Traps Active for Two Weeks

Fruit flies develop from egg to adult in one to two weeks at room temperature. The egg and larval stages take roughly eight days, followed by about six days in the pupal stage. This means even after you’ve caught every visible adult fly, a new generation may already be developing in a hidden breeding site. Keep your traps out and refreshed for at least 14 days after you stop seeing flies to catch any stragglers that hatch late.

During this time, eliminate breeding sites aggressively. Refrigerate or discard overripe fruit, clean drains with a stiff brush, take out trash and recycling frequently, and wipe down counters where juice or alcohol may have spilled. Traps alone won’t solve the problem if flies still have places to lay eggs. A single female can lay around 500 eggs, so one missed breeding spot can restart the cycle.

If the Trap Isn’t Working

The most common reason an apple cider vinegar trap fails is that you’re not dealing with fruit flies. Fungus gnats look similar but are slightly darker, fly more slowly, and tend to hover around houseplant soil rather than food. They breed in damp potting mix, not rotting fruit. Apple cider vinegar traps sometimes catch a few fungus gnats, but they’re not the ideal solution. Letting your plant soil dry out between waterings and using sticky yellow traps near the soil surface works better for gnats.

Drain flies are another lookalike. They’re fuzzy, moth-shaped, and cling to walls near bathrooms and kitchen sinks. They breed in the biofilm inside drain pipes and won’t respond to vinegar traps at all. Cleaning the drain mechanically is the only real fix.

If you’re confident they are fruit flies but the trap isn’t attracting them, check your vinegar. White vinegar won’t work nearly as well because it lacks the fruity fermentation compounds. Make sure you’re using apple cider vinegar specifically. You can also boost the trap’s appeal by adding a small piece of overripe banana or a splash of fruit juice.

Alternative Baits

If you don’t have apple cider vinegar on hand, red wine is an excellent substitute. It contains many of the same fermentation byproducts and attracts fruit flies just as reliably. A leftover half-glass of wine with a few drops of dish soap works perfectly. Beer can also work, though it tends to be less consistent.

Balsamic vinegar seems like it should be effective, but testing by Taste of Home found that a balsamic and red wine vinegar mixture in a bowl caught zero flies, even though fruit flies were clearly attracted to the balsamic bottle itself. The likely explanation is that the concentrated, syrupy nature of balsamic vinegar in an open bowl releases its volatile compounds differently than a sealed bottle that concentrates the aroma at the opening. Apple cider vinegar remains the most reliable and affordable option.

A more unusual alternative combines warm milk, two teaspoons of sugar, and dish soap in a bowl with cracked black pepper on top. It uses common pantry items but performs poorly in comparison, catching only a few flies in side-by-side tests.