Vinegar and Dish Soap Fly Trap That Actually Works

A vinegar and dish soap fly trap is one of the simplest and most effective ways to get rid of fruit flies in your kitchen. You need two ingredients: about a quarter cup of apple cider vinegar and a few drops of liquid dish soap in a small jar or bowl. The vinegar lures the flies in, and the soap ensures they can’t escape. Most people start seeing dead flies within hours.

Why This Combination Works

Each ingredient plays a distinct role. Apple cider vinegar contains acetic acid, the same chemical produced by fermenting fruit. Fruit flies are hardwired to seek out fermentation because it signals a food source and a place to lay eggs. The smell of apple cider vinegar mimics ripening, decaying fruit and draws them straight to it.

The dish soap is what actually kills them. Normally, a tiny insect like a fruit fly can land on the surface of a liquid without sinking. Water molecules hold together tightly enough to support their weight. Dish soap breaks that surface tension, so when a fly touches down on the vinegar, it falls through immediately. Soap also penetrates the tiny breathing openings on an insect’s body, cutting off oxygen. The flies drown within seconds.

Without the soap, fruit flies can land on the vinegar, take a sip, and fly away. Without the vinegar, there’s nothing to attract them in the first place. You need both.

How to Set Up the Trap

Pour roughly a quarter cup of apple cider vinegar into a small jar, glass, or shallow bowl. Add two to three drops of liquid dish soap. You don’t need to stir it, though a gentle swirl helps distribute the soap. That’s the entire setup.

Place the trap near the problem area: next to your fruit bowl, by the kitchen sink, or close to your compost bin or trash can. If you have flies in multiple rooms, set out multiple traps. The vinegar’s scent needs to compete with whatever else is attracting the flies, so positioning matters. A trap on the opposite side of the kitchen from a pile of bananas won’t pull flies as effectively as one right next to it.

Some people cover the jar with plastic wrap and poke small holes in it. This funnels flies in and makes it harder for them to escape. It works, but honestly, the soap does most of the heavy lifting. An open jar with soap-spiked vinegar catches flies just fine and is easier to refresh.

Apple Cider Vinegar vs. White Vinegar

Apple cider vinegar works significantly better than white vinegar. Both contain acetic acid, but apple cider vinegar is made from fermented apples, so it carries the fruity, sweet scent profile that fruit flies specifically seek out. White vinegar smells sharp and chemical to them. It’s the difference between a ripe peach and a bottle of cleaning solution. If you only have white vinegar on hand, adding a teaspoon of sugar and a small piece of overripe fruit can help, but apple cider vinegar on its own outperforms these workarounds.

How Long It Takes to Clear an Infestation

You’ll likely catch your first flies within a few hours of setting the trap, but eliminating an entire infestation takes longer. Fruit flies reproduce fast. A single female lays up to 20 eggs at a time, often inside ripening fruit where you can’t see them. Those eggs hatch in two to four days, and the larvae eventually become new adults. Under warm summer conditions, the full cycle from egg to adult can take as little as seven days. In cooler weather, it stretches to four or five weeks.

This means new flies keep appearing even after you’ve caught the visible ones. Plan to keep your trap out for at least two weeks, refreshing the vinegar every three to four days as it loses potency. If you’re still catching flies after two weeks, you likely have a breeding source that needs to be removed.

Eliminating the Source

A trap catches adult flies, but it doesn’t stop eggs and larvae that are already developing. To actually end the cycle, you need to find and remove whatever they’re breeding in. The usual suspects:

  • Overripe fruit on countertops, especially bananas, tomatoes, and stone fruit
  • Kitchen drains with organic buildup inside the pipes
  • Trash cans and recycling bins with food residue, particularly beer bottles or juice containers
  • Damp sponges and mops that sit out in warm areas
  • Compost containers without tight-fitting lids

Move ripening fruit into the refrigerator. Take out trash more frequently. Pour boiling water down kitchen drains or scrub them with a brush to remove the film that larvae feed on. Once you eliminate the breeding source, the trap handles the remaining adults and you should be fly-free within a week or so.

If Your Trap Isn’t Working

The most common reason a vinegar trap fails is competition. If there’s a bowl of rotting fruit three feet away, the flies have no reason to choose your trap over the real thing. Remove or refrigerate all exposed produce before relying on the trap.

Too much soap is another issue. If you add so much that it forms a visible layer of bubbles on the surface, it can mask the vinegar scent. You only need two or three drops. The liquid should look mostly like plain vinegar with no foam.

Old vinegar also loses its pull. After three or four days, the acetic acid dissipates enough that the trap’s range shrinks. Dump it and pour fresh vinegar. If your vinegar is particularly old or has been sitting open for months, it may already be too weak to start with.

Finally, make sure you’re actually dealing with fruit flies. They’re tiny (about an eighth of an inch), tan or brownish, and hover around food. Drain flies are fuzzy and moth-like, and they cluster near sinks. Fungus gnats are dark and hang around houseplant soil. Vinegar traps are specifically effective against fruit flies. Other species need different approaches.