Small-space gardens, herbs and a kitchen apothecary

Menu

field notes

How to Get Rid of Fungus Gnats in Houseplants, With Pet Notes

To get rid of fungus gnats in houseplants, let the top 1 to 2 inches of soil dry between waterings, catch the adults on yellow sticky traps and treat the larvae in the soil, because wet winter soil is where they breed. The Houseplant Care Tracker ($4) gives every plant a page to log watering and a problem finder that includes fungus gnats, and the free plant care printables give you a one-page tracker to start today. Below: why winter brings them, a 4-step plan and which fixes need care around cats, dogs and children.

This post contains affiliate links. As an Amazon Associate we earn from qualifying purchases, at no extra cost to you. Read our disclosure.

Safety first: Herbs can be powerful. If you are pregnant, nursing, take medication or have a health condition, check with your doctor or pharmacist first. Please read our herbal & garden safety notes before you start.

Key takeaways

  • Cause: wet potting mix. Plants drink less in winter, so the soil stays damp longer (Colorado State).
  • Fix first: let the top inch dry before watering (Wisconsin); some sources say 1 to 2 inches.
  • Timing: egg to adult takes about 3 to 4 weeks, so plan on that long.
  • Bti kills larvae only, so repeat it; sticky traps catch adults.
  • Pets: extension pages say little. Oregon State flags sticky traps around pets and children.
In this post8 sections
  1. Why do my houseplants have gnats in winter?
  2. Fungus gnats or fruit flies?
  3. How to get rid of fungus gnats in houseplants: 4 steps
  4. Pet-safe fixes: what to check for cats, dogs and kids
  5. A winter watering routine that stops the 3 to 4 week cycle
  6. Myths vs reality
  7. Gnat-fighting supplies
  8. FAQ

Short answer: fungus gnats live in wet potting mix, so the fix is to dry the top 1 to 2 inches between waterings, catch the adults on yellow sticky traps and treat the larvae in the soil. Plan on 3 to 4 weeks, because new gnats keep hatching from the soil.

Quick facts: fungus gnats in houseplants
QuestionAnswerSource
Why do they show up?Moist soil gives females a place to lay eggs; overwatering is the usual causeWisconsin Extension; Cornell Cooperative Extension
How big is the problem?Females lay up to 200 eggs; adults live about a weekWisconsin Extension; Colorado State Extension
Egg to adultAbout 3 to 4 weeks at normal room temperaturesWisconsin Extension; Colorado State Extension
Most important fixLet the top inch of soil dry before you water againWisconsin Extension
Does Bti kill adults?No, only larvae in the soil; repeat treatments are normalWisconsin Extension
Do vinegar traps work?No; use yellow sticky traps insteadWisconsin Extension

Sources: University of Wisconsin Extension, fungus gnats on houseplants, Colorado State Extension, Cornell Cooperative Extension Allegany County and Oregon State Extension. Life-cycle days differ a little between them, so we give ranges.

Why do my houseplants have gnats in winter?

Short days and cool windows slow plant growth, so the plant drinks less. If you keep watering on the summer schedule, the mix stays damp for days, and that damp top layer is where gnats lay eggs. Colorado State says to adjust watering in fall and winter for exactly this reason: plants use less water, and the medium stays wet longer.

A second route is a plant that spent summer outdoors. Wisconsin lists plants moved back inside in fall as a common way gnats arrive, so check the soil of anything you carry in.

Wet soil and a full saucer: the setup gnats look for.

Fungus gnats or fruit flies?

Fungus gnats are tiny, dark, delicate flies, about 1/8 inch long, with long legs and antennae, according to Colorado State. You see them walking on the soil, flying low around the pot or landing on the window nearby. Fruit flies are usually near ripe fruit, the trash or the drain, so a swarm over a fruit bowl is a different problem.

A quick test: tap the pot or water it lightly. If a small cloud lifts off the soil, it is gnats. Wisconsin also suggests the potato test below if you want to see the larvae.

Fruit flies gather at the fruit bowl; fungus gnats stay with the plant soil.

How to get rid of fungus gnats in houseplants: 4 steps

Use all four, because each one hits a different stage. Dry soil and sand stop new eggs, traps catch adults, and Bti handles the larvae already in the mix.

Step 1: let the soil dry. Wisconsin calls reducing moisture the most important step and says to let the top inch dry before watering. Colorado State and Cornell say the top 1 to 2 inches. Push a finger in to the first knuckle: if it is damp, wait.

The finger test: damp at the first knuckle means wait.

Oregon State and Cornell also suggest watering from the bottom, which keeps the surface dry. Stand the pot in a tray with about an inch of water for 15 to 30 minutes, then lift it out and let it drain. Never leave water standing in the saucer.

Step 2: trap the adults. Place small yellow sticky traps near the affected plants. They catch adults before they lay more eggs, and they show you whether the numbers are falling. Oregon State suggests replacing them every few days. Pet note below.

To check for larvae, lay a raw potato slice cut side down on the soil. Colorado State and Wisconsin both describe it: after 3 to 4 days, lift it and look underneath for small, wormlike larvae with black heads.

The Houseplant Care Tracker ($4) was built for this stretch of winter. Each plant gets a page with a last-watered line, the finger test and pot-weight test explained, and a problem finder that includes fungus gnats. The free plant care printables give you a one-page tracker to start with today.

Step 3: treat the larvae with Bti. Bti (Bacillus thuringiensis israelensis) is a bacterium that kills larvae in the soil. Wisconsin says it does not affect eggs, pupae or adults, so expect to repeat it. Oregon State's method is to soak the product in water for 30 minutes, then pour it over the soil as a drench. Mosquito Bits and Gnatrol are the products Wisconsin names. Colorado State says gnat-labeled Bti is generally not sold at retail, while Oregon State and Wisconsin say you can buy it, often in the pond section. Check the label for indoor use.

Step 4: cover the soil. Wisconsin suggests a half-inch to 1-inch layer of coarse sand or fine gravel on top of the mix. It makes the surface less attractive for egg laying. Wisconsin says watering changes and the sand layer can take 3 to 4 weeks to bring gnats under control.

Pet-safe fixes: what to check for cats, dogs and kids

Extension pages say little about pets, so this table separates what the sources say from what they leave out. When the source is silent, read the product label and ask your vet. This is not veterinary advice.

Fungus gnat fixes and pet and child cautions
FixWhat the sources sayPet and child note
Drier soil, bottom wateringWisconsin, Colorado State and Oregon State all lead with itNo product, so nothing to ingest. The best first move in a pet home.
Sand or gravel layerWisconsin: half-inch to 1 inchUse clean coarse sand or fine gravel. Keep gravel out of reach of small children.
Yellow sticky trapsOregon State: use small traps, replace every few daysOregon State says to take care using them where pets and children are. Fur or skin can stick, so put them in a pot a pet cannot reach, or skip them.
BtiCornell says it will not hurt you or your animals at home; the CDC says larvicides used per label do not harm people or petsFollow the label. Do not let a pet drink the soaking water.
3% hydrogen peroxide drenchCornell: 1 part to 4 parts water, poured over the soil; it fizzes, then let the soil dry outWe found no extension page that addresses pets for this one. Keep pets away until the soil is dry.
Neem oilColorado State: short-lasting, needs repeats every couple of daysReports on cats are mixed in the sources we found. Ask your vet before using it around a cat.

Also check what grows in the pot. The pet-safe houseplants guide lists non-toxic choices, and the Pet-Safe Plant Guide and Shopping Checklist ($4) marks 62 common houseplants and herbs Safe or Avoid for cats and dogs.

A winter watering routine that stops the 3 to 4 week cycle

Gnats come back when the eggs and larvae you missed finish their 3 to 4 week cycle. A routine keeps the top layer dry long enough to break it. Our winter watering schedule by light level shows how much slower plants drink in dim rooms, and the winter houseplant care tips cover light and humidity.

Weekly gnat check for winter

If you have plants in several rooms, the free plant care printables give you a one-page tracker with three watering date columns per plant. For the whole herb and houseplant year in one binder, the Herb Garden Binder ($25) includes the Houseplant Care Tracker with eight other printables. Use code HERB20 in the discount box for 20% off.

Myths vs reality

Reality

  • Dry soil is the most important fix
  • Yellow sticky traps catch adults
  • Bti only targets larvae, so you repeat it
  • Sprays only work on what they hit, so treat the soil and use them with drier watering

Myth

  • Vinegar traps work on fungus gnats (Wisconsin says they do not)
  • Spraying the air solves it
  • One treatment ends it
  • Gnats mean the plant is dying

Wisconsin adds that mild infestations often do not need chemical control, and that insecticides should be used together with watering changes, never alone. Read our disclosure and editorial guidelines.

Gnat-fighting supplies

A small kit for gnats in houseplants

We earn from qualifying purchases, which never changes what we recommend.

Frequently asked questions

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

Expect 3 to 4 weeks. Wisconsin says watering changes and a sand layer can take that long, and egg to adult takes about 3 to 4 weeks, so new gnats keep emerging until the larvae are gone.

Why do my houseplants have gnats?

Wet potting mix. Females lay eggs on moist soil, and in winter plants drink less, so the mix stays damp longer. Plants moved indoors after summer outside can also carry them in.

Is hydrogen peroxide safe for fungus gnats in houseplants?

Cornell Cooperative Extension suggests one part 3% hydrogen peroxide to four parts water poured over the soil, then letting the soil dry. We found no extension page that covers pet safety for it, so keep pets away until the soil is dry and check with your vet.

Are yellow sticky traps safe around pets and kids?

Oregon State says to take care using them where pets and children are. Put them where a pet cannot touch the card, or rely on drier soil and Bti instead.

Do fungus gnats hurt my plants or people?

Adults are a nuisance. Larvae live in the top part of the soil, and the extension pages we read focus on controlling them in the soil rather than on harm to people. Seedlings and weak plants are the ones to watch.

Pothos with a yellow sticky trap and a hand testing soil, for how to get rid of fungus gnats in houseplants

Save it for later

Pin this to your Houseplants board so it's there when you need it.

Save to Pinterest

About the author

Owen Fairley, Houseplants Writer

Owen Fairley is a pen name used by the independent publisher of Herb & Hollow for its houseplant guides. Owen isn't a trained horticulturist, so posts are built from university extension services, USDA zone and frost-date data and seed-company growing information, with AI tools helping on research, drafts and images. Each post is checked against those sources before it goes live and updated when they change. Nothing here is medical advice.

Reviewed by Hazel Morrow, Founder & Editor. Read our editorial guidelines.

Every Herb & Hollow guide is checked against zone, extension and safety sources and reviewed by a human editor before publishing.

Love this? Save it for later. Save