Yellow sticky traps are the most effective way to catch adult fungus gnats, but traps alone won’t solve an infestation. Adults live only about a week, and the real damage comes from larvae feeding on roots in your soil. A complete strategy pairs traps for the flying adults with a soil treatment that breaks the breeding cycle. At room temperature (75°F), fungus gnats go from egg to adult in roughly 17 days, so most infestations can be cleared within three to four weeks using the right combination.
Why Yellow Sticky Traps Work
Fungus gnats are strongly attracted to the color yellow. Bright yellow sticky traps, at least 3 by 5 inches, are the standard recommendation from university extension programs. You can buy them pre-made or make your own by coating yellow cardstock with petroleum jelly or a commercial sticky coating.
Placement matters more than most people realize. For houseplants, position the trap so the bottom edge sits right at the top of the plant canopy, near the soil surface where gnats congregate. Orienting the trap horizontally (facing down toward the soil) can catch more gnats since they tend to hover near the growing medium. However, a vertical orientation catches a wider range of flying insects if you’re dealing with multiple pest species. Check traps every few days. When they’re covered in gnats, replace them.
Sticky traps reduce the adult population and prevent females from laying new eggs, but they won’t touch the larvae already developing in your soil. Think of them as one half of a two-part solution.
Apple Cider Vinegar Traps
A shallow dish of apple cider vinegar with a few drops of dish soap is a popular DIY option. The vinegar attracts the gnats, and the soap breaks the surface tension so they drown. These work, but they’re less effective than yellow sticky traps for fungus gnats specifically. Fungus gnats are more reliably drawn to the yellow color than to fermentation odors (vinegar traps work better for fruit flies). Still, a vinegar trap near an infested plant will catch some adults and costs almost nothing to set up.
Killing Larvae in the Soil
Trapping adults is satisfying, but eliminating the larvae is what actually ends an infestation. Fungus gnat eggs hatch in about 3 days at 75°F, and larvae feed in the soil for roughly 10 days before pupating. That 10-day window is when they’re vulnerable to treatment.
BTI Soil Drench
BTI is a naturally occurring soil bacterium that kills fungus gnat larvae when they ingest it. It’s organic, safe for people and pets, and won’t harm your plants. You dissolve BTI powder or granules in water and use it to water your plants normally. A typical mixing ratio is 1 to 3 teaspoons of BTI powder per gallon of water, bumping up to 4 or 5 teaspoons for heavy infestations. Water your plants with this solution every time you water for at least two to three weeks to catch successive generations of larvae.
Hydrogen Peroxide Drench
Mix one part standard 3% hydrogen peroxide with four parts water and pour it through the soil. It fizzes on contact with larvae, killing them without damaging roots. Let the soil dry out afterward. This is a good one-time knockdown treatment, but it doesn’t leave any residual protection the way BTI does. You may need to repeat it.
Beneficial Nematodes
Microscopic nematodes (specifically the species Steinernema feltiae) are living organisms that actively hunt fungus gnat larvae in soil. You mix them into water and apply as a soil drench. Field trials show at least a 70% reduction in pest populations when applied correctly. The key requirement is moisture: keep the soil damp for at least two weeks after application so the nematodes can move through it and survive. They’re sensitive to drying out, so time your application with regular watering.
Predatory Mites
Predatory soil mites are a set-and-forget biological option. They live in the top inch of your growing medium and consume up to 30 prey per day, including fungus gnat larvae. A single application can establish a population that lasts an entire growing season. They work best between 59°F and 86°F and become sluggish below 57°F. This option is more common in greenhouses and for plant collectors with large collections, since you’re buying thousands of mites at once (typically around 25,000 per container).
Sand and Gravel Top Dressing
A physical barrier on the soil surface prevents adult gnats from laying eggs in the first place. A half-inch to one-inch layer of coarse horticultural sand, or three-quarters to one inch of crushed pumice or lava rock, blocks females from reaching the moist organic soil they need for egg-laying. This approach works well as a preventive measure or as a complement to other treatments. It also helps the top layer of soil dry faster, which discourages gnats on its own.
Avoid fine sand, which can compact and hold moisture at the surface. You want coarse, gritty material that drains quickly and creates an inhospitable dry layer.
Let the Soil Dry Between Waterings
Fungus gnats thrive in consistently moist organic soil. The single most impactful habit change is letting the top inch or two of soil dry out completely between waterings. Larvae need moisture to survive, and eggs laid in dry soil won’t develop. Many houseplants tolerate (and even prefer) this drying cycle. If you tend to overwater, fixing that alone can prevent future infestations after you’ve cleared the current one.
Putting a Treatment Plan Together
The most reliable approach combines immediate adult trapping with sustained larval treatment over three to four weeks. Here’s what that looks like in practice:
- Week 1: Place yellow sticky traps near every infested plant. Apply a hydrogen peroxide drench to kill existing larvae. Let the soil dry as much as your plants will tolerate.
- Weeks 2 through 4: Switch to BTI-treated water for all waterings. Replace sticky traps as they fill up. New adults will still emerge from pupae already in the soil, but the traps catch them before they can lay eggs, and the BTI kills any larvae that hatch.
- Ongoing prevention: Add a sand or pumice top dressing. Water less frequently. Keep a sticky trap or two near your plants as an early warning system.
Because a full generation takes about 17 days at room temperature, you need to maintain treatment for at least that long to catch every stage. Warmer rooms speed up the cycle, so err on the side of treating for a full month. Most people see a dramatic drop in adult gnats within the first week of combined treatment, with near-complete elimination by week three or four.