Fungus gnats: trap, dry the top, seal the surface and stop the larvae

Fungus Gnats: How to Get Rid of Them and Stop Them Coming Back

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.

WHERE FUNGUS GNATS LIVE, AND WHERE EACH FIX HITS 1 · INSIDE THE POT STICKY TRAP ADULTS: weak fliers, stay low TOP 2-5 cm eggs, larvae, pupae ROOTS larvae graze the finest ones 2 · THE CYCLE EGG LARVA PUPA ADULT 3-4 weeks egg to adult when warm Green: in the medium · Black: in the air 3 · WHAT EACH FIX BREAKS STICKY TRAPS Catch adults before they lay, and show you the numbers A DRY TOP Eggs and young larvae need a damp surface to survive TOP DRESSING A barrier adults cannot lay through or climb out of LARVAE TREATMENT Watered in to stop the stage that eats the roots hits: ADULTS hits: EGGS hits: EGGS + ADULTS hits: LARVAE

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.

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.

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

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.

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.

  1. Day 1: hang sticky traps and note the count. Clear debris, empty every saucer and check for larvae with a potato slice.
  2. 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.
  3. Week 1: change how you water: thoroughly, then wait for the top to dry. Mix perlite into any new compost.
  4. Week 2: compare the trap count with week 1. Repeat the larvae treatment if the label allows and the count has not fallen.
  5. 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

  1. Watering a little every day. The surface never dries, so the cycle never stops.
  2. Only spraying the flies. Most of the population is in the pot, not in the air.
  3. Stopping when the flies disappear. Eggs and pupae in the medium hatch a week later. Keep going for three to four weeks.
  4. Leaving saucers full. A pot standing in water stays wet at the top.
  5. Treating one pot. Gnats move between pots; treat every pot in the area at the same time.
  6. Leaving open bags of compost in the room. They become a breeding site of their own.

Shop plant health

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

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.

Back to blog

Leave a comment