Skip to main content

How to get rid of gnats without harming your plants

Follow these tips and get rid of gnats now

A swarm of gnats
Hans / Pixabay

In most cases, gnats are little more than a nuisance. For gardeners, though, a gnat infestation can spell devastation. While adult gnats don’t damage plants, the larvae will eat roots and leaves. In large numbers, they can cause serious damage. There are many pesticides on the market, but some plants are sensitive to the chemicals in them. Luckily, there are other options for controlling a gnat infestation, so you can save your plants without scorching their leaves. This guide on how to get rid of gnats in plants will explain everything you need to know.

Recommended Videos

Difficulty

Easy

Duration

1 hour

What You Need

  • Dish soap

  • Vinegar

  • Cup or bowl

  • Hydrogen peroxide

  • Spray bottle

  • Sand

  • Flower pot

  • Fresh soil

Person cleans dusty leaves
Ellyy / Shutterstock

Soap and vinegar

You can mist or wipe your plant with a mixture of soap and vinegar to kill gnats on the surface, but to get rid of the flying gnats you'll need to make a trap. Here's how to make one.

Step 1: Mix 1 cup of warm water, 1 teaspoon of vinegar, and a few drops of dish soap together in a cup or bowl.

Step 2: Place the cup or bowl near the infested plant(s). The gnats will dive into the trap to get the vinegar, but will be unable to escape.

Step 3: Replace the trap as it fills up with gnats, repeating until the infestation is gone.

Spraying a potted cactus
renateko / Pixabay

Hydrogen peroxide

Hydrogen peroxide is a common household antiseptic, but it's also good for plants. In addition to killing gnats and other small insects, hydrogen peroxide can also kill some bacteria and fungi, and it adds oxygen to the soil. Here's how to use it.

Step 1: Dilute the hydrogen peroxide with water at a ratio of 3 teaspoons of hydrogen peroxide to 1 cup of water.

Step 2: Add the mixture to a spray bottle.

Step 3: Spray your plant with the mixture twice a week until the gnat infestation clears up.

Succulent in sand
Satyress / Pixabay

Coating the soil with sand

Gnat larvae live under the soil for the first portion of their lives, but they come to the surface when they become adults. Covering the surface of the soil with a layer of sand prevents the larvae from emerging. This will end your gnat infestation. It prevents a new generation of gnats from being born, as the gnats trapped underground won’t be able to lay eggs.

Person repotting a small rose plant with an orange flower
Ground Picture / Shutterstock

Repotting your plant

If the infestation is too much, then repotting your plant may be the best option. Here’s what to do.

Step 1: Prepare a new pot with fresh, clean soil. Don’t reuse the old soil, as it may be contaminated with gnat larvae or eggs.

Step 2: Carefully remove the plant from its pot.

Step 3: Brush off as much dirt as possible from the roots.

Step 4: Place your plant in the new pot, adding more soil around it as necessary.

Step 5: Move your repotted plant to a different location, away from any remaining gnat swarms.

View of nature out small room windows
Maria Orlova / Pexels

Where do gnats come from?

Preventing future infestations is much easier if you can identify where the gnats are coming from. Since they are so small, gnats can often sneak in unnoticed. If you've noticed a recurring issue with gnats getting into your home, you may want to check for cracks or gaps in the walls, especially around doors, windows, or fireplaces. Older homes in particular can develop small gaps overtime that gnats and other pests can enter through. Gnats can also enter through open windows or through the doors as you come and go. Pay extra attention to gaps or cracks in your kitchen, near your houseplants, or near your compost bin, as this is where the gnats are most likely to find a food source. Gnats are attracted to fermented or rotted vegetation, and they're more likely to stay if they find some.

You should also take care when purchasing new plants from a nursery. If the nursery has gnats in it, you may be bringing gnats into your home in the soil of your new plant. Repotting your new plants once you get home, before you bring them indoors, can help prevent this.

Gnats can be irritating, but now you know how to get rid of them. Remember, you can use more than one method at a time, too. These methods will work for other, similar pests as well, so they’re handy to keep around, even if gnats aren’t bothering your plants right now.

Cayla Leonard
Cayla Leonard is a writer from North Carolina who is passionate about plants.  She enjoys reading and writing fiction and…
How to find the best grass seed for your yard’s needs
A guide to choosing the right grass seed for a healthy lawn
Green grass lawn

If you love the look of a lush green lawn but don’t have one, the easiest and most affordable way to get one is with grass seed. There are tons of options, from classics like tall fescue and Kentucky bluegrass to more interesting ornamental grasses. Which type of grass seed should you choose, though? To help you find the best grass seed for you, we’ll break the answer down to three categories: Warm-season grasses, cool-season grasses, and nontraditional grasses. No matter what type on environment you live in, we'll set you up for a successful lawn with this guide!
Give grass the right growing conditions

Light
All lawn grass needs sunlight to grow into a thick, healthy, deeply rooted lawn. Most grasses need a minimum of six hours of direct sunlight. Even the types sold as “shade tolerant” require at least four hours. Consider other alternatives, like shade-loving ground covers or low-growing perennials, for densely shaded areas.
Moisture
Grass also needs adequate moisture. During the growing season, it needs about an inch of water per week combined total of rainfall and irrigation. Some grasses are considered drought-tolerant, which simply means they will turn brown and go dormant when there’s not enough moisture. In arid locations, dry climate alternatives to traditional grass lawns are a more sustainable landscape choice.
Soil
Soil conditions are equally important to growing healthy lawn grass. These grasses grow best in an aggregate mixture of sand, silt, and clay. This type of soil drains excess water easily, but it retains enough to act as a reservoir between rains. Marginal soils can be improved with organic matter by leaving the grass clippings on the lawn after mowing and occasionally top dressing the lawn with compost. Fertilizer and lime help to supply the required additional nutrients.
Which brands offer the best grass seed?

Read more
Does basil really repel mosquitoes? We tested it to find out
Can basil keep bugs from biting? Here's what we know
Basil potted plant

When you're outside enjoying your garden or hiking through the woods, mosquitoes are an itchy annoyance. They can spread disease and cause discomfort, so it's no wonder people turn to insect repellents. There are many commercial repellants available, but these often contain chemicals that have negative impacts on the environment.

Eco-conscious consumers are constantly on the lookout for natural plant-based alternatives. If you can grow your own mosquito repellent, that's great for the environment and your budget! How effective is this strategy, though? Is it a placebo, or is there real evidence to back it up? If you're interested in finding out if basil repels mosquitoes and you want to make your own basil mosquito repellent, then this guide will answer all your questions.
Does basil keep bugs away?

Read more
How to arrange your succulent plants in 5 creative ways
Tips for displaying succulents in your indoor or outdoor garden
A succulent plant wall garden

Succulent arrangements can help add color and personality to your indoor or outdoor garden space with a little creativity. All it takes is a smidge of artistry to elevate your succulent display. Whether you're looking for a simple arrangement or something more elaborate, there's something for every gardener. Even if you don't have much experience with DIY projects, most of these projects are beginner friendly and easy to manage! So pick your favorite succulent plants and follow this guide on how to arrange succulents for a fun and simple project.

Read more