To get rid of fungus gnats, attack both the flying adults and the larvae in the soil. Let the top 1 to 2 inches (2.5 to 5 cm) of potting mix dry out between waterings. The larvae cannot survive in dry soil. Catch the adults with yellow sticky traps. Water with a product made from BTI (Bacillus thuringiensis subsp. israelensis) to kill the larvae. Keep it up for three to four weeks, since new gnats keep hatching from eggs already in the soil.
Fungus gnats do not bite, and they do not spread disease to people. the University of Maryland Extension describes them as a nuisance that does not usually do significant damage to indoor plants. The larvae can still hurt the roots of seedlings and young cuttings, so it is worth dealing with a heavy infestation.
How to tell if you have fungus gnats
Fungus gnats are tiny, dark flies, about 1/8 inch (3 mm) long, with long legs and clear wings. They look like small mosquitoes. They fly in short, weak hops and often walk across the soil surface. You see them most when you water or bump the pot.
Fruit flies look different. They are tan, have red eyes, and gather around fruit bowls and compost bins instead of plants.
To check for larvae, cut a slice of raw potato and lay it cut-side down on the soil. Leave it for a day or two, then lift it. If you see tiny, clear-white worms with shiny black heads on the underside, you have fungus gnat larvae.
Not sure which bug you have? My post on tiny bugs in houseplant soil covers fungus gnats, shore flies, mealybugs, and soil mites.
Why you have them
Fungus gnats need wet soil. The females lay eggs in the top layer of damp potting mix, and the larvae feed on fungi and decaying organic matter there. A full cycle, from egg to adult, often takes about three to four weeks indoors.
The usual causes are:
- Watering too often, more in winter when plants use less water.
- Saucers that hold standing water.
- Peat-based potting mix that stays wet for days.
- A new plant or an open bag of potting mix that brought eggs into the house.
- Seed trays kept damp under domes.
Step 1: Let the soil dry out
This is the most important step. Wait until the top 1 to 2 inches (2.5 to 5 cm) of soil is dry before you water again. Eggs and young larvae in that top layer dry up and die.
Most houseplants handle this fine, and many prefer it. Empty saucers after watering. If a plant needs steady moisture, water from the bottom instead. Set the pot in a tray of water for 15 to 20 minutes, then let it drain. The roots get water and the surface stays drier. My post on how often to water your plants explains how to judge it by feel.
Step 2: Catch the adults with sticky traps
Yellow sticky traps catch the flying adults before they lay more eggs. Push the stake-style traps into the soil, or lay a flat card on the soil surface where the gnats crawl. Small yellow cards like Safer’s Sticky Stiks fit in a houseplant pot.
Traps also tell you how you are doing. Swap in a fresh trap each week. Fewer gnats on each new trap means the plan is working.
Traps alone will not solve the problem, because the larvae keep hatching in the soil. Pair them with the next step.
Step 3: Kill the larvae with BTI
BTI is a naturally occurring bacterium that kills fungus gnat and mosquito larvae. Wisconsin Horticulture lists homeowner products such as Mosquito Bits and Gnatrol. These treatments do not kill eggs, pupae, or adults, so you have to repeat them. Follow the current label. One common way to use Mosquito Bits is to soak the granules in water, strain them out, and use that water to water the plant.
To use it:
- Check the label for the current rate and any soaking time, because labels change.
- Strain out or skim off the granules.
- Use that water for your normal watering.
- Repeat each time you water for three to four weeks.
BTI does not last long in the soil, so steady use matters more than a strong dose.
Step 4: Cover the soil (optional)
A 1/2 to 1 inch layer of coarse sand, fine gravel, or aquarium grit on top of the soil helps. Wisconsin Horticulture recommends this to keep the surface drier and make egg laying harder.
Other options that work
If the steps above do not clear a bad infestation, try one of these:
- Hydrogen peroxide drench. Some gardeners water with a dilute mix of 3% hydrogen peroxide. Extension sources above focus on drying the soil and BTI, so treat this as a last try, test it on one plant first, and skip seedlings.
- Beneficial nematodes. Steinernema feltiae are tiny worms that hunt fungus gnat larvae in the soil. They work well in greenhouses and on large collections.
- Predatory mites. Stratiolaelaps scimitus live in the top layer of soil and eat larvae and eggs.
- Fresh soil. For one plant with a heavy infestation, shake off as much old mix as you can and repot it in fresh potting mix.
Skip the cinnamon and apple cider vinegar remedies. Vinegar traps catch a few adults, but neither touches the larvae.
How to keep fungus gnats away
Once the gnats are gone, a few habits keep them from coming back:
- Water only when the top inch of soil is dry.
- Empty saucers after watering.
- Check new plants for gnats before you set them next to your others.
- Store potting mix in a sealed bin, not an open bag. My guide on how to store potting soil shows how.
- Add perlite to heavy mixes so they drain and dry faster. See my post on how to use perlite in potting mix.
- Pick up fallen leaves from the soil surface.
Fungus gnats in seed trays
Seed starting is a prime time for fungus gnats. Trays stay warm and damp under domes, and seedlings have tender roots. Take the dome off as soon as most seeds sprout, water from the bottom, and run a small fan to dry the surface. Use BTI water if you see gnats. My seed starting guide covers the rest of the setup.
If you see white fuzz on your seed-starting mix along with gnats, it is likely harmless mold from the same wet conditions. My post on white stuff in potting soil explains what it is.
Fungus gnat FAQs
How do I get rid of fungus gnats in houseplants?
Let the top 1 to 2 inches of potting mix dry between waterings, catch adults with yellow sticky traps, and water with a BTI product labeled for fungus gnats. Keep it up for several weeks.
Do fungus gnats bite people or cats and dogs?
No. They do not bite, and they do not spread disease to people. They are mostly a nuisance, though larvae can damage seedling roots.
Will sticky traps alone solve a fungus gnat problem?
No. Traps catch flying adults and show whether the numbers are falling, but larvae keep hatching in the soil. Pair traps with drier soil and a larval treatment such as BTI.
Why do fungus gnats keep coming back?
Eggs and pupae in the soil keep hatching, and BTI does not kill those stages. It usually takes three to four weeks of drier soil and repeated treatments to break the cycle.
Indoor plant shops I recommend
Good plants and good supplies make indoor growing easier.
- The Sill: houseplants and potting mix delivered
- Click & Grow: the smart garden I use for indoor herbs, 31% off with code HHARVEST from November 3 to 30
- My Amazon storefront: the tools and supplies I keep coming back to
Some links earn me a commission at no cost to you. As an Amazon Associate I earn from qualifying purchases.




Leave a Reply