Join me!

Goodbye, Fungus Gnats! How to Get Rid of Gnats in Plants

Now you can enjoy your houseplants without having to tolerate any unwanted guests. Wondering how to get rid of fungus gnats? You aren’t alone! Learn how to prevent and how to get rid of gnats in plants naturally. 

Prevent and get rid of fungus gnats

There’s something refreshing about having houseplants inside your home. They breathe life into a house and also add a nice colorful flair.

Houseplants bring a wonderful, lovely dose of nature indoors where you need it most, further helping us by purifying the air in our homes. 

However, at some point, you might notice some unwelcome visitors making your houseplants their home. I’m talking about fungus gnats—those annoying little flies that appear whenever you water your plants. Ugh! Do these houseplant pests plague your plant babies too? 

Don’t worry, if you are having gnat problems, there are simple—and natural—ways to not only prevent but also get rid of fungus gnats in soil.

Disclaimer: First, a disclaimer. I love living things and try to support natural insects anytime I can. For example, in the outdoor garden, I work to create a natural ecosystem that supports predators for the pests that attack my plants. 

Indoor plants, however, have only a few natural predators that want to kill fungus gnats – the people and pets they annoy! Unfortunately, the only reasonable way to get rid of fungus gnats in your house is to kill off the pests you have and treat your plants to prevent future infestations.

In this post, we will cover:

What Are Fungus Gnats and How Do They Get in the House?

plants being replanted to prevent pesky fungus gnats

Fungus gnats, also known as soil gnats, are small dark insects that look similar to fruit flies and live in the soil of houseplants. When you have them, you will notice them when you water your plants or disturb the soil in other ways. 

One way to get fungus gnats is to leave your houseplants outside. Most often, though, they come straight from the nursery. You don’t realize it because they hide in the soil until you bring them home unknowingly. 

Their larvae eat plant roots and fungi in the soil. Then they suddenly appear in houseplants after the larvae hatch.

Why Are Fungus Gnats Bad?

plant being replanted to avoid fungus gnats

While these pests are a nuisance in noticeable numbers, it might be comforting (on some level) to know that the adults are harmless insects that do not bite.

Also, they don’t do much damage to strong, healthy plants, but they can cause wilting yellowing leaves, stunted growth, and even death in seedlings and more fragile plants. 

But honestly, nobody wants a swarm of gnats flying in your face every time you water your houseplants. Yuck.

When Are You Most Likely to Find Fungus Gnats?

Nuisance problems with fungus gnat adults tend to be most noticeable during late fall and winter, for a couple of reasons: 

  1. Houseplants that live outdoors during warm months will commonly start breeding fungus gnats. When these plants are brought indoors, populations may increase due to the warmer temperatures found in homes. 
  2. People are indoors more during the colder months, making it easier to notice an infestation.

How to Get Rid of Fungus Gnats

Killing off soil gnats is really not very difficult, and thankfully, you don’t need to bug bomb your home (yay). It all has to do with disrupting their life cycle and making your home inhospitable for these pests. Here’s how to naturally treat your houseplants and get rid of gnats in the soil.

Make the Natural Habitat Inhospitable

Fungus gnat larvae need moist soil to survive. By letting it dry out completely before your next watering, it will get rid of the gnats in the soil and discourage new adults from laying fungus gnat eggs, thus effectively cutting out the larval stage altogether. 

Use a Soap-and-Water Mixture

Take a cup of water and add a few drops of liquid dish soap or liquid Castille soap. Use a spray bottle to spray the top of the soil with this to kill the larvae. Repeat this process again in a few days to ensure that you have killed all of the larvae.

While some people recommend vinegar traps, I have found the soap and water to be more effective. Vinegar (and in particular a bowl of apple cider vinegar) is better suited for making a fruit fly trap.

Use Sand or Gravel

Fungus gnats only lay their eggs in the top inch of soil. Replacing that top inch with sand or gravel creates a dry environment and robs them of nutrient-rich fungus to munch on. Without their needed source of food available, they won’t want to lay their eggs. 

You can also use pretty decorative aquamarine rocks and add a splash of color to some of your favorite plant babies.

cactus in a cage on a tray of pink gravel to help prevent fungus gnats

Dispose of the Top Layer of Soil Outdoors

The eggs can still hatch. Let them hatch outside rather than somewhere in your home. You don’t want to just move your pests from one part of the house to another.

By taking all of these steps, you can naturally control and prevent fungus gnat infestations.

How to Prevent Fungus Gnats

plant in a white container in front of a blue painting.

Let’s chat about the steps you can take to prevent these annoying pests from ever entering your life in the first place!

Don’t Overwater Your Houseplants

Make sure you aren’t overwatering your plants. Moisture is a big plus for gnats, so to make their new environment inhospitable, you need to let the soil they live in dry out completely. 

Neither adult gnats nor their larvae can survive in dry soil, so let your soil dry out completely between watering as often as possible. Here’s an entire guide devoted to teaching how to water your houseplant properly.

Water From the Bottom

Bottom watering will help the topsoil (where the gnats lay eggs) stay dry while keeping your plants hydrated and happy.

Store Extra Potting Soil in an Airtight Container

If you keep your potting soil in the bag it comes in, fungus gnats can easily get in and lay their eggs. However, the eggs need air to survive, so airtight containers like buckets with tight-fitting lids will keep gnat larvae at bay.

Now That Takes Care of Gnats, but What About Other Houseplant Pests?

Fungus gnat free cacti in a windowsill

Expert David Squire popped by as a guest of Garden Therapy to share information on 8 of the other most common indoor plant pests and how to get rid of them. He has some great tips and tricks here for getting rid of houseplant pests!

Love houseplants? These Posts Are Great Reads


  1. I have a question, so … before putting a seed is better to dry off the soil to make sure no larvae is in the soil? Once the soil is totally dry I can plant my herb seed? Last Summer I start my mini herb selection and ohh goodness those gnats kill my beautiful basil it was disappointing.
    I just want to do the righ thing from the beginning this summer and take care of my future herbs.

  2. Steps to remove gnats with dawn dish soap. Step 1: pour apple cider vinegar into a bowl. Step 2: add unscented dawn dish soap. Step 3: Place the dish soap gnat trap.

  3. Thank you so much for this info, I’m currently dealing with a major I’m Infestation and I don’t know which plant it is, it’s so frustrating gnats and flies everyday a d these plant as expensive as hell.

  4. I used to use these stake yellow sticky traps to control them but I was tired of replacing them. So, I decided to get some pitcher plants and Venus fly traps and since then they no longer venture far and end up being carnivorous plant food. Win-win.

  5. I got hella gnats over here and I’m fixing to go to war with them . I’m gonna try sending electrical shock waves through the soil via car battery .


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.


your garden!

This FREE 5-day mini course will help you set up a thriving garden for wellness and joy quickly and easily.

I want the free course!

Join one of my free email courses!

Natural skincare

made easy!

This FREE 5-day mini course will teach you the small changes you can make to your skincare practices that will make a HUGE difference in how you feel.

I want the free course!


your garden!

This FREE 5-day mini course will help you set up a thriving garden for wellness and joy, quickly and easily.

I want the free course!

Learn and Live
with Nature


Garden Therapy Online Courses