Growing Cannabis In Canada
Fungus Gnats in Cannabis: How to Identify, Prevent & Get Rid of Them
Fungus Gnats in Cannabis: How to Get Rid of Them
You water your cannabis plant, give it a gentle breeze, and notice a few tiny black flies drifting around the soil surface. They look like fruit flies. You wave them off. A week later, your seedling's lower leaves are yellowing, growth has slowed to a crawl, and the soil surface is crawling with larvae.
That's a fungus gnat infestation, and if you grow cannabis in soil or coco, you'll meet them sooner or later. The good news: fungus gnats are among the easiest cannabis pests to beat — once you understand what they are and why they showed up.
This guide walks through how to identify fungus gnats, the damage they cause, and a proven, low-toxicity plan for getting rid of them and keeping them from coming back.
What Are Fungus Gnats?
Fungus gnats are small, dark, mosquito-like flies (about 2–5 mm long) that live and breed in moist growing media. The adults you see buzzing around your pots are mostly a nuisance — they don't bite, and they don't feed on your plants. The real problem lives underground.
Adult fungus gnats lay eggs in the top layer of wet soil or coco. Those eggs hatch into larvae — small, translucent white maggots with shiny black heads — that feed on fungi, decomposing organic matter, and your plant's roots. In heavy infestations, larvae can tunnel into roots and lower stems, opening wounds for pathogens like Pythium (root rot).
The full life cycle — egg, larva, pupa, adult — can complete in as little as 17–25 days at typical grow-room temperatures. That fast turnover is why a few adults on Monday can become a soil teeming with larvae by the following week.
How to Identify Fungus Gnats on Cannabis
Catch them early and treatment is simple. Miss them, and they'll quietly stunt your plants for weeks. Look for these signs:
Adults
- Tiny black or dark brown flies, 2–5 mm, with long legs and translucent wings
- Weak fliers — they tend to "walk" along the soil surface or fly in short, erratic bursts near the pot
- Congregate around the soil, drainage saucer, or grow-tent floor — not usually on the leaves
Larvae
- Translucent white or clear maggots, about 4–5 mm, with a distinctive shiny black head
- Visible just under the soil surface, especially after watering
- Often wriggle away from light when you disturb the topsoil
Plant damage
- Sudden, unexplained yellowing of lower leaves
- Slowed growth or stalled seedlings that won't push new leaves
- Wilting despite moist soil (a sign of damaged roots)
- Brown, slimy, or weak roots — symptoms that overlap heavily with overwatering and root rot, because fungus gnat larvae and Pythium often go hand in hand
If you're not sure whether you're looking at fungus gnats or fruit flies, the giveaway is location: fungus gnats live at the soil surface; fruit flies gather around ripe fruit, drains, and fermenting material.
Why Fungus Gnats Show Up in Cannabis Grows
Fungus gnats aren't random. They show up because conditions invited them. Understanding the cause is half the cure.
Persistent overwatering. Fungus gnat eggs and larvae need constantly moist topsoil to survive. Growers who water on a fixed schedule rather than by pot weight create the perfect breeding ground. If your soil surface never dries between waterings, you're running a fungus gnat nursery.
Rich, organic growing media. Living soil, compost-heavy mixes, and amendments like worm castings and bat guano are fantastic for plant health — but they're also a buffet for the fungi and microbes that fungus gnat larvae feed on. A healthy living soil is, by design, an attractive habitat. MCS's guide to covers how to balance that living ecosystem without creating pest problems.
Imported soil or uncomposted amendments. Bagged soil that's been sitting open outdoors, uncomposted manure, or amendments that haven't fully broken down can introduce fungus gnat eggs directly into your pots. Quality, sealed, properly composted media matters.
Poor airflow at the soil surface. A stagnant canopy of foliage sitting on wet soil traps humidity and creates the still, damp microclimate fungus gnats love.
Outdoor exposure. Outdoor and greenhouse grows are especially vulnerable — fungus gnats are native soil insects, and adults will happily fly in from the surrounding garden. MCS's covers preventative pest management for outdoor and greenhouse grows.
How to Get Rid of Fungus Gnats on Cannabis
A single method rarely works because fungus gnats reproduce too fast. The proven approach is a layered protocol that targets larvae (the real threat) and adults (the egg-layers) at the same time.
Step 1: Dry Out the Top Layer of Soil
This is the cheapest and most effective first move. Fungus gnat eggs and larvae cannot survive in dry topsoil.
- Allow the top 2–3 cm (1 inch) of soil to dry completely between waterings
- Bottom-water your pots if possible — fill a saucer and let the soil wick moisture up from below, keeping the surface dry
- For autoflowers and seedlings, this can mean watering less often than you think you should
If you can break the wet-surface cycle for a week, you'll kill off a meaningful portion of the next generation before it hatches.
Step 2: Apply BTi (Bacillus thuringiensis israelensis)
BTi is a naturally occurring soil bacterium that specifically targets fungus gnat and mosquito larvae — it produces a protein that is toxic to their gut lining but harmless to plants, mammals, fish, and beneficial insects. It's the single most effective fungus gnat treatment in cannabis cultivation.
- Use Mosquito Dunks or Mosquito Bits (BTi formulations sold at most garden centres)
- For dunks: soak a quarter of a dunk in a litre of water for 24 hours, strain, and use that water for your next two to three watering cycles
- For Bits: sprinkle them on the soil surface or dissolve and water in
- Repeat weekly for 3–4 weeks to break the full life cycle — you're not just killing today's larvae, you're killing each new hatch as it emerges
BTi is safe for organic grows, safe around pets, and leaves no residue on buds. There's no pre-harvest interval to worry about.
Step 3: Set Yellow Sticky Traps
Yellow sticky traps catch flying adults and serve as both a monitoring tool and a population suppressor. Adult fungus gnats are weak fliers and drawn to yellow.
- Place yellow sticky traps just above the soil surface, one per pot or one per square foot of canopy
- Use them to gauge infestation severity before and after BTi treatment
- Replace traps when they're coated or every 2 weeks
Sticky traps alone won't end an infestation (larvae keep hatching), but combined with BTi and drier soil, they collapse the adult population and stop new eggs from being laid.
Step 4: Top-Dress With Sand, Perlite, or Diatomaceous Earth
A physical barrier at the soil surface stops adults from laying eggs and emerging larvae from reaching the surface.
- Apply a 1–2 cm layer of coarse sand, perlite, or food-grade diatomaceous earth on top of the soil
- Diatomaceous earth also abrades and dehydrates larvae and adults on contact
- This is especially useful for stubborn infestations that keep rebounding after BTi
Step 5: Reduce Organic Surface Material and Improve Airflow
- Pull mulch, leaf litter, and decomposing matter off the soil surface
- Add a small circulation fan aimed at the soil line to keep the surface dry and discourage egg-laying
- Avoid top-dressing with raw organic amendments during an active infestation
Step 6: Consider Beneficial Predators for Severe Infestations
If you're running a larger or living-soil grow, biological controls can knock out larvae at scale:
- Beneficial nematodes (Steinernema feltiae) — applied as a soil drench, they seek out and kill fungus gnat larvae in the root zone
- Predatory mites (Stratiolaelaps scimitus, formerly Hypoaspis) — released onto the soil surface, they feed on larvae and pupae
Both are safe for cannabis, leave no residue, and are widely used in commercial living-soil operations. They're more expensive and time-sensitive than BTi, so reserve them for serious or recurring infestations.
What to Avoid
A few common "fixes" cause more harm than fungus gnats ever will:
- Hydrogen peroxide drenches. H₂O₂ kills larvae on contact but also wipes out the beneficial microbes your roots depend on — especially damaging in living soil. Use it only as a last-resort knockdown, not as routine care.
- Neem oil soil drenches. Neem works for some pests, but as a soil drench for fungus gnats it's slow, inconsistent, and can harm soil biology. BTi is dramatically more effective and less disruptive.
- Overwatering to "drown" them. The opposite happens — wetter soil just accelerates the life cycle.
- Systemic chemical insecticides. Most are not labelled for cannabis, leave residues in flowers, and are unnecessary for a pest BTi handles cleanly.
How to Prevent Fungus Gnats Coming Back
Treatment is temporary; prevention is permanent. Once your infestation is under control:
- Water by pot weight, not by calendar — let the top 2–3 cm of soil dry before the next watering
- Bottom-water where possible to keep the soil surface dry
- Keep yellow sticky traps in your grow space year-round as an early-warning system
- Maintain surface airflow with a small fan aimed at the soil line
- Use clean, sealed, properly composted soil — and store open bags sealed and dry
- Add a thin top-dressing of sand or perlite on living-soil pots as a preventative barrier
Choosing a well-aerated growing medium also helps from the start. MCS's guide to the walks through how to select a medium that drains well and resists the constant surface moisture fungus gnats need.
Are Some Cannabis Strains More Susceptible?
Fungus gnats aren't strain-specific — they're moisture-specific. Any cannabis plant in persistently wet soil can host them. That said, large, dense indica colas and high-moisture living-soil setups tend to create the damp microclimates where gnats thrive.
Genetics won't prevent fungus gnats, but starting with stable, vigorous genetics means your plants are more resilient to the root damage larvae cause. A stunted, root-stressed seedling hit by gnats will recover far more slowly than a healthy plant. Browse the curated autoflower, feminized, and regular collections at to start your next grow with genetics built to handle the bumps along the way — pests included.
The Bottom Line
Fungus gnats are one of the most common cannabis pests, but they're also one of the most beatable. They don't need harsh chemicals, expensive equipment, or panic — they need dry topsoil, BTi, and yellow sticky traps applied consistently for three to four weeks.
Identify them early, hit the larvae with BTi, dry the surface, trap the adults, and fix the watering habits that invited them. Do that, and your next grow won't be a fungus gnat nursery — it'll be a healthy, productive harvest.
Got fungus gnats on your current grow or planning your next cycle? Start with stable, vigorous genetics from and give your plants the head start they need to shrug off pests and finish strong.
Disclaimer
The information provided on this website, including all articles, guides, and resources within the Cannabis Seeds Blog, is intended for educational and informational purposes only. While we strive to deliver accurate, up-to-date, and research-based content, we make no guarantees regarding its completeness, reliability, or suitability for your specific situation.
Cannabis cultivation, possession, and use are subject to local, provincial/state, and federal laws that vary widely by region. It is the sole responsibility of the reader to understand and comply with all applicable laws before purchasing seeds, germinating seeds, or engaging in any form of cannabis cultivation. Nothing on this website should be interpreted as legal advice, medical advice, or encouragement to violate any regulations.
All strain reviews, cultivation tips, and product recommendations reflect general knowledge and personal or industry experience; individual results may vary depending on environmental conditions, grower skill, genetics, and other factors. Growing cannabis always involves risks, including crop failure, pests, mold, and financial loss. By using this website, you acknowledge that any actions you take based on the information provided are done at your own discretion and risk.
If you have questions regarding legality, health considerations, or professional cultivation practices, we strongly recommend consulting with a licensed legal professional, healthcare provider, or qualified horticulture expert.
By accessing this blog, you agree that the website, its authors, and its affiliates shall not be held liable for any damages, legal consequences, or losses arising from the use or misuse of the information provided.
