Fungus Gnats: How to Get Rid of Them and Stop Them Coming Back
Share
Fungus gnats are the small black flies that drift up from a pot when you water it or brush past. They are among the most common pests in grow tents, propagators and on houseplant windowsills, and the reason is nearly always the same: a surface that never dries. The adults are only a nuisance, but their larvae live in the top few centimetres of wet medium and feed on the finest roots, which hits seedlings and cuttings hardest. This guide shows you how to confirm what you have, why spraying the flies alone never works, and the four steps that break the cycle: trap, dry the top, seal the surface and stop the larvae.
What fungus gnats are, and what they are not
Fungus gnats are sciarid flies: slim, dark grey to black, with long legs and long antennae, usually 2-4mm long. They are weak fliers. You will see them walking over the surface of the medium, resting on pot rims and making short, zigzag flights when disturbed. They are drawn to damp compost, coco and anything rich in decaying organic matter.
Two lookalikes are worth ruling out, because the fix is different.
- Fruit flies are tan with red eyes, slightly stockier, and gather around ripe fruit, juice and bins rather than pots.
- Shore flies are stouter and darker with short antennae and faint spots on the wings. They fly strongly and are a sign of algae growing on wet surfaces. The cure overlaps: dry surfaces and no light on standing water.
Nothing here is crop-specific
Fungus gnats are one of the most familiar houseplant pests, and a standard problem in seed trays, plug trays and glasshouse propagation of tomatoes, cucumbers, peppers, herbs and ornamentals. Commercial growers deal with them through watering, hygiene, monitoring and targeted larvae control, exactly as below. Whatever you grow, the steps are the same.
Are they actually harming your plants?
The adults do not feed on plants and do no direct damage. The larvae are the problem. They are translucent white maggots with a shiny black head, a few millimetres long, living in the top few centimetres of damp medium. Most of the time they eat fungi and decaying organic matter, but in large numbers, or when food runs short, they graze fine root hairs and can tunnel into soft stems at the base of seedlings and cuttings.
That root damage shows up as slow, stalled growth and wilting in a pot that is clearly wet, which is easy to blame on overwatering alone. Damaged roots also give root rot an easy way in. A large, healthy plant in a big container can usually carry a light population without visible harm; a tray of seedlings or a propagator full of fresh cuttings cannot. If you are propagating, treat any gnats as urgent.
The life cycle: why spraying the flies never works
A female lays her eggs in the moist top layer of the medium, often a hundred or more over her short life. The eggs hatch into larvae that feed in that same damp layer, pupate there, and emerge as adults that mate and lay again. In a warm room the whole cycle from egg to adult takes about three to four weeks, and the generations overlap, so at any moment most of the population is in the pot, not in the air.
That is the key to beating them. Spraying the flies you can see only touches the smallest part of the population, and a fresh batch emerges from the medium a few days later. Every lasting fix works on the top few centimetres of the pot.
Adults are the visible part. Eggs, larvae and pupae all live in the top few centimetres of damp medium, which is where every lasting fix has to work.
| Method | Which stage it hits | How fast | Use it for |
|---|---|---|---|
| Sticky traps | Adults | Immediate, partial | Counting, and catching adults before they lay |
| Drying the top | Eggs and young larvae | One to two weeks | The root cause, every time |
| Barrier top dressing | Egg-laying and emerging adults | Within a generation | Pots that must stay moist |
| Larvae treatment | Larvae in the medium | Days | Heavy numbers, seedlings and cuttings |
Step 1: trap and count
Start by finding out how many you have and where. Yellow sticky traps catch the adults and give you a number you can track. Fungus gnats fly low, so hang or stand one card at pot level, close to the medium surface, and another at plant height. Use at least one card per square metre of growing area.
- Check on the same day each week and write down the count. A rising number means the cycle is running; a falling one means your changes are working.
- Replace cards once they are more than half covered, or about once a month.
- Use your phone camera's zoom on the card to tell gnats from fruit flies, shore flies, thrips or whitefly.
To check for larvae directly, push a slice of raw potato a little way into the surface of a suspect pot and lift it after two or three days. Larvae are attracted to it and are easy to see on the underside.

Guard'n'Aid Sticky Insect Traps
From £4.95
Double-sided, one per m²

Essentials Min-Max Thermo Hygrometer
£12.90
Shows the overnight humidity high
Step 2: dry the top, the step that matters most
Eggs and young larvae need a constantly moist surface. Take that away and much of the next generation dies before it can do any harm, while the adults look elsewhere to lay. This step on its own often settles a light infestation, and without it nothing else lasts.
- Water less often, but thoroughly. Instead of a little every day, water until you get some run-off, then wait until the top few centimetres are dry before watering again. Lift the pot: a dry pot is noticeably lighter, and you will quickly learn the difference.
- Empty saucers and trays. Tip away any run-off within half an hour. A pot standing in water wicks it back up and keeps the surface wet.
- Use a mix that drains. Compost or coco that stays wet for days is ideal for gnats. Mixing in perlite opens it up so the surface dries faster between waterings.
- Consider the pot. Fabric pots lose water through their sides and dry out much faster than solid plastic, which shortens the time the surface stays wet.
- Clear the floor. Spilled water, wet debris and fallen leaves on the tent floor are breeding sites too. A tray under the pots keeps spills contained and easy to clean.
Seedlings and cuttings need care here
You cannot let a propagation cube dry right out. Keep cubes and plugs evenly moist rather than soaking, water from below where you can, and lean on steps 3 and 4 instead of drying. Our propagator guide covers how to hold humidity without a wet surface.

Perlite
From £6.95
Opens up a mix that stays wet

Root Nurse Fabric Pots
From £0.99
Breathable sides dry out faster

Round Plant Pot Saucers
From £1.00
Catch run-off, then empty them

Flexi-Tray Deep Flexible Tray
From £25.90
Keeps spills off the tent floor

Root Riot Organic Propagation Cubes
From £6.95
Seedlings and cuttings, kept just moist
Step 3: seal the surface
A barrier top dressing is a layer of coarse, inert material spread over the surface of the medium. Adults cannot reach the damp layer underneath to lay, and any that do hatch below cannot get back out to breed, so numbers fall within a generation. Water still passes through it.
- Clear the surface first of dead leaves and debris.
- Spread an even layer right up to the edge of the pot, deep enough that no bare medium shows through.
- Top it up after repotting or whenever the layer is disturbed.
This is especially useful for pots that need to stay moist and for houseplants and display plants, where you would rather not use any pesticide at all.
Step 4: stop the larvae
Where numbers are high, or you have seedlings and cuttings at risk, treat the larvae directly. Choose one approach, follow the label exactly, and keep counting on your traps to confirm it is working.
Watered-in larvae treatments
Tanlin, also sold as NilNat, is added to the feed or irrigation water. The larvae eat it and it kills them physically rather than chemically, so resistance is not a concern. The maker's directions give a low preventative dose in normal feed water, a stronger dose that saturates the whole medium for an active infestation repeated over several days, and a reservoir dose for hydro systems. It works in soil, coco and hydro.
Gnat Off is an organic root drench that kills larvae in the medium on contact and then breaks down. It is sold as a 5L concentrate, so it suits larger rooms and commercial set-ups rather than a single tent.
A surface dust
Agrothrin is a pyrethrin dusting powder spread over the medium surface, where it treats emerging larvae and adults and holds its position better than a wet spray. Wear gloves and a dust mask, treat every pot in the room at once, and reapply after heavy top-watering or when your traps show fresh activity.
Sprays
A spray only reaches adults and whatever it wets on the surface, so on its own it will not clear an infestation. A product that lists fungus gnats among its targets, such as Element 115, can play a supporting role alongside steps 2 to 4.
Commercial growers also use beneficial nematodes and predatory mites that hunt larvae in the medium. Whatever you choose, the drying and sealing steps still decide whether the problem comes back.

CX Horticulture Tanlin (NilNat) 20ml
£23.49
Biological larvae control in the feed

Agrothrin Pyrethrin Dusting Powder
£6.49
Dusted over the medium surface

Spray2Grow Gnat Off Root Drench 5L
£299.95
Organic drench for whole rooms

Element 115 Organic Bug Spray Concentrate
From £41.95
Lists fungus gnats among its targets

Grow Tools Disposable Vinyl Gloves
£9.49
For dusting and drenching
A three-week plan that covers a full cycle
Because the cycle takes three to four weeks and generations overlap, you need to keep going for at least that long, even once the flies seem to have gone.
- Day 1: hang sticky traps and note the count. Clear debris, empty every saucer and check for larvae with a potato slice.
- Days 1-3: treat the larvae if numbers are high or young plants are at risk, and lay a top dressing on pots that must stay moist.
- Week 1: change how you water: thoroughly, then wait for the top to dry. Mix perlite into any new compost.
- Week 2: compare the trap count with week 1. Repeat the larvae treatment if the label allows and the count has not fallen.
- Weeks 3-4: keep watering the new way and keep counting. A count that stays near zero for two weeks running means the cycle is broken.
Keep them out next time
- Store compost and coco sealed and dry. An open, damp bag is an ideal place for gnats to breed before it ever reaches a pot.
- Quarantine new plants for a week or two, with a sticky trap beside them, before they go in with the rest.
- Filter the air coming in. Mesh or a filter over the intake stops flying insects being pulled into a tent.
- Clean between crops. Old medium, root debris and damp corners carry the next generation; our guide to cleaning a tent between crops shows the order to do it in.
- Watch the overnight humidity. A damp tent keeps surfaces wet for longer. See our humidity guide for the right range at each stage.
- Keep a trap up permanently. A few gnats caught early cost a few minutes to deal with; a missed month costs a crop of seedlings.
For the bigger picture on keeping every pest out, read our grow room pest prevention guide.
Six mistakes that keep fungus gnats coming back
- Watering a little every day. The surface never dries, so the cycle never stops.
- Only spraying the flies. Most of the population is in the pot, not in the air.
- Stopping when the flies disappear. Eggs and pupae in the medium hatch a week later. Keep going for three to four weeks.
- Leaving saucers full. A pot standing in water stays wet at the top.
- Treating one pot. Gnats move between pots; treat every pot in the area at the same time.
- Leaving open bags of compost in the room. They become a breeding site of their own.
Quick answers
What are fungus gnats?
Fungus gnats are small, dark, long-legged flies, usually 2-4mm long, that hover and run around the surface of damp pots. They are sciarid flies. Their larvae live in the top few centimetres of wet growing medium and feed on organic matter, fungi and fine roots.
Do fungus gnats harm plants?
The adults are a nuisance rather than a threat. The larvae do the damage: they graze fine roots and can let root rot in, which matters most for seedlings, cuttings and young plants. Established plants usually cope with light numbers.
How do I get rid of fungus gnats quickly?
Hang sticky traps to catch the adults, stop the top of the medium staying wet, cover it with a barrier top dressing and treat the larvae with a product made for them. Keep going for three to four weeks so you cover a full life cycle.
Why do I keep getting fungus gnats?
Almost always because the top of the pot stays wet. Watering little and often, saucers left full and a mix that drains slowly all keep the surface damp, which is exactly where gnats lay their eggs.
Can fungus gnats live in coco, rockwool or hydro?
Yes. Any surface that stays wet can host them, including coco, the top of rockwool cubes and slabs, and algae on wet surfaces in hydro systems. Cover exposed medium and keep light off wet surfaces.
Does letting the soil dry out kill fungus gnats?
Letting the top few centimetres dry between waterings kills many eggs and young larvae and makes the pot far less attractive to egg-laying adults. On its own it can be slow, so combine it with traps and a larvae treatment.
Are fungus gnats the same as fruit flies?
No. Fruit flies are tan with red eyes and gather around ripe fruit and bins. Fungus gnats are darker and slimmer, fly weakly and stay close to damp pots and compost.
Is this the same for houseplants, seedlings and vegetables?
Yes. Fungus gnats are one of the most common houseplant pests and a well-known problem in seed trays, cuttings and glasshouse propagation of vegetables and ornamentals. The same steps work for every crop.
More grow guides
- What size extractor fan and carbon filter do you need?
- How to set up a grow tent, step by step
- Feeding in coco: nutrients, EC & pH made simple
- Spider mites: the 14-day rescue plan
- How to keep your grow tent cool in summer
- LED vs HPS: which is actually cheaper to run?
- Grow tent humidity: the right RH for every stage
- Nutrient burn: how to spot it, fix it and stop it coming back
- How to take cuttings: the complete cloning guide
- How to dry and cure your harvest
- pH explained: the right pH for soil, coco and hydro
- What size pot do your plants need?
- Grow room timers and contactors: switching lights safely
- VIVOSUN GrowHub: what the app does and how to set it up
- How high should your grow light be? Light height and PPFD
- Grow room ducting and noise: full airflow, quiet tent
- Water quality: tap water, hard water and RO
- How to choose and use a propagator
- CO2 enrichment: when it is worth it and how to do it safely
- Root zone temperature and oxygen: getting your water right
- How to choose a water pump: flow rate, head height and duty
- Silica for growers: what it does and how to add it
- Soil, coco or hydro? How to choose a growing medium
- How to clean and sterilise a grow tent between crops
- Hydroponic systems explained: DWC, NFT, drip and flood and drain
- Grow room pest prevention: a simple IPM plan that works
- Powdery mildew and grey mould: how to prevent them indoors
Questions? Call the shop on 020 3488 0419 — free expert advice, 6 days a week. Free Express Delivery over £60 to UK mainland addresses, arriving in 1-2 working days when you order by 3pm Monday to Friday.


