
If tiny dark flies drift up every time you water, and then hang around the window like they pay rent, you’ve most likely got fungus gnats. The good news first: the adults don’t bite people and don’t damage plants. But the less fun news is that the flies you can see are the short-lived part of the problem. The real colony is down in the pot.
So start with two cheap checks, then dry out the soil, then go after the larvae. And plan on a few weeks, not a weekend. Knowing that up front saves a lot of frustration, and a lot of spray.
Why Fungus Gnats Show Up When It Gets Cold

If it feels like they showed up out of nowhere this month, you’re not imagining it. Fungus gnat trouble tends to be most noticeable in late fall and winter. Plants that spent the summer outdoors can carry gnats back inside, where the warmer rooms may let them multiply. And you’re home more, so you’re more likely to notice them.
The bigger reason is water. Shorter days and cooler rooms slow a plant down, so it drinks less, and if you keep your summer watering habits the potting mix just stays wet. Wet mix is exactly what an egg-laying female is looking for. And old mix tends to hold more water as it breaks down. A moist mix heavy in peat moss draws them in too.
Overwatering is the leading culprit, so look at your watering can before you buy anything.
Genuinely, that’s the cheapest fix on this whole page.
What You’re Actually Looking At

Adult fungus gnats are usually about 1/16 to 1/8 inch long: delicate dark flies with long legs and long antennae, kinda like tiny mosquitoes. They’re weak fliers that usually stay near potted plants, though they can drift a short way, and since light draws them, you’ll often spot them near a window first. People mix them up with fruit flies because of their size and the way they hover, but a fungus gnat keeps coming back to damp soil. Shore flies, which turn up in greenhouses around algae and decaying matter, look similar but a bit sturdier, with short, bristly antennae. A fungus gnat’s long antennae tell it apart.
The larvae are the ones that can do damage, though in a home it’s usually minor. They’re legless and see-through, with a shiny black head. They usually live in the top 2 to 3 inches of the mix, depending on how wet it is, feeding mainly on fungi, algae and rotting plant bits. They chew roots too, and in big numbers that can damage roots and stunt growth, most of all in seedlings and young plants. On a grown houseplant a few gnats are mostly a nuisance. But a big population in wet, rich soil can damage roots badly enough to kill the plant.
If a plant droops, check the soil and the roots before you blame the gnats. Too much water, too little water, poor drainage and root rot are much more common causes of wilting than gnat larvae.
The Life Cycle Sets the Pace

This is the part that explains why a weekend of swatting adults never ends it. At 75°F, eggs hatch in about 3 days. The larvae feed for roughly 10 days and turn into pupae around day 13. Then new adults come out about 4 days after that. At that temperature, one generation, from egg to new adult, takes about 17 days.
Each female lives 7 to 10 days, and in that time she can lay up to 200 eggs into the cracks of the potting mix. The generations overlap, so an established infestation usually has eggs, larvae and pupae in the mix while adults are flying around the room.
Kill every adult in the room today and new ones will still come up out of the soil within days.
It can also run slower. The larvae can take two to three weeks to grow. And at typical room temperatures of 65 to 75°F (75°F included), the whole trip from egg to adult may take three to four weeks. So plan on a month, and don’t judge any fix by how the room looks after two days.
Two Cheap Checks: a Yellow Card and a Slice of Potato

Before you treat anything, set up two checks. They show you which pots are the problem, and later they show you whether what you’re doing is working.
First, the yellow sticky card. Adults are drawn to yellow, so a card placed under the leaves or on the edge of the pot catches them. Every female stuck to a card is one that won’t lay any more eggs in your mix, so the cards help a little with control too. Check them every few days. A card that fills up more slowly than the last one is a good sign you’re getting somewhere.
You can also cut a card into small squares and stick each one on a wooden skewer, then push one into every pot. It’s a tidy way to see which plants have the most gnats.
Second, the potato. A potato slice is a real way to check for larvae, and it costs next to nothing. Push a 1/4-inch slice or wedge of raw potato into the mix, cut side down, not the peel. Larvae move to it and start feeding within a few days. Turn it over and look underneath: tiny clear worms with black heads mean that pot has larvae. Throw out the infested chunks and put in fresh ones, and you’ve pulled a few larvae away from the roots while you’re at it.
Step One: Let the Top of the Pot Dry Out

The most important fix costs nothing. Let the top 1 to 2 inches of the mix dry between waterings. Dry mix cuts the survival of eggs and newly hatched larvae, and it’s less tempting to a female looking for a place to lay. In practice it’s pretty much this: push a finger into the top inch of soil. If it’s still damp, give it more time. You’re aiming for the top inch or two to feel dry before the next drink.
If you’re nervous about a thirsty plant, try bottom watering for a while. Set the pot in a shallow tray of water so it drinks up through the drainage hole, and the surface stays drier and less attractive to gnats. Some plants won’t tolerate drier soil even this way. For those, lean harder on the next step.
A few other changes help the pot dry out and stay clean:
- Empty the saucer under the pot. Standing water gives them one more damp spot.
- Use a pot with a drainage hole, and a mix that drains. More perlite or sand in the mix improves drainage.
- Repot when the old mix has broken down and holds too much water, and remove any container that’s full of decaying plant matter, like rotted bulbs and roots.
- Leave an infested plant where it is. Moving it lets the new flies reach your other pots.
- Buy pasteurized potting mix, and keep the open bag closed and up off the floor.
Bti Goes After the Larvae (Read the Label)

When drier soil alone isn’t enough, go after the larvae directly with Bti. The name is short for Bacillus thuringiensis subspecies israelensis (a mouthful), and it’s a bacterium that’s toxic only to fly larvae such as mosquitoes, black flies and fungus gnats. It comes as a soil drench made for indoor plants, and you pour it on the potting mix following the product’s directions.
There are two catches. Bti doesn’t last indoors, so repeat doses, often about five days apart, are normal; the label on your product sets the schedule. And it doesn’t touch the adults, so they’ll keep flying for a while. Expect 4 to 5 weeks before you really see the numbers drop.
Grab the right Bt, too. The Bt sold for caterpillars is a different subspecies, and it doesn’t work on fly larvae. Look for the word israelensis on the label.
There’s also a living option, the nematode Steinernema feltiae. It’s a microscopic worm, and it’s more effective against fungus gnats than the other nematodes on sale. You have to mail-order it. It’s alive and perishable, so it goes on right away, and it works in moist soil between 60 and 90°F. Nematodes are more of a project than Bti, since they have to go on the day they arrive. But once several applications have settled them into moist soil, they can give relatively long-term control.
Sprays and Stronger Insecticides

A short-lived contact spray of insecticidal soap, oil, neem or pyrethrins doesn’t give lasting control of the adults. You’d be spraying again every couple of days, and the larvae down in the mix aren’t directly affected by it.
Stronger houseplant insecticides exist, but for gnats at home they’re rarely warranted. If you do go that way after a few weeks of drier soil, pick a product labeled for houseplants and follow its directions exactly. If you can, treat the plant outdoors and wait about a day before you bring it back in.
Gnats but No Houseplants? Check the Drains

Seeing gnats in a kitchen or bathroom with no plant in sight? Fungus gnats can also breed in drains with a buildup of moist debris. To find the source, cover the drain (or a plant you suspect) with a piece of screen or cheesecloth. Then check it over the next several days for any sign of the flies.
If it’s the drain, a commercial drain cleaner or a good clean-out of the trap removes the spot where they’re breeding. Honestly, it’s worth the few days of looking before you start drenching pots that may not be the problem at all.
A Month-Long Plan That Follows the Gnat

In week one, set out the yellow cards and the potato slices and find the pots with larvae. Empty the saucers, and hold off on watering until the top inch or two is dry. Want to hit the larvae directly too? Start Bti on the worst pots and repeat it on the label’s schedule. Just know it can take 4 to 5 weeks before the numbers drop.
Through weeks two and three, keep the top of the mix dry, keep swapping the potatoes, and keep reading the cards. Adults will still turn up for a while, because larvae and pupae already in the soil keep becoming adults, and each female lives 7 to 10 days. That’s normal (annoying, but normal), and it’s not a sign the plan failed.
By week four, a full egg-to-adult cycle at room temperature has had time to run, or nearly so. After several weeks of drier soil with the cards still filling up, an insecticide may be needed, or a repot into fresh, pasteurized potting mix. And if one plant is badly infested and keeps feeding the rest, tossing it is a fair call.
Sources
- Pest Notes: Fungus Gnats, UC Statewide Integrated Pest Management Program (UC ANR Publication 7448)
- Fungus Gnats as Houseplant and Indoor Pests, Colorado State University Extension (fact sheet 5.584)
- A Spooky Houseplant Pest: Fungus Gnats, Cornell Cooperative Extension of Allegany County
- Fungus Gnats, University of Maryland Extension
How the guides on this site are researched and checked: About House Plant Nest. If something here looks wrong, write to us; we check it and fix the guide.
