How to Make a Gnat Trap | ACV & Soap Works Every Time

The most effective DIY gnat trap uses apple cider vinegar as bait and a few drops of liquid dish soap to break the surface tension, placed in a container covered with plastic wrap punctured with tiny holes.

A single fruit fly or fungus gnat is a nuisance. A swarm circling every houseplant and fruit bowl is enough to make you want to move. The good news is you already have everything you need in the kitchen to build a trap that catches more gnats than any store-bought spray — and it takes about two minutes. The trick is getting the ratio and the hole size exactly right.

What Attracts Gnats Into The Trap

Gnats and fruit flies home in on the scent of decaying organic matter. Apple cider vinegar mimics that smell better than almost anything else in your pantry. White vinegar works too, but it needs a teaspoon of sugar mixed in to compete with the ACV.

The second critical ingredient is dish soap — just one to three drops. Vinegar alone lets gnats land and fly away. Soap cuts the liquid’s surface tension, so the moment a gnat touches the surface, it sinks and drowns within seconds.

Two Ways To Build A Gnat Trap

Both methods use the same bait and soap. The difference is the container and how the gnats enter.

Recipe A: The Shallow Bowl Trap (Fastest Setup)

This is the method to use when you want a trap on the counter in thirty seconds.

  • Container: A small bowl or glass ramekin about 4–6 inches wide.
  • Bait: ¼ cup apple cider vinegar.
  • Soap: 1 drop of Dawn or any mild dish soap.
  • Optional: 2 tablespoons of water, though straight ACV with one drop of soap is more potent.
  • Cover: Plastic wrap stretched tight over the top, secured with a rubber band.
  • Entry holes: Poke 2–4 holes with a toothpick, then swirl the toothpick to widen each hole just slightly — about 1–2 millimeters. Too small and gnats walk on top but can’t enter. Too large and they escape after getting in.

Place the bowl wherever you see the most gnats — next to the fruit bowl, beside a houseplant, or near the kitchen sink. Within a few hours, the vinegar smell pulls them in, the soap traps them, and you’ll see tiny bodies floating in the liquid.

Recipe B: The Bottle Or Jar Trap (Better For Larger Infestations)

For a bigger infestation, a taller container catches more before the bait wears out.

  • Container: A mason jar or an empty 2-liter soda bottle.
  • Bait: ¼ cup apple cider vinegar.
  • Soap: 2–4 drops of dish soap.
  • Cover (jar): Plastic wrap with toothpick holes, same as the bowl method.
  • Cover (bottle): Cut the top third off the bottle, invert it so the neck points downward into the base, and tape the cut edges together. The funnel shape lets gnats fly in but makes it hard to find the way out.

For jar traps, the same hole-size rule applies — too small and nothing enters, too large and nothing stays. The Fresh Cooky’s gnat trap guide recommends keeping the wrap drum-tight so gnats can’t crawl under the edge.

Ingredient Purpose Best Amount
Apple cider vinegar Primary bait — mimics rotting fruit smell ¼ cup per trap
White vinegar + 1 tsp sugar Backup bait when ACV is unavailable ¼ cup vinegar + 1 tsp sugar
Dish soap (Dawn or similar) Breaks surface tension, drowns gnats 1–3 drops per trap
Water Dilutes vinegar (optional — reduces potency) Up to 2 tablespoons
Plastic wrap Cover that funnels gnats to entry holes One piece per container
Rubber band or tape Seals the wrap so gnats can’t escape One band or 2-inch piece of tape
Toothpick Punctures precisely sized entry holes One toothpick

Where To Place The Trap For Best Results

Location matters as much as the recipe. Put the trap within three feet of the problem source — that’s the range the vinegar smell covers effectively.

Near houseplants: Fungus gnats live in moist potting soil. Place the trap next to the pot, and consider a turmeric powder spray on the soil surface to kill larvae the trap can’t reach. In the kitchen: Set the trap beside the fruit bowl, compost bin, or sink drain. Near drains: If you suspect drain flies, tape over the drain overnight with a small gap. Check the tape in the morning — if flies are stuck there, you’ve found the source.

Common Mistakes That Ruin A Gnat Trap

Most failed gnat traps share one of four problems.

  • Holes too small or too large. The single biggest error. If gnats walk on top of the plastic but never go in, widen the holes slightly. If they go in and come back out, the holes are too big — start over with fresh wrap and smaller punctures.
  • No soap. Pure vinegar attracts gnats but lets them land, drink, and fly away as if nothing happened. The soap is what turns bait into a trap.
  • Loose plastic wrap. Gnats find any gap and crawl underneath, where they can reach the vinegar without ever touching the entry holes. Stretch the wrap tight and secure it with a band or tape.
  • Old bait. The vinegar loses its pulling power after three or four days. Empty the trap, wash the container, and refill with fresh ACV and soap.

Alternative Baits That Also Work

If you’re out of apple cider vinegar, these substitutes pull gnats just as well.

  • White vinegar mixed with 1 teaspoon of sugar.
  • Fruit juice (apple, grape, or orange) with a splash of water and one drop of soap.
  • Old beer — the yeasty smell is a strong attractant.
  • Sweet pickle juice, with the pickle pieces removed.

Each of these works on the same principle: a sweet, fermented smell plus soap to drown them. The container and cover method stays the same.

Alternative Bait Prep Best For
White vinegar + sugar ¼ cup vinegar, 1 tsp sugar, stir to dissolve Kitchen counters, near fruit
Fruit juice mix ¼ cup juice, 1 tbsp water, 1 drop soap Houseplant areas
Old beer Pour ¼ cup flat beer directly into container Drains and garbage areas
Sweet pickle juice ¼ cup juice, remove solid pickle pieces Pantry or cabinet infestations

When To Switch To A Commercial Trap

A DIY trap catches adults, but it won’t eliminate an established infestation overnight. If you’ve run two refills of a homemade trap over a week and still see gnats circulating, the problem may be larger than a single container can handle. Commercial adhesive traps with pheromones target fungus gnats at the soil level, and Zevo flying insect traps are highly rated for broad indoor use. For anyone ready to upgrade, our roundup of the best commercial gnat trap reviews the top-rated models that catch more gnats faster — and many of them last 30 days per cartridge.

If the infestation persists after combining traps with soil treatment and drain cleaning, Orkin recommends calling a Pest Management Professional before buying more products you don’t need.

FAQs

How long does a homemade gnat trap stay effective?

A trap with fresh apple cider vinegar and soap stays active for about three to four days. After that, the vinegar stops pulling gnats from a distance. Empty the container, wash it, and refill with new vinegar and a fresh drop of soap to keep catching them.

Can I use balsamic vinegar instead of apple cider vinegar?

Balsamic vinegar is too thick and doesn’t release the same fermenting scent that attracts gnats. Stick with apple cider vinegar or white vinegar with added sugar. The smell is the main draw, and balsamic doesn’t match it.

Will the gnat trap attract more gnats than it catches?

No. The trap releases a scent plume that pulls in nearby gnats, but the soap and the plastic cover ensure almost every one that reaches the container drowns. Without a trap, those gnats would stay in your kitchen or near your plants anyway.

Is the trap safe to use around pets and children?

Apple cider vinegar and dish soap are non-toxic in the small amounts used in a trap. Keep the container out of reach so nobody drinks the liquid. The vinegar smell is mild and doesn’t pose a breathing risk for pets or kids.

Does the trap work for drain flies or only fruit gnats?

The homemade trap catches fruit flies, fungus gnats, and drain flies equally well. All three species are attracted to the same rotting-organic-matter scent. If you suspect drain flies, tape the sink drain overnight first to confirm the source before setting the trap.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.