How to Trap Gnats | Three Traps That Actually Work

Gnats are the easiest household pest to trap once you know the one trick—dish soap breaks the water’s surface tension and drowns them within hours.

A swarm of tiny flies around the fruit bowl or a sink drain is frustrating, but the fix is fast. Most gnats are drawn to fermenting fruit or damp organic matter, and the right bait plus a drop of soap turns any container into a death trap. The real key is pairing those traps with a quick search for the breeding source—usually a moist drain or overwatered houseplant. Once you hit both, the problem clears in a day or two.

What Attracts Gnats Into Your Trap

Gnats and fruit flies navigate by smell. Fermenting sugars, acetic acid (vinegar), and yeast byproducts pull them in from across the room. A successful homemade bait needs two things: a strong enough scent to lure them, and a surfactant that keeps them from simply standing on the liquid and flying away. Dish soap is the non-negotiable second ingredient—without it, even the sweetest vinegar trap lets gnats float and escape.

The most reliable lure is apple cider vinegar because it smells like rotting fruit. Red wine, beer, overripe banana chunks, and fruit juice all work too. The container does not matter much—a shallow bowl, a mason jar with a poked lid, or a cut soda bottle all catch the same gnats. What matters is that the entry points are big enough for gnats but small enough to slow escape, and that the soap concentration is enough to break the surface film.

How to Trap Gnats: Three Homemade Methods

Apple Cider Vinegar and Dish Soap Trap

The classic that consistently tops online recommendation threads. Mix ¾ cup warm water, 5 tablespoons apple cider vinegar, 1 tablespoon sugar or monkfruit, and 6 drops Dawn dish soap in a small bowl or 4–5 ounce glass. Add 2–3 overly ripe blueberries if you have them—they boost the fermentation scent. The sugar lures gnats, the vinegar seals the deal, and the soap ensures they sink instead of skipping across the surface. Place the bowl near the infested area. Within a few hours you will see floating bodies. Replace the liquid every 2–3 days.

Two-Liter Bottle Funnel Trap

For a bigger catch in a garage or mudroom, the funnel trap handles volume. Cut the top third off a clean 2-liter soda bottle and invert the cut piece so it sits like a funnel inside the bottle. Pour ¼ cup apple cider vinegar and 2 squirts of dish soap into the bottom. Tape the funnel in place if it wobbles. Gnats follow the vinegar scent down through the narrow opening, hit the soapy liquid, and cannot fly back up the funnel’s tapered walls. This design catches dozens before it needs emptying.

Wine and Plastic Wrap Jar Trap

Leftover red wine is an excellent gnat lure and costs nothing extra. Pour about an inch of wine into a small jar or glass, add a drop of dish soap, and stir gently. Cover the mouth of the jar with plastic wrap, secure it with a rubber band, and poke 6–12 small holes with a needle. The gnats enter through the holes for the wine smell and cannot find their way back out. This version works especially well near a kitchen counter or dining table because it is contained and spill-proof.

Where To Place Traps for Fastest Results

Location matters as much as the bait. Put a trap right next to the fruit bowl, inside the sink basin, or at the base of an infested houseplant. For drain flies, set the trap directly over the drain opening—prop the bowl on a cup if needed so gnats exiting the drain fly straight into it. For fungus gnats, nestle the trap down into the pot so it sits at soil level where the adults emerge. Running a fan nearby reduces effectiveness because gnats struggle to fly in moving air; keep the area still while the trap is active.

If you need a more powerful solution for a serious infestation, see our tested roundup of commercial gnat traps that combine UV light, scent lures, and fan suction for continuous overnight catch.

Homemade Trap Comparison

Trap Type Best For Key Ingredient
Apple Cider Vinegar Bowl Kitchen fruit flies, small swarms ACV + sugar + dish soap
2-Liter Bottle Funnel Large areas, garages, basements ACV + dish soap + funnel neck
Wine Plastic Wrap Jar Countertops, dining areas Red wine + dish soap + plastic wrap
Banana Peel Bowl Outdoor patios, near trash Overripe banana + dish soap + water
Beer Bowl Trap Same as wine trap Stale beer + dish soap
Blue Color Cup Trap Attached to sticky boards for monitoring Blue cup + sticky glue insert
Fruit Juice Pitcher Kids’ rooms, pet areas Apple juice + dish soap + plastic wrap

Eliminating the Breeding Source (The Step Most People Skip)

Traps catch adults, but eggs and larvae keep the cycle going. You have to find and treat the nursery. The two most common sources are kitchen drains and houseplant soil.

Drain Flies and Sink Drains

Test for drain flies by taping a strip of duct tape over the sink drain with the bathroom light on overnight. Leave a small gap for air. If gnats are stuck to the tape in the morning, the drain is the source. Pour ¼ cup of a gel drain cleaner (Target brand works) or a full kettle of boiling water into every drain—kitchen sink, bathroom sink, shower, and tub. Let it sit for 30 minutes, then run hot water. Repeat every three days for two weeks to break the life cycle.

Fungus Gnats in Houseplant Soil

If the gnats hover around potted plants, the soil is infested with larvae. Mix Mosquito Bits into hot water at the label rate, let it steep for 3–12 hours, strain out the solids, and water the plant with the tea. This kills larvae without harming the plant. Repeat every two weeks. For a spot treatment on active adults, spray a diluted hydrogen peroxide solution (1 part 3% peroxide to 4 parts water) onto the top inch of soil—only if gnats are widespread, because peroxide drives larvae deeper if used too locally.

Mistakes that sabotage gnat control: forgetting the dish soap (gnats just float on plain vinegar), targeting only adults with traps while ignoring the drain or soil, placing traps too far from the infestation, and using red or yellow containers instead of blue (blue attracts more insects).

Commercial Trap Options at a Glance

Product Type How It Works Power Needed
Katchy Indoor Insect Trap UV light + scent pod + fan suction Plug-in AC
Zevo Plug-In Trap Electrical attractant + sticky pad Plug-in AC
Orkin Sticky Fly Strips Unroll and hang; no bait None
Orkin Glueboards with Lure Pre-baited adhesive boards None
Houseplant Pot Sticky Boards Small stakes that stick into soil None
Blue Light Sticky Traps Fluorescent blue/yellow + adhesive film Plug-in AC or battery

Trap and Treat Checklist

Follow this order and the gnat problem ends within 48 hours.

  1. Make one trap bowl — apple cider vinegar, sugar, warm water, and dish soap placed where you see the most gnats.
  2. Test every drain with duct tape overnight; pour boiling water or drain cleaner into any positive drain.
  3. Apply Mosquito Bits tea to every houseplant that has gnats flying near it.
  4. Replace the trap liquid every 2–3 days until you stop seeing new gnats.
  5. Keep the area dry — wipe down counters, empty compost buckets, and fix leaky faucets.

FAQs

Why do my homemade traps sometimes fail to catch anything?

Most failures come from leaving out the dish soap. Without it, gnats simply stand on the liquid’s surface and fly away. Also check that the trap is placed within a few feet of the infestation—gnats will not travel across a whole house for a small dish of vinegar.

How long does it take for a gnat trap to clear an infestation?

A single bowl trap usually catches most visible adults within 12 to 24 hours. But the full infestation only ends once you treat the breeding source in the drain or soil. Combined, you can expect noticeable reduction in two days and full resolution in about a week.

Can I use plain white vinegar instead of apple cider vinegar for the trap?

White vinegar works but is less attractive because it lacks the fruity fermentation compounds gnats hunt for. If you only have white vinegar, add a spoonful of sugar and a slice of ripe fruit to boost the scent—it will catch gnats nearly as well as apple cider vinegar.

Are commercial plug-in traps better than homemade bowls?

Plug-in traps like Katchy and Zevo work well for large or persistent infestations because they run 24/7 and use UV light to pull gnats from farther away. Homemade bowls cost pennies and match the catch rate for a small kitchen swarm. The best choice depends on how widespread the problem is.

Will a gnat trap attract more gnats into the house from outside?

No. Traps only affect gnats already inside your home—the bait scent does not carry far enough to pull new gnats through walls or windows. If you see the swarm growing instead of shrinking, you likely have a hidden breeding source that the trap is not covering.

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.