How to Get Rid of Fungus Gnats in Houseplants
Quick answer
To learn how to get rid of fungus gnats in houseplants, target both flying adults and soil-dwelling larvae simultaneously. Allow the top two inches of soil to dry out completely between waterings, use yellow sticky traps to catch flying adults, and apply Bacillus thuringiensis israelensis (BTI) or beneficial nematodes to kill larvae feeding on plant roots.
Key takeaways
- Fungus gnat larvae damage root systems, while adult gnats spread fungal spores.
- Allowing the top 2 inches of potting soil to dry out stops egg hatching.
- Yellow sticky traps capture flying adults before they lay more eggs.
- Bacillus thuringiensis israelensis (BTI) naturally destroys gnat larvae in soil.
- Sand or diatomaceous earth soil toppers prevent adult gnats from laying eggs.
Quick facts
| Target Pest | Fungus Gnats (Bradysia species) |
|---|---|
| Primary Cause | Overwatering & persistent damp soil |
| Life Cycle | 17 to 28 days (Egg to Adult) |
| Damaging Stage | Larvae (feed on roots and decaying matter) |
| Best Larval Control | BTI (Mosquito Bits) soil drench |
| Best Adult Control | Yellow sticky cards |
Understanding How to Get Rid of Fungus Gnats in Houseplants
Learning how to get rid of fungus gnats in houseplants starts with understanding that you are fighting two distinct life stages at the same time. Adult gnats flit around your living space and annoy your family, while transparent larvae live below the soil line eating organic matter and delicate feeder roots. If you only target the flying adults, new larvae will continuously hatch from the soil to take their place.
A complete removal strategy combines physical traps for adults with biological or natural soil treatments to destroy the larvae. By disrupting their quick three-to-four-week breeding cycle, you can clear an infestation completely in under a month without resorting to harsh chemical sprays that might harm your family, pets, or delicate indoor greenery.
What Do Fungus Gnats Look Like?
Identifying the pest correctly is key because growers often confuse fungus gnats with fruit flies or drain flies. Knowing what do fungus gnats look like helps you select the correct treatment method right away.
Adult fungus gnats are tiny, delicate insects measuring about 1/16 to 1/8 inch long. They look like mini mosquitoes with dark grey or black bodies, long slender legs, and long antennae. They are weak fliers that tend to hover close to plant foliage or walk across potting soil rather than darting quickly around human food or sinks.
- Adults: Black or dark brown bodies, clear greyish wings with a distinct Y-shaped vein pattern, long thin legs.
- Larvae: Legless, translucent white worms with shiny black head capsules, reaching up to 1/4 inch long inside moist soil.
- Eggs: Microscopic, smooth, oval white eggs laid in clusters in topsoil.
What Causes Fungus Gnats in Indoor Plants?
Understanding what causes fungus gnats is your best defense against future outbreaks. These pests do not appear out of nowhere; specific indoor environmental conditions attract them.
The main trigger for fungus gnats is excess moisture in the top two inches of potting soil. Female gnats seek out damp organic soil rich in fungi and decaying leaf litter to lay their eggs. Common causes include:
- Overwatering: Keeping plant soil constantly wet creates an ideal breeding ground for fungi and gnat larvae.
- Poor Drainage: Pots lacking drainage holes keep moisture trapped in the lower root zone for weeks.
- Bagged Soil Contamination: Store-bought potting soil stored outdoors at garden centers often arrives pre-infested with gnat eggs or larvae.
- Decaying Organic Material: Dead leaves, rotting roots, or uncomposted soil additives provide endless food for young larvae.

Step-by-Step Guide on How to Get Rid of Fungus Gnats in Houseplants
Follow these practical steps on how to get rid of fungus gnats in houseplants to wipe out the entire colony step by step.
- Isolate Infected Plants: Move plants showing gnat activity away from unaffected greenery to stop the spread.
- Dry Out the Topsoil: Allow the top 2 to 3 inches of potting soil to dry out completely before watering again. Gnat eggs and young larvae dehydrate quickly in dry soil.
- Set Up Yellow Sticky Traps: Place yellow sticky cards at soil level in every pot. Adult gnats are attracted to the yellow color and stick to the surface before laying eggs.
- Apply BTI Soil Drench: Soak Mosquito Bits or Mosquito Dunks in room-temperature water for 30 minutes, strain out the solids, and water your plants thoroughly with the liquid. The active ingredient, Bacillus thuringiensis israelensis, kills larvae when ingested.
- Bottom-Water Your Plants: Pour water into the plant saucer rather than top-watering. This allows roots to draw moisture from the bottom while keeping the topsoil dry and unappealing to adult gnats.
How to Kill Gnats in Houseplants Using Natural Treatments
When exploring options for how to kill gnats in houseplants, biological controls and physical barriers work best because they eliminate pests without polluting indoor air quality.
1. Bacillus Thuringiensis Israelensis (BTI)
BTI is a naturally occurring soil bacterium that targets larvae of mosquitoes, blackflies, and fungus gnats. It produces proteins that dissolve the digestive tracts of gnat larvae, killing them within 24 to 48 hours while leaving plant roots, humans, and pets entirely unharmed.
2. Beneficial Nematodes
Beneficial microscopic roundworms (specifically Steinernema feltiae) actively hunt down gnat larvae in the soil. Mix the nematode powder with water according to package instructions and pour it into damp soil. They multiply inside the larvae and provide continuous biological control.
3. Diatomaceous Earth (DE)
Food-grade diatomaceous earth consists of fossilized microscopic algae with razor-sharp edges. Sprinkle a thin layer of dry DE over dry topsoil. When adult gnats or emerging larvae crawl across it, the sharp particles cut their outer shells, causing them to dry out and die. Note that DE loses effectiveness when wet, so reapply after soil dries.
Does Hydrogen Peroxide Kill Fungus Gnats?
Many plant owners wonder: does hydrogen peroxide kill fungus gnats effectively? The short answer is yes, a diluted hydrogen peroxide drench kills gnat larvae instantly on contact inside the soil.
To make a safe hydrogen peroxide drench, combine one part 3% household hydrogen peroxide with four parts room-temperature water. Mix thoroughly and pour it directly into the potting soil until it runs out the drainage holes.
When the solution touches the moist soil, it fizzes and releases oxygen bubbles. This reaction destroys gnat larvae and eggs while aerating the soil zone. However, hydrogen peroxide is a non-selective treatment; it also wipes out beneficial soil bacteria alongside the pests. For best results, use hydrogen peroxide for immediate knockdowns, wait one week, and then reintroduce beneficial microbes or organic BTI treatments.
Preventing Fungus Gnats from Returning to Your Home
Once you clear an active infestation, establishing good care habits prevents fungus gnats from taking over your indoor garden again.
- Check Moisture with a Probe: Use a moisture meter or insert a finger 2 inches into the soil before watering to ensure the top layer is genuinely dry.
- Add a Physical Top Dress Barrier: Cover topsoil with a 1/2-inch layer of coarse sand, fine gravel, or crushed glass. Adult gnats cannot penetrate coarse sand to lay eggs, breaking their reproductive cycle.
- Quarantine New Houseplants: Keep newly purchased plants isolated in a separate room for 14 days to observe for any pest activity before mixing them with your collection.
- Sanitize Potting Soil: If using leftover or open bags of potting mix, pour boiling water through the soil or bake small batches in an oven bag at 180°F (82°C) for 30 minutes to destroy hidden eggs before repotting.
Frequently asked questions
How long does it take to get rid of fungus gnats completely?
Eliminating a fungus gnat infestation typically takes 2 to 4 weeks. Because treatments target specific life stages, you must maintain sticky traps and soil treatments through at least one full gnat life cycle.
Will fungus gnats kill my houseplants?
Adult fungus gnats do not harm plants directly, but heavy larval infestations chew off fine root hairs. Damaged root systems reduce a plant's ability to absorb moisture and nutrients, leading to yellowing foliage and stunted growth.
Can I use neem oil for fungus gnats in houseplants?
Yes, clarifying cold-pressed neem oil works as a soil drench to disrupt gnat larval development. Mix pure neem oil with liquid Castile soap and warm water, then drench the soil every 7 days until gnats are gone.
Are fungus gnats dangerous to pets or humans?
No, fungus gnats do not bite, sting, or carry diseases that harm humans or household pets. They are strictly nuisance pests that feed on soil fungi, decaying plant tissue, and delicate roots.
Sources & methodology
- Hardiness zones: USDA Plant Hardiness Zone Map.
- For local conditions, check your state’s cooperative extension service.
- Written and reviewed by the Biokies editorial team. Last updated November 20, 2026.
Photo: Bergadder / Pixabay
📌 Save this guide for later on Pinterest
Save