Fungus gnats
Fungus gnats are small, dark flies whose larvae commonly feed on fungi and decaying material in damp soil. They may appear around houseplants, greenhouses, or mushroom-growing areas. Adults are mostly a nuisance, while larvae can damage young plants and indicate that growing conditions are staying too wet.
- Insect group
- Several related fly families
- Common habitat
- Damp soil and organic matter
- Main concern
- Larvae may harm seedlings
- Life stages
- Egg, larva, pupa, adult
- Mushroom link
- Larvae often feed on fungi
What are fungus gnats?
Fungus gnats are small flies found in several related insect families, including Sciaridae. The name describes a group rather than one single species. Adults are usually dark, delicate-looking, and weak fliers; they may walk across soil or leaves and gather near damp growing areas. Their larvae are small, pale, and wormlike, and are often harder to notice than the flying adults.
The word fungus is a clue to their usual habitat, not a sign that every species has the same diet. Many larvae feed on fungi and decaying organic material in soil. Some also nibble plant roots, especially when plants are young or stressed, while a few kinds are predators. Adults do not all behave alike either, and some visit flowers or carry spores.
- 1Egg laying
Adults place eggs in moist soil or other suitable organic material.
- 2Larval feeding
Larvae feed mainly on fungi and decaying matter; some may damage roots.
- 3Pupation
Mature larvae change into pupae in or near the growing material.
- 4Adult emergence
Winged adults emerge, disperse nearby, and may lay another batch of eggs.
How do fungus gnats develop?
Fungus gnats pass through four stages: egg, larva, pupa, and adult. Females generally lay eggs in moist material where newly hatched larvae can find food. The larvae feed and grow in the soil or other damp organic matter, then change into pupae. An adult fly emerges from the pupa and can reproduce, continuing the cycle when conditions suit it.
The time from egg to adult varies with species, temperature, and available food, so there is no single schedule that fits every infestation. Damp, fungus-rich soil can support more larvae, while drying the soil surface between waterings may make it less suitable. In mushroom cultivation, however, moisture is part of the process, so growers need to balance crop needs with pest monitoring.
Adults are usually a nuisance, but larvae can harm seedlings.
Moist organic material generally favors eggs and larvae.
Many larvae eat fungi, though some also feed on roots.
Editorial placement to help compare; not a measurement.
Where do fungus gnats matter?
People often notice fungus gnats around houseplants, propagation trays, greenhouses, and other places with moist potting mix. A few adults drifting near a plant may be irritating, but a persistent cloud can point to conditions that also stress roots. In gardens and commercial growing spaces, larvae may injure seedlings or young plants, whose roots are more vulnerable than established ones.
Fungus gnats can also turn up where mushrooms are cultivated because fungi and moist organic material provide suitable food and habitat for some larvae. Their presence does not automatically mean a mushroom crop is ruined or unsafe. It does make inspection useful: check growing areas for larvae and adults, remove standing water, and look for overly wet material or decaying plant debris.
| Fungus gnats | Drain flies | Fruit flies | |
|---|---|---|---|
| Often found | Damp soil and plant pots | Drains and wet pipes | Ripe fruit or fermenting foods |
| Larval habitat | Moist soil or organic matter | Slime inside drains | Fermenting food material |
| Adult appearance | Slender, mosquito-like flies | Small, fuzzy, mothlike flies | Compact flies, often tan |
| Typical concern | Larvae may damage young roots | Adults gather near drains | Adults gather near food |
Are fungus gnats dangerous or often mistaken?
Fungus gnats are generally a nuisance to people rather than a biting pest, and they are not the same insects as mosquitoes. Their small size and habit of hovering near faces can make them bothersome indoors. They are also sometimes confused with drain flies or fruit flies, but those insects tend to gather in different places and have different body shapes and habits.
A sighting alone does not prove that a plant has a serious problem. Adults may be present before root damage is evident, and larvae can be mistaken for other tiny soil organisms. Avoid applying an insecticide casually, particularly around edible crops, pets, or beneficial insects; follow the product label and local guidance. In mushroom-growing spaces, use controls compatible with the crop and its environment.
How do fungus gnats connect to mushroom growing?
Fungus gnats are a useful example of how insects and fungi share habitats. Many larvae consume fungal growth, while adult gnats may move among plants, soil, and other organic material. In a growing setup, moisture and food sources that support mushrooms can also attract pests. Good sanitation and regular observation help growers notice problems early without assuming that every small fly is a fungus gnat.
The topic connects with terms such as substrate, mycelium, spores, and contamination. Substrate is the material used to support fungal growth; mycelium is the network of fungal threads within it. These are distinct from the insects that may visit a growing area. Learning to tell pests from normal fungal growth helps new growers describe what they see and choose proportionate, crop-appropriate management.
Common questions about Fungus gnats
What causes fungus gnats in houseplants?
Fungus gnats often appear when potting mix stays consistently moist and contains fungi or decaying organic matter. Adults may enter from outdoors or arrive with infested plants or soil. Their presence can be a cue to review watering and drainage, but it does not by itself prove that a plant is unhealthy.
How can I tell fungus gnats from fruit flies?
Fungus gnats are usually slender, dark flies seen around damp soil and plant pots. Fruit flies are generally more compact and tend to gather around ripe or fermenting food. Their habits are useful clues, though appearance can be difficult to judge; look at where the flies cluster as well as their shape.
Do fungus gnats harm mushrooms?
Some fungus gnat larvae can feed on fungi, so they may be unwanted in mushroom-growing spaces. A few adults do not necessarily mean a crop is damaged. Check the growing area for larvae and review moisture, sanitation, and pest monitoring. Choose any control method with the crop and its setting in mind.
How can I reduce fungus gnats around plants?
Avoid keeping houseplant soil constantly wet, improve drainage where needed, and remove decaying plant material. Yellow sticky cards can help monitor adult flies, but they do not remove larvae in the soil. For a persistent problem, identify the pest and follow reliable horticultural guidance or product labels.
Related terms
Explore on Pscilly
Sources and further reading
Written by the Pscilly editorial team and reviewed November 2026. Educational content only, not medical or legal advice. Pscilly does not sell psilocybin. Never eat a wild mushroom without expert identification.