Fungus Gnats in Plants: Traps, Soil Drying, and Drenches
Kelly Smith Trimble brings practical gardening knowledge and experience explaining how plants grow and thrive. Her interests include vegetable growing, seasonal garden care, and the everyday decisions that help gardeners make the most of their outdoor spaces.
Quick answer
Let the top two inches of soil dry between waterings, catch flying adults with yellow sticky cards, and drench the soil with biological larvicides. This stops new eggs. It also kills young larvae feeding on plant roots.
Prerequisites: Identifying Fungus Gnats and Root Injury
Accurate pest identification prevents wasted treatments and protects plant roots from misdiagnosed care routines. Adult fungus gnats (Bradysia and Orfelia species) are delicate, dark flies measuring 1/16 to 1/8 inch long. They have long legs and segmented antennae that are longer than their heads. Their wings display a distinct Y-shaped vein pattern. They are weak fliers that run across moist container media or linger around windows.
In contrast, shore flies (Scatella stagnalis) possess stockier bodies that resemble fruit flies. They have short bristle-like antennae and 5 pale spots on their dark wings. Shore flies feed exclusively on algae. Fungus gnat larvae actively feed on root tissues and decaying potting mix.
Fungus gnat larvae are slender, whitish maggots up to 1/4 inch long when fully grown. They have shiny black head capsules. Shore fly larvae lack this dark head and carry two breathing tubes on their hind ends. High numbers of gnat larvae strip root hairs and tunnel into roots. This feeding ruins water uptake. When a plant wilts, growers often think it needs more water. They check what overwatering looks like without examining the root system. Larval feeding damages tender root tissue and opens entry points for root rot organisms. Check why your plant is drooping to determine whether subterranean insects have severed healthy roots.
| Insect Feature | Fungus Gnats (Bradysia and Orfelia Species) | Shore Flies (Scatella stagnalis) |
|---|---|---|
| Adult body size | Delicate, 1/16 to 1/8 inch long | Stocky body resembling a fruit fly, about 1/8 inch long |
| Antennae length | Segmented and longer than the head | Short and bristle-like |
| Wing patterns | Light gray to clear with a distinct Y-shaped vein | Dark wings with 5 pale spots |
| Larval appearance | Slender, translucent body with a shiny black head | Opaque body without a dark head; pair of breathing tubes on the hind end |
| Larval food source | Soil fungi, decaying organic matter, and tender plant roots | Algae on soil surfaces and moist greenhouse benches |
Ordered Steps to Eliminate Fungus Gnats
Stopping this pest requires hitting every stage of its life cycle. You must trap flying adults while drying out fresh eggs. At the same time, you must kill feeding larvae beneath the soil surface.
Step 1: Dry the Top Layer of Potting Mix
Dry surface media desiccates vulnerable eggs and starves young larvae. Allow the top 1 to 2 inches of potting mix to dry completely between waterings. Female fungus gnats live for 7 to 10 days and lay up to 200 eggs in damp crevices and decaying organic matter. Depriving them of surface moisture prevents newly hatched larvae from finding food. It also makes the container unattractive to egg-laying females. Empty drainage saucers immediately after watering so pots never sit in standing liquid.
Step 2: Place Yellow Sticky Cards at the Pot Rim
Trapping flying adults stops the production of subsequent generations. Adult fungus gnats are weak fliers that stay near the soil surface. Place yellow sticky cards on wooden skewers directly above the soil canopy or along container rims. Adults are attracted to the yellow color and become trapped on the adhesive. Capturing adult females reduces egg laying in the top layer of media. Sticky cards also provide an ongoing visual count of adult activity.
Step 3: Apply Biological Larvicide Drenches
Biological drenches kill feeding larvae in the soil without damaging delicate root hairs. Because larvae live in the top 2 to 3 inches of media, you must apply treatments directly to the root zone. Two biological options provide targeted control:
- Bacillus thuringiensis subspecies israelensis (Bti): This natural soil bacterium produces protective spores. The spores are toxic only to fly larvae such as fungus gnats and mosquitoes. They do not harm other beneficial bugs, plants, or pets. Commercial formulations like Gnatrol or Mosquito Bits are mixed with water and applied as a soil drench. Bti does not reproduce or persist indoors. Because of this short persistence, active infestations require repeated applications at 5-day intervals.
- Entomopathogenic Nematodes (Steinernema feltiae): These microscopic roundworms operate effectively in moist potting media between 60 and 90 degrees Fahrenheit. Nematodes enter fungus gnat larvae through natural body openings like the mouth, anus, and breathing pores. They release a bacterium that digests the internal tissues of the larva. Fungus gnat larvae die within 3 to 4 days. In moist conditions, nematodes reproduce inside host pests to provide extended suppression.
As an illustrative example calculation, treating three 8-inch pots with 1 cup (8 fluid ounces) of mixed Bti solution per pot requires 24 fluid ounces for one session.
Step 4: Repot Degraded Mix and Solarize Stored Soil
Replacing compacted soil eliminates the decaying organic matter that attracts egg-laying gnats. As potting mix ages, organic materials break down and hold excessive water. Dense, decomposed soil creates an ideal breeding ground for fungi and gnat larvae. Review when to repot a houseplant if your substrate has collapsed into waterlogged sediment. Gently wash affected roots, discard degraded mix, and repot into fresh pasteurized media blended with coarse perlite or sand to improve drainage.
If you store bulk soil or reuse outdoor containers, solarize the media to eradicate hidden pests. Moisten the potting soil and place it inside transparent or black plastic bags. Keep the soil layer no deeper than 8 inches. Place the sealed bags on an elevated pallet in a sunny outdoor spot for 4 to 6 weeks. The trapped solar heat kills fly larvae, pupae, and root decay pathogens. Store pasteurized soil off the ground in tightly closed containers to prevent fresh infestations.
Verifying Results and Larval Monitoring
Subsurface baiting confirms whether biological drenches have successfully halted larval feeding. Inspect the potting mix with raw potato disks to measure larval populations directly. Cut fresh potatoes into slices or wedges that are 1/4 inch thick. Press the pieces cut side down into the top inch of potting soil. Larvae feed on organic matter and migrate to the potato tissue within 3 to 4 days. Lift the potato slices and examine the undersides for translucent maggots with black heads.
Check your traps carefully to confirm the pests are gone. Look for zero larvae across two 4-day potato tests in a row. When you also catch zero adult flies on yellow cards for 7 days straight, your soil is clear. Once traps remain clear, remove the potato slices and discard full sticky cards. Resume normal watering routines, always letting the top 1 to 2 inches dry between applications. If potato disks still show living larvae, reapply your Bti or nematode drench immediately and verify that container drain holes are not clogged.
Mistakes, Commercial Bias, and Safe Boundaries
Safe pest control starts with clear root checks. You must separate root feeding damage from simple moisture stress. This keeps you from using harsh chemicals your plant does not need. A frequent misconception is that yellow leaves always mean overwatering. Saturated soil certainly invites fungus gnats, but larval feeding causes identical symptoms by chewing root hairs and severing water conduits. Plants with damaged roots cannot transport water or nutrients, turning foliage yellow and limp even in moist mix. Check the root zone for larvae before altering plant nutrition.
Retail garden centers often promote chemical bug sprays, aerosols, and pesticide spikes. Sellers have a commercial interest in moving repeat retail items. Many of these products contain pyrethroids, which are synthetic insect-killing chemicals. Extension guidelines show that chemical sprays are rarely needed for indoor houseplants. Flying adults do little harm, so harsh chemicals are overkill indoors. Short-lived contact sprays like soaps, oils, and neem offer poor long-term suppression of adults and do not penetrate the soil to control larvae.
If pyrethroid insecticides (such as bifenthrin or permethrin) are chosen for severe adult fly outbreaks, move containers outdoors for treatment as a precaution. Spray only the media surface and foliage where adults rest. Wait about 1 day after applying the chemical before bringing containers back indoors. Never fog insecticides into indoor air or attempt to spray gnats in flight. Finally, never apply concentrated fertilizers to plants suffering from larval root damage. Soluble fertilizer salts burn wounded root tissues and accelerate root rot.
Frequently asked questions
Do adult fungus gnats bite people or spread disease indoors?
Adult fungus gnats do not bite humans or animals and do not transmit disease. Their mouthparts are harmless, and they do not feed on household furnishings. They are strictly a flying nuisance indoors, though high numbers can leave small fecal spots on foliage and pots.
Why do fungus gnat problems become worse during late fall and winter?
Cooler indoor temperatures and shorter day lengths reduce plant water consumption, causing potting soil to stay moist longer. In addition, bringing houseplants indoors after a summer outside introduces active colonies into heated rooms where adult gnats multiply rapidly.
Can beneficial nematodes harm houseplants or household pets?
Steinernema feltiae nematodes are microscopic roundworms that specifically target insect larvae and are harmless to people, pets, and plants. They seek out soil pests like fungus gnat larvae in moist media between 60 and 90 degrees Fahrenheit without damaging healthy root tissue or leaves.
How do potato slices help track fungus gnat larvae in soil?
Larvae naturally feed on organic matter and migrate directly into moist raw potato chunks placed cut side down on the soil surface. Inspecting the underside of a quarter-inch slice after three to four days lets you count feeding larvae and confirm whether drenches worked.
Can chemical sprays applied to plant leaves kill soil larvae?
Foliar insecticide sprays do not kill subterranean fungus gnat larvae living in potting media. Pyrethroid sprays only target adult flies resting on foliage or the soil surface. Eliminating the larvae requires biological drenches like Bti or allowing the top layer of mix to dry thoroughly.
Sources
- Fungus Gnats / Home and Landscape / UC Statewide IPM Program (UC IPM) · ipm.ucanr.edu
- Fungus Gnats as Houseplant and Indoor Pests | Colorado State University Extension · Colorado State University Office of Engagement and Extension (extension.colostate.edu)
- Fungus Gnats and Shore Flies in Greenhouses · Wisconsin Horticulture (hort.extension.wisc.edu)
Prepared from these references and checked against them. References retrieved October 12, 2026.
Spotted an error? Tell us what needs correcting.