Yes, the vinegar and Dawn dish soap trap works. But it only works when the ratio is right, the dish soap is fresh, and the trap sits next to the source. Most homeowners get inconsistent results because they get one of those three wrong.
This guide gives you the exact recipe, explains why apple cider vinegar and Dawn dish soap work together, shows where to place the trap for the best results, and covers the baking soda and salt variations people ask about. It also explains why the trap alone never solves the problem. You still have to find and remove the breeding site.
Quick Picks
Three things make the difference between a trap that works and one that doesn’t:
| Best For | Product | Buy |
|---|---|---|
| Best Apple Cider Vinegar | Bragg Organic Apple Cider Vinegar | Check Price → |
| Best Ready-to-Use Trap | Terro Fruit Fly Trap (T2500) | Check Price → |
| Best for Sink Drains | Drain enzyme cleaner | Check Price → |
Why the Vinegar and Dawn Trap Works
The trap works because of two separate mechanisms that complement each other. The vinegar attracts the flies. The dish soap kills them once they land. Remove either and the trap fails.
Why Apple Cider Vinegar Attracts Fruit Flies
Fruit flies (Drosophila melanogaster) are attracted to the smell of fermentation. In the wild, that smell means overripe, rotting fruit, which is the only place they lay eggs. Apple cider vinegar is itself a fermented product, so its scent is a near-perfect mimic of the fruit they’re looking for. That’s why ACV outperforms white vinegar by a wide margin. White vinegar is acetic acid without the fruity esters and alcohols that trigger the fly’s olfactory response. Balsamic can work because it retains some of those compounds, but ACV is the standard for a reason.
Why Dawn Dish Soap Is Added
Fruit flies are small enough to land on the surface of water or vinegar and stand on it without breaking through. Their feet repel the liquid, and they can drink from the surface the same way a water strider walks on a pond.
Dish soap is a surfactant. A few drops lower the liquid’s surface tension so the vinegar can no longer support the fly’s weight. When the fly lands to feed, it breaks through the surface and can’t get back out. The soap doesn’t kill by toxicity. It kills by drowning.
That’s the answer to the question “why is dishwashing liquid added to the vinegar trap?” It’s not to poison the flies or trap them in a sticky film. It’s to make the liquid physically unable to hold them on the surface.
The Exact Recipe
Forget the vague “some vinegar and a squirt of soap” advice. The measurements matter, because too much soap creates a visible film the flies detect and avoid, and too little leaves the surface tension intact.
- Container: Use a small shallow bowl, ramekin, or short glass. Wide surface area releases more scent. A bowl that holds about a half-cup of liquid is the right size.
- Apple cider vinegar: Pour in about one inch of ACV. You want roughly 3 to 4 tablespoons. Don’t use white vinegar unless you have nothing else. It’s measurably less effective.
- Optional bait booster: Add a small piece of very ripe or overripe fruit. A half-inch slice of banana, peach, or strawberry intensifies the attractant and gets flies to the trap faster. This step is optional but noticeably improves results on day one.
- Dish soap: Add 3 to 4 drops of liquid dish soap. Dawn works best because it’s a strong surfactant, but any brand will do. Do not stir vigorously. A single gentle swirl is enough to disperse the soap through the vinegar. If you see foam on the surface, you used too much or stirred too hard.
- Do not cover with plastic wrap. This is a common modification that reduces effectiveness by muting the vinegar scent. The trap works best open-topped.
Where to Place the Trap
Placement matters more than most people realize, and it’s the most common reason a correctly-made trap still catches nothing. The trap needs to be within about three feet of where the flies are actually gathering. Fruit flies don’t travel far when there’s a food source nearby.
Put the trap directly next to the fruit bowl. If the flies are coming from the garbage or recycling, put it next to the can. If they’re rising from the kitchen drain, put it on the counter above the sink. If you have multiple problem areas, use multiple traps. One trap won’t pull flies from across the room.
Avoid placing traps near open windows or doors where airflow will disperse the scent. And don’t place the trap on a surface where you’ll disturb it constantly. Every time you pick it up and set it down, the surface tension breaks and the trap resets.
Does the Trap Work on Gnats?
Partially. Fungus gnats and other small flying insects that are attracted to fermentation will land in the trap and drown. That’s why the trap shows up in searches for “dish soap gnat trap” and why it’s a reasonable first step if you’re not sure what you have.
But gnats and fruit flies breed in different places, and the trap only catches adults. Fungus gnats come from overwatered houseplants. The larvae develop in the wet soil of potted plants. Fruit flies come from fruit, drains, and garbage. If the trap is filling with gnats and it’s not solving the problem, check the soil of every houseplant within 20 feet. That’s your source. The trap is confirming the problem. Removing the source is what ends it.
Do Baking Soda and Salt Help?
Two variations come up often, and both are worth knowing about.
The Baking Soda Variation
Some recipes add a pinch of baking soda to the vinegar. This creates a mild fizz as the baking soda reacts with the acetic acid, which some people believe helps attract flies. In practice, the fizz is very short-lived (a few seconds), and it slightly reduces the acidity of the vinegar, which may reduce its effectiveness. It’s not harmful, but it isn’t doing much either. Skip the baking soda unless you’re following a specific recipe that calls for it.
The Salt Variation
A small pinch of table salt does nothing to attract fruit flies and does not kill them more effectively than the dish soap alone. Salt raises the liquid’s density, which could theoretically help a fly sink faster, but the effect is negligible compared to the dish soap. It’s not a trap recipe worth following on its own, but if you’re following a source that uses salt, it won’t break the trap.
The reliable killers are still vinegar and dish soap. Everything else is optional or decorative.
Can I Use This Trap in the Bathroom?
Yes, but the trap is solving a different problem in a bathroom. Bathroom drain flies (Psychodidae, also called moth flies or drain flies) look like fruit flies but breed in the organic film that builds up inside drains. The vinegar trap will catch adults that wander into it, but the source is the drain. A trap next to the sink will never fix a drain fly problem.
For drain flies, pour a kettle of boiling water down the drain, then follow with a drain enzyme cleaner to break down the organic film where larvae develop. Set a vinegar trap next to the drain as a secondary measure to catch adults that escape, but the drain treatment is what actually solves the problem.
Why Your Trap Isn’t Working
If the trap has been out for 24 hours and hasn’t caught anything, one of these is the reason.
Too much soap. If the surface looks sudsy or has a visible film, flies will avoid it. Dump it out and start over with 3 drops.
Wrong vinegar. White vinegar and cleaning vinegar lack the fruity fermentation scent. Use ACV, or add a piece of very ripe fruit to white vinegar as a booster.
Wrong location. If the trap is across the room from the source, the flies will stay near the fruit and ignore it. Move it closer.
Old soap. Dish soap that’s been sitting on the counter for a long time loses some of its surfactant potency. If the trap has worked before and has stopped working, replace the soap.
You haven’t found the source. This is the most common reason. Traps catch adults, but if eggs and larvae are still developing in the garbage, the drain, or a piece of fruit, you’ll catch flies indefinitely without ever solving the problem.
The Part Most People Skip: Finding the Source
A trap is a symptom treatment. It catches adult flies that are already out. It does nothing to the eggs and larvae where the population is actually growing. If you don’t find and remove the source, you’ll be emptying the trap for a month.
Check these locations, in order:
Fruit on the counter. Lift every piece. A single soft spot on a peach or a banana turning brown at the stem is enough to breed hundreds of flies. Throw out anything past ripe. Refrigerate fruit that’s on the edge so it doesn’t become a breeding site.
The garbage can and recycling bin. Spilled juice, dried beer residue, and old food at the bottom of the can are the most common hidden sources. Empty, rinse, and dry the bin, then replace the bag. Rinse soda and beer cans before putting them in recycling.
The kitchen drain and garbage disposal. Organic film builds up on the sides of the disposal and inside the drainpipe. Boiling water kills the active larvae and adults. A drain enzyme treatment breaks down the film that other larvae feed on.
Under and behind the refrigerator. Forgotten spills behind the fridge or under the crisper drawer are prime breeding spots. Pull the fridge out and check.
Compost and pet food. If you compost indoors, empty the bin daily. Pet food with wet food residue can also draw flies.
Once the source is gone, the traps will catch the remaining adults within a day or two, and the problem ends.
Frequently Asked Questions
Do I have to use apple cider vinegar, or does white vinegar work?
Apple cider vinegar works far better. White vinegar lacks the fermented, fruity compounds that attract fruit flies. If you only have white vinegar, add a small piece of very ripe fruit to boost the scent.
Why is my trap not catching anything?
Usually too much dish soap, the wrong vinegar, or the trap is placed too far from the source. Three drops of soap in one inch of ACV, placed right next to the fruit or garbage, is the standard that works.
How long does the trap take to work?
If the source is removed and the trap is placed correctly, the visible population drops within 24 to 48 hours. If flies are still appearing after three days, you haven’t found the breeding site.
Should I cover the trap with plastic wrap?
No. Plastic wrap reduces the scent that draws flies to the trap. An open-top container with the correct ratio works better.
Do fruit flies like dish soap?
Not at all. The soap is a surfactant that breaks the surface tension so the flies drown. They’re attracted by the vinegar, not the soap.
Will the trap work for gnats too?
Fungus gnats that land in the vinegar will drown, so the trap catches some gnats. But gnats breed in overwatered houseplant soil, not in fruit or drains. If the trap fills with gnats and doesn’t solve the problem, check your houseplants.
Can I add baking soda or salt to the trap?
Neither improves the trap. Baking soda briefly fizzes and reduces the vinegar’s acidity. Salt does nothing for attraction or kill rate. Stick with vinegar and dish soap.
How often should I change the trap?
Every two to three days. The vinegar loses potency and dead flies accumulate on the bottom, which reduces the trap’s draw. Pour it out and refill with fresh vinegar and soap.
Final Thoughts
The vinegar and Dawn trap works when the ratio is right, the soap is fresh, and the trap sits next to the source. Get all three right and it will catch flies within hours. Get any of them wrong and the trap becomes a decoration while the population keeps growing.
The trap is a tool for killing adults. The real fix is finding and removing the source. That means the overripe fruit, the garbage residue, the drain film, or the houseplant soil. Do both and the flies are gone in a couple of days. Skip the source elimination and you’ll be back at this page in a week searching “why does my fruit fly trap not work.”
For the bigger picture on fly control, our guide on flies covers the other common species and the broader protocol. If you’re dealing with houseplant gnats, the drain enzyme treatment linked in Quick Picks is the same product that works on kitchen sinks.
About the PestPolicy Editorial Team
Our team includes pest control specialists and researchers who focus on safe, effective treatment methods for homeowners. We verify DIY trap recipes and application methods against product label directions and university extension guidance so you don’t waste money on methods that won’t work.
This article was written by Tom Wayne and reviewed by the PestPolicy Editorial Team. Recommendations are based on label review, ingredient research, and application-method analysis. We do not accept payment for placement.