A jar of apple cider vinegar with plastic wrap on top, holes poked in the wrap, sitting on the kitchen counter. The classic fly trap your grandmother used. But does vinegar kill flies on its own, or does the trap rely on something else? The short answer: vinegar attracts flies, doesn’t poison them, and only works as a kill mechanism when combined with dish soap or trap geometry. This guide explains the chemistry, walks through the recipes that actually work, and clarifies which fly species respond and which don’t.
How Vinegar Attracts Flies
Vinegar — particularly apple cider vinegar — releases acetic acid and ethanol vapors that mimic rotting fruit. Fruit flies (Drosophila melanogaster) and fungus gnats are biologically programmed to find fermenting fruit because that’s where they lay eggs. The vinegar fools them into thinking they’ve found dinner.
White vinegar works less well because the smell is sharper and less fruit-like. Red wine vinegar and balsamic vinegar can substitute but typically catch fewer flies than apple cider vinegar. Plain water doesn’t attract flies at all — the smell is the bait.
Why Vinegar Alone Doesn’t Kill Flies
If you put a bowl of vinegar on the counter, flies will land on the surface and drink it. They won’t drown — fly bodies are coated with hydrophobic wax that lets them stand on water surfaces without breaking through. They sip and fly away.
To turn vinegar into a kill mechanism, you need to either break the surface tension (so flies sink) or trap them inside a container they can’t escape (so they exhaust themselves and die). Both approaches are simple.
The Dish Soap Trap Recipe
This is the most effective and easiest fly trap. The dish soap breaks the vinegar’s surface tension so flies sink and drown when they land.
- Pour 1/2 cup apple cider vinegar into a wide-mouth jar or bowl.
- Add 3 to 5 drops of liquid dish soap (Dawn, Joy, or any standard brand).
- Swirl gently — don’t shake — to disperse the soap without creating bubbles.
- Place near the fly hotspot — fruit bowl, garbage can, sink drain.
- Empty and refill every 24 to 48 hours.
You’ll see results within hours. A typical trap catches 10 to 30 fruit flies per day for the first 2 to 3 days, then fewer as the population dwindles.
The Funnel Trap Variation
This version uses geometry instead of soap. Flies enter through a narrow opening but can’t find their way back out.
- Pour 1/4 cup apple cider vinegar into a tall jar or bottle.
- Roll a piece of paper into a funnel with a 1/4-inch opening at the bottom.
- Insert the funnel into the jar so the small end hovers above the vinegar.
- Tape the paper to keep its shape.
- Flies enter through the funnel but can’t find the exit.
This works without soap and looks tidier than the bowl version. Empty when the jar fills up by sealing it and tossing in the trash.
The Plastic Wrap Trap
The most common version online. Honestly less effective than the dish soap trap, but it works without soap.
- Fill a glass with 1/4 inch of apple cider vinegar.
- Stretch plastic wrap over the top.
- Poke 5 to 8 small holes (pencil-tip size) in the wrap.
- Place near fly activity.
Flies crawl in but rarely escape. Effectiveness depends on how small the holes are — too big and flies leave easily, too small and they don’t enter.
Which Flies Vinegar Traps Catch
Vinegar traps catch some species and miss others entirely. Knowing what you’re dealing with prevents wasted effort.
- Fruit flies (Drosophila): Highly attracted, best target. Tan body, red eyes, common around ripe fruit.
- Fungus gnats: Mildly attracted. Small dark flies that hover around houseplant soil.
- Drain flies (moth flies): Not attracted to vinegar. Look for fuzzy small flies near drains.
- House flies: Rarely caught. They prefer dog poop, garbage, and rotting meat.
- Phorid flies: Sometimes caught. Look like small fruit flies but run rather than fly when disturbed.
If your vinegar trap isn’t catching anything, you probably don’t have fruit flies. Identify the species first.
Address the Source
Traps catch existing flies. To stop them returning, find and eliminate breeding sites.
For fruit flies, check overripe fruit (toss it), unwashed wine glasses (wash daily), forgotten potato peels in compost (empty kitchen compost daily), drain residue (clean drains weekly with baking soda and boiling water). The breeding cycle is 7 to 10 days, so consistent control for 2 weeks usually clears an infestation.
For fungus gnats, the source is overwatered houseplant soil. Let plants dry out between waterings, replace top inch of soil with sand or perlite to block egg-laying, and treat soil with mosquito dunks (Bacillus thuringiensis israelensis) every 2 weeks.
Other Vinegar Uses Against Flies
Vinegar has applications beyond traps:
- Cleaning surfaces: Spray 1:1 vinegar and water on counters where flies land — removes residue that attracts them
- Drain treatment: Pour 1 cup baking soda followed by 1 cup vinegar down the kitchen drain weekly
- Window deterrent: Wipe windowsills with vinegar — many flies dislike the residual smell
- Pet food bowl rinse: Rinse bowls with vinegar daily to remove odors that attract flies
When Vinegar Isn’t Enough
Vinegar traps handle small fruit fly populations effectively. For severe infestations or species that don’t respond to vinegar, escalate.
- Drain flies: Pour enzyme drain cleaner (Bio-Clean, $30) into all kitchen and bathroom drains. Repeat weekly for 4 weeks.
- House flies: Use sticky traps, electric zappers, or commercial fly bait stations
- Persistent fruit flies: Combine vinegar traps with bleach down all drains and a thorough deep clean of trash bins, kitchen mat, and behind appliances
- Outdoor invasions: Install screens, seal gaps, and treat exterior trash areas with permethrin spray
Frequently Asked Questions
Does white vinegar kill flies?
White vinegar can be used in fly traps but is less attractive than apple cider vinegar. The fruity esters in apple cider vinegar mimic rotting fruit better. White vinegar works fine if it’s all you have, but expect lower catch rates.
How long does a vinegar fly trap last?
An active vinegar trap stays effective for 24 to 48 hours before the smell fades. Empty and refresh daily for best results during an active infestation.
Will vinegar kill flies in the air?
No. Spraying vinegar in the air doesn’t kill flies. Vinegar only works as a contact attractant. To kill flies in flight, use a fly swatter, sticky trap, or commercial fly spray.
Why isn’t my vinegar trap working?
Three common reasons. You likely don’t have fruit flies (drain flies, gnats, and houseflies don’t respond well). The vinegar may be old or evaporated. Or the dish soap may not have broken surface tension — give the trap a gentle swirl.
Is apple cider vinegar safe for pets?
Yes, in small amounts. Apple cider vinegar is non-toxic to dogs and cats. The dish soap added to the trap won’t hurt them either, though they may upset the trap if they get curious. Place traps out of reach of pets and small children.