Fruit flies appear overnight and multiply faster than most homeowners realize — a single female lays 500 eggs that hatch within 24 hours. A vinegar and dish soap fly trap is the cheapest, fastest way to break the cycle, and it costs less than two dollars to set up with stuff already in your kitchen. I learned this trick during a brief stint working in a pizza shop where the produce delivery brought in colonies weekly. The trap below catches more flies in 12 hours than three days of swatting.
Why This Trap Works
Fruit flies are drawn to the acetic acid in fermenting fruit. Apple cider vinegar mimics that exact smell because it is literally fermented apple juice. Once the flies land on the surface to drink, dish soap breaks the water’s surface tension and they sink immediately. Without soap, the flies just walk on the vinegar and fly away well-fed.
The combination targets fruit flies, fungus gnats, and drain flies effectively. Houseflies and cluster flies generally ignore it because they prefer rotting protein over fruit. For larger flies, you need a different bait — but for the tiny ones swarming your bananas, this is the answer.
The Basic Recipe
Use a small bowl, a Mason jar, or even a plastic deli container. The shape barely matters; the ratio does. Mix the following directly in the vessel:
- 1/2 cup of apple cider vinegar — Bragg’s, Heinz, or any store brand works
- 3 to 5 drops of liquid dish soap — Dawn is the industry favorite for surface tension
- Optional: 1 teaspoon of sugar to boost attraction
- Optional: a thin slice of overripe banana or strawberry at the bottom
Stir gently. Avoid working up a foam — too many bubbles let flies escape. Place the trap near the infestation source. Fruit bowls, sink drains, and houseplant pots are the usual hot spots.
White Vinegar vs. Apple Cider
This question comes up constantly. Apple cider vinegar always outperforms white vinegar for fruit flies because the apple sugars mimic ripening fruit. White vinegar smells too clean — it works in a pinch but pulls in maybe half as many flies in the same time window.
Red wine works even better than apple cider in some cases. The yeast and sugar combination drives fruit flies wild. A glass of leftover red wine with a few drops of Dawn often outperforms any commercial trap I have tested. Save the dregs from dinner parties for this exact purpose.
Plastic Wrap Cover for Faster Results
Add a layer of plastic wrap over the bowl with small holes poked in the top. Flies crawl in but cannot find their way back out. This doubles the catch rate because more flies stay in the trap long enough to land on the surface.
Use a toothpick to poke six to eight holes, each about the diameter of a pencil lead. Too few holes and flies cannot find the entrance; too many and they escape. Secure the wrap with a rubber band around the rim to keep it taut. Refresh the bait every three to four days as the smell fades.
Where to Place the Traps
One trap rarely solves an infestation. Set three or four around the kitchen and any room with houseplants. Fruit flies travel less than 20 feet between food sources, so coverage matters more than size.
- Next to the fruit bowl on the counter
- Inside the kitchen sink cabinet near the garbage
- On top of the refrigerator where flies congregate at night
- Beside indoor herb pots or overwatered houseplants
- Near the trash can lid
Empty and refill the traps when they start to look crowded — usually every 24 to 48 hours during a heavy infestation. Pour the contents into the toilet, not the sink drain, since drain flies can lay eggs in standing water.
Why Some Traps Fail
If your trap is not catching flies, three things usually went wrong. Too little soap is the most common mistake — without enough surfactant, flies climb back out. Add more drops and stir again. Old or refrigerator-stored vinegar also performs poorly; room temperature vinegar releases more vapor.
The third issue is competing food sources. A vinegar trap cannot compete with a half-eaten peach on the counter. Toss any ripe fruit, take out the trash, and clean the disposal before setting traps. The trap should be the only attractive food source in the room.
Combine with Source Removal
Traps catch adults but do nothing for larvae. While the trap works, hunt down breeding sites. Fruit fly larvae develop in moist organic matter — overripe produce, dirty drains, fermenting trash, and the soggy soil of overwatered plants.
Run hot water down every drain in the kitchen. Pour a half cup of bleach into the disposal and the sink trap, let it sit 15 minutes, then flush with hot water. Repot houseplants whose top soil stays wet for days. Without these steps, the trap catches flies forever because new ones keep hatching.
How Long Until They Are Gone
A proper vinegar and dish soap fly trap setup clears most kitchen infestations in 5 to 7 days. Day one, you catch dozens. By day four, you catch a handful. By day seven, the population should be down to almost nothing. If you are still trapping heavy numbers after a week, you have an unfound breeding source somewhere.
Drains, garbage disposals, and old recycling bins are the usual culprits. A quart of boiling water mixed with a cup of baking soda poured into each drain at night will kill the larvae living in the biofilm. Combined with the traps, you should be fly-free within ten days.