Also known as: fungus gnats on weed plants · Bradysia · sciarid flies · dark-winged fungus gnats

Fungus Gnats on Cannabis: Root Damage and Control

Why the larvae matter more than the flies, when they hurt cannabis roots, and which treatments hold up in greenhouse research.

Automated fact-check pass
7 cited sources
Published
Last reviewed
How this page was made

Growing, buying or possessing cannabis and seeds is legal only in some places. Check the law where you live before acting on this information.

↯ The honest take

The flies are a nuisance; the larvae are the pest. On a big healthy plant a few gnats are no emergency. On seedlings and clones, act at once. Let the top of the medium dry, kill larvae with Bti or nematodes, and keep going for at least a full generation. Sand and diatomaceous earth on top are popular and failed in tests. Most research is on greenhouse ornamentals, not cannabis, so treat the plant effects as likely, not measured.

Cannabis seedling in a cut-away pot with gnat larvae at its roots and gnats on a small sticky card
Illustration made with AI.

The short answer

To get rid of fungus gnats, let the top 2-5 cm (1-2 inches) of the medium dry between waterings, drench the pots with Bti (a bacterium that kills fly larvae) or with Steinernema feltiae nematodes, and repeat until the sticky cards stay empty for about four weeks. Spraying only the flies does not work, because eggs, larvae and pupae sit in the medium [1][2].

Established plants normally cope with a few gnats. Seedlings and clones with few roots are at real risk [1][3].

What they are and how to recognize them

Fungus gnats are dark, slender flies of 1.5-3 mm (1/16 to 1/8 inch) that run over the soil or fly weakly around the pot [1]. Indoors they are mostly Bradysia species. Adults live 7-10 days, and a female lays 100-200 eggs in cracks of the medium [3].

What you seeWhat it is
Small, mosquito-like flies with long antennae on the soilFungus gnats [1]
Stouter flies with very short antennae, near algaeShore flies [1]
Clear or whitish legless larvae with a shiny black head, in the top 5-8 cmFungus gnat larvae [1][2]
Shiny trails on very wet soilMany larvae [1]
Pear-shaped insects on the roots that barely moveLook at root aphids instead

At 24 °C (75 °F) eggs hatch in about 3 days, larvae feed for about 10 days, and adults come out some 4 days after pupation: 17 days from one generation to the next [1]. Cooler rooms take longer, 20-28 days in one greenhouse guide [3]. Generations overlap, which is why one treatment is never enough.

What the larvae do to roots

Larvae eat mainly fungi and decaying plant material. They also chew root hairs and healthy roots and tunnel into the stems of young cuttings [4]. In large numbers this stunts plants, and seedlings can die [1].

Disease. In greenhouse crops, larvae have carried root pathogens such as Pythium and Fusarium from sick to healthy plants, and their feeding wounds can let fungi in [4]. How much this matters in a pot is less clear. In a laboratory test, larvae passed one Pythium strain to 65% of geranium seedlings on filter paper, but to fewer than 6% in potting mix [5]. Adult flies probably don't spread Pythium, because it makes no spores above ground [4].

Pythium and Fusarium do cause root rot in cannabis [6]. We found no study that measured how often gnats bring them in, so don't assume that gnats caused every case of root rot No data.

A drooping seedling is not proof. Too much water, too little water, and root decay are all more common reasons for wilting than gnat larvae [1]. Feel the medium and lift the pot first. If it is wet and the plant still droops, look at the roots.

How to check if you have them

  1. Sticky cards. Put yellow cards at the pot edge or just above the medium, under the canopy [2][3]. Change and count them weekly. The trend matters more than any exact number. No tested action threshold exists for cannabis.
  2. Potato slices. Press raw potato, cut side down, onto the medium. Larvae gather under it [1]. Look after 48 hours, which finds more larvae than 24 hours [3].
  3. New arrivals. Keep new clones apart for a few weeks with their own card. Check bagged mix too: media with poorly finished compost are often infested already [1].

How to get rid of them

1. Dry the surface. Let the top 2-5 cm dry between waterings. Fewer eggs and young larvae survive, and females find the pot less attractive [2]. Don't let a plant wilt for it. Bottom watering helps, and so does a mix with more perlite. Seedlings in small plugs can't be dried far, so rely on step 2 there.

2. Kill the larvae.

TreatmentHow it worksGood to know
Bti (Bacillus thuringiensis subsp. israelensis)Larvae eat it, its toxin destroys the gutWorks best on young larvae [3]. Effect is temporary, so repeat as the label says [1]. Bt products against caterpillars don't work on gnats [1]
Steinernema feltiae nematodesMicroscopic worms that enter and kill larvaeKeep the medium moist and at about 16-32 °C (60-90 °F) [1]. Apply early, before numbers are high [3]
Stratiolaelaps (Hypoaspis) mitesHunt larvae and pupae in the top layerFor beds and larger grows; not a good choice for a few pots [1]

The University of California says these can be combined [1]. The US Environmental Protection Agency describes Bti as having no toxicity to people and acting only on larvae of mosquitoes, black flies and fungus gnats [7]. Buy a product whose label covers potted plants and follow the label. Mosquito Bits for Fungus Gnats covers the granules home growers use.

3. Catch adults. Cards catch some egg-laying females and can help a little [2]. They don't clear an infestation alone.

4. Clean up. Remove dead leaves, algae, standing water and old pots with soil, which keep producing flies [1][4].

5. Keep going. Continue for at least one more generation after the last fly, so three to four weeks.

Frequently asked questions

Do fungus gnats hurt plants in flower?

A few on a large, healthy plant rarely matter. Flies stuck in resin are unpleasant, and many flies mean the medium stays too wet, which is the bigger problem.

Can they live in coco or rockwool?

Yes, if it stays wet and has algae or organic material. Media differ in how attractive they are to females [3].

How long until they are gone?

Expect to see flies for two to three weeks after the first treatment, because pupae already in the medium still hatch. Cards should show a clear drop after that.

Sources

How this page was made

Generation history

Dec 3, 2026
Editorial review
Oct 31, 2026
Fact-check pass — raised 7 flags
Oct 31, 2026
Revision
Jun 27, 2026
Fact-check pass — raised 3 flags
Jun 27, 2026
Initial draft

Drafted with AI assistance and checked by a separate automated fact-check pass. Not every article has been read by a person. See how articles are made.