How To Get Rid of Gnats on Houseplants [EXpert Guide]

Fungus gnats are tiny, dark flies that hover around houseplant soil. While adult gnats are annoying, the real damage comes from their larvae, which feed on plant roots and organic matter in the soil. This guide covers identification, treatment, and prevention of fungus gnats.

Identification

  • Adults: Small (2-3 mm), dark, mosquito-like flies. Hover around soil surface. Weak fliers.
  • Larvae: Translucent, legless, with black heads. 5-6 mm long. Live in top 2-3 cm of soil.
  • Signs: Flies around plants, especially when watering. Seedlings wilting. Slow growth.

Life Cycle

  1. Egg: Laid in moist soil. Hatches in 3-4 days.
  2. Larva: Feeds on roots and organic matter for 10-14 days.
  3. Pupa: In soil. 3-4 days.
  4. Adult: Lives 7-10 days. Lays 100-200 eggs.

Complete cycle: 3-4 weeks. Multiple generations per year indoors.

Treatment Protocol

Step 1: Let soil dry

Fungus gnat larvae need moist soil. Let top 2-3 cm dry between waterings. This kills larvae and prevents egg-laying.

Step 2: Yellow sticky traps

Place yellow sticky traps near soil surface. Catches adult gnats. Reduces egg-laying. Replace when full.

Step 3: BTI (Bacillus thuringiensis israelensis)

Apply BTI drench (e.g., Mosquito Bits) to soil. Kills larvae. Safe for plants and pets. Repeat every 2 weeks.

Step 4: Top-dress with sand

Apply 1-2 cm layer of coarse sand on soil surface. Prevents adult gnats from laying eggs in soil.

Step 5: Hydrogen peroxide drench

Mix 1 part 3% hydrogen peroxide with 4 parts water. Drench soil. Kills larvae on contact. Repeat weekly.

Step 6: Repot (severe cases)

Remove plant from pot. Rinse roots. Repot in fresh, sterile soil. Discard old soil.

How To Get Rid Of Gnats On Houseplants
How To Get Rid Of Gnats On Houseplants, reference illustration

Prevention

  • Don’t overwater. Let soil dry between waterings.
  • Use well-draining soil. Prevents waterlogging.
  • Remove dead leaves. Reduces organic matter in soil.
  • Use sterile potting mix. Avoid garden soil.
  • Cover drainage holes. Prevents gnats from entering from below.
  • Top-dress with sand. Prevents egg-laying.

Practical Notes by Growing Situation

Indoor

Most common in overwatered houseplants. Check plants weekly. Treat at first sign. Use BTI preventively (monthly).

Seed starting

Seedlings are vulnerable. Use sterile seed-starting mix. Cover with plastic dome. Water from below. Use BTI preventively.

Container growing

Ensure drainage holes. Use well-draining mix. Let soil dry between waterings. Top-dress with sand.

High humidity

More fungus gnat problems. Ensure air circulation. Reduce watering. Use dehumidifier if needed.

Heavy Duty Gardening Tools

What to Expect: Recovery Timeline

  • Days 1-3: Fewer adult gnats. Yellow traps catch adults.
  • Week 1: Significant reduction. Larvae dying from BTI.
  • Week 2-3: Few or no gnats. New growth appears.
  • Week 4+: Pest-free. Resume normal care.
  • Month 2+: Plant is healthy. Monitor for recurrence.

Further Reading

Fungus Gnats, University of Missouri Extension (extension.missouri.edu). Fungus Gnat Management, Penn State Extension (extension.psu.edu). Fungus Gnats, University of California Cooperative Extension (ucanr.edu).

Last updated: 10 November 2026.

Samuel Aqualogi
Samuel Aqualogi

Meet Samuel, a passionate gardening enthusiast and lifelong learner.
With a deep love for all things green, Samuel spends his days exploring the latest gardening trends and technologies.
Whether it's trying out new techniques or discovering innovative tools, he is always eager to enhance her gardening skills.
Join Samuel on her journey as he shares experiences, tips, and the joy of nurturing nature!