Skip to content
Pests & Problems | | 13 min read

Fungus Gnats: How to Kill Them in Houseplants

How to get rid of fungus gnats in UK houseplants. Covers nematode drenches, yellow sticky traps, bottom watering, hydrogen peroxide, and BTI treatment.

Fungus gnats (Bradysia and Sciara species) are small dark flies in the Sciaridae family that breed in the moist compost of UK houseplants. Adults are 2-4mm long, resemble tiny mosquitoes, and fly weakly around plants and windows. Larvae are translucent white with black heads, 4-8mm long, living in the top 3cm of compost where they feed on fungi, organic matter, and fine root hairs. Lifecycle completes in 17-28 days at 21C. Central heating accelerates breeding in autumn and winter. The fastest single treatment is a hydrogen peroxide drench combined with yellow sticky traps and bottom watering.
Lifecycle17-28 days at 21C
Best Single FixNematodes + yellow traps
Peak SeasonAutumn-winter heated rooms
PreventionBottom water, dry top compost

Key takeaways

  • Fungus gnats complete their lifecycle in 17-28 days at 21C — breaking the cycle for 4 weeks clears any infestation
  • Yellow sticky traps catch 70-80% of adults within 48 hours — 3-5 traps per plant is the right density
  • Steinernema feltiae nematodes kill 85-95% of larvae when applied with water above 10C — the most thorough single treatment
  • Hydrogen peroxide drench (30ml of 3% solution per litre of water) kills larvae instantly on contact
  • Bottom-water all houseplants until the infestation clears — dry top compost makes egg-laying nearly impossible
  • Peat-free and moisture-retentive composts are more gnat-prone than loam-based mixes — consider switching
Yellow sticky trap covered in fungus gnat flies sticking up from a UK houseplant in a bright window

Fungus gnats are the reason so many people give up on houseplants. They are not dangerous and they do not kill plants outright, but they multiply fast, they fly around your face at night, and they breed invisibly in the one substance every houseplant needs: damp compost. By the time you spot a few adults, the larval population is usually already in the hundreds.

The good news is they are easy to eliminate once you understand the lifecycle. Fungus gnats go from egg to egg-laying adult in just 17 to 28 days. Break the breeding cycle for a single month and you clear any infestation. Keep breeding impossible and they never return.

This guide covers identification, the nematode-peroxide-trap combination that clears any infestation in 3-4 weeks, the bottom-watering habit that prevents reinfestation forever, and the compost changes that make fungus gnats far less likely in the first place. For broader houseplant fly problems including fruit flies and whitefly, see our general guide on how to get rid of houseplant flies.

Yellow sticky trap covered in fungus gnat flies sticking up from a UK houseplant in a bright window Yellow sticky trap in a houseplant, covered with adult fungus gnats. Traps are essential for monitoring and rapid adult reduction.

What are fungus gnats?

Fungus gnats are small flying insects in the Sciaridae family, with around 20 species known to infest UK indoor plants. The two most common are Bradysia difformis and Bradysia paupera, which dominate commercial glasshouses and home collections. Adults are 2-4mm long, dark grey to black, with long legs, long antennae, and slender mosquito-like bodies. They fly weakly, tending to hover or walk across compost, foliage, and window glass.

The larvae cause most of the damage. They are translucent white with a distinctive black head capsule, reaching 4-8mm long at maturity. They live in the top 2-3cm of moist compost where they feed on fungi, decomposing organic matter, and fine root hairs. A heavy infestation can contain 50-200 larvae per pot, enough to cause visible root damage in seedlings and stressed plants.

The lifecycle is fast. At 21C room temperature, eggs hatch in 4-6 days, larvae feed for 10-14 days, pupae develop for 3-5 days, and adults live 7-10 days. The total generation time is 17-28 days, allowing populations to double every 3-4 weeks in favourable conditions.

Female fungus gnats lay 100-300 eggs during their short adult life, always in the top 2-3mm of compost. Eggs need consistent moisture to hatch, which is why infestations correlate so strongly with overwatering.

Fungus gnat peak seasons in UK homes

Infestations are seasonal, peaking at specific times in the UK calendar.

Winter (November-March): The worst season. Central heating raises indoor temperatures to 18-22C while plants enter slower growth, reducing water uptake. Compost stays wetter longer. Breeding accelerates while outdoor alternatives die off. Most first-time fungus gnat problems start in November after heating goes on.

Spring (April-May): Infestations often continue from winter if not treated. New plant purchases from garden centres carry eggs and larvae in nursery compost. Repotting season introduces fresh compost that may already contain gnats if stored open.

Summer (June-August): Populations decline naturally as homes are ventilated more and plants use water faster. Still a risk for plants in bathrooms, dim rooms, or anywhere compost stays consistently damp.

Autumn (September-October): Rising indoor humidity and resumption of heating triggers population build-up. This is when sticky traps and preventive measures should go back on every pot.

The heating correlation is so strong that switching to a cooler indoor temperature alone reduces fungus gnat breeding by 30-50%.

Identifying fungus gnats vs other houseplant flies

Several small flying insects appear around houseplants and are often confused.

InsectSizeColourBehaviourBreeding site
Fungus gnat2-4mmGrey-blackWeak flight, hovering over compostMoist compost
Fruit fly3-4mmTan-brown, red eyesFast flight, attracted to fruitRipe/rotting fruit
Whitefly2mmWhite, dust-likeFlies up in cloud when disturbedUnder plant leaves
Shore fly3mmBlack, stouter bodySimilar to fungus gnat, overlookedWet algae on compost

Fungus gnats are the ones flying UP from the compost when you water. Fruit flies are attracted to ripe fruit, not houseplants. Whitefly clouds up from foliage when disturbed. Shore flies look almost identical to fungus gnats but breed in algae on waterlogged compost surfaces rather than deeper in the compost.

Confirm fungus gnats by placing a yellow sticky trap above the pot for 24 hours. Black 2-3mm flies on the trap with visible long legs are fungus gnats.

How to kill fungus gnats fast

The combination that clears any infestation in 3-4 weeks:

Step 1 - Hydrogen peroxide drench (kills larvae instantly)

  1. Mix 30ml of 3% hydrogen peroxide (standard first-aid strength from any chemist) with 1 litre of water.
  2. Drench the compost thoroughly, letting excess run out the bottom.
  3. The solution fizzes on contact with organic matter and larvae — this is normal and indicates it is working.
  4. Repeat weekly for 3 weeks.

Hydrogen peroxide kills larvae in minutes, oxygenates compost, and breaks down into water and oxygen. It is safe for plant roots at this dilution and for people.

Step 2 - Yellow sticky traps (catches adults)

  1. Place 3-5 sticky traps per affected plant, just above compost surface.
  2. Check and replace every 5-10 days during peak infestation.
  3. Keep traps in place for 4 weeks even after visible adults stop appearing.
  4. A well-stocked UK supplier sells packs of 20 traps for £8-£12.

Traps alone will not solve an infestation but they remove 70-80% of adults within 48 hours, dramatically reducing new egg-laying.

Step 3 - Beneficial nematode drench (kills larvae thoroughly)

  1. Buy Steinernema feltiae nematodes from a UK biological control supplier (Defenders, Bio-PIR, or Real IPM).
  2. Follow pack instructions to mix with water - typically a sachet treats 10-20 houseplants.
  3. Drench all affected compost ensuring thorough coverage.
  4. Apply only when compost temperature is above 10C.
  5. Keep compost moist for 7 days after application.

Nematodes actively hunt larvae through the compost, killing 85-95% within 48 hours. Unlike peroxide, the effect persists for 3-4 weeks as nematodes reproduce inside dead larvae.

Step 4 - BTI (Bacillus thuringiensis israelensis) as a booster

BTI is a biological larvicide sold as “Mosquito Dunks” or “Gnatrol” in the UK. The bacteria produce toxins specific to fungus gnat larvae. Crumble a fraction of a dunk into your watering can, let steep for 24 hours, then water affected plants. Safe for plants, pets, and humans. Repeat every 2 weeks for 6 weeks.

All four treatments combined clear every infestation I have treated in 3-4 weeks. Individually, each is partially effective; the combination closes every gap in the lifecycle.

Hydrogen peroxide drench treatment on a fungus gnat infested houseplant with sticky trap UK Hydrogen peroxide drench combined with a yellow sticky trap. Together they tackle larvae and adults simultaneously.

How to prevent fungus gnats returning

Prevention comes down to making compost inhospitable to breeding.

Bottom-water all houseplants

The single most important change. Set pots in a tray of water for 15-30 minutes, let them absorb moisture through the drainage holes, then pour off excess. The top 2-3cm of compost stays dry, making egg-laying impossible. Fungus gnats cannot breed in dry compost.

For plants that cannot tolerate bottom watering (some African violets, orchids), water directly at compost level using a long-spouted can.

See how to repot houseplants for related watering guidance.

Apply a gritty top dressing

A 2cm layer of horticultural grit, fine sand, or decorative pebbles on top of the compost prevents adult fungus gnats from reaching the moist compost where they lay eggs. Grit also looks tidy. Available from garden centres for £5-£8 per 5kg bag. One bag top-dresses 30-40 houseplants.

Alternative: decorative moss (dried) works aesthetically but less effectively than grit.

Switch compost type

Peat-free composts based on wood fibre and green waste hold water longer and breed more fungus gnats than traditional John Innes or loam-based mixes. If your collection suffers chronic infestations:

  • For houseplants: John Innes No. 2 or No. 3 with added perlite (30%)
  • For orchids: Bark-based orchid compost
  • For succulents: Cactus compost with sharp sand (50:50)

Moisture-retaining peat-free multipurpose is the worst choice for fungus gnat-prone homes.

Quarantine new plants

New plants carry eggs, larvae, and adults. Place new arrivals in a separate room for 3-4 weeks, monitoring with yellow sticky traps. Drench with peroxide preventively on arrival. Do not move to your main collection until no adults appear on sticky traps for 7 days.

This alone prevents 60-70% of fungus gnat introductions.

Store compost bags sealed

Open compost bags breed fungus gnats within 2-3 weeks in warm rooms. Always seal bags tightly after use, store outside in a shed or garage when possible, and use older compost first.

Fungus gnat control for seedlings and cuttings

Seedlings and cuttings are vulnerable because their root systems are tiny and fungus gnat larvae can strip entire root hair networks.

Prevention for propagation trays:

  • Use sterile seed compost from fresh sealed bags
  • Water from below with warm water
  • Cover trays with clear plastic lids for humidity but monitor daily
  • Place yellow sticky traps immediately when germination starts
  • Apply nematodes as a preventive drench before sowing if growing through winter

Treatment for affected seedlings:

  • Avoid hydrogen peroxide on young seedlings - it can damage delicate roots
  • Nematodes are safe for any seedling stage
  • Bottom water with BTI-infused water every 2 weeks during propagation
  • Pot on as soon as true leaves develop to reduce the sitting period

See how to propagate houseplants for related propagation context.

Houseplant seedlings with yellow sticky traps protecting against fungus gnats in propagation tray UK Sticky traps in a seedling tray provide early warning of fungus gnat infestation. Essential for any indoor propagation.

What not to do

Several popular online remedies do more harm than good:

Apple cider vinegar traps. These work but catch fruit flies better than fungus gnats, which are rarely attracted to fermentation. Yellow sticky traps are far more effective.

Letting compost dry out completely. This kills larvae but also stresses or kills the plant. Bottom watering keeps plants healthy while denying gnats breeding conditions.

Soap sprays on adults. Kills individual adults on contact but does not reduce breeding in compost. Adult lifespan is only 7-10 days anyway — the population is the larvae.

Insecticide sprays. Unnecessary and overkill. Sciarid flies are too numerous and too weakly targetable for spraying to work, and residues are undesirable in indoor environments.

Cinnamon dusting alone. Mildly effective but cannot clear established infestations without supporting treatments.

Covering compost with sand indefinitely. Works short term but sand clumps and compacts over time, eventually holding moisture as badly as compost. Use for 3-6 months then refresh.

How to know when you are clear

An infestation is eliminated when all three of these are true for a full 7 consecutive days:

  1. Yellow sticky traps catch no new adults
  2. Compost surface shows no larvae when lightly disturbed
  3. No adults flying from pots when watered or touched

Continue preventive measures (bottom watering, gritty top dressing, traps) for a further 4 weeks to ensure complete lifecycle break. Most households then stay gnat-free for months or permanently, provided watering habits remain correct.

Fungus gnat problems with specific houseplants

Some plants are particularly prone or sensitive to fungus gnats.

Spider plants: Rarely suffer — their roots are tough and water stored in leaves means they tolerate drier compost.

Peace lilies: Moderately prone. Love damp compost. Use bottom watering religiously.

Orchids: Bark-based compost breeds gnats at lower rates. When affected, flush compost and let it dry more between waterings.

Succulents: Should almost never have fungus gnats. If you do, you are overwatering.

Monstera and Philodendron: Commonly affected. Large pots hold moisture deep. Nematodes work well on these larger systems.

Ferns: Very prone because they need consistently moist compost. Gritty top dressing is critical. Consider switching to a humid spot with misting rather than wet compost.

African violets: Prone due to continuous moisture requirement. Bottom watering is the only option.

See our guide to best low-light houseplants for plant selection in rooms where humidity and moisture are harder to manage.

Fungus gnat treatment timeline

DayActionExpected result
Day 1Hydrogen peroxide drench, yellow traps in every affected potVisible larvae die within minutes; adult numbers drop 50% in 24h
Day 3Nematode drench across all potsLarval kill rate reaches 85-95% over next 48 hours
Day 7Replace sticky traps, assess. Second peroxide drenchAdult numbers should be 80-90% lower than day 1
Day 14Replace sticky traps. Third peroxide drenchMost traps should be nearly empty
Day 21Final peroxide drench. Continue trapsVery few adults expected
Day 28Remove traps if 7 days empty. Maintain bottom-wateringInfestation eliminated
OngoingWeekly inspection, bottom watering, quarantine new plantsPrevention mode

Total treatment time: 4 weeks. Cost: £20-£35 for peroxide, nematodes, and traps for an entire houseplant collection.

Frequently asked questions

What kills fungus gnat larvae quickly?

A hydrogen peroxide drench kills fungus gnat larvae instantly on contact. Mix 30ml of 3% hydrogen peroxide (standard first-aid strength) per 1 litre of water and drench the compost thoroughly. The solution fizzes as it contacts larvae, killing them within minutes. Peroxide also oxygenates compost briefly but does not harm plant roots at this dilution. Repeat weekly for 3 weeks to break the breeding cycle.

Do yellow sticky traps work for fungus gnats?

Yellow sticky traps catch 70-80% of adult fungus gnats within 48 hours of placement. They are the single most effective tool for monitoring and reducing adult populations. Use 3-5 traps per affected plant, placed just above the compost surface. Adults are attracted to yellow and UV-reflecting surfaces. Traps fill up within 5-10 days during heavy infestations. Replace regularly until traps remain empty for a full week.

How do nematodes kill fungus gnats?

Steinernema feltiae nematodes are microscopic worms that actively hunt fungus gnat larvae in compost. They enter larvae through natural openings and release symbiotic bacteria that kill the larva within 24-48 hours. A single nematode pack treats 10-15 houseplants. Apply in water above 10C, drench the compost, and keep soil moist for 7 days. Kill rate is typically 85-95% after a single application.

Why do I keep getting fungus gnats?

Persistent fungus gnat infestations usually indicate one of three problems: continuously wet compost (overwatering or poor drainage), infested compost bags in your potting area, or new plants being introduced without quarantine. Fix all three: switch to bottom watering, store compost bags sealed in a cool dry place, and quarantine new houseplants for 3-4 weeks before placing near your collection. Fungus gnats breed only in moist compost — keep the top 3cm dry and infestations collapse.

Are fungus gnats harmful to houseplants?

Fungus gnat larvae cause minor root damage to healthy plants but serious damage to seedlings and stressed plants. Larvae feed on fine root hairs and organic matter in the top 3cm of compost. Mature plants tolerate low larval numbers without visible symptoms. Seedlings, cuttings, and plants already weakened by disease can suffer significant root loss. Adults do not damage plants but lay 200+ eggs each, maintaining infestations.

Can I use cinnamon on fungus gnats?

Cinnamon powder sprinkled on compost surface provides mild fungus gnat control but is less effective than nematodes, peroxide, or BTI. Cinnamon contains cinnamaldehyde, which has antifungal properties that may reduce the fungal food source for larvae. Apply a thin dusting (teaspoon per pot) and reapply weekly. It helps as part of a broader treatment plan but rarely clears established infestations alone.

How do I stop fungus gnats coming back?

Prevention has four elements: water from below whenever possible so the top compost stays dry; use a gritty top dressing (2cm of horticultural grit or sand) to stop adults laying eggs; quarantine new plants for 3-4 weeks before adding to your collection; and store compost bags sealed, outside if possible, as open bags breed gnats within weeks. A dry top 3cm of compost makes infestation almost impossible.

Sources: RHS Sciarid Flies guidance | Defenders Biological Control UK

fungus gnats sciarid flies houseplant pests indoor plants bradysia nematodes bti sticky traps
LA

Lawrie Ashfield

Lawrie has been gardening in the West Midlands for over 30 years. He grows his own veg using no-dig methods, keeps a wildlife-friendly garden, and writes practical advice based on real UK growing conditions.