Skip to Content

Gnats in Potting Soil

Suddenly have an insect infestation after using potting soils? Tiny little gnats flying out of the soil in pots and your garden? Yeah, me too. I found out that they’re called fungus gnats, and they are certainly annoying!

flower pot with flowers and gardening tools against white background

I was so ecstatic to have put together my first raised bed for a vegetable garden. It’s nearly full with mushroom compost received from a neighbor, who got a huge haul at a local mushroom farm. The final touch was to add some garden soil to the top of the bed and plant some seeds.

Tiny Fungus Gnats in New Potting Soil

A special sale at a major home improvement store meant that organic soil was just $5 a bag – a pretty good deal. I got two and immediately added it to my bed.

(While this is my experience with this brand, I also tried another organic brand of potting soil and had the same fungus gnat problem. And plenty other people – see the many comments below – have also had issues with other brands, too.)

The next day, I went out to check on my raised bed and noticed the soil teeming with tiny little flies with white wings.

These insects were NOT in the compost before I added I the soil, yet appeared in droves within 24 hours of dumping the bag of soil into my raised bed.

I checked the mound of mushroom compost that I still had in another garden bed that was delivered the same day. Nope, the insects weren’t in there.

I asked my neighbor if he had any problems with the tiny flies in his piles of compost. It was the same compost from the same delivery. That was a negative, too.

So I determined that the organic soil that I bought to complete my vegetable garden actually caused a HUGE problem that now I have to deal with.

Potting Soil Killing Plants

I bought the conventional kind of soil from the same brand last year. I had three healthy houseplants that I had bought from the store and kept in pots for a few weeks that were fine.

When I decided to finally repot them I bought one bag of soil. All three plants were planted in this same soil, and then placed indoors and outdoors in different locations.

ALL of the plants started developing problems and were infested with gnats.

I lost $30 of plants, tons of time in taking care of them, and time spent to return the stuff to Home Depot where the cashier looked at me dubiously as to how my soil could have caused this.

Problems with Fungus Gnats and Potting Soil

Now, fast forward another year, and I’m researching gnat insect infestations online and finding out that this is a very common problem with bagged soils.

This is such an issue that the first comment for these gnat bait traps on Amazon speaks directly about using the baits to kill gnats on houseplants brought in due to bagged potting soil.

Apparently these will work, but I haven’t tried them out.

house plant in pink pot close up

How to Kill Fungus Gnats

Responses to fungus gnat infestation complaints generally say that the gnats are not a problem to humans. And they cause little damage to plants.

The University of California Integrated Pest Management says differently. They state that a large infestation can kill seedlings or young plants.

The company’s response is also that adding 1/2 inch or more of sand to the top of your pots will help control the fungus gnats.

Which is good news for those of you who were wanting the look of houseplants planted at the beach or love the feel of the Sahara desert in your garden bed.

P.S. If you don’t mind the look of sand or rocks on your houseplants, here’s a recipe for how to get rid of fungus gnats using sand.

Also great for those of you who want to spend more money on unnecessary products when all you really wanted was a simple bag of potting soil and to be done.

But hey, now you get to go back to a garden center and buy sand and plant sprays and plant amendments. YAY!!!!!!

I had tried soaking my garden bed with insecticidal soap, which apparently doesn’t work on killing fungus gnats.

Adding sand to my garden beds was not an option for me. I was not going to buy a bag of sand, nor did I want to mess with this issue any more.

I basically just lost the entire garden bed and never went back to try again.

Related Posts:

Potting Plants in Compost

After this experience, I don’t buy potting soil at all anymore.

I use straight mushroom compost to pot my plants. I buy mine at Lowe’s, where the price is comparable to a bag of potting soil.

Everyone says never to plant your plants directly in compost. Maybe that’s for rich compost straight from the backyard. Or only cow compost. I don’t know.

But what I do know is that I’ve never had problems planting any plant in mushroom compost or worm casings. It costs a little more, but I don’t have to buy soil amendments, fertilizers, insect sprays from bringing in gnats in potting soil, etc.

If you don’t want to avoid potting soil and use compost, then I suggest you don’t try to pinch pennies like I was. Go to your local garden center and get your potting soil from them.


Ditch the Toxins in Your Home!

Join our weekly newsletter for shopping guides, cleaning hacks and smart tips to improve wellness where you live. 

Thanks! Keep an eye on your inbox for updates.


Friday 3rd of June 2022

Miracle gro potting mix ruined my garden beds and cannabis plants! All infested with these disgusting gnats and their white worms. PUKE


Sunday 30th of January 2022



Sunday 30th of January 2022

I had big problems with fungus knats from any potting soil i used. My house my swarming with them flying in my face ahh so annoying. Here is what i did to get rid of them. I bought mosquito bites soaked them overnight and watered my plants with it. I used neem oil mixed with fish liquid ( very little) i rubbed it on all my leafs under and over EVERY LEAF i bought the yellow sticky thing and put one in every pot and hung them above the plants. I also bought a small bug light and leave it on and hear that light just snapping them bugs. Its a battle. Be vigilant. It took me a whole year to be pest free and i put any new soil in the microwave or i let it dty in the sun and coat it with pesticide. So ALL POTTING SOIL IS INFECTED WITH BUGS.


Friday 1st of October 2021

I have gardened for 50 years and my fungus gnat problem started this year. 6 different potting soils infested. Please everyone, start Sending complaints to the USDA so this problem gets fixed. We should not have to lose plant or spend additional money to solve this problem that is caused by companies cutting corners by not treating soil correctly


Saturday 31st of October 2020

Thank you for sharing your story. In 2007, when my father died, I was given a plant by my coworkers. The plant we call Joe Leo has had 5 different pots so far and it’s now in a pot that reminds me of my dad’s favorite mug. Needless to say, it’s very special to me. I bought some miracle-gro potting soil (on sale) and half of the plant is dead now and it’s infested with these suckers. I’m so upset. Had I known, I’d have maybe frozen it for a while to hopefully kill everything first but I had no idea. I’ve been taking some clippings off of it to grow other plants because I’m afraid I’m going to totally lose my plant. The LEAST they could do is put a warning.