Pest x crop · Fungus gnats on basil
How to get rid of fungus gnats on basil
What fungus gnats look like on basil
Dark flies running across the soil surface of indoor basil pots; stalled basil seedlings; algal sheen on damp compost surface.
For the full set of fungus gnats damage symptoms across host crops, see our Fungus gnats identification page.
Why basil attracts fungus gnats
Indoor basil is typically watered frequently to prevent wilting, which keeps the top of the potting mix damp and breeds fungus gnats. Roots are shallow and easily damaged.
Severity for this combo: Moderate — monitor closely. When to act: Year-round indoors; basil is often grown in consistently moist mix that suits the larvae.
Step-by-step control protocol
This is the integrated-pest-management protocol — non-chemical control first, biological and organic options second, conventional sprays only as a labelled last resort. Total cycle: about three weeks for most home cases.
- Confirm the pest. Inspect the plant — look for tiny dark flies running across soil or flying around the plant base. If unsure, photograph the affected area and open Growli for instant species ID.
- Isolate where possible. Move container-grown basil away from healthy plants. For outdoor beds, mark the affected row so you can monitor it daily.
- Apply non-chemical control first. Let the top 2-3 cm of mix dry fully between waterings
- Add biological or organic spray. Let the top 2-3 cm of compost dry between waterings, top-dress with a sand or grit layer, and use yellow sticky cards flat on the soil to trap adults.
- Repeat on schedule. Most fungus gnats protocols need repeating every 5-7 days for three weeks to catch each new hatch. Egg-to-adult in 3-4 weeks at room temperature. Larvae feed on fungi and organic matter in the top 1-2 inches of damp mix, which is why letting the surface dry breaks the cycle.
- Monitor and prevent recurrence. Inspect basil weekly for the rest of the season. Bottom-water instead of top-water for seedling trays
Best biological control for fungus gnats on basil
For greenhouse, polytunnel, conservatory, and indoor production on basil, biological control gives long-term suppression without the residue or pollinator harm of synthetic sprays:
- Bti (Bacillus thuringiensis israelensis) — soil drench or Mosquito Bits, kills first-instar larvae specifically
- Steinernema feltiae beneficial nematodes — drench the mix, parasitises larvae
- Hypoaspis miles (Stratiolaelaps scimitus) — predatory soil mite for greenhouse propagation benches
Organic spray options
Pyrethrin soil drenches knock back adults but rarely solve the problem alone — larvae are the damaging stage. Bti is the safest targeted larvicide for indoor and seedling-tray use. Avoid neonicotinoid soil granules on edible crops.
Prevention going forward
- Let the top 2-3 cm of mix dry fully between waterings
- Bottom-water instead of top-water for seedling trays
- Top-dress with 1 cm of horticultural sand, grit, or perlite to block egg-laying
- Yellow sticky cards laid flat on soil catch egg-laying adults
- Switch to a sterile, peat-light seed-starting mix; avoid bagged compost that has sat damp
Common mistakes when treating fungus gnats on basil
- Spraying once and walking away. Egg-to-adult in 3-4 weeks at room temperature. Larvae feed on fungi and organic matter in the top 1-2 inches of damp mix, which is why letting the surface dry breaks the cycle. A single spray misses everything that hatches afterwards — plan a 3-week protocol.
- Confusing the species. Basil hosts several similar-looking pests. Confirm before treating; the wrong protocol wastes weeks. Open Growli for a confirmed ID.
- Spraying in midday heat. Insecticidal soap and horticultural oil burn leaves above 30 degC and on drought-stressed plants. Apply at dawn or dusk.
- Mixing biological control with broad-spectrum sprays. Pyrethroids and neonicotinoids wipe out predator releases. Use one strategy at a time.
Frequently asked questions
- How do I get rid of fungus gnats on basil?
- Let the top 2-3 cm of compost dry between waterings, top-dress with a sand or grit layer, and use yellow sticky cards flat on the soil to trap adults. Egg-to-adult in 3-4 weeks at room temperature. Larvae feed on fungi and organic matter in the top 1-2 inches of damp mix, which is why letting the surface dry breaks the cycle.
- What do fungus gnats look like on basil?
- Dark flies running across the soil surface of indoor basil pots; stalled basil seedlings; algal sheen on damp compost surface.
- When should I treat fungus gnats on basil?
- Year-round indoors; basil is often grown in consistently moist mix that suits the larvae.
- Why are fungus gnats attracted to basil?
- Indoor basil is typically watered frequently to prevent wilting, which keeps the top of the potting mix damp and breeds fungus gnats. Roots are shallow and easily damaged.
- What is the best biological control for fungus gnats on basil?
- Bti (Bacillus thuringiensis israelensis) — soil drench or Mosquito Bits, kills first-instar larvae specifically. Let the top 2-3 cm of compost dry between waterings, top-dress with a sand or grit layer, and use yellow sticky cards flat on the soil to trap adults.
- Will fungus gnats on basil spread to other plants?
- Yes. Fungus gnats from basil typically migrate to nearby susceptible hosts — see the affected-crops list on the main fungus gnats page. Quarantine, sticky traps, and weekly inspections of neighbouring plants are essential.
- Are pesticides safe to use on basil?
- Insecticidal soap, horticultural oil, neem oil, and Bti are the safest options for edible and indoor basil. Always read the product label and follow manufacturer's PPE, dosage, and re-entry guidance. Pesticide approvals change — confirm via the UK HSE pesticide register or US EPA before use.
Sources
Combo-specific guidance sourced from US Cooperative Extension publications (UC IPM, NC State, UMD, UMN, Penn State, CSU, UF/IFAS EDIS), Clemson HGIC fact sheets, Royal Horticultural Society guidance, and Cornell NYS IPM Biocontrol fact sheets. Reviewed by the Growli editorial team in May 2026.
Keep going
- All crops affected by fungus gnats
- Fungus gnats — full kill protocol (article)
- How to grow basil — full guide
- Basil plant-care reference
- Basil companion plants
- All 8 garden pests covered in this guide
- Garden pest identification — complete article
Treat fungus gnats on basil with Growli
Snap a photo and Growli confirms the species, cross-references it against your basil, and schedules the 3-week treatment reminder for you.
Get Growli