Small dark flies around houseplants? Identify fungus gnats, why wet soil attracts them, how watering changes help and how they differ from fruit flies.
Small dark flies circling a houseplant, a window or a lamp are often fungus gnats. University of Wisconsin–Madison Extension describes them as insects commonly associated with overwatered houseplants. In most homes they are a cosmetic nuisance rather than a threat to plants, but their larvae can occasionally damage roots when numbers are high.
This guide explains how to identify fungus gnats, why they appear, how watering changes help, and how they differ from fruit flies. It is general household and plant-care guidance, not a claim that Herbal Pest Control Service offers fungus gnat treatment.
How to identify fungus gnats
Wisconsin Extension describes the adults and larvae as follows:
Adults are usually noticed flying near windows and lamps, or walking and resting on the soil of potted plants.
Fungus gnats or fruit flies?
Wisconsin Extension notes that fungus gnats are often mistaken for fruit flies, but they are two distinct insects. A practical way to tell them apart is where they gather:
The difference matters because the sources and traps differ. Wisconsin Extension states that vinegar traps used for fruit flies do not work for monitoring fungus gnats. If the flies are around fruit and the kitchen bin rather than plants, see our guide to house flies and fruit flies.
Why fungus gnats appear
Fungus gnat larvae feed on decaying organic matter and fungi in the soil, so constantly moist potting mix suits them. Females lay eggs in cracks on the surface of moist soil. According to Wisconsin Extension:
Wisconsin Extension also notes that problems often increase when plants kept outdoors are brought back inside. Adult gnats do not feed on or damage plants.
How to check for them
Watering changes: the most important step
Wisconsin Extension describes changing the plant's conditions as the single most important step in managing fungus gnats. The aim is to keep the soil surface dry so it is less suitable for egg-laying:
1. Let the top inch dry out: allow the top inch (about 2.5 cm) of soil to dry before watering again.
2. Water from the bottom: this keeps the roots supplied while the surface stays drier.
3. Add a dry top layer: a 1/2 to 1 inch layer of coarse sand or fine gravel on the soil helps keep the surface drier.
Wisconsin Extension notes that it may take three to four weeks of changed watering and a sand or gravel layer to bring fungus gnats under control, which matches the length of their life cycle. Check the needs of each plant before changing its watering routine.
Prevention tips
Biological and chemical products
Wisconsin Extension lists products containing *Bacillus thuringiensis* subsp. *israelensis* (Bti) for fungus gnat larvae in soil. These do not affect eggs, pupae or adults, and the extension describes repeat applications spaced five to seven days apart. Check whether such products are available and approved for this use where you live, and follow the label.
The same source states that chemical controls are not warranted unless an infestation is severe. If insecticides are used, choose a product labelled for indoor houseplants, follow the label, and do not spray into the air, which the extension describes as ineffective. Insecticides should not replace the watering changes above.
Frequently Asked Questions
Are fungus gnats harmful to people?
The sources used here describe fungus gnats mainly as a nuisance. Adults do not feed on plants, and larvae only occasionally damage roots when numbers are high.
Why do I still see gnats after changing my watering?
Eggs, larvae and pupae already in the soil continue developing. Wisconsin Extension suggests it can take three to four weeks of modified watering to bring numbers under control.
Will a vinegar trap catch fungus gnats?
According to Wisconsin Extension, vinegar traps used for fruit flies do not work for monitoring fungus gnats. Yellow sticky traps near the plant are the suggested option.
Do I need to throw away my plant?
The sources used here do not say this is necessary. Their main recommendation is to keep the soil surface drier, use sticky traps and, if needed, a larval product such as Bti.
Sources
These sources do not confirm which products are registered in India; always check local labels.