Fungus Gnats
Small dark flies that rise from damp potting compost; the adults are only a nuisance, while their larvae live in the soil and can harm seedlings and cuttings.
How to spot them
The adults are dark greyish brown flies, mostly 3-4 mm long, which you often see running over the surface of pots and seed trays or flying slowly around the plant, according to the RHS. UC IPM describes them as dark, delicate flies that look rather like mosquitoes, with segmented antennae longer than the head, and says they are drawn to light, so the first ones you notice may be at a window, although they fly weakly and tend to stay near the pots.
The larvae live in the compost: the RHS describes them as slim, whitish maggots with black heads, up to 6 mm long, whose semi-transparent bodies often show the dark contents of the gut. Where the potting mix is very wet and they are numerous, the larvae can leave shiny slime trails on its surface, UC IPM notes. To check a pot for larvae, UC IPM mentions pieces of raw potato set into the soil with the cut side down, which draw the larvae to them.
The flies do not always come from a plant: University of Maryland Extension says they also breed in drains clogged with moist debris, and suggests covering the plant or the drain with a screen or cheesecloth and watching for flies over several days to find the source. In greenhouses they are often mistaken for shore flies, which Wisconsin Horticulture describes as sturdier, strong fliers with five pale spots on their dark wings that feed on algae.
The damage they do
The adults do not damage plants or bite people, UC IPM says, and the RHS counts them as an annoyance when they fly around indoors. The larvae mostly eat dead roots, decaying plant material and fungi, but the RHS says some species also attack soft tissue, like the roots of seedlings or the base of a soft cutting, and Colorado State University Extension says their feeding on root hairs leaves the plant less vigorous.
How much harm they do depends on the plant: the RHS says established plants are not harmed, while Clemson HGIC calls root feeding especially damaging to very young plants and says a heavily infested older plant may first just lose its healthy look and can drop leaves. UC IPM reports serious root damage and even dead plants among houseplants where large numbers lived in moist soil rich in organic matter, and warns that a wilting houseplant may be suffering from larval root damage or, more often, from other root problems rather than from dryness. In greenhouses the wounds the larvae make in roots can let root rot organisms in, Wisconsin Horticulture adds.
Their numbers build up in wet, organic compost: the RHS says fungus gnats thrive in damp composts high in organic matter and tend to be more numerous where the compost stays wet, and Clemson HGIC points to potting soil with a lot of organic matter, peat moss for example, made worse by overwatering. They can breed all year round in houses and greenhouses, and in summer the life cycle takes about a month, according to the RHS; Colorado State University Extension says indoor problems are most common in winter and early spring.
How to treat them
Drying the compost comes first: University of Maryland Extension says that if the gnats breed in potting soil you should let it dry out, because the larvae die once it is dry, and Clemson HGIC advises letting the soil dry between waterings for plants that can take it, which covers most houseplants, especially in winter. Colorado State University Extension calls changing soil moisture the most important step and suggests watering so that the surface of the soil can dry out in between. The RHS adds one condition: letting the compost dry reduces their numbers as long as the plant itself does not suffer.
Fresh compost removes the eggs and larvae in the old: the RHS suggests repotting into newly bought compost and not reusing the old compost, which can go on a compost heap instead. Yellow sticky traps near the plants cut down the number of adult flies, the RHS says, but they also catch many other small creatures, predators among them. Traps alone will not solve the problem, Colorado State University Extension explains, since the adults live only a few days and may have laid many eggs before they are caught.
Biological controls work in the compost: the RHS names the nematode Steinernema feltiae, predatory mites and a predatory rove beetle, sold by mail order, which are added to the potting compost and help control the eggs, larvae and pupae. UC IPM describes Bacillus thuringiensis subspecies israelensis (Bti) as a bacterium that harms only fly larvae, including those of mosquitoes and fungus gnats, notes that the Bt sold against caterpillars does not work on them, and says that because Bti does not persist indoors, potting mix may need treating again about every five days. University of Maryland Extension names Bti as the active ingredient in soil drenches whose labels cover indoor plants and fungus gnat larvae, and Colorado State University Extension rates it as highly effective as a soil drench and adds that some neem products are labelled for drenching the soil against the larvae.
UC IPM says insecticides are rarely warranted against these flies in and around the home, and that if you do use one, Bti or Steinernema feltiae nematodes against the larvae are the ones to consider. Clemson HGIC asks you to follow the label directions for safe use, and we do not advise on pesticides - ask your local extension service which products are approved where you live.
How to prevent them
They thrive where it is moist: UC IPM advises against overwatering, recommends good drainage and letting the surface of the potting mix dry between waterings, and suggests clearing up standing water and fixing leaks. Clemson HGIC says not to let water stand in the saucer under a pot, and to turn saucers upside down under plants kept outdoors so that they do not fill with rain.
The potting mix matters as well: the RHS says compost made for houseplants is the best choice indoors and may help you avoid large numbers of fungus gnats. UC IPM recommends buying pasteurised potting mix, storing it off the ground in closed containers, and not using compost that has not finished breaking down unless it has been pasteurised. Colorado State University Extension suggests avoiding soils high in organic matter and fish emulsion fertilisers, which favour the fungi the larvae eat, and Wisconsin Horticulture warns greenhouse growers that overfeeding promotes that fungal growth too.
Stop an infestation from spreading: UC IPM says not to move infested plants to new places where the flies can emerge and reach other pots, and that you may decide to throw out a severely infested plant. The RHS recommends checking indoor plants often to make sure they are not overwatered. Colorado State University Extension notes that fungus gnats are native insects common in lawns and garden soil, so new ones are likely to keep arriving from outdoors, but their numbers can be kept low enough not to be a serious nuisance.
Plants that get fungus gnats
Since the larvae develop in potting soil, almost any houseplant can host fungus gnats, according to Colorado State University Extension; the RHS lists seedlings, soft cuttings and pot plants, and in greenhouses Wisconsin Horticulture says the larvae can also damage larger plants of some species, such as begonias, carnations, geraniums and poinsettias. These 35 profiled plants name them in their own troubleshooting notes:
Houseplants 35
Sources
- RHS, Fungus gnats (sciarid flies)
- UC IPM, Pest Notes: Fungus Gnats (UC ANR Publication 7448)
- University of Maryland Extension, Fungus Gnats
- Colorado State University Extension, Managing Houseplant Pests (Fact Sheet 5.595)
- Clemson HGIC, Common Houseplant Insects and Related Pests (HGIC 2252)
- Wisconsin Horticulture, Fungus Gnats and Shore Flies in Greenhouses (PJ Liesch, UW-Madison Entomology)
Struggling to save a plant? The plant rescue guides walk through recovery step by step, and the problem solver works backwards from a symptom. This is general growing advice, not a diagnosis for a specific plant.
Tools for finding and keeping pests off
Links go to Amazon or a partner store (such as Adagio Teas) and may earn us a commission at no extra cost to you. As an Amazon Associate we earn from qualifying purchases. We link gear types, not sponsors' picks: you choose the exact product.