The most effective outdoor gnat traps use either a liquid bait that drowns gnats on contact or a sticky surface that catches them mid-flight. Which type works best depends on the species bothering you and whether you’re protecting a patio, garden, or larger yard. Both DIY and commercial options can make a real difference, especially when you pair traps with strategies that reduce gnat populations at the source.
Why Gnats Swarm Your Outdoor Space
Understanding what draws gnats helps you place traps where they’ll actually work. The term “gnat” covers several species. Eye gnats are attracted to sweat and oily skin secretions, which is why they hover around your face. Biting midges, sometimes called no-see-ums, feed on blood. Fungus gnats breed in damp soil and organic debris. All of them thrive in warm, moist environments with decaying plant material nearby.
Female eye gnats specifically seek out proteins from sweat and skin oils to produce eggs. That biological drive is what makes them so persistent around people sitting outside. Biting midges behave similarly but actually pierce the skin. Fungus gnats are less interested in you and more interested in your garden beds, potted plants, and compost. Knowing which type you’re dealing with helps you choose the right bait and trap style.
Apple Cider Vinegar Traps
This is the simplest and most popular DIY option. The fermentation scent of apple cider vinegar mimics rotting fruit, which gnats can’t resist. You need three things: one-third cup of apple cider vinegar, two tablespoons of water, and a single drop of liquid dish soap. Pour everything into a small jar or bowl and set it where gnats are worst.
The dish soap is the critical ingredient. It breaks the surface tension of the liquid so gnats that land on it sink and drown instead of sitting on top and flying away. Use only one drop. Too much soap creates a film that can actually repel insects rather than trap them. Swap out the mixture every two to three days, since the vinegar loses its potency as it evaporates and collects debris. For a patio or deck, set out three or four traps spaced a few feet apart rather than relying on one.
Yeast and Sugar CO2 Traps
This approach mimics the carbon dioxide that humans exhale, which is one of the strongest attractants for biting gnats and midges. Cut the top off a plastic bottle, flip it upside down into the base to create a funnel, and pour in the bait: one tablespoon of sugar, one teaspoon of active dry yeast, and one cup of warm water. Drop in a few pieces of ripe banana or apple to boost the fermentation.
As the yeast feeds on the sugar, it produces a steady stream of CO2 that lures gnats into the funnel. Once inside, they can’t easily find their way back out. A yellow bottle or yellow funnel improves results because many gnat species are naturally drawn to yellow. These traps work especially well in garden areas away from where you’re sitting, pulling gnats toward the trap and away from you. The yeast stays active for about five to seven days before you need to refresh the mixture.
Sticky Traps for Outdoor Use
Yellow sticky traps are a passive option that requires no bait at all. The bright yellow color attracts gnats, whiteflies, aphids, thrips, midges, and other small flying insects. They land on the adhesive surface and can’t escape. You can buy them as small stakes for garden beds or as hanging cards for patios and porches.
Sticky traps work best as a monitoring tool and a supplement to other methods. They won’t eliminate a heavy gnat population on their own, but they’re useful for reducing numbers around specific plants or seating areas. Place them at the height where gnats are most active, typically near soil level for fungus gnats or at head height for eye gnats and midges. Replace them once the surface is covered or the adhesive dries out, usually every one to two weeks outdoors.
UV Light Traps
Electric traps that use ultraviolet light exploit a specific quirk of insect vision. Flying insects are most strongly drawn to UV-A light at a wavelength around 360 nanometers. Commercial outdoor traps emit light in this range, then either zap insects on an electrified grid or pull them into a collection chamber with a small fan.
Fan-based suction traps tend to catch more gnats than zappers because gnats are small enough to pass through wider electrified grids without making contact. Look for models rated for outdoor use with weather-resistant housing. These traps are most effective at dusk and after dark, when gnats navigate by light sources. During the day, competing sunlight reduces their pull significantly. Position a UV trap at least 10 to 15 feet from your seating area so it draws gnats away from you rather than attracting them closer.
Where to Place Outdoor Gnat Traps
Placement matters more than the type of trap you choose. The goal is to intercept gnats between their breeding sites and the areas you want to protect. If gnats are coming from a garden bed, place traps along the edge between the bed and your patio. If they’re breeding in a compost pile or standing water, set traps between that source and your outdoor living space.
Avoid placing bait traps directly on your dining table or next to where you sit. These traps attract gnats, so putting them too close means you’ll have more gnats near you before fewer. A distance of five to ten feet from seating areas is a good starting point. For sticky traps in garden beds, position them just above the plant canopy where gnats tend to hover. For vinegar or yeast traps, ground level or tabletop height works fine since the scent disperses outward in all directions.
Wind is a factor outdoors. On breezy days, scent-based traps lose effectiveness because the attractant disperses too quickly. Place them in sheltered spots, near fences, walls, or dense plantings that block wind. Sticky traps and UV traps are less affected by airflow.
Targeting Gnat Larvae at the Source
Traps only catch adult gnats. If you want lasting results, you need to reduce the next generation. Fungus gnats and many other species lay eggs in moist soil and standing water, so eliminating those breeding grounds is the most impactful thing you can do.
For standing water you can’t drain (birdbaths, rain barrels, decorative ponds), a biological larvicide containing BTI, a naturally occurring soil bacterium, kills gnat and mosquito larvae without harming plants, pets, or beneficial insects. Sprinkle about one teaspoon per 25 square feet of water surface, or one tablespoon per 75 square feet. Reapply every 7 days when larvae are abundant, or every 14 days for lighter infestations.
For fungus gnats breeding in garden soil or potted plants, mix four tablespoons of BTI granules into one gallon of water, let it sit for 30 minutes, then strain out the floating granules and water the soil directly. This kills larvae present at the time of application. Repeat weekly for three weeks to break the breeding cycle, since eggs already in the soil will continue hatching. Beyond BTI, let the top inch or two of soil dry between waterings whenever your plants allow it. Dry surface soil is inhospitable to gnat eggs and larvae.
Combining Methods for Best Results
No single trap eliminates outdoor gnats completely. The most effective approach layers multiple strategies. Use vinegar or yeast traps near problem areas to knock down adult numbers quickly. Add sticky traps around garden beds and container plants to catch gnats close to breeding sites. Treat standing water and damp soil with BTI to prevent new adults from emerging.
Reduce attractants where you can. Empty saucers under potted plants, clean up fallen fruit, move compost bins farther from living areas, and fix leaky outdoor faucets or hoses that keep soil constantly wet. These habitat changes do more long-term good than any trap. The traps buy you relief while the source reduction does the heavier work of shrinking the population over a few weeks.