You water your plants, sit down with a cup of tea, and notice a few tiny dark flies drifting near the window.
They seem to come from the pots. A day later there are more.
These little visitors are almost always fungus gnats.
They are one of the most common problems for people who keep plants indoors.
The good news is that they are mostly a nuisance, and you can usually clear them with patience and a few simple habits.
This guide explains what fungus gnats are and why they appear.
It then walks you through a calm plan that works without harsh sprays.
What Fungus Gnats Look Like
Adult fungus gnats are small, dark, delicate flies.
They look a bit like tiny mosquitoes, with long legs and long antennae.
Most are about one sixteenth to one eighth of an inch long.
They are weak fliers, so they tend to stay close to the plants.
You will often see them resting on the soil, on leaves, or on a nearby window.
They are drawn to light, which is why many people first notice them near the glass.
The young stage is the one that matters most.
Fungus gnat larvae live in the potting mix.
They are tiny, legless, and pale, with a shiny black head.
When the soil stays very wet, they can even leave thin, shiny trails on the surface.
Are Fungus Gnats Harmful?
According to the University of California Statewide IPM Program, adult fungus gnats do not bite people and do not damage plants.
Their main effect is being annoying.
The larvae feed mostly on fungi and decaying organic matter in the soil.
They also chew on fine roots.
In large numbers they can stunt seedlings and young plants.
Healthy, established houseplants usually cope fine with a small population.
The same source makes a helpful point about wilting.
A droopy plant with gnats is usually suffering from too much or too little water, or from poor drainage.
The gnats are more often a sign of the problem than the cause of it.
Why They Show Up
Fungus gnats need moisture.
Females lay their eggs in damp potting mix that is rich in organic matter.
The larvae feed and grow there, and the cycle repeats.
Warmth speeds everything up.
The UC IPM guide to fungus gnats notes that at about 75 degrees Fahrenheit, a full generation can develop in roughly 17 days.
Eggs hatch in about three days.
Larvae feed for about ten days before turning into pupae.
Adults appear around four days after that.
This short cycle explains why a few gnats can become a small cloud in a couple of weeks.
It also explains why the fix takes a few weeks.
You are breaking a cycle, not swatting a single batch.
Common triggers include:
- Watering on a fixed schedule, so the mix never gets a chance to dry.
- Pots without drainage holes, or saucers left full of water.
- Potting mix that holds a lot of water and drains slowly.
- Compost that is not fully finished, mixed into indoor pots.
- A new plant that arrived with gnats already in the soil.
Step 1: Confirm and Find the Busy Pots
Start by watching for a day or two.
Note which plants have gnats resting on the soil or flying up when you touch the pot.
A simple home check helps you find larvae.
Cut a few small chunks of raw potato.
Press them into the surface of the potting mix with the cut side down.
After a few days, lift them and look underneath.
Larvae like to feed on the potato, so you will see them if they are there.
UC IPM describes this method for both checking and trapping larvae.
If you find a heavily infested plant, keep it apart from the others while you work on it.
Moving it around the house can spread the problem.
Step 2: Let the Top of the Soil Dry Out
This is the most important step, and it costs nothing.
UC IPM advises letting the surface of container soil dry between waterings.
Larvae struggle in dry soil, and females are less likely to lay eggs there.
Use the finger test before each watering.
Push a finger into the mix to about two inches deep.
Water only when it feels dry at that depth.
Our step-by-step guide to watering indoor plants calmly covers this routine in detail.
When you do water, water well and let the excess drain away.
Empty the saucer afterward.
Standing water is an open invitation to gnats.
Many people find bottom watering helpful here.
It wets the roots while the top layer stays drier.
Step 3: Trap the Adults With Yellow Sticky Cards
Yellow sticky traps are sold at most garden centers.
They catch adult gnats, which are attracted to the color.
You can cut a card into small squares and attach each one to a wooden skewer.
Push the skewer into the pot so the trap sits just above the soil.
Traps do two jobs.
They reduce the number of adults laying eggs.
They also show you whether your plan is working.
Fewer gnats on fresh cards each week means you are winning.
Keep traps away from pets and small children, since they are very sticky.
Step 4: Clean Up the Surface and the Space Around Pots
Gnats thrive where organic matter decays.
Remove fallen leaves from the top of the soil.
Wipe up any spilled water around the pots.
UC IPM suggests improving drainage in the potting mix, for example by adding more perlite.
It also advises against using compost that is not fully finished in indoor pots.
When you repot, choose a fresh, bagged potting mix.
Store open bags closed and off the floor so they stay clean.
Step 5: Use Bti if the Gnats Keep Coming Back
Sometimes drier soil and traps are not quite enough.
The next gentle option is Bti.
Its full name is Bacillus thuringiensis subspecies israelensis.
Bti is a naturally occurring bacterium that affects only the larvae of certain flies.
That group includes mosquitoes and fungus gnats.
It is sold at many garden centers as granules or a liquid to mix with water.
You apply it as a soil drench.
According to UC IPM, Bti does not persist indoors.
Repeat applications about every five days are often needed for a while.
Always read and follow the product label.
UC IPM notes that insecticides are rarely needed for fungus gnats in and around the home.
For most households, water management, traps, and Bti are enough.
A Calm Three-Week Plan
Because of the gnat life cycle, give your plan at least three weeks.
- Week 1: Find the busy pots with potato checks. Add sticky traps. Water only when the mix is dry two inches down.
- Week 2: Replace traps and count the catch. Clean the soil surface. Start Bti on the worst pots if numbers are still high.
- Week 3: Keep the drier routine. Repeat Bti if you started it. Fresh traps should show far fewer gnats.
After that, keep the watering habit.
It is the best protection against a return.
How to Keep Them From Coming Back
- Check new plants before bringing them home, and keep them apart for a couple of weeks.
- Water by need, not by the calendar.
- Use pots with drainage holes, and empty saucers after watering.
- Repot into fresh, well-draining mix.
- Keep one sticky trap near your plants as an early warning.
If you share your home with pets, check any new plant against the ASPCA list of toxic and non-toxic plants before adding it.
Fungus gnats can feel like a big deal when they first appear.
In reality, they are a gentle reminder to let your plants dry out a little.
Change that one habit, and most homes stay gnat-free.
Sources and Further Reading
- UC Statewide IPM Program — Pest Notes: Fungus Gnats: supports the description of adults and larvae, the life cycle at 75 degrees, the damage they cause, drying the soil surface, sticky traps, potato checks, and Bti.
- University of Maryland Extension — Watering Indoor Plants: supports watering by need with the finger test, thorough watering, and emptying saucers.
- ASPCA Animal Poison Control — Toxic and Non-Toxic Plants: the reference for checking whether a houseplant is safe around cats and dogs.