How to Get Rid of Fungus Gnats in Houseplants (That Actually Works)

If tiny black flies rise up every time you water or brush past a plant, you are almost certainly dealing with fungus gnats. They are one of the most common houseplant pests, and also one of the most misunderstood. Most people spend weeks swatting the adults while the real problem carries on quietly under the soil surface.

The short answer: to get rid of fungus gnats for good, you have to break their life cycle at two points at once. Catch the flying adults with yellow sticky traps so they cannot lay more eggs, and treat the soil to kill the larvae living in it, for example with Bti, a biological control sold for mosquito larvae. At the same time, let the top of the compost dry out between waterings, because constantly wet soil is what attracts them in the first place. Keep all three going for at least 3 weeks and the numbers collapse.

First, make sure they really are fungus gnats

Fungus gnats are small, dark, delicate flies, a few millimetres long, with long legs and a slightly hump backed look. They are weak fliers. They hover low over the compost, run across the soil surface, and gather on nearby windows. Tap the pot and a few will usually lift off.

They are often confused with two other indoor flies, and the difference matters. Fruit flies are browner and rounder, and they gather around ripe fruit, kitchen bins and drains rather than plant pots. Drain flies are fuzzier, with moth like wings, and they live around sink and shower drains. A simple test settles it: if the flies come from the soil of your plants when you disturb the pot, they are fungus gnats, and the treatment below is aimed at the soil, not at your kitchen.

Why the adults are not the real problem

Adult fungus gnats do not bite people and they do very little direct damage to a plant. Their job is reproduction. A female lays her eggs in damp compost, and the eggs hatch into tiny, translucent larvae with shiny black heads. Those larvae live in the top layer of soil, feeding on fungi, decaying matter and fine root hairs.

A healthy, mature plant usually tolerates a small number of larvae without any visible effect. The trouble starts when numbers build up. Seedlings, cuttings and already stressed plants can suffer, because damaged roots take up water poorly and the plant begins to wilt or yellow even though the soil is wet. And even when the plants cope, a cloud of flies around your shelves is reason enough to act.

This life cycle also explains why so many quick fixes disappoint. The adults you can see live for roughly a week. The eggs and larvae in the soil are the next two or three generations, already on their way. Kill only the adults and you will have a quieter room for a few days, then a fresh wave emerges and the problem looks exactly the same as before.

The plan that works: three things at the same time

Step 1: Dry the surface of the soil

This is the most important step, and it costs nothing. Fungus gnats lay eggs in moist compost, and the larvae need that damp top layer to survive. Between waterings, let the top 3 to 5 cm of compost dry out properly. For most houseplants in normal room conditions, this alone is safe and often overdue, because plants that attract gnats are frequently being kept wetter than they need.

While you work through the plan, water from the bottom where the plant allows it, so the surface stays drier for longer, and always empty saucers and outer pots afterwards. A plant standing in drained water is advertising exactly the conditions gnats are looking for. Plants that genuinely need constantly moist soil are the exception, so treat those pots with the larvicide step below and use the sand layer described later to keep their surface less inviting.

Step 2: Trap the adults

Put yellow sticky traps just above the soil surface in every affected pot, and near any plants standing close by. The adults are drawn to the yellow colour, and every female caught is a batch of eggs that never reaches the soil.

Traps have a second, equally useful job: they tell you how the battle is going. If the traps are still filling up quickly after two weeks of treatment, something nearby is still producing new flies, usually a pot you missed. Replace traps when they are covered, and keep them in place for a week or two after the last fly is seen, as a final check.

Step 3: Kill the larvae in the soil with Bti

Bti, short for Bacillus thuringiensis israelensis, is a naturally occurring bacterium sold in garden centres for controlling mosquito larvae in water features. It works on fungus gnat larvae in exactly the same way, and it does not harm the plant, people or pets when used as directed. Products come as granules, dunks or bits that are soaked in water. You prepare the treated water according to the product instructions, then water your plants with it so it reaches the larvae in the top layer of compost.

One treatment is not enough. New eggs hatch over the following days, so repeat the treatment about once a week for at least 3 weeks, covering the whole life cycle. This step, combined with dry soil and traps, is the part that finally ends the cycle instead of just reducing the numbers for a while.

Supporting fixes that genuinely help

A layer of coarse sand, fine gravel or horticultural grit, about 1 cm deep over the surface of the compost, makes it harder for adults to reach the soil to lay eggs and helps the surface stay dry. It works best as a support for the main plan, not as the whole plan.

Clear away fallen leaves and dead material sitting on the compost, since that decaying matter is food for the larvae. For a plant that is badly infested, especially one that is also struggling, repotting can be worth it. Shake off as much of the old compost from the roots as you reasonably can, trim any black, rotted roots, and replant into fresh compost in a clean pot. Then start the traps and the drying routine on the new compost straight away so it does not get reinfested from flies elsewhere in the room.

Popular fixes that usually disappoint

An apple cider vinegar bowl is a trap for fruit flies. Fungus gnat adults are drawn to damp soil and yellow traps, not to your vinegar, so a bowl on the counter mostly catches the wrong insect and tells you nothing about the pots. Essential oil sprays and sprinkled cinnamon get recommended often, but at best they may discourage a few adults for a short time, and they do nothing about eggs and larvae in the soil. And sticky traps on their own, while genuinely useful, cannot end an infestation, because they do not touch the generation still growing under the surface. If a remedy does not change the soil conditions or the larvae, the flies will be back. That is the honest test for any tip you read about this pest.

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

Expect visible improvement within the first week, mostly from the traps and the drying soil, and much lower numbers by the end of week two. Aim to keep the full plan running for 3 to 4 weeks, which covers the life cycle from egg to adult in typical indoor conditions. Stopping at the first quiet day is the most common reason people end up treating the same plants twice. When your traps stay almost empty for a full week while normal watering has resumed, you are done.

How to stop fungus gnats coming back

Check new plants before they join the rest of your collection, and keep them separate for a week or two if you can, since infested compost from a shop or a friend’s cutting is a very common way gnats arrive. Water to the plant’s needs rather than to a fixed schedule, and let the surface dry between waterings where the plant allows. Keep drainage holes clear, never leave pots standing in water, and store spare compost sealed and dry rather than open and damp. None of this takes much effort. It simply removes the one thing these flies cannot do without: wet soil at the surface of the pot.

FAQ

Are fungus gnats harmful to people or pets?

No. Fungus gnat adults do not bite, and they are a nuisance rather than a health risk. The risk is to the plants, and mainly to seedlings, cuttings and plants that are already weak, whose roots the larvae can damage when numbers are high.

Why do fungus gnats keep coming back after I treat my plants?

Almost always because the treatment stopped too soon or only targeted the adults. Eggs and larvae in the soil survive sprays and traps, then emerge over the next few weeks. Running sticky traps, soil drying and a larvicide such as Bti together for at least 3 weeks is what breaks the cycle properly.

Can I use hydrogen peroxide for fungus gnats?

A diluted peroxide drench is a popular home remedy and it can kill larvae on contact, but it has to reach them, it breaks down quickly in soil, and it needs repeating like any other larvae treatment. If you use it, keep it as one part of the plan alongside traps and drier soil, not as the whole solution, and test it on one plant first.

Why does only one of my plants have fungus gnats?

Usually because that pot stays wetter than the others, or because the infestation started there and has not spread yet. Treat that pot first, but put traps in neighbouring pots as well, since adults fly and walk between plants more easily than most people expect.

Should I throw away a plant that has fungus gnats?

Almost never. A healthy plant in a bad infestation can be repotted into fresh compost, which removes most eggs and larvae in one move, and then protected with traps and careful watering. Throwing a plant away is only worth considering for a cheap, badly weakened plant that is infesting everything around it.

Also Check: How to Propagate Pothos in Water: Step-by-Step for Beginners

Related Articles

Latest Articles