Tiny fungus gnats around the soil surface of a potted houseplant

Fungus Gnats: How to Get Rid of Them in Houseplants and Seedlings

You're watering your fiddle-leaf fig and a tiny cloud of dark flies lifts off the soil, circles once, and disappears into your curtains. If that scene is familiar, you're dealing with fungus gnats. In the Pacific Northwest, where gray skies and cool temperatures linger from October through April, they rank among the most common houseplant complaints we hear at Dragonfly Farm and Nursery.

The good news: fungus gnats are very controllable once you understand what's happening in the pot. This guide covers what they are, why they're so persistent, and a complete treatment plan that targets both the adults you can see and the larvae you can't.

What Are Fungus Gnats?

Fungus gnats are tiny flies belonging to the family Sciaridae, primarily the genera Bradysia and Lycoriella. They're a common nuisance in homes, greenhouses, and nurseries worldwide, with more than 250 species documented in Britain alone.

What do fungus gnats look like?

Adults are small dark flies, 1/16 to 1/8 inch long, with slender antennae longer than their head. They're weak fliers that hover close to the soil surface. If you see tiny flies looping near a windowsill plant but rarely venturing far, fungus gnats are the likely culprit.

Are fungus gnats the same as fruit flies?

No. Fruit flies (Drosophila) are attracted to overripe fruit and food scraps above the soil line. Fungus gnats live in and around moist potting mix. If the flies appear when you water and hover near pots, you have fungus gnats. If they're circling your fruit bowl, you have fruit flies and the solution is different.

The Fungus Gnat Lifecycle: Why One Generation Keeps Becoming Another

The most important thing to understand about fungus gnats is that the flies you can see are nearly irrelevant. At any given moment, the vast majority of the population is underground: eggs, larvae, and pupae in the potting mix. Swatting or spraying adults does almost nothing to stop the cycle.

At 75°F, a full generation takes about 17 days: eggs hatch in three, larvae develop for ten, adults emerge four days later. Each female can lay up to 200 eggs on moist growing media. Indoors, with no seasonal pause, a small infestation can become a large one within weeks. That is why treatment targets the soil, not the air.

Do Fungus Gnats Actually Damage Plants?

Adults are harmless. They don't bite, don't feed on plants, and cause no direct damage. Larvae are another story: whitish and legless, up to 1/4 inch long with a black head capsule. They feed on root hairs, fungi, and organic matter, and in larger numbers they tunnel into roots and soft cuttings.

When do fungus gnats become a real problem?

For most established houseplants, a moderate infestation is annoying but not fatal. A healthy root system can outpace minor larval feeding. That said, wet soil conditions that fuel gnats are the same conditions that stress roots, so a persistent infestation is worth taking seriously. If you're also seeing yellowing leaves, our guide to diagnosing root rot and our yellow leaves diagnostic are worth checking alongside this one.

Why seedlings and cuttings are especially vulnerable

Seedlings and fresh cuttings have underdeveloped root systems that cannot outpace larval feeding. Larvae also create entry points for the soilborne pathogens that cause damping off, the sudden collapse of young seedlings at the soil line. If you're starting seeds indoors from February through May in the PNW, fungus gnats are a real risk to germination success and warrant proactive treatment, not a wait-and-see approach.

Why Fungus Gnats Love PNW Houseplants and Seedling Starts

The Pacific Northwest's wet shoulder seasons, October through April, create near-perfect conditions for fungus gnats indoors. Low light and cool temperatures slow evaporation dramatically. Plants that needed watering every five to seven days in summer may only need water every ten to fourteen days in December, but many gardeners keep their summer schedule, which keeps soil consistently wet. If you're noticing gnats in autumn without bringing home new plants, overwatering is almost certainly the trigger.

Most commercial potting mixes are peat-heavy, which retains surface moisture and suits fungus gnat larvae well. Greenhouse starts are often grown in high-peat media under low-light winter conditions and may already carry a small population when they arrive. October is a good time to dial back watering proactively and quarantine any new plant purchases for two weeks.

The Single Biggest Fix: Let the Soil Surface Dry Out

If you take nothing else from this article, take this: fungus gnat larvae cannot survive in dry growing media. Allowing the top inch of soil to dry out between waterings disrupts their habitat and cuts reproduction dramatically. This single cultural change, applied consistently, is more effective than any spray or treatment product.

Stick your finger an inch into the soil before watering. If it's still moist, wait. The top inch should feel dry to the touch. For most tropical houseplants, let the plant signal when it needs water (slightly drooping leaves, pot feels light when lifted) rather than watering on a calendar schedule. This isn't just about gnats. Most houseplants are killed by overwatering long before drought becomes a problem.

Bottom-watering: a smarter approach for fungus-gnat-prone plants

Bottom-watering keeps the soil surface drier while still delivering water to roots. Set the pot in a saucer with two to three inches of water, let it absorb for 20 to 30 minutes, then dump any remaining water. Avoid standing water under pots; it keeps the root zone wet and can contribute to root rot. This technique works especially well for houseplants and seedling trays where surface moisture is persistently high.

A Full Fungus Gnat Treatment Plan: Targeting Both Adults and Larvae

Adults and larvae live in different zones and respond to different controls. An effective treatment plan addresses both.

Yellow sticky traps (catch adults, gauge severity)

Place yellow sticky traps at soil level near affected plants. Five gnats per week signals a minor problem; fifty warrants the full protocol. Sticky traps don't affect larvae, but they're a low-cost monitoring tool and help reduce adult egg-laying throughout treatment.

Bti soil drench: the extension-recommended biological control

Bacillus thuringiensis israelensis (Bti) is a naturally occurring soil bacterium that is specifically toxic to fly larvae, including fungus gnats, mosquitoes, and black flies. It's harmless to plants, humans, and beneficial insects. UC ANR's IPM program recommends it as the primary biological control for fungus gnats in potted plants.

The home method: steep four tablespoons of Mosquito Bits (a granular Bti product at most garden centers) in one gallon of water for 30 minutes, strain out the solids, and water your plants with the Bti-infused liquid. Repeat every five to seven days for three to four weeks. Bti degrades quickly in soil, so repeat applications are necessary to catch multiple generations.

Hydrogen peroxide drench: fast-acting larva kill

For a faster knockdown, or to use alongside Bti, a hydrogen peroxide drench works well. Mix one part 3% hydrogen peroxide (standard drugstore variety) with four parts water and water your plants normally. The peroxide kills larvae on contact, then breaks down into water and oxygen in the soil. At this ratio it's plant-safe. A slight fizzing is normal. Use this drench two to three times over two weeks, alternating with Bti applications. Never use undiluted peroxide or concentrations above 3%.

Sand or diatomaceous earth topdress: physical barrier

A half-inch layer of coarse sand or food-grade diatomaceous earth on the soil surface prevents adults from laying eggs, deters larvae from reaching the surface, and helps the surface dry faster. It won't kill existing larvae, but it's a useful supplement when combined with soil drenches. Replace it if it becomes waterlogged or if you repot.

Beneficial nematodes for heavy or persistent infestations

Steinernema feltiae nematodes parasitize fungus gnat larvae in the soil. They self-reproduce in moist soil between 60 and 90°F, making them a practical option for greenhouse benches and large houseplant collections where gnats recur. Apply per package directions and keep soil moist for a few days afterward.

Preventing Fungus Gnats Before They Start

Quarantine new plants for two weeks

New houseplants, including nursery starts, should sit apart from your collection for 14 days. This gives any larvae time to emerge as adults, which sticky traps will catch, without spreading to neighboring pots. Even healthy-looking plants can carry a small egg or larval population in the potting mix.

Choose the right potting mix

Use fresh, pasteurized potting mix and avoid reusing old media or adding outdoor compost to indoor pots; both can introduce eggs or larvae. When repotting a plant that had gnats, start with a clean pot and fresh mix. Adding coarse perlite improves drainage and reduces surface moisture. Coir-based mixes are less hospitable to larvae than peat-heavy formulas.

Fungus gnats are persistent but predictable. They need moist soil to breed, and when you take that away consistently, they lose. Pair smart watering with a Bti drench cycle and sticky traps, and most infestations resolve in three to four weeks. The longer-term win is building better watering habits, not just solving the current outbreak.

Back to blog