Fungus Gnats: Why You Have Them and How to Get Rid of Them, BabaBerry watering guide

Fungus Gnats: Why You Have Them and How to Get Rid of Them

16 min read

Fungus gnats are the most common insect problem in indoor plants, and they are also the most misunderstood. The small dark flies drifting up when you water are adults of Bradysia and related genera in the family Sciaridae, and they do essentially nothing to your plant — they do not bite, do not chew leaves and do not transmit anything you need to worry about at home[1][2]. The larvae live out of sight in the top two or three centimetres of your potting mix, and their presence is a diagnostic signal rather than an invasion. If you have fungus gnats, your soil surface has been continuously damp for weeks. This guide explains the life cycle, why the infestation is really a watering problem in a pest costume, and the control measures in strict order of effectiveness.

Fungus gnat adults are harmless nuisance flies. The larvae live in the top 2–3 cm of soil eating fungi, algae and decaying organic matter, and they only touch roots and root hairs when populations get high. The single root cause is a soil surface that never dries. Fix that — let the top 2–5 cm dry between waterings, switch to bottom watering, add a grit top-dressing — and the population collapses in one generation. Yellow sticky traps catch the adults you already have; Bacillus thuringiensis israelensis (Bti) or beneficial nematodes kill the larvae. Sprays aimed at the flying adults change nothing.

01 · THE SHORT ANSWER

How do you get rid of fungus gnats?

You get rid of fungus gnats by drying out the layer they breed in. Everything else is support. The larvae cannot complete development in a soil surface that dries to the touch between waterings, so a dry-down of the top 2–5 cm, held consistently for three to four weeks, removes the habitat and ends the cycle[1][3].

The reason so many people fight fungus gnats for months is that they attack the wrong life stage. Swatting, fly spray, scented candles and citronella all target adults, which live about a week and are the least consequential part of the population. Meanwhile the next generation is already developing under the surface. To break a fungus gnat infestation you have to change the soil, not the air.

In practical terms, the whole solution reads: water less often and more thoroughly, let the surface dry, put yellow sticky traps out to knock down the adults and to monitor progress, and if numbers are high, drench with Bti or apply beneficial nematodes to kill larvae directly. Cover the surface with a centimetre of grit or coarse sand if the plant genuinely cannot be allowed to dry out. That stack works, in that order, on any houseplant.

Large-leaved houseplant in a pot whose permanently damp soil surface attracts fungus gnats
FIGURE 01 · FUNGUS GNATS ARE A SYMPTOM OF A SOIL SURFACE THAT NEVER DRIES

02 · IDENTIFICATION

What fungus gnats look like — and what they are not

Adult fungus gnats are delicate, dark grey to black flies roughly 2–4 mm long, with long legs, thread-like antennae and a single pair of clear wings marked with a distinctive Y-shaped vein near the tip[2][4]. They are weak, erratic fliers. They tend to run across the soil surface and along the pot rim rather than buzzing around your head, and they are drawn to windows, screens and lit monitors.

The larvae are the part that matters, and you will only find them if you look. They are legless, translucent-white maggots up to about 6 mm long with a conspicuous shiny black head capsule, living in the top two to three centimetres of moist mix. Scrape that layer back with a fingernail near the pot edge and you may see them wriggling, along with the fine slime trails they sometimes leave on the surface.

Two look-alikes cause a lot of confusion. Fruit flies are stubbier, tan or brown, often with red eyes, and hover around ripe fruit and drains rather than pots. Shore flies are chunkier, more house-fly-like, with short antennae and five pale spots on each dark wing, and they breed in algae on wet benches, saucers and pot surfaces[5]. If the flies come out of the pot when you water, they are fungus gnats.

One useful confirmation test: push a raw potato slice, cut side down, into the damp surface and lift it after 24–48 hours. Larvae migrate to it and can be counted, giving you a rough population index before and after treatment[6].

Trailing houseplant with the top layer of potting mix pulled back to check for fungus gnat larvae
FIGURE 02 · THE LARVAE LIVE IN THE TOP 2–3 CM — NOT DEEP IN THE ROOTBALL

03 · THE LIFE CYCLE

Why the population explodes so fast

The fungus gnat life cycle runs egg → four larval instars → pupa → adult, and at normal indoor temperatures the whole thing takes roughly three to four weeks[1][4]. A single female lays in the region of 100 to 200 eggs in damp organic material in the week or so she lives. Those eggs need moisture at the surface to survive; they desiccate readily.

Larvae hatch within a few days and spend one to two weeks feeding on the fungal mycelium, algae, decaying peat and root exudates in that damp top layer. This is what the name refers to: they are fungus feeders first. Where populations are high, or where seedlings and freshly rooted cuttings are involved, they also graze on fine roots and root hairs, and that damage can cause stunting, wilting and poor establishment in young or already stressed plants[3][7]. On a mature, established foliage plant with a full rootball, they are a nuisance and not a threat.

Pupation happens in the soil and lasts three to seven days, after which adults emerge, mate almost immediately and lay again. Because generations overlap, at any given moment your pot contains eggs, several larval instars, pupae and adults simultaneously. That is exactly why a one-off treatment fails: whatever you use kills one stage, and the other three carry on. Any successful approach has to be sustained across a full generation, which means a minimum of three to four weeks.

The population math also explains the sudden explosions. If even a fraction of a couple of hundred eggs per female survives, numbers multiply geometrically every three weeks. A handful of gnats you ignored in week one becomes a cloud by week six — but the same math works in reverse the moment you remove their breeding substrate.

Patterned foliage houseplant kept constantly moist, the condition that lets fungus gnat generations overlap
FIGURE 03 · EGGS, LARVAE, PUPAE AND ADULTS COEXIST — SO TREATMENT MUST LAST A FULL CYCLE

04 · THE REAL CAUSE

Fungus gnats are a watering problem wearing a pest costume

Say it plainly: if you have a persistent fungus gnat population, you are watering too often. Not necessarily too much per watering — too often. Their eggs and first-instar larvae cannot survive desiccation, and the fungi and algae they eat only proliferate where the surface stays continuously moist[1][8]. Frequent light watering is the perfect fungus gnat husbandry regime: it keeps the top layer permanently damp while never wetting the rootball properly.

This is why fungus gnats travel with other overwatering symptoms. The same pots often show a white fuzzy bloom of saprophytic fungus on the surface, a green algal film on the mix or the pot wall, and a mildly sour smell. All three are signals of the same underlying condition. If you are also seeing surface fungus, read what white mold on houseplant soil actually means — it is the food source your gnat larvae are eating.

A few other conditions push in the same direction. Peat- and coir-heavy mixes with lots of fine, undecomposed organic matter hold surface moisture longer and offer more fungal food. Oversized pots hold more water than the rootball can use, so the mix stays wet for days. Pots without drainage holes, or pots left standing in a full saucer, keep the whole profile saturated. Low light and cool temperatures slow transpiration so the mix dries more slowly than you expect — which is why gnat outbreaks so often start in autumn when the light drops but the watering schedule does not.

The upshot is that fungus gnats are genuinely useful information. They are a free, self-installing moisture sensor telling you the surface has been wet too long. Treat the underlying watering habit — see how to stop overwatering houseplants — and you also head off the far more serious problem waiting behind them, which is root rot in a chronically saturated pot.

Arching-leaved houseplant potted in free-draining mix with a dry surface that discourages fungus gnats
FIGURE 04 · A SURFACE THAT DRIES BETWEEN WATERINGS IS AN INHOSPITABLE NURSERY

05 · THE CONTROL STACK

Four methods, and exactly what each one targets

These four tools are not alternatives. Each hits a different life stage, and the reason integrated programmes work is that together they cover the whole overlapping population[2][9].

01 · Surface dry-down

Kills eggs & young larvae

Removes the habitat itself. Let the top 2–5 cm dry fully between waterings. The single most effective measure — and free.

02 · Yellow sticky traps

Catches adults only

Intercepts egg-laying females and gives you a countable measure of whether numbers are falling. Never a cure on its own.

03 · Bti or nematodes

Kills larvae in soil

Bti is a bacterial toxin lethal to gnat larvae; Steinernema feltiae nematodes hunt them. Both need repeat drenches.

04 · Grit top-dressing

Blocks egg-laying

A 1 cm layer of coarse sand, grit or pumice dries fast and denies females the damp organic surface they need.

A note on each. Sticky traps should be placed horizontally just above the soil surface as well as vertically among the foliage — gnats run on the surface more than they fly. Bti is sold for gnat control as granules or dunks steeped in water and applied as a soil drench; it is highly specific to fly larvae, degrades quickly, and therefore needs reapplying with every watering for three to four weeks[9]. Beneficial nematodes are living organisms: keep them refrigerated, use them before the expiry date, apply to already-moist mix and keep it moist for a few days afterwards, which briefly conflicts with the dry-down and is why they suit stubborn cases rather than routine use. Grit top-dressing works best on plants that genuinely must stay evenly moist, where a full dry-down is not an option.

06 · THE PROTOCOL

A four-week plan that actually clears them

Run this on every affected pot at the same time. Treating one plant while its neighbours keep breeding is the commonest reason people conclude that “nothing works”.

  • Week 1 — stop the surface staying wet. Do not water again until the top 2–5 cm is genuinely dry to a finger pushed in to the second knuckle. Empty every saucer and cachepot. Remove fallen leaves and any decaying organic debris from the surface, and scrape off visible fungal or algal growth. Put horizontal yellow sticky traps on the soil surface of every pot and count the catch.
  • Week 2 — water thoroughly but from below. When the plant does need water, bottom water it: stand it in a few centimetres of water for 15–30 minutes, then drain fully. The rootball wets evenly while the surface stays comparatively dry. If numbers are high, begin Bti drenches now and repeat with every watering.
  • Week 3 — hold the line and top-dress. Adult catch on the traps should already be dropping. Add a 1 cm layer of coarse sand, grit, pumice or fine gravel to any pot that cannot be dried down hard, and replace saturated traps. Resist the urge to declare victory and go back to the old schedule.
  • Week 4 — confirm and only then relax. One full generation has now passed. If traps are catching a handful rather than dozens, you have won. Keep the dry-down as your permanent watering standard, leave one trap in place as a monitor, and check any newly acquired plant before it joins the collection.

If a badly infested pot is small and the plant is not precious, repotting into fresh, well-drained mix is a legitimate shortcut. Remove as much of the old mix from the roots as you can without wrecking them, discard it outside rather than into an indoor bin, wash the pot, and repot into a container no larger than the rootball needs. Do not routinely repot large or stressed plants for gnats alone — the root disturbance costs more than the pest does.

07 · WHAT DOESN'T WORK

Popular remedies that waste your time

Hydrogen peroxide drenches. A dilute peroxide solution does kill larvae it directly contacts, but it decomposes into water and oxygen within minutes, reaches only part of the pot, and leaves eggs and pupae untouched. It also indiscriminately harms beneficial soil microbes and fine root hairs. As a one-off knockdown it is marginal; as a strategy it is a distraction from the dry-down.

Cinnamon, chamomile tea and other folk drenches. These are aimed at suppressing surface fungi. Even where they have mild antifungal activity, they do not remove the moisture that lets fungi grow, so the effect lasts days at best.

Apple cider vinegar bowls. These are fruit fly traps. Fungus gnats are only weakly attracted to fermentation volatiles and are far more responsive to yellow. You will catch a few and misread it as progress.

Aerosol fly sprays and foggers. These kill visible adults for an hour and do nothing to the three life stages under the soil. They also put unnecessary insecticide into the room you live in. Adults die naturally within about a week regardless.

Letting the plant wilt. There is a difference between drying the top 2–5 cm and drought-stressing the rootball. Severe drying damages fine roots, and a stressed plant is far more vulnerable to genuine pests and pathogens than it ever was to gnats. Dry the surface, not the plant.

08 · PREVENTION

Keeping them gone for good

Prevention is the same measure as the cure, applied permanently. Water on need rather than on schedule: lift the pot to judge its weight, push a finger into the mix, and water only when the top few centimetres are dry. Then water thoroughly, so the whole rootball wets and excess drains away, rather than giving frequent small doses that keep the surface damp and never reach the bottom of the pot.

Pot appropriately. A plant in a container two sizes too big sits in wet mix for a week after every watering. Use free-draining mixes with real aeration — perlite, pumice or bark — rather than fine, peat-heavy composts, and make sure every pot drains and every saucer gets emptied within half an hour.

Most new infestations arrive in a bag of compost or on a newly bought plant, where nursery irrigation keeps surfaces permanently wet. Store opened potting mix sealed and dry, and isolate every new arrival for a few weeks with a sticky trap in the pot. The full routine is in how to quarantine a new houseplant, and it catches spider mites and mealybugs at the same time.

The awkward part is that the plants most prone to gnats are the ones you are least willing to dry out — calatheas, ferns, alocasias, anything sold as “keep evenly moist”. The trick with these is to move the moisture rather than remove it: deliver water into the rootball rather than onto the surface, so the roots stay supplied while the top layer dries and stops being a nursery.

ACQUATERRA

Terracotta spikes release water slowly from inside the rootball, so roots stay evenly moist while the soil surface dries — exactly the conditions fungus gnat larvae cannot breed in.

Shop AcquaTerra →

Fungus gnats are not really a pest problem. The adults are harmless, the larvae are fungus feeders that only bother roots when populations get out of hand, and the entire infestation depends on one thing you control: a soil surface that never dries. Let the top 2–5 cm dry between waterings, water thoroughly and preferably from below when you do, hang yellow sticky traps to catch and count the adults, and add Bti or nematodes if numbers are high. Hold that for a full three-to-four-week generation and the cloud disappears — and the watering habit you fixed to get rid of them will keep your roots healthy long after the last gnat is gone.

Frequently asked questions

What causes fungus gnats in houseplants?

A soil surface that stays continuously damp. Fungus gnat larvae feed on the fungi, algae and decaying organic matter that grow in permanently moist potting mix, and the eggs dry out quickly if the surface dries. Frequent light watering, oversized pots and poor drainage are the usual causes.

Do fungus gnats actually damage plants?

Adults are harmless nuisance flies. The larvae mainly eat fungi and organic matter, but where populations are high they also feed on fine roots and root hairs, which can stunt seedlings, cuttings and already stressed plants. On a healthy mature houseplant they are an annoyance rather than a threat.

How long does it take to get rid of fungus gnats?

About three to four weeks, because that is one full life cycle from egg to adult. Your pot holds eggs, larvae, pupae and adults at the same time, so any treatment has to be maintained across a complete generation before the population collapses.

Do yellow sticky traps get rid of fungus gnats?

Not on their own. Sticky traps only catch adults, so they reduce egg laying and let you monitor whether numbers are falling, but the larvae in the soil are untouched. Combine traps with a surface dry-down, which is the measure that actually ends the infestation.

Does letting soil dry out kill fungus gnats?

Yes, and it is the most effective single measure. Letting the top 2 to 5 centimetres dry fully between waterings desiccates eggs and young larvae and starves out the fungi they feed on. Dry only the surface layer, not the whole rootball, so you do not stress the plant.

What is Bti and how do you use it for fungus gnats?

Bti is Bacillus thuringiensis subspecies israelensis, a soil bacterium whose toxin kills fly larvae including fungus gnats but not people, pets or plants. Sold as granules or dunks, it is steeped in water and applied as a soil drench, and needs repeating with every watering for three to four weeks.

Do I need to repot a plant to get rid of fungus gnats?

Usually not. Changing the watering routine clears most infestations without disturbing roots. Repotting into fresh free-draining mix is a reasonable shortcut for a small, heavily infested plant, but avoid it for large or stressed specimens where root disturbance does more harm than the gnats.

References

  1. [1] University of Minnesota Extension. Fungus gnats in houseplants. extension.umn.edu.
  2. [2] University of California Agriculture and Natural Resources. Fungus Gnats — Integrated Pest Management. ucanr.edu.
  3. [3] Penn State Extension. Fungus Gnats and Shore Flies in Greenhouses. extension.psu.edu.
  4. [4] University of Kentucky Department of Entomology. Fungus Gnats. entomology.ca.uky.edu.
  5. [5] Michigan State University Extension. Managing fungus gnats and shore flies. canr.msu.edu.
  6. [6] University of Wisconsin–Madison Division of Extension. Fungus gnat monitoring and management. hort.extension.wisc.edu.
  7. [7] Clemson Cooperative Extension. Indoor Plant Insects. Home & Garden Information Center. hgic.clemson.edu.
  8. [8] University of Illinois Extension. Houseplant pests and problems. extension.illinois.edu.
  9. [9] Oregon State University Extension Service. Biological control of fungus gnats with Bti and nematodes. extension.oregonstate.edu.
  10. [10] North Carolina State Extension. Fungus gnats — Extension Gardener Plant Toolbox. plants.ces.ncsu.edu.
  11. [11] Royal Horticultural Society. Sciarid flies (fungus gnats). rhs.org.uk.
  12. [12] Missouri Botanical Garden. Fungus Gnats — Plant Finder Pest Guide. missouribotanicalgarden.org.
  13. [13] Flint, M.L. Pests of the Garden and Small Farm: A Grower's Guide to Using Less Pesticide. University of California Statewide IPM Program.
  14. [14] Agrios, G.N. Plant Pathology, 5th ed. Elsevier Academic Press.
  15. [15] Taiz, L., & Zeiger, E. (2010). Plant Physiology, 5th ed. Sinauer Associates.
Back to blog