An apple cider vinegar and dish soap fly trap is one of the simplest and most effective ways to deal with fruit flies. You need a small container, apple cider vinegar, and a single drop of dish soap. The trap works because fruit flies are drawn to the scent of fermenting fruit, and the soap removes the water’s surface tension so they sink and drown instead of landing safely. You can set one up in under a minute.
How to Make the Trap
Pour about half an inch of apple cider vinegar into a small bowl, jar, or cup. A shallow, wide container works better than a tall narrow one because it exposes more surface area and more scent to the air. Then add one drop of liquid dish soap. Just one. Stir it gently or give the container a light swirl so the soap disperses without creating a layer of bubbles on top. Too many bubbles can actually deter flies from landing.
That’s the entire trap. No plastic wrap, no rubber bands, no poking holes in anything. The open-bowl version is the fastest to set up and consistently effective. Some people cover the container with plastic wrap and poke small holes to funnel flies in, which does prevent them from escaping once inside. But the dish soap method works on its own because flies that touch the liquid can’t escape it anyway.
Why It Works
Fruit flies locate food by following the smell of acetic acid, the compound that gives vinegar its sharp scent. Apple cider vinegar is particularly effective because it also contains traces of the same fermentation byproducts found in rotting fruit. To a fruit fly, it smells like a meal.
Without dish soap, fruit flies can land on the surface of the vinegar and walk away. Liquids naturally form a thin “skin” on their surface due to molecular attraction, and tiny insects are light enough to sit on top of it. A single drop of dish soap disrupts that surface tension, so when a fly touches the liquid, it breaks through immediately and drowns. The soap also coats the fly’s body, preventing it from using its wings to escape.
Where to Place Your Traps
Put the trap as close to the problem as possible. Fruit flies don’t travel far from their food source, so a trap on the opposite side of the kitchen from where you’re seeing them may not catch much. The best spots are near compost bins, fruit bowls, sink drains, and recycling containers with empty bottles or cans. If you’re seeing flies in multiple areas, set up two or three small traps rather than one large one.
Kitchen drains are a commonly overlooked breeding ground. Fruit flies lay eggs in the thin film of organic matter that builds up inside drainpipes, so even after you’ve thrown out the overripe bananas, new flies can keep emerging from the sink for days. Placing a trap right next to the drain catches them as they come out.
How Often to Refresh It
Replace the vinegar every two to three days. As the liquid fills with dead flies and the acetic acid evaporates, the trap becomes less attractive and less effective. You’ll notice the vinegar darkening and the scent fading. Just dump it out, rinse the container, and pour fresh vinegar with another drop of soap.
In a serious infestation, you may see dozens of flies in the trap within the first 24 hours. That’s a good sign, but don’t expect the trap alone to solve the problem overnight. Fruit flies reproduce quickly. A single female can lay around 500 eggs, and those eggs can hatch into adults in about a week under warm conditions. The trap catches the adults, but you also need to eliminate whatever they’re breeding in.
What Else to Do Alongside the Trap
The trap is a cleanup tool, not a cure. If the breeding source is still available, new flies will keep appearing faster than the trap can catch them. Start by removing or refrigerating any ripe fruit. Wipe down counters where fruit juice or crumbs have collected. Take out garbage and recycling, especially anything with sugary residue. Clean your kitchen drain by pouring boiling water down it, or use a drain brush to scrub away the organic buildup inside.
Empty wine or beer bottles are another common culprit that people overlook. Even a small amount of liquid left in a bottle is enough to attract and sustain a population of fruit flies. Rinse bottles before putting them in the recycling bin, or store them outside until collection day.
Variations That Work (and Ones That Don’t)
If you don’t have apple cider vinegar, red wine vinegar or leftover red wine both work well for the same reason: they contain the fermentation compounds fruit flies are tracking. White vinegar is noticeably less effective because it lacks those fruity esters. Beer also attracts fruit flies but tends to catch fewer of them than vinegar-based traps.
Some people add sugar to the vinegar to boost its attractiveness. This can help slightly with white vinegar, but apple cider vinegar already contains enough residual sugar that adding more makes little difference. Honey, on the other hand, tends to make the surface sticky in a way that can actually reduce the trap’s effectiveness by preventing flies from sinking.
The type of dish soap doesn’t matter. Any standard liquid dish soap will break surface tension. You don’t need antibacterial formulas or specific brands. The only thing to avoid is using so much soap that the surface becomes foamy, since the bubbles mask the vinegar scent that draws flies in.
Which Flies It Catches
This trap is designed for common fruit flies, the tiny tan or brown flies (about 3mm long) with red eyes that hover around produce and drains. It will not work well for drain flies, which look like tiny moths and are more attracted to standing water and sewage than to vinegar. It also won’t catch house flies or cluster flies, which are attracted to different cues entirely.
Fungus gnats, the small dark flies that hover around houseplant soil, are sometimes caught in apple cider vinegar traps, but not reliably. If your fly problem is coming from potted plants rather than the kitchen, a sticky yellow trap placed near the soil surface is a better option.