Fungus gnats (sciarid flies)

Fungus gnats, also known as sciarid flies, are associated with damp composts especially in house plants and seed trays.

Fungus gnat adults

Quick facts

Common name Fungus gnats or sciarid flies
Scientific names Bradysia and other species
Plants affected Seedlings, soft cuttings  in greenhouses and pot plants
Main cause Maggots feeding on decaying organic matter; adult flies can be a nuisance in houses
Timing All year round on house plants and in greenhouses

What are fungus gnats?

The adults are small flies and can be a nuisance, the compost-dwelling larvae can sometimes damage seedlings and cuttings. These insects also occur out of doors where they cause no damage. Cultivated and wild mushrooms can also be attacked. There are many species of fungus gnats, or sciarid flies, most of which are entirely harmless.



Adult fungus gnats are greyish brown flies that are mostly 3-4mm long. They can often be seen running over the surface of seed trays and pots, or flying slowly around plants. The larvae are slender whitish maggots, up to 6mm long, with black heads. Their bodies are semi-transparent and it is often possible to see the dark coloured gut contents. They live in the soil or potting compost. This insect thrives in damp composts containing high levels of organic matter. Potting media formulated for houseplants is the best choice for indoor plants.

Adult fungus gnats do not damage plants but they can cause annoyance when they are flying around indoors. The larvae feed mainly on dead roots and other decaying plant material and associated fungal growth. Some species of fungus gnats may also feed on soft plant growth, such as seedling roots and the base of soft cuttings. Established plants are unlikely to be damaged by fungus gnat larvae.


Fungus gnats are really only of concern if they are causing damage to seedlings or cuttings; established plants are not harmed

Non-pesticide control

  • Fungus gnats are often more numerous in composts that are constantly wet, allowing compost to dry can reduce infestations, provided this does not affect the health of plants. Potting media formulated for houseplants is the best choice for indoor plants
  • If the adult flies are a nuisance, their numbers can be reduced by placing yellow sticky traps near the plants. These are widely available from garden centres
  • Biological control can be used. Pathogenic nematodes (Steinernema feltiae), predatory mites (Hypoaspis miles, Stratiolaelaps scimitus and 'Mighty Mite', Macrocheles robustus) and a predatory rove beetle (Atheta coriaria) are sometimes available by mail order from various biocontrol supply companies. These biocontrols are added to the potting compost where they will help control the eggs, larvae and pupal stages of the flies.

Pesticide control

  • Control of fungus gnats should be aimed at reducing larval numbers by non-pesticide methods
  • There are no synthetic pesticides available to the home gardener that are approved for use on cultivated mushrooms
  • Contact pyrethroid insecticides such as pyrethrum (considered organic e.g. Bug Clear Gun for Fruit & Veg, Ecofective Bug Killer) and synthetic pyrethroids lambda-cyhalothrin (e.g. Westland Resolva Pest Killer), deltamethrin (e.g. Provanto Ultimate Fruit & Vegetable Bug Killer) and cypermethrin (e.g. Py Bug Killer) may control the adult flies but this may give only temporary respite if more adults emerge from pupae in the compost
  • Plants in flower should not be sprayed due the danger to pollinating insects
  • Inclusion of a pesticide product does not indicate a recommendation or endorsement by RHS Garden Advice. It is a list of products currently available to the home gardener


Pesticides for gardeners (Adobe Acrobat pdf document outlining pesticides available to gardeners)

Biological control suppliers (Adobe Acrobat pdf document)


Fungus gnats can breed all year round in greenhouses and houses. The females deposit eggs in the surface layer of the potting compost and these hatch within a few days under warm conditions. The larvae feed on fungal growth and decaying plant material but some species can also damage the roots of seedlings or tunnel into the base of soft cuttings. When fully fed, the larvae pupate in the soil. During the summer the life cycle can be completed in about a month.


See also...

Protect your garden

Gardeners' calendar

Find out what to do this month with our gardeners' calendar

Advice from the RHS

Did you find the advice you needed?

RHS members can get exclusive individual advice from the RHS Gardening Advice team.

Join the RHS now

Get involved

The Royal Horticultural Society is the UK’s leading gardening charity. We aim to enrich everyone’s life through plants, and make the UK a greener and more beautiful place.