Fungus Gnats on Cannabis: Identification, Life Cycle, and How to Get Rid of Them
Share
Fungus Gnats on Cannabis: Identification, Life Cycle, and How to Get Rid of Them
A grower came in with a phone video of tiny dark flies erupting off the soil surface every time she walked past her tent. She had already bought three packs of yellow sticky traps and was catching plenty of adults, but the swarm never seemed to shrink. When we asked how often she was watering, she said daily, because that is what she thought coco and soil both wanted. That single answer explained the whole infestation. Sticky traps catch the adults you can see, but they do nothing about the eggs and larvae already living in the top inch of consistently damp medium, so new adults keep emerging as fast as the old ones get trapped. Fungus gnats are less a pest problem than a moisture problem wearing insect clothing, and understanding that distinction is the difference between a two-week fix and a chronic infestation that never quite goes away. This guide covers how to identify them correctly, their life cycle, why moisture is the root cause, and the combined approach that actually ends an infestation rather than just thinning it. You can shop the biological treatments that make this easy on our organic solutions page. We don't upsell, and the single most effective fix here does not cost anything at all.
The 30-Second Answer
- The root cause is almost always overwatering. Fungus gnats need consistently moist surface medium to breed. Let the top 1 to 2 inches dry between waterings and you remove their nursery.
- Sticky traps alone will not fix an infestation. They catch adults you can already see, not the eggs and larvae still hatching in the soil. Use them for monitoring, not as the whole plan.
- BTI is the real treatment. Bacillus thuringiensis israelensis, sold as Mosquito Bits or similar, is a biological larvicide that targets the larvae directly, is safe, and is the standard fix.
- Expect 2 to 4 weeks to fully clear an infestation, since existing eggs keep hatching even after you start treatment. Consistency matters more than any single product.
Dry the surface, drench with BTI, and keep sticky traps up to monitor progress. We sell every piece of this and will still tell you the free fix matters most. We don't upsell.
What fungus gnats actually are
Fungus gnats belong to the family Sciaridae, a group of small, dark, mosquito-like flies with unusually long legs that hover weakly around the soil surface rather than flying strongly and purposefully like a typical housefly. Adults are mostly just an ongoing nuisance rather than a direct danger, since they do not bite at all, but they are not entirely harmless either: they can carry fungal spores and plant pathogens between pots on their bodies, and their presence is a reliable signal that something in your growing environment is too wet. The larvae are the stage that actually damages plants, small, translucent to whitish worm-like maggots with a distinct dark head, living in the top inch or two of moist medium, where they feed on decaying organic matter and, critically, on the fine root hairs young plants depend on for water and nutrient uptake. A light gnat population is mostly cosmetic, but a heavy larval infestation can measurably stunt growth, especially in seedlings and clones with limited root mass to spare, and the root damage they cause can also open the door to secondary infections. University extension guidance on home and garden pests confirms that fungus gnats thrive specifically where conditions stay moist, with abundant decaying vegetation and fungi to feed on, which is exactly why the fix starts with the growing medium rather than the insect itself.
The life cycle, and why it matters for treatment
Understanding the four stages explains why a single treatment rarely finishes the job. Eggs are laid directly into moist surface medium and hatch within four to six days, too small to see without close inspection. Larvae are the longest and most damaging stage, spending one to two weeks feeding in the top layer of medium before pupating. Pupation itself takes only a few days, tucked into the soil surface, before an adult emerges. Adults live just one to two weeks, but in that window a single female can lay well over a hundred eggs, restarting the cycle before you have even finished dealing with the current generation. The whole cycle runs roughly three to four weeks under typical indoor conditions, and because eggs, larvae, and adults are all present simultaneously in an established infestation, a treatment that only kills the adults you can see leaves the eggs and larvae to simply replace them days later. This is precisely why sticky traps, which only catch flying adults, feel like they are working without the population actually shrinking: you are trapping today's adults while yesterday's eggs are still hatching underneath.
Confirming it's fungus gnats and not something else
A few common look-alikes get confused for fungus gnats, and mixing them up wastes time on the wrong fix. Fruit flies are typically drawn to fermenting or decaying organic material rather than damp soil specifically, and tend to be more oval-bodied and reddish-eyed than the slender, dark fungus gnat. Shore flies and drain flies both favor different breeding conditions and have distinct body shapes on close inspection. The clearest confirmation for fungus gnats specifically is checking the larvae, not just the adults: disturb the top inch of your medium and look for small, clear to white, worm-like larvae with a visibly dark head capsule, which is the signature fungus gnat larval appearance and rules out most look-alikes immediately. Yellow sticky traps placed near the soil surface, checked regularly, are also a useful confirmation and monitoring tool, since fungus gnats are strongly attracted to yellow and will collect on the traps in numbers that track your actual population trend over time.
Why moisture is the real root cause
This is the section that saves you money, because it is the fix that costs nothing. Fungus gnats cannot complete their life cycle without consistently moist medium at the surface, since eggs need that moisture to survive and larvae need it to feed and develop. Consistently wet surface medium is, in the overwhelming majority of cases, the direct result of watering more often than the plant and medium actually need, a habit that feels safe to new growers but creates exactly the nursery fungus gnats are looking for. The fix is straightforward and free: let the top one to two inches of your growing medium dry out between waterings rather than keeping the surface perpetually damp, and where practical, water from the bottom so the surface stays drier while the root zone still gets what it needs. This single change, done consistently, removes the breeding ground fungus gnats depend on and is often enough on its own to prevent a population from ever establishing in the first place. If you are unsure whether your watering habits are the issue, our watering frequency guide and our coco watering guide both cover reading your medium correctly rather than watering on a fixed schedule.
The combined treatment protocol
Clearing an established infestation takes a combined approach applied consistently over two to four weeks, since existing eggs will keep hatching for a while even after you start. Begin immediately by letting the top one to two inches of medium dry out, since this alone starves new eggs and slows larval development. Apply a soil drench of BTI, Bacillus thuringiensis israelensis, sold under names like Mosquito Bits, which is a naturally occurring bacteria that specifically targets fungus gnat larvae when they ingest it, leaving beneficial organisms and your plants unaffected; this is the standard, safe, and effective treatment recommended across university extension guidance and commercial growers alike. Put up yellow sticky traps near the soil surface to catch adults and, just as importantly, to track whether your population is actually declining. Running a small fan across the soil surface helps dry it faster and makes it harder for the weak-flying adults to move around and lay eggs. Repeat the BTI drench weekly for several applications, since a single treatment will not reach eggs that hatch afterward, and continue monitoring with sticky traps until you are catching very few adults. Beneficial nematodes, specifically Steinernema feltiae, are a solid complementary or alternative biological control that parasitizes larvae in the medium and pairs well with a BTI program for stubborn populations.
Prevention once you've cleared an infestation
A few habits keep fungus gnats from coming back after you have cleared them. Continue watering to let the surface dry between waterings rather than reverting to the schedule that caused the problem in the first place, since this single habit is doing most of the preventive work. A thin top-dress of coarse sand or food-grade diatomaceous earth on the medium surface creates a dry, inhospitable barrier that discourages adults from laying eggs there, though it only works while it stays dry, so it complements rather than replaces good watering habits. Avoid working raw, uncomposted organic matter into your soil mix, since it is a common source of fungus gnat eggs and larvae arriving in the medium from the start; quality, properly composted or inert media reduces this risk substantially. If you bring in new plants, clones, or bagged soil from an outside source, a brief period of extra attention to that specific container is worth it, since fungus gnats commonly hitch a ride in on contaminated material. None of this is complicated or expensive, and consistent watering habits alone prevent the large majority of infestations before they start.
Fungus gnats by growing medium
Your growing medium changes how much risk you are carrying and how the fix plays out in practice. Soil is the highest-risk medium for fungus gnats, since it commonly contains organic matter, compost, and moisture-retentive components that both feed larvae and hold the surface dampness they need, which is exactly why bagged soil is such a common entry point for an initial infestation. Coco coir is lower risk than soil in terms of organic content, but it still holds moisture well at the surface and is watered frequently in most programs, so a coco grower who waters daily without checking the surface first can still build a thriving gnat population despite coco containing little of the decaying matter larvae prefer to eat as their primary food source; our coco feeding guide covers reading coco moisture correctly rather than watering on autopilot. Hydroponic systems with no solid medium at all are the lowest risk by far, since there is no moist surface layer for eggs and larvae to live in, though systems using an inert medium like rockwool or clay pebbles can still see gnats if that medium's surface stays consistently wet. If you are choosing a medium and gnats are a particular concern, our soil versus coco versus hydro comparison lays out these differences alongside every other factor that should actually drive that decision. Whatever medium you choose, the same underlying principle holds: dry surface conditions are inhospitable to fungus gnats regardless of what is under that surface.
Beneficial predatory mites as an additional layer
Beyond BTI and nematodes, some growers add a third biological layer for stubborn or recurring gnat problems: predatory mites such as Stratiolaelaps species, sometimes sold under names like Hypoaspis, which live in the top layer of the growing medium and actively hunt and consume fungus gnat larvae and eggs as part of their natural diet. Unlike BTI, which needs to be reapplied on a schedule as a drench, predatory mites establish a small, self-sustaining population in the medium and continue providing background suppression over time, which makes them a useful preventive layer in a grow that has dealt with recurring gnat pressure across multiple cycles rather than a single isolated outbreak. They are generally compatible with a BTI program, since the two work through different mechanisms and do not interfere with each other, and they pose no risk to plants, since they feed exclusively on other small soil-dwelling organisms rather than plant tissue. For a single mild infestation, predatory mites are not strictly necessary and BTI plus drier watering will usually be enough, but for a grow space that keeps producing gnats cycle after cycle despite good watering habits, adding a standing population of predatory mites to the medium is a reasonable next step before assuming something else is wrong with your setup.
Hydrogen peroxide as a quick knockdown
For a fast, immediate reduction in larval numbers while your longer-term BTI and watering changes take effect, a diluted hydrogen peroxide drench is a widely used, low-cost option worth knowing about. Standard 3 percent hydrogen peroxide, the common drugstore concentration, diluted roughly one part peroxide to four parts water, kills larvae on contact when watered directly into the top layer of medium where they are living, and the peroxide breaks down quickly into water and oxygen afterward, leaving no lasting residue in the medium. Treat this as a knockdown tool rather than a lasting fix, since it does nothing to eggs that have not yet hatched or to the underlying moisture problem that let the population establish in the first place, so it works best used once or twice alongside the drier watering habits and BTI program described above rather than as a standalone solution repeated indefinitely. Some growers reach for it as a first response the moment they notice a gnat problem, since it is fast, cheap, and something most households already have sitting in a cabinet, then follow up immediately afterward with the fuller combined protocol described above once the immediate visible population has been knocked back.
When to worry, and when not to
A handful of fungus gnats spotted occasionally is common and rarely worth a full treatment protocol, especially in an otherwise healthy grow with reasonable watering habits. The signs that warrant real action are a visibly growing population of adults over several days, larvae clearly visible when you disturb the top layer of medium, or young plants and clones showing slowed growth or wilting that does not track with your feeding schedule, since seedlings have the least root mass to spare and are the most vulnerable to real larval damage. If you see stunted growth alongside gnats, also rule out other causes before assuming the gnats are the sole culprit, since root rot and overwatering itself can produce similar symptoms and often coexist with a gnat problem, since both share the same root cause of excess moisture. Treat the moisture issue directly and the gnat population usually resolves as a side effect, alongside whatever else was struggling in an overly wet root zone.
Common fungus gnat mistakes
A handful of errors keep growers fighting the same infestation for months longer than necessary. The first is relying on sticky traps alone and expecting the population to disappear, when traps only catch adults and do nothing about the larvae still hatching. The second is treating once and assuming the problem is solved, when a single BTI application will not reach eggs that hatch in the following days. The third is continuing the same watering habits that created the moist surface in the first place, effectively refilling the nursery as fast as you empty it. The fourth is confusing fungus gnats with a look-alike and applying the wrong treatment entirely. The fifth is reaching for harsh, broad-spectrum insecticides when a targeted biological treatment like BTI does the job more safely and just as effectively. And the sixth is panicking over a small, occasional gnat sighting that does not actually indicate a real infestation. Avoid these six and most infestations clear within the two to four week window without drama. We don't upsell, and the free fix, drier soil, does more work here than any product on the shelf.
What We'd Tell You at the Counter
If you brought us a video of gnats swarming your soil, the first question we would ask is how often you are watering, because that answer usually explains the whole problem. Let the top one to two inches of your medium dry out between waterings, and you remove the moist nursery fungus gnats need to breed. Put up yellow sticky traps to monitor, not to solve, since they only catch adults while the real fix happens in the soil. Drench with BTI weekly for a few weeks to target the larvae directly, since that is the treatment that actually breaks the cycle, and add beneficial nematodes if the population is stubborn. Give it two to four weeks, since existing eggs keep hatching for a while even after you start. Once it clears, keep watering the same drier way and top-dress with sand or diatomaceous earth if you want extra insurance. We sell every piece of this protocol, and we will still tell you the biggest fix is free. We don't upsell.
Shop biological treatments
Everything you need for a safe, effective fungus gnat protocol lives in one place.
Frequently asked questions
What causes fungus gnats in a grow tent?
The root cause is almost always consistently moist surface medium, most often from watering more frequently than the plant and medium actually need. Fungus gnats need that moisture to lay eggs and for larvae to survive and feed in the top inch or two of the medium, so a surface that never gets a chance to dry becomes an ideal breeding ground. Contaminated bagged soil, raw uncomposted organic matter mixed into a medium, or new plants and clones brought in from an outside source can also introduce eggs or larvae directly. In nearly every case, though, an established infestation persists because the surface medium is staying wet between waterings, which is why the most effective single fix is adjusting watering habits to let the top layer dry out consistently.
How do I get rid of fungus gnats for good?
Use a combined approach rather than any single fix. Start by letting the top one to two inches of your medium dry out between waterings, which removes the moisture fungus gnats need to breed. Apply a BTI soil drench, which targets the larvae directly and is the standard, safe, effective treatment. Put up yellow sticky traps to catch adults and monitor your progress. Repeat the BTI treatment weekly for a few weeks, since existing eggs will continue hatching for a while even after you start, and add beneficial nematodes for stubborn populations. Expect the full process to take two to four weeks. Once the population clears, maintain drier watering habits going forward, since that single change prevents most infestations from returning.
Do sticky traps get rid of fungus gnats?
Sticky traps help you monitor a fungus gnat population and catch some of the flying adults, but they do not solve an infestation on their own. Fungus gnats have a life cycle with eggs, larvae, and pupae that all live in the soil, invisible and unaffected by a trap that only catches flying adults. While you are trapping today's adults, eggs already laid in the medium continue hatching into new larvae and, eventually, new adults, so the population can appear stubbornly persistent even while you catch plenty on the traps. Use sticky traps as a monitoring tool to track whether your overall treatment plan, primarily drier watering and a BTI soil drench targeting the larvae, is actually working, rather than expecting the traps themselves to end the infestation.
What is BTI and is it safe?
BTI stands for Bacillus thuringiensis israelensis, a naturally occurring soil bacteria that produces a protein toxic specifically to the larvae of fungus gnats, mosquitoes, and black flies when ingested. It is applied as a soil drench, commonly sold in a granular form such as Mosquito Bits that is steeped in water to create a BTI solution, then used to water the affected medium. BTI is considered safe for humans, pets, plants, and most beneficial insects and organisms, since its mode of action is specific to the digestive systems of the target insect larvae, which is why it is the standard recommendation from university extension programs and commercial growers alike rather than a broad-spectrum insecticide. Repeat applications on a weekly basis are typically needed to catch successive generations of larvae as eggs continue hatching.
How long does it take to get rid of fungus gnats?
Expect roughly two to four weeks for a full infestation to clear with consistent treatment, even though you should see the population noticeably declining well before that. This timeline exists because the fungus gnat life cycle, from egg to adult, runs about three to four weeks, and at any given moment during an active infestation you have eggs, larvae, pupae, and adults all present simultaneously. Treating the visible adults does nothing to the eggs already laid, so those continue hatching into larvae and eventually new adults for a period after you start treatment. A consistent combination of drier surface medium, weekly BTI drenches, and sticky trap monitoring will steadily reduce the population each generation until it is effectively gone, but expecting an instant fix from any single treatment sets unrealistic expectations.
Can fungus gnat larvae actually damage cannabis plants?
Yes, particularly in seedlings and clones with limited root systems. While a light population is mostly a nuisance, fungus gnat larvae feed on organic matter in the medium and also on fine root hairs, the delicate structures a plant relies on for water and nutrient uptake. A heavy larval infestation can noticeably slow growth, cause wilting that does not track with your watering or feeding schedule, and leave damaged root tissue more vulnerable to secondary fungal infections. Established, larger plants with well-developed root systems tolerate a moderate gnat population far better than young seedlings do, which is part of why catching and treating an infestation early matters most during propagation and early vegetative growth, when root mass is smallest and the larvae have the most relative impact.
Dry the surface, treat the larvae directly, and monitor with traps rather than relying on them alone, and fungus gnats clear up faster than most growers expect. Shop the biological treatments on our organic solutions page, and pair this guide with our watering guide, spider mite guide, common pest guide, and the full week-by-week grow guide. Because, as always, we don't upsell.
For informational and educational purposes only. This article is general horticultural guidance and is not legal advice. Cannabis cultivation laws vary by country, state and locality, and growing cannabis may be illegal where you live. Always understand and comply with the laws and regulations that apply to you before growing any cannabis plant.