I get a version of the same text almost every week: “there are tiny flies everywhere, help.” Nine times out of ten, the first thing people try is an apple cider vinegar trap. And nine times out of ten, they set it up wrong.
A working ACV trap needs three things: the vinegar itself, dish soap to break the surface tension, and placement close to where the gnats are actually breeding.
Skip any one of those and the flies just keep hovering around your kitchen counter.
Here’s how to build one that works, how to fix a trap that isn’t catching anything, and how to tell if what’s in your kitchen is even a fruit fly to begin with.
How to Make an Apple Cider Vinegar Trap for Gnats

Getting the trap right takes about two minutes. Here’s what works:
What you need:
- Apple cider vinegar
- Liquid dish soap
- A shallow bowl or mason jar
- Plastic wrap and a toothpick (optional)
Steps:
1. Pour half a cup of apple cider vinegar into a shallow bowl, or fill a mason jar one-third full.
2. Add 2 to 3 drops of liquid dish soap. Stir gently. Do not create bubbles.
3. Optional: stretch plastic wrap tightly over the top, then poke 5 to 8 small holes with a toothpick. Holes should be roughly pencil-tip size.
4. Place the trap where you see the most gnat activity, near fruit bowls, the trash can, or the kitchen sink.
5. Swap in fresh vinegar every few days, and sooner once it turns cloudy or fills up with flies.
One placement note worth remembering: keep the trap low and close. In my own kitchen, gnats always hover low, usually a foot or so above the counter around the fruit bowl and the compost bin, so that’s where the trap goes, right at counter level. It beats tucking it up on a high shelf every time.
Why Gnats Are Drawn to Apple Cider Vinegar
Apple cider vinegar works because of what’s inside it. It contains acetic acid and ethanol, two compounds that fermented fruit produces naturally. Fruit flies are hardwired to find fermenting fruit to feed and lay eggs, and ACV smells exactly like that to them.
Raw, unfiltered ACV with the mother is the usual pick, but a clear, filtered bottle will still catch fruit flies.
Dish soap is the part most people skip. Without it, gnats land on the vinegar surface and walk right off. The soap breaks surface tension, so the moment a gnat touches the liquid, it sinks and drowns.
It’s the same reason Penn State Extension adds a drop of dish detergent to the vinegar in its fly traps. Skip the soap, and you’re just serving them a drink.
Fruit Flies, Fungus Gnats, or Drain Flies? How to Tell the Difference

Not everything that looks like a tiny fly is a fruit fly. Three common pests get lumped under the word “gnats,” and only one of them responds well to an apple cider vinegar trap.
| Pest | What they look like | Where you’ll spot them | Will an ACV trap catch them? | What actually works |
|---|---|---|---|---|
| Fruit flies | Tan or brownish, usually with red eyes. Some have dark eyes and hang around drains, so don’t rule them out by eye color alone | Ripe fruit, wine glasses, the trash, sometimes the sink | Yes, this is what the trap is for | The trap, plus getting rid of whatever they’re breeding in |
| Fungus gnats | Darker, almost black, like tiny mosquitoes | On plant soil or flying low around houseplants | Not really | Let the soil dry out between waterings, stand yellow sticky traps by the plant, and treat the soil with a larvae killer like Gnatrol |
| Drain flies | Gray and fuzzy, with wide, moth-like wings | Sinks, tubs and drains | No | Scrub out the gunk inside the drain |
Fungus gnats are one of the most common indoor plant pests. They’ll take a sniff at vinegar, but they rarely climb into a hole to reach it.
So the trap catches a few adults at best while the larvae keep hatching in the soil.
The real fix is in the pot. The gnat control for houseplants guide walks through it, and something as simple as cinnamon on the soil can disrupt the larvae without harming the plant.
Drain flies breed in the slimy gunk inside your pipes, so that’s where you deal with them.
Not sure which drain? Smear the inside of a cup with petroleum jelly, flip it over the drain and leave it for a day. If flies are coming up, they’ll stick to it.
Then scrub that drain out with a stiff brush. Boiling water and bleach won’t cut it, because they leave the gunk behind and the flies come right back.
And if you do reach for bleach, keep it well away from vinegar and ammonia, including the vinegar from your trap. Mixing them releases toxic gas.
If the flies run across the soil when you tap your plant pot instead of taking flight, they’re almost certainly fungus gnats. Fruit flies take to the air immediately when disturbed.
Reasons Your Apple Cider Vinegar Trap Is Not Working
Traps fail for a handful of predictable reasons. Check these before you give up on ACV entirely.
1. You’re using white vinegar: White vinegar has the sour smell but none of the fruit, so it’s the weaker bait. Switch to apple cider vinegar if you have any.
2. You skipped the dish soap: Gnats hover over the bowl, land on the surface, and leave. Without dish soap breaking that surface tension, they don’t drown. Add 2 to 3 drops and stir.
3. The holes in your plastic wrap are the wrong size: Too small, and gnats can’t get through. Too large, and they fly back out easily. Aim for holes roughly the diameter of a pencil tip, big enough to crawl through, hard to exit from.
4. The vinegar has gone stale: A trap set out and forgotten for a week has stopped doing its job. Refresh it every few days.
5. The trap is in the wrong spot: If you put the trap far from where gnats are feeding or breeding, they won’t find it fast enough. Place it as close as possible to the fruit bowl, trash can, or plant pots where you see them most.
6. You might be dealing with the wrong type of gnat: This is easy to miss, and it’s often the real reason a trap fails. See the identification breakdown above.
My own worst trap was a mason jar I set up by the sink one summer. I’d poked the holes in the plastic wrap with a fork instead of a toothpick, and for two days the flies wandered in and straight back out.
I swapped in fresh plastic wrap with tiny toothpick holes and finally moved the overripe peaches off the counter, so the trap wasn’t competing with them.
By the next morning, it had caught a dozen.
How to Make Your Apple Cider Vinegar Trap More Effective
If your trap is getting gnats to hover nearby but isn’t catching many, a few additions can change that quickly.
1. Add a piece of overripe fruit: A small chunk of banana or peach dropped into the vinegar adds more of the fermenting smell gnats follow. Keep the fruit inside the trap and clear any loose fruit off the counter nearby, so the trap is the strongest smell around. Swap the fruit out when you change the vinegar so new flies can’t hatch from it.
2. Add a splash of red wine: Wine smells of fermentation, just like vinegar, which is exactly what draws fruit flies. Leftover wine you’d otherwise pour out works perfectly.
3. Set out multiple traps: One bowl in one corner handles a small number of gnats. For a real infestation, place traps in several spots across the kitchen.
4. Try the covered jar version: Stretch plastic wrap over a mason jar and poke small holes in it. Gnats follow the scent in through the holes and can’t find their way back out.
Put This to Work Tonight
An apple cider vinegar trap for gnats works, but only when you add dish soap, keep the vinegar fresh, and put the trap right where the gnats are breeding.
Most failed traps come down to one small setup mistake, like the oversized holes and counter full of peaches that sank mine. The bigger catch: ACV mainly targets fruit flies. If your gnats are coming from plant soil or your drains, you need a different fix entirely.
Set the trap up tonight. If you’re still seeing gnats in a week, confirm what type you’re dealing with and go after the breeding source instead. That combination is what actually ends an infestation.
What worked for your gnat problem? Drop it in the comments.
Frequently Asked Questions
What will kill gnats immediately?
A fine mist of insecticidal soap knocks down adult gnats fast without leaving harsh residue. It only kills the ones it touches, so pair it with a trap and get rid of the source. Skip aerosol sprays if you keep bees, pets, or small kids nearby.
Why isn’t vinegar killing my gnats?
Vinegar doesn’t kill gnats by itself. The soap does, so a trap without it just lets them drink and fly off. If yours has soap and still catches nothing, check the hole size and clear ripe fruit off the counter. Still empty? You’re probably dealing with fungus gnats or drain flies, which a vinegar trap won’t fix.
Why is my house full of gnats all of a sudden?
Fruit flies go from egg to adult in about a week, so one rotting potato or onion, a sticky recycling bin, or a dirty drain can turn a few flies into a swarm within days. Fungus gnats build up the same way in houseplant soil that stays wet.
Does apple cider vinegar get rid of fungus gnats?
Not on its own. ACV catches a few adults, but fungus gnat larvae live in the soil, so treating the soil directly works better. Letting the top inch dry out before you water again is the simplest place to start, since the larvae need damp soil.
