Fennel & Fifth

Fungus gnats: what they are and how to get rid of them

Why tiny dark flies hover over your pots, whether they do harm, and how to break their cycle.

We The Wild Fungus Gnat Compostable Traps, 16-pack

Fungus gnats are tiny dark flies that breed in damp potting mix. The adults don't bite, but the larvae can hurt seedlings. Let the soil surface dry and trap the adults. Treat the soil if they keep coming back (1, 2).

What causes fungus gnats?

Fungus gnats come from larvae that grow in damp potting mix (2). Females lay tiny eggs in moist organic debris or potting soil (1). The larvae feed on fungi in the damp mix, and overwatering helps those fungi grow (2).

At 75°F, one generation takes about 17 days, so numbers build fast (1). Drains with a buildup of moist debris can breed them too (2). Standing water in saucers and plumbing leaks add to the problem (1, 3). To find the source, cover a suspect pot or drain with cheesecloth and watch for flies over several days (2).

Why is my basil dying? →

Do fungus gnats hurt plants or bite people?

Adult fungus gnats don't bite people or damage plants (1). They're mostly a nuisance, and you usually see them when you water or move pots (3). The larvae are the ones that can do harm (1).

Large numbers of larvae can damage roots and stunt growth, mainly in seedlings and young plants (1). Grown indoor plants usually aren't badly hurt (2). A wilting houseplant is much more often a watering, root fungus or soil problem than gnats (1). If seedlings are struggling, check the soil for larvae with raw potato chunks (1).

Seed starting gear →

How do you get rid of fungus gnats?

Start by letting the potting mix dry out, which kills the larvae (2). Larvae live in about the top half inch, so check that the top inch is dry before you water (3).

Empty any water left standing in saucers (3). Small yellow sticky traps, about 2 by 2 inches, catch the adults; replace them every few days (3). For the larvae, use a Bti soil drench labeled for indoor plants (2). Bti gives only short-term control and may need repeating about every five days (1). Take care using sticky traps in areas with pets and children (3). If a plant stays badly infested, you can toss it and restart with pasteurized potting mix (1, 3).

Care and tools →

How can you tell if larvae are in the soil?

Raw potato chunks show whether larvae are in the soil (1). Set them cut side down on the soil, and use chunks, not peels (1). The potato draws larvae and can pull them away from roots (1).

After a few days, lift the chunks and look underneath (1). Larvae have a shiny black head and a whitish to clear, legless body (1). In very wet, heavily infested mix, you may also see shiny slime trails (1). Throw out the used chunks and set fresh ones to keep checking (1).

What size pot do herbs need? →

Gear for this

Sticky traps catch the adult gnats. Rather skip potting mix? These gardens grow plants in water and sponges.

We may earn a commission when you buy through links on our site.

Are they fungus gnats or fruit flies?

Fungus gnats are dark, delicate flies that look a bit like tiny mosquitoes (1). Most are 1/16 to 1/8 inch long, with slender legs and antennae longer than their heads (1).

Their wings are light gray to clear (1). They fly weakly and tend to stay near potted plants, resting on soil and leaves (1). You often see them around lamps and windows (2). Drains with moist debris can breed them too (2). If your pots look clean, cover the sink drain with cheesecloth for a few days to test it (2).

Herbs indoors in winter →

Do indoor herb gardens attract bugs?

Any pot of damp potting mix can host fungus gnats (1). They lay their eggs in moist organic debris or potting soil (1). Watering from the bottom keeps the surface drier, and that top layer is where larvae live (3).

Pick off dead leaves and flowers, since gnats feed on them (3). Hydroponic gardens grow plants in water instead of soil (4). They can still get pests such as aphids, whitefly, thrips and mites (4). Keep new plants apart for a few weeks with a yellow sticky trap, and check them daily (3).

Countertop gardens →

Why do I keep getting fungus gnats?

Fungus gnats thrive in moist conditions, and females lay their eggs in moist potting soil or organic debris (1). A new generation can be produced in about 17 days, depending on the temperature (1). Generations overlap, and indoors they can show up at any time of year (1).

Most of their life is spent as larvae and pupae in soil or organic matter, so the most effective control targets those stages, not the flying adults (1). Let the surface of the mix dry between waterings, and improve drainage (1). Use only pasteurized potting mix, and store it closed and off the ground until you use it (1). Don't move an infested plant next to others, and screen and seal leaky windows and doors (1).

Planters and pots →

What to do next

  1. Skip the next watering until the top inch is dry (3).
  2. Put a yellow sticky trap in each pot. Replace them every few days (3).
  3. Still seeing flies after two weeks? Use a Bti soil drench and repeat it (1).
  4. Use a mix with more perlite so it drains faster (1).

Sources

  1. Source 1: UC Statewide IPM Program, Fungus gnats
  2. Source 2: University of Maryland Extension, Fungus gnats on indoor plants
  3. Source 3: Oregon State University Extension, I have fungus gnats everywhere
  4. Source 4: University of New Hampshire Extension, Hydroponics at home
  • Product details come from each maker's own pages, through our catalog.