Wondering how to get rid of gnats in houseplants? I’m talking all about what fungus gnats are and what causes them, as well as how to prevent fungus gnats in your plants!
How to get rid of gnats in houseplants
If you have any houseplants, you probably have dealt with fungus gnats at some point. Fungus gnats are teeny tiny black flying insects that are attracted to wet potting soil. That’s why they typically affect indoor plants—the soil takes longer to dry out, and many people overwater their plants by mistake. Also they are trapped inside, so you notice them a lot more!
What are fungus gnats?
So let’s talking about what fungus gnats actually are. Fungus gnats have a four-stage lifecycle. They start as eggs, then develop into larva, then pupa, and then adult. The gnats lay their eggs in damp soil, usually the top layer of soil. And they lay 200 eggs at a time! These 200 eggs then hatch and turn into larvae…which feed on the fungi produced from the damp soil (hence the name fungus gnats).
Once you see them buzzing around, they are at the adult stage. And then the cycle begins again. The whole lifecycle is about 2.5 weeks depending on the conditions (temperature, humidity, moisture, etc.). The adult gnats will buzz around the pot; they don’t fly very long distances and always seem to aim for your face.
What causes fungus gnats?
As I mentioned, fungus gnats lay their eggs in and feed on the fungus that breeds in damp soil. So the chief cause of fungus gnat infestations in houseplants is overwatering.
Many people think they aren’t good at taking care of plants. In reality, they are probably just overwatering them! Most common houseplants don’t need as much water as we think they do. I overwatered so many plants years ago when I first started getting into houseplants. Not only does it lead to root rot and just generally unhappy plants, it also leads to fungus gnats.
What can I do to prevent fungus gnats?
There are a few things you can do to help prevent fungus gnats in your houseplants. Some might work better than others depending on the plant, so try them out and see what works best.
1. Let the top few inches of soil dry out
Letting the top few inches of soil dry out helps to keep things healthy and to prevent the moist environment necessary for fungus gnat breeding. Watering in planters without drainage holes can also lead to soil retaining too much moisture, so it’s best to avoid that too.
2. Aerate the soil
I like to occasionally aerate the soil in my potted plants to help promote air flow. This not only helps with moisture issues in the top few inches of the soil—it also helps prevent the soil from caking together too much and shrinking from the sides of the pots. I like to use a fork or a chopstick for this. Or, if I’m being honest, my fingers. 🙂
3. Bottom watering your plants
Bottom watering your plants is one way to help prevent fungus gnats. Some plants like to keep their soil moist, so it’s not a great idea to let them dry out too much between waterings. Bottom watering is when you set a planter with a drainage hole into water and let the plant soak the water up through the hole.
This helps to prevent fungus gnats because the top layer of soil is never really wet. The bottom-most layer of soil gets moist, and the roots pull up the moisture. I bottom water some of the plants I have because it keeps water from pooling on leaves—for example, my hoya carnosa compacta.
4. Setting a barrier up for the drainage hole
I have read that gnats can also sneak into plants through the bottom drainage holes and lay eggs there. I typically put a piece of a coffee filter in the bottom of my planters when repotting just to prevent dirt from spilling out, so that might be helpful.
How to get rid of gnats in houseplants
Fungus gnats don’t generally hurt your plants if you don’t let an infestation get too out of control, but they are really annoying. They fly around your face, often straight into it. And they always seem to follow you around. And although they don’t really hurt your plants, they are often signs of problems in your care routine, so it’s best to address their presence! Establish an appropriate watering routine
1. Establish an appropriate watering routine
Establishing an appropriate watering routine will help to kill off any eggs or larva in the soil. It will also prevent fungus gnats from moving in in the future. Always check to make sure the top few inches of soil is dry before watering (for more common houseplants). You can get a moisture meter, but I don’t fuss with one.
If you’re struggling to remember when you last watered your plants, you can grab my free printable plant watering trackers. Laminate it, put it on your fridge, and update it whenever you water your plants! 🙂
2. Use sticky fly traps
I included my favorite yellow sticky stakes fly traps in the houseplant lovers gift guide I made last year. I’ve since started buying some budget yellow fly paper, cutting it down in strips, and adding it to the stakes. Or just hanging it up. These work great to control adult populations.
The adult gnat populations are attracted to the yellow color on the fly traps. They get stuck in the super sticky yellow fly paper and die. Sorry, gnats. And once you control adult populations, there isn’t anything to lay eggs.
3. Invest in a Katchy machine
Okay I have to admit, I bought a Katchy after I saw one of my planty friends on Tiktok post about hers. I had a bad fungus gnat problem at the time and couldn’t get it under control. So I caved and bought it…and it’s kind of amazing!
The bonus with the Katchy is that it actually looks really nice…much better than a bunch of bright yellow fly paper hanging around your house. You can also quickly switch out the sticky fly traps to refresh it. It has a UV light on top of it, and you turn it on at night so the flies are attracted to the light. The fan in the machine then sucks the flies down onto the fly paper.
4. Get rid of gnats in houseplants with vinegar
Vinegar is a simple and straightforward way to help control adult gnat populations. This is also a great option to use in addition to sticky traps. You can simply fill a small shallow bowl with vinegar and add a few drops of dish soap. Refresh every few days as it fills up with dead gnats. They love this stuff.
5. Use sand or gravel to dress the soil
Since fungus gnats lay eggs in the top few inches of the soil, dressing the top of the soil with sand or gravel can help to prevent them from moving in. I have used decorative sand or pebbles to do this, but it isn’t my favored method. I know some love this method, though. So it’s worth a shot.
6. Hydrogen peroxide mix
In addition to vinegar, hydrogen peroxide is another thing you probably have in your house already that can help to control fungus gnats. Use roughly 1 part hydrogen peroxide mixed with 5 parts water to water dry soil will help kill everything off. This is harmless to almost all common houseplants—just don’t use straight hydrogen peroxide!
7. Try a soap and water mixture
I talked a bit about this in the post I did on how to debug plants before bringing them in for the winter. I typically use an insecticide spray and a soapy water mixture to kill off anything in the soil.
I don’t overthink this. I simply put a few drops of dish soap (a mild kind without a degreaser) into a watering can and fill it up with lukewarm water. It will bubble a bit. Then I water the plant. If your plant is already damp, you can simply spray the top layer of soil to prevent further overwatering.
8. Neem oil spray
Neem oil is another method you can use to control fungus gnats. You can buy a neem oil spray that is already diluted, or you can buy a neem oil concentrate and dilute it yourself. I find buying a concentrate goes farther—I have had mine for a few years, and I just reuse an old spray bottle.
9. Sprinkling cinnamon
Okay…I have tried this in the past, but I don’t think it did anything. A lot of people recommend cinnamon though. You can sprinkle cinnamon, which is a natural fungicide, on top of the soil. I’d recommend doing this when the soil is dry, working it into the top inch or so of soil, and then watering the plant.
10. Use a systemic pesticide
You can also use a systemic pesticide to kill off anything in the soil. There are pesticides that you can work into the top few inches of the soil, and when you water the plant, the insecticide kills everything off. Honestly, you probably don’t need this level of insecticide for fungus gnats…they are easier to get rid of than other pests.
I used insecticide granules to kill off some thrips I had in some of my houseplants, including my large monstera deliciosa. It worked! And it also killed off all of the fungus gnats, praise be. So, it was an added bonus!