Plants & gardening

Fungus Gnats vs Fruit Flies Around Plants

Fungus gnats vs fruit flies around plants, including how to tell them apart, where they breed, why potting soil attracts gnats, traps, BTI, watering changes, and prevention.

Small flies around houseplants are usually fungus gnats, not fruit flies. Fungus gnats breed in moist potting mix and hover around soil. Fruit flies breed around fermenting fruit, drains, trash, or food residue and are usually found near kitchens.

Correct identification matters because fungus gnat control starts with potting soil moisture, larvae, and sticky traps. Fruit fly control starts with food, drains, and sanitation.

For broader houseplant pest control, read Indoor Plant Pest Control Guide.

Last updated: June 6, 2026.

Quick Answer

Fungus gnats are small dark flies that hover around damp potting soil. Fruit flies are tan or brownish flies usually found around fruit, drains, trash, or fermented liquids. Yellow sticky traps catch adult gnats, but long-term fungus gnat control requires drying the soil surface, reducing overwatering, and targeting larvae with labeled products such as BTI where appropriate.

Difference Table

Feature Fungus gnats Fruit flies
Location plant soil fruit, drains, trash
Color dark gray to black tan to brown
Flight weak, around pots more active around food
Larvae in moist potting mix in fermenting material
Main fix soil moisture and larvae control sanitation and drain cleaning

Why Fungus Gnats Like Houseplants

Fungus gnats thrive when potting mix stays moist and contains organic matter. Adults are annoying, but larvae can damage roots of seedlings and weak plants.

Common causes:

  • overwatering
  • dense potting mix
  • low light
  • no drainage
  • self-watering pots kept full
  • moldy soil

Read Mold on Houseplant Soil: Is It Dangerous? if you also see white surface growth.

How to Get Rid of Fungus Gnats

  1. Let the top layer of soil dry more between waterings.
  2. Use yellow sticky traps for adults.
  3. Remove dead leaves from soil.
  4. Improve light and airflow.
  5. Repot badly infested or sour soil.
  6. Use BTI products labeled for fungus gnat larvae if needed.
  7. Quarantine new plants.

Adult traps alone do not kill larvae.

How to Get Rid of Fruit Flies

If flies are around the kitchen:

  • remove overripe fruit
  • clean drains
  • empty trash
  • rinse bottles and cans
  • clean sticky spills
  • use vinegar traps if appropriate
  • check compost containers

Your plants may not be the source.

Prevention

  • avoid overwatering
  • use drainage pots
  • water according to plant need
  • inspect new plants
  • store potting mix sealed and dry
  • remove decaying plant material

For better watering habits, read How to Save an Overwatered Plant.

FAQ

Do fungus gnats harm houseplants?

Adults are mostly a nuisance. Larvae can harm seedlings, cuttings, and stressed plants by feeding on roots and organic matter.

Are fungus gnats a sign of overwatering?

Often yes. They are strongly associated with moist potting mix and organic debris.

Will repotting get rid of fungus gnats?

It can help in severe cases, but you still need to change watering habits or they may return.

Sources

Browse all guides →