Fungus Gnats in the Greenhouse: Causes, Prevention and Treatment

Fungus Gnats in the Greenhouse: Causes, Prevention and Treatment
A yellow sticky trap makes fungus gnats visible, but it does not cure the root zone. Captured adults usually indicate a damp biological system developing in the upper growing medium.
That distinction shapes the response. Catching flying adults supports control and may reduce pressure. Yet damp surfaces, algae, organic debris, vulnerable propagation material and larvae near roots matter most. The aim is not to dry every pot completely, but to establish a crop-appropriate moisture rhythm: enough water for plants, with less continuously suitable habitat for fungus gnats.
Protect vulnerable crops first
Fungus gnats are especially troublesome where careful growing effort has been invested: seed trays, rooted cuttings, newly potted plants and slow-establishing young plants. Strong, established crops often tolerate a light infestation better. Fine roots, seedlings and incompletely rooted cuttings have far fewer reserves. First separate the at-risk propagation area from the remaining stock rather than treating the entire greenhouse as a precaution.
Check whether timers kept running unchanged through dull, cool days or whether plants used less water. What suited last week may already be too much today.
Empty saucers and trays, dry puddles beneath benches, and remove green deposits from floors, pots and irrigation points.
Do not place new young plants, houseplants or damp bags of growing medium straight into propagation areas. Inspect them and position a dated yellow trap nearby.
Not every small dark fly is a fungus gnat
Adult fungus gnats are delicate, dark, long-legged flies, usually about1.5to3.0mm long. They fly weakly, hover or tumble near pots and may run across the growing-medium surface. Long legs and thread-like antennae are early clues on a well-placed sticky trap. If visible, a typical Y-shaped wing vein can be checked more closely with a hand lens.
The decisive clue is in the growing medium: larvae are slender, glassy to whitish, legless and have a clearly visible, shiny black head capsule. Look mainly in the damp upper layer, not only deep inside the pot. Larvae are particularly easy to find in wet propagation cells, beneath dead leaves or around persistently damp pot rims.
Probably a fungus gnat
Look for weak, erratic flight, long thread-like antennae and clear wings. Larvae have a visible dark head capsule. They feed on fungi, algae and organic material; at high densities, fine roots and root hairs can also be at risk.
Possible confusion: shore fly
Shore flies also occur where algae and excessive moisture are present. However, adults appear stockier and have pale spots on their wings. Their larvae lack the distinctive black head capsule of fungus gnat larvae and feed mainly on algae.
Avoid harming beneficial insects
Small parasitic wasps and predatory midges can also end up on sticky traps. If you spot a narrow wasp waist, or identification remains uncertain, inspect several specimens more closely. Not every tiny winged insect in a greenhouse is automatically a pest.
Why the distinction matters
Removing algae helps with both fly groups. Root protection and targeted larval measures are mainly relevant where fungus gnats are confirmed. A yellow trap’s catch total alone cannot make that distinction.
One pest, two work zones
Fungus gnats pass through egg, larva, pupa and adult stages. Development time changes with temperature, moisture and food supply, so calendar timing is not a reliable guarantee. In practice, the key is spatial separation: adults are observed and caught in the flight zone, while eggs, larvae and pupae are associated with the damp growing-medium surface. A sound approach must address both parts of the cycle.
Monitoring level
upper growing-medium layer
Above the crop: what yellow traps show
Weak-flying adults gather around pots, lower leaves and damp growing-medium surfaces. Females prefer a moist, organic setting for egg laying, close to food for their larvae. Yellow traps reveal adult activity and changes in infestation pressure over time. They do not show how many larvae live in an individual pot. Newly emerging adults begin the visible phase again.
In the growing medium: where intervention matters
Tiny eggs are laid on or near the damp surface. Young larvae feed where fungi, algae and decaying material are available, then pupate in the growing medium or organic debris. Heavy larval pressure is especially consequential for seedlings, cuttings and already weakened roots.
Moisture is not the enemy – constant wetness is
Protected warm air + wet upper growing medium + organic debris + repeated watering without a drying interval = favourable habitat for fungus gnats.
Peat-rich and other organic growing media can suit plants very well. Problems arise when the surface remains wet for days, too little air reaches the root zone, algae grow, leaf debris remains, or pots stand continually in drainage water. Fungus gnats prove neither poor cleanliness nor automatic root damage. However, they are a useful signal to review the biological conditions created by watering, drainage and working routines.
Water must be able to drain
Blocked drainage holes, compacted growing medium, full saucers and poorly drained surfaces keep the area beneath benches wet long after the crop’s actual water requirement has been met.
Green growth is a clue
Algae indicate recurring surface dampness and an available nutrient supply. They especially favour shore flies and often accompany the persistently wet conditions that also encourage fungus gnats.
Remove damp material consistently
Dead leaves, old propagation plugs, used growing medium and plant debris retain water and support fungal growth. Remove this material before it becomes habitat for the next fungus gnat generation.
Larvae can stress roots – diagnosis still needs perspective
Fungus gnat larvae feed mainly on fungi and decaying organic material. At high densities they may graze root hairs or enter tender roots. Seedlings and cuttings are particularly vulnerable because even limited damage can significantly affect establishment. Injured or already stressed roots may also be more susceptible to broader root problems. Check plant condition and the root zone, not only visible flies.
Yellowing, stunted growth, wilting and poor rooting are not exclusive fungus gnat symptoms. Low light, cold growing medium, dense soil, nutrient imbalance, root disease, water shortage after excessive drying or repotting errors can look similar. Examine moisture and roots before naming the infestation as the sole cause. The Classic Aluminium Greenhouse provides a high-quality setting for readily managed growing zones.
Plan a drying rhythm, not drought
Advice to let growing medium dry is useful only when crop, root volume, weather and growth stage are considered. Basil in a small cell, a rooted cutting, a large citrus container and a dormant succulent all need very different intervals. Aim for partial surface drying between waterings where the plant tolerates it. The active root zone must still receive appropriate water.
1. Look below the surface
Check the upper centimetres with a finger, lift the pot, or use a moisture sensor suited to the container size. A pale surface can conceal a still-saturated lower root zone. Conversely, a dark surface may be appropriate for a moisture-loving crop. Pot weight, surface appearance and plant condition together give a better picture.
2. Match water volume and intervals
If a bench repeatedly remains wet, check dripper output, drainage and run-off. Water purposefully into the root zone required rather than topping up small amounts with every timer cycle. Closed trays should not remain full for days after water uptake.
3. Respond to weather
Reduce watering after dull, cool spells and when ventilation is restricted. In New Zealand this can be particularly important during cool, low-light winter periods. In bright, hot weather demand can rise sharply without automatically creating fungus gnat conditions, provided the medium drains and the surface receives a suitable break from wetness.
Tomatoes clearly show why crop needs come first: their water use changes substantially with plant mass, light levels and fruit load. The Classic Aluminium Greenhouse offers a controllable environment for this. Apply the same principle to every pot: water the root zone for plant needs, rather than routinely watering fungus gnat habitat.
Bring several clues together before treatment
Any single control tool captures only part of the system. Combine yellow traps, growing-medium checks, root inspection and brief written records. This turns an irritating cloud of small flies into useful observation: where is pressure greatest? Are larvae present? Which crops are at risk? Do catches decline after watering and hygiene are corrected?
Yellow traps
Adult activityLarval check
Surface-near larvaeRoot check
Crop vulnerabilityWatering record
Habitat patternYellow traps
Place cards just above the crop canopy or near the growing-medium surface in vulnerable areas. Label each card with location and date, use comparable positions each week, and assess trends rather than a single catch. Yellow traps record adult activity, not larval numbers in every pot. Outside enclosed greenhouses, use sticky traps sparingly because non-target organisms may be caught.
Larval check
Inspect the damp upper growing-medium layer, especially around pot edges, beneath plant debris and in wet propagation cells. Work with several representative containers, not only the most conspicuous pot. Finding larvae indicates near-surface activity, but does not provide a complete picture of root health or distribution across the greenhouse.
Root check
Choose two or three representative seedlings, cuttings or struggling pots. Healthy roots are usually pale, firm and branched. Also check for rot, unusual smell, excess moisture and visible larvae. This assesses crop vulnerability, not adult flight pressure elsewhere.
Watering record
Record the crop, watering, weather, leaks, algae deposits and trap catches. A short weekly entry reveals local patterns that are difficult to judge reliably from memory. The record can show whether watering and pressure are linked, but cannot identify the insect species on its own.
Correct the habitat first, then target larvae
A reliable approach combines measures that work together. Start with the conditions sustaining the cycle. Add biological antagonists when larvae are confirmed or pressure continues despite correction. Consider plant-protection products only when the current New Zealand label permits the exact site, crop, pest and user category. A product intended for ornamental plants is not automatically suitable for edible crops.
Drainage, dry storage and hygiene
Empty saucers and puddles, remove algae and dead plant material, and dispose of heavily infested old growing medium where horticulturally appropriate. Store fresh bags of growing medium cleanly, closed and protected from damp ground. Open blocked drainage holes and check that all pots receive even, but not continuous, water. These basics help prevent a new wave after further measures.
Every infestation, crop and season.
Physical control and crop management
Use yellow traps for early detection, trend checks and partial reduction of adults. Do not replace larval inspection with masses of hanging cards. Remove old leaves from growing-medium surfaces, provide suitable spacing for air movement, and do not keep propagation cells wet merely because neighbouring larger plants need more water.
Low to moderate pressure and early action.
Biological antagonists for larvae
Depending on availability, crop, temperature and growing method, larvae can be targeted with entomopathogenic nematodes such as Steinernema feltiae and soil-dwelling predatory mites, for example Stratiolaelaps scimitus . These are living beneficial organisms whose success depends, among other factors, on freshness, temperature, correct application and suitable growing-medium moisture . Order beneficial organisms only once the area, delivery date and application are prepared. Follow the specialist supplier’s directions on storage, dose, water quality and compatibility. Nematodes need moisture to move through growing medium, but not a tray kept permanently flooded.
Confirmed larvae, propagation areas and coordinated prevention programmes.
Use approved products precisely and to label directions
If crop management and biological measures are insufficient, choose only a product whose current New Zealand label permits the exact site, crop and pest. Before buying, check its current EPA approval and controls and read the complete original label. Follow all directions and any home-garden restrictions. Broad treatments can harm beneficial organisms while leaving the persistently wet root-zone cause unchanged.
Persistent situations after certain identification.
Make the next propagation cycle less attractive from day one
After a crop cycle, remove plant debris and loose growing medium from benches, floors, joints and water routes. Clean reusable trays and tools, remove algae from splash zones, and check that benches drain fully rather than retaining a thin water film. Start new propagation with clean containers, freshly stored dry growing medium, labelled trays and several already dated yellow traps.
Then give each crop its own watering logic. A regularly misted cutting zone has different needs from a bench of vigorous tomato seedlings; neither zone should determine the other’s water supply. Separate sowings, cuttings and established potted crops where possible. This is more precise crop management and a calm, effective form of integrated pest management.
If the greenhouse is to remain both a productive workspace and a high-quality garden room for years, good access, controllable ventilation and clear zones make routines more pleasant. Explore the durable, configurable Classic Aluminium Greenhouse and plan bench access, roof ventilation and a dedicated propagation area around the work you genuinely carry out regularly.
Practical answers from the potting bench
Calm observation and a coordinated reset usually achieve more than one drastic product or drying every crop indiscriminately.
Do yellow traps eliminate fungus gnats completely?
No. They catch adults and show where activity is highest. They do not directly or reliably control larvae in the growing medium. Continue using yellow traps for monitoring, correct persistently wet conditions at the same time, and use an appropriate measure when larvae are confirmed.
How dry may greenhouse pots become?
Only as dry as the particular crop can tolerate without stress. Let the upper growing-medium layer dry in a controlled way where the plant permits it. Seedlings, cuttings and moisture-loving species must not suffer complete root-ball dryness. Decide from pot weight, medium feel, weather and plant condition rather than a universal number of days.
Do fungus gnats harm mature plants too?
For vigorous, well-rooted plants, adults are often mainly a nuisance. High larval densities can still affect fine roots, especially when growing medium remains wet or the root system is already weakened. Similar damage matters more for seedlings and cuttings. Check roots and larvae before blaming every growth problem on gnats.
Are shore flies treated in the same way?
Clean, less persistently wet surfaces and algae removal help with both fly groups. Shore flies are more closely tied to algae and do not usually damage roots directly. Their stockier bodies and pale wing spots help distinguish them from delicate, long-legged fungus gnats.
When are nematodes or predatory mites useful?
Choose biological antagonists according to crop, larval confirmation, infestation pressure, temperature, availability and watering method. They are living organisms with specific storage, application and growing-medium moisture requirements. Follow specialist supplier directions carefully. They support control most reliably when drainage, hygiene and watering rhythm are corrected at the same time.
Reliable resources for identification and integrated control
Availability, approvals and binding directions can change. Before buying plant-protection products or beneficial organisms, check the current label, specialist supplier guidance and applicable EPA approval or controls. Use products only for the New Zealand applications stated on the label.
More from Bloomcabin: Setting up a greenhouse: layout, plants and care · Made-to-measure aluminium greenhouse · Smart greenhouses for home gardeners
- German Environment Agency: fungus gnats – appearance, prevention and yellow traps
- Germany — North Rhine-Westphalia Chamber of Agriculture: nematodes against fungus gnat larvae
- Germany — Hortipendium: biology and development of fungus gnats
- EPA New Zealand: gardening safely
- EPA New Zealand: product labels and safe garden-product use
- EPA New Zealand: gardening-product precautions
Reset the wetness period
A greenhouse with low fungus gnat pressure is rarely the result of a perfect trap or one drastic treatment. What matters is a short, disciplined check carried out regularly before damp growing medium becomes permanent habitat.