How to Get Rid of Fungus Gnats safely

Get rid of fungus gnats now!  Personally, I have tried every other method recommended but with no success.  See how I get rid of fungus gnats effectively and safely!

How to get rid of fungus gnats is easy, natural but ongoing.   I tell you why you are never free of these plant gnats and I have links to what I use. Learn how to kill not only the fungus gnats but also the fungus gnat larvae.

I wrote this article as I was getting so many questions on how to get rid of gnats in houseplants aka indoor plants. Be sure to read to the end as I added some updated information for you.


  • What are Fungus Gnats
  • Why Fungus Gnats Persist
  • What hasn’t Worked but Many Promote
  • What does Work (after a lot of testing)

What Are Fungus Gnats – Plant Gnats

Fungus gnats (families Mycetophilidae and Sciaridae) are the grayish-black, delicate little winged critters that resemble fruit flies or tiny mosquitoes.  They love humid and moist conditions. 

The adults can cause harm to your plants by spreading fungal diseases to your plants and seedlings. Worse yet, they lay eggs, a lot of eggs. A typical fungus gnat can lay up to 300 eggs.

When the fungus gnat eggs hatch the gnat larvae in the soil feast on the roots of seedlings, young plants, and cuttings you are attempting to root. This can weaken and kill your plants.

Can you see why we need to

You may notice adults flying up when you water your plants.

Terra Cotta pots on window sill, how to control fungus gnats

Disclosure: This post may contain affiliate links, meaning I get a commission if you decide to purchase through my links, at no cost to you. Please read my disclosure for more info.

Related: Grow in the Dark, plants that grow in very low light

Why Fungus Gnats Persist

Fungus gnats persist because new plants you bring home and potting soils all have them. That is why you can’t get rid of fungus gnats once and for all.

Gardeners can’t get away from it.  It is part of the great circle of life, especially if you are an organic gardener.

Potting soils purchased at garden centers, big box stores, and so on are all stored together. The potting soils are moist and full of conditions fungus gnats love to breed in. 

It is no one’s fault.

If you have a fungus gnat problem it is not because you are overwatering.  I roll my eyes each time I read someone saying that.

Case in point, I was rid of the fungus gnats in my home. I suddenly noticed I had them again and wondered what was going on. I water on a consistent schedule and adjust as the needs of plants change because of the environment and season.

Then I remembered I had brought home some herb plants that were on sale at a great price at a big box store and had placed them on my kitchen window sill until I could get them re-potted and into the greenhouse to grow on.

Sure enough, they were infested with fungus gnats.

Sanseveria plant, Mother In Laws Tongue, Snake plant, how to control fungus gnats

Hydrogen Peroxide and Fungus Gnat Larvae

Many gardeners I know love to use Hydrogen peroxide to kill fungus gnat larvae. I have not personally tested the method but felt you may wish to use it.

I cannot claim that it is strictly organic as the 3% solution you can purchase has chemicals and additives in it that may not be fit the criteria.

To use 3% hydrogen peroxide first dilute it to a mix of 4 to 1. An example of that is 1/4 cup of the 3% peroxide to 1 cup of water.

You can water with the diluted hydrogen peroxide solution from the top of the soil if you don’t splash the leaves. If it is seedlings and you can’t water from the top then you can set the seedling pots or tray into the solution to soak up from the bottom.

Either way will work.

What hasn’t worked to get rid of fungus gnats

When researching how to handle fungus gnats I came across many methods that sounded good but did not work for me when I tried them. (others may have found them effective, but I did not)

Letting the soil dry out. 

This did not work because a few of my plants got stressed and showed signs of it by getting brown leaf tips like my Peace Lily (Spathiphyllum)  Peace Lilies like constant moisture.

Also, new cuttings just rooted and planted need to be kept moist to grow best so letting them dry out to the first two inches would be a death sentence for them. We are talking moist, not drenched but they do need the constant moistness to thrive.

Removing top soil and replacing with sand.  

If you get potting soil that is already infested then the larvae are deep enough to be noshing away. 

Sand is supposed to discourage the adults from laying eggs and continuing the cycle but if you read above on why fungus gnats persist you will see why this is just added work.

I did try it though but did not get the results I wanted. The rascals started to go in along the bottom drain hole instead of on top.

There are a couple of things I have not tried which are an organic pesticide soil drench (Neem, I have it but don’t use it for plants in my home as I don’t care for the odor of it) or beneficial nematodes.

Seeds sprouting, how to control fungus gnats, FlowerPatchFarmhouse.com

What works to get rid of fungus gnats and larvae

Crazy as it sounds sometimes I pasteurize my soil if I notice an excess of fungus gnats before potting up sensitive plants and cuttings.  Do I always do this?

No, but it has been effective for so many problems.

Buying sterile seed starting mix takes care of the need to pasteurize but I was starting seeds on a larger scale and wanted to use my own compost mix.

Not only does it get rid of the larvae present in just about any potting soil out there but it will also get rid of the pesky bacteria that can cause damping-off when you start seeds. 

This temp is enough to get rid of the bad organisms without killing the good. 

How to Pasteurize Soil

Note: I no longer bother with pasteurizing when just repotting plants, I tell you why at the end of this article.

Pre-heat your oven to 200 degrees Fahrenheit. Pour up to 4 inches of your potting soil into a large baking pan (I like the large aluminum ones you can get at the Dollar Store) and put a meat thermometer in the center of the tray, deep into the dirt. Place the tray in the oven and keep an eye on the dirt’s temperature. Once the center of the dirt reads 160 degrees, bake for 30 minutes. Allow the dirt to cool thoroughly before using.

When I am in a hurry, I pour boiling water through the soil, in a wire sieve and let that do the work.

Organic Gnat Killer

One of the best fungus gnat killers is Yellow Sticky Traps. Yep, these simple little yellow pieces of sticky paper.  They keep the population of adults down so they cannot lay eggs and repeat the circle of fungus gnat life.

Yellow Sticky traps can be found here. 

Sticky trap on terra cotta pot of rosemary, how to control fungus gnats

They come with little wire spikes to stick them into the soil but I don’t use those. I peel one side of the paper off to reveal the sticky stuff.

Then lay it, sticky side up, on an edge of the pot that I have noticed gnats swarming up from when watering.

On my plants inside the house, I see an outbreak typically at the end of February and the beginning of March so I set out traps.

After a few days, I see them starting to pile up on the traps.

Fungus gnats on sticky traps on potted lavender cutting, how to control fungus gnats

To control fungus gnats inside my greenhouse I keep sticky traps out all year round. 

My greenhouse is where I re-pot plants, start seeds, etc and I have my bags of potting soil or mix my own from my compost so fungus gnats get brought in constantly.

(I don’t like the odor of Neem drench so I don’t use it in my greenhouse either)

It sounds too simple but that really has been the easiest and most effective method to control fungus gnats.

I purchase my sticky traps at a local garden center. They can also be bought from Amazon and box stores.

Not only do they work for Fungus Gnats but also White Fly, Aphids, and Leaf Miners.  More bang for the buck!

Some people make their own but the traps are so inexpensive that it is not worth the bother to me.

Some have mentioned that the traps can catch beneficial insects too but I have not had that be an issue.  Mostly I only catch the fungus gnats and recently a spider.

Be gone you pesky gnats!

Fungus gnats on trap, Control fungus gnats

Get Rid of Fungus Gnat Larvae With This

This is an update to this article.  I found out about this a couple of years ago and it works! 

Use these mosquito bits, it kills the larvae of the Fungus Gnats.

When you use the yellow sticky traps and the bits together you have a well-rounded method to get rid of both the adults and the larvae.  Mix the bits into any new potting soil you use and you should see a dramatic reduction in any fungus gnats problem. Or place the bits on top of the soil and it will distribute down as you water.

So now I skip the pasteurizing if I am just re-potting some plants. Last year I did an experiment testing seed starting mix against my DIY potting soil. The results may surprise you, press here to see how it turned out!

This year I have been putting the Mosquito Bits granules into the pitcher of water I let sit out to come to room temperature before watering.

This allows the agent that kills the larvae to filter through the soil of established plants. I had been sprinkling it on top of the soil but then I noted the granules would grow mold.

A great garden read: Compact Plants for Small Gardens

enjoyed this? Please PIN and share.

Potted plants with fungus gnats, how to get rid of fungus gnats

Happy Gardening!

More you will enjoy

Why I love Terra Cotta Pots
Divide Iris in Spring
How to Create Lavender Topiary
Grow Black Eyed Susans

Feel Free to Share!

Similar Posts

19 Comments

  1. Now that we have concurred gnats, how about tiny little ants that come in March and April. I wipe the counters in my kitchen every 15 minutes. I have a cat that won’t eat his food, but will eat anything that he is not supposed to. Will the sticky traps work for them?

    1. I use the Orange Guard, which is safe for around pets. It is made of d-limonene from orange peels. I have not used sticky traps for the ants, I have use the Terro ant bait traps too which worked. I have to put them out each year about this time and in my garden.

    2. Ants hate cinnamon. They wont cross it. The cinnamon has a natural ant-proofing that it has evolved to be able to survive the multitudes of ants in its native growing area.

      1. The repellent effect of common cinnamon has been tested and it is not strong enough to do the job. The ants may avoid that particular area briefly but the powdered cinnamon will soon lose any effect as it ages. Within a week it will lose any effect it initially has. Not only that but I have tested it in my own kitchen several times when I get an influx of ants and they walk across it as it if isn’t there. It simply does not work for me so I looked up the actual research on it. The cinnamon oil they used was hundreds of times stronger than anything we can buy and only using those concentrates did it have any effect. But those concentrates would also be detrimental to us to handle and breathe.

  2. My trick for Fungus Gnats was really discovered by accident. One day while I was chopping some fresh Ginger root, I noticed the pesky gnats swarming around some seedlings I had started in the kitchen window. I took some of the peeling of the Ginger and chopped it in small pieces and just laid the pieces on top of the soil here and there. Next day… NO Gnats! WIN!!

    1. Cool idea. I will have to experiment with this and see if it works for me too. Thank you.

  3. thanks for letting me know this trick. If the one I use stops working I will definitely give it a try or better yet treat new plants I bring home or repot with new bagged soil right away to prevent an outbreak.

  4. Thanks for this post – especially the bit about letting the soil go dry. It irritated me to find the gnats coming out of my cactus plants’ soil…they had been bone dry for a week!

    I also use the mosquito bits along with the sticky cards and have had good success getting rid of the buggers. I mix the bits in with everything I pot now.

    😀

  5. Learned alot and didn’t realize the gnats were already in potting soil! Just ordered some sticky traps for when I need them! Thanks Pam!

    1. @Debbie, these sticky tape work the Gnats are attracted to the yellow hate them

  6. I’m so glad I found this post.
    I have a spearmint plant that was attracting those gnats; actually I think it was the soil that I brought in from outside.

    So to get rid of the gnats I ended up putting the plant (roots) in water instead.
    Now, I know what to do.
    Thank you again for this info.

  7. I tried this idea I found online – same idea as the sticky strips
    I brought some iris inside to get started for my daughters new home, so could have come from out side or the garden soil that was in the garage
    Combine 1/2 warm water, 2T apple cider vinegar, 1 T sugar and about 1/8 t Dawn dish washing liquid
    The cider vinegar attracts them, and the soapy water traps them
    Worked really well. I used a shallow container,.

  8. I have a Peace Lilly and am starting again growing it because of Gnats and Neem Oil is horrible I used extra potting mix and repotted my plant but not right to the top
    has to grow again it is outside at the moment but I have these yellow sticky thing’s they are good

  9. Hello ! Thank you sharing this information. I just planted Dahlia flower bulbs and I noticed these tiny flies. I’m completely new to planting flowers, i am in need of much information and help I can get. Will the mosquito bits in the soil affect the newly planted flower bulbs? Thank you 🙏

  10. Thanks for the valuable information. We have a veritable plantation in our small apartment and do have gnats from time to time. I knew they eggs in the soil but had no idea they were so prolific! I feel encouraged about my Christmas cacti because of your instructions on propagation. My very best wishes.❣

Leave a Reply

Your email address will not be published. Required fields are marked *