Home
/
Guide
/
Pests

Fungus gnats, and how to end them

They live in wet topsoil, not on your plant. Change the soil surface and you change the outcome.

Author
The Chlorophyll team
Published
July 16, 2026
Reading time
4
Share
Close view of dark potting soil at the base of a leafy houseplant
Close view of dark potting soil at the base of a leafy houseplant
In this note

They're a soil problem, not a plant problem

Those small flies hovering near your plants aren't actually interested in the plant itself. They're living in the top inch or two of wet potting soil, where their larvae feed on organic matter and fungus. Change the conditions in that top layer and the gnats lose their nursery, whether or not you ever spray a single leaf.

Let the surface dry out

This is the single most effective fix. Fungus gnat larvae can't survive in dry soil, so let the top inch dry completely between waterings. Check with a finger before you water, not on a fixed schedule. For plants that like to stay evenly moist, water from the bottom instead of pouring water over the top, which keeps the surface drier while the roots still get what they need.

Dry topsoil is quiet soil. Gnats need moisture to breed, and the top inch is where they do it.

A few things that speed it up

  • A thin layer of sand, fine gravel or diatomaceous earth on top of the soil makes it harder for adults to lay eggs there.
  • Yellow sticky traps near the pots catch the adults and let you see whether the population is actually shrinking.
  • A hydrogen peroxide drench (one part 3% peroxide to four parts water, watered in like normal) kills larvae in the soil without harming most houseplants.

If it's not clearing up

A heavy, ongoing infestation usually means the soil is staying wetter than the plant needs, sometimes because the pot has no drainage, sometimes because the mix itself is too dense. Bring the plant in and we can take a look at both the pest and the setup underneath it.

Potted plant
Or let us do it

Buy the plant and the pot here and we'll pot it for you, in the right blend, before you walk out. Re-potting an old friend is a walk-in service too.

See all services
Keep reading

More from the potting bench

All notes →