Menu
HomeWhat to Plant NowHow to GrowPlant LibraryPricingOpen the App

How to Get Rid of Fungus Gnats

Fungus gnats on houseplant soil and yellow sticky traps

The little flies around your houseplants and seedlings, and the honest plan that works

Few things test a plant lover's patience like a cloud of tiny flies lifting off the soil every time you water. They are annoying, they multiply fast, and they seem impossible to shake. The good news is that fungus gnats are very beatable once you understand what they are and break their life cycle properly. This is the honest plan, with no miracle cures.

What fungus gnats are

Fungus gnats are small dark flies, about 1/8 inch long, or 2 to 4 mm, that live in damp potting mix. The adults you see flying around are weak fliers and mostly harmless. They do not bite and they do not eat your plants. They are a nuisance, and a sign that conditions are right for them to breed.

The real trouble is below the surface. The adults lay eggs in the top inch of moist mix, and the larvae that hatch are tiny pale grubs with a dark head. They feed on fungi, decaying organic matter and the fine feeder roots of your plants. In a strong, established houseplant this rarely matters. In a tray of seedlings or a young plant with a small root system, the larvae can do real damage and set plants back or kill them.

Why they appear

Fungus gnats want one thing above all, damp mix that stays damp. The most common cause is overwatering, soggy potting mix and poor drainage, which keeps the top layer wet enough to breed in. A rich, peaty, organic potting mix gives the larvae plenty to eat, so it makes things worse.

They also hitch a ride. New plants from the store often arrive with gnats already in the pot, and fresh bags of potting mix can carry eggs or larvae, especially if the bag has been open and damp for a while. Once they are in the house, any pot that stays wet becomes a nursery, and they spread from there.

How to confirm them

Before you treat, make sure fungus gnats are what you have.

Gnats or fruit flies? If the flies hover around fruit, the trash or the kitchen counter rather than the soil, they are fruit flies, a different insect with a different fix. Fungus gnats stay close to the pots and the mix.

The control plan

Beating fungus gnats means clearing the adults you can see and the eggs and larvae you cannot, over a full life cycle. Use several of these together for best results.

Seedlings are the most at risk, so treat any seed tray showing gnats promptly before the larvae chew through those tiny roots.

Prevention

Once they are gone, keep them gone by removing what they need.

Catch problems before they spread

The in-app Pest and Plant Doctor tools help you identify what is bothering a plant and walk you through the fix, with reminders to keep the cycle broken.

Open the App →

Common questions

What are the tiny flies around my houseplants?

They are almost certainly fungus gnats, small dark flies about 1/8 inch, or 2 to 4 mm, that live in damp potting mix. The adults are a harmless nuisance that drift up when you water or brush a plant. The damage comes from their larvae in the top inch of soil, which feed on fungi, decaying matter and fine roots. If the flies hover around fruit on the counter instead of the soil, those are fruit flies, a different insect.

Why do I keep getting fungus gnats?

They thrive in constantly damp, rich potting mix, so the usual cause is overwatering, soggy mix or poor drainage. They also arrive on new plants and in fresh bags of potting mix, then breed in any pot that stays wet. As long as the top inch of mix stays moist there is somewhere for the next generation to lay eggs, so the flies keep coming back until you let that layer dry out.

Do fungus gnats harm plants?

The adults do not harm plants, they are mostly an annoyance. The larvae can damage fine feeder roots, and this matters most for seedlings and young plants with small root systems, which can be set back or killed. Established houseplants usually shrug off a light infestation, but a heavy one is worth controlling.

How long does it take to get rid of fungus gnats?

Plan on a 3 to 4 week cycle, because that covers the gnat life cycle and clears the eggs and larvae already in the mix, not just the adults you can see. Let the top inch of mix dry between waterings, run yellow sticky traps for the adults, and use a BTi drench at every watering through the cycle. Stopping early lets a fresh generation hatch and the problem returns.

Does cinnamon work on fungus gnats?

Honestly, only a little. Cinnamon has mild antifungal properties, so a dusting on the soil surface can slow the fungi the larvae feed on, but it does not kill the larvae and it will not clear an infestation on its own. Treat it as a minor helper at best. Drying out the top inch of mix, sticky traps and a BTi drench do the real work.

Source: university extension guidance on fungus gnats in houseplants and greenhouses.

See also: Pest Management Guide →

Related guides

See what to plant this month

Pick your region for a month-by-month calendar tuned to your climate.

Find your region →