Skip to main content

How to get rid of gnats without damaging your plant’s sensitive leaves

Follow these tips and get rid of gnats now

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.

If you’re looking for a gentle solution to your gnat infestation, here's how to get rid of gnats in plants without harming your leafy friends.




1 hour

What You Need

  • Dish soap

  • Vinegar

  • Cup or bowl

  • Hydrogen peroxide

  • Spray bottle

  • Sand

  • Flower pot

  • Fresh soil

A potted rosemary plant next to silver bowls and veggies
Image used with permission by copyright holder

Soap and vinegar

Here's how to make a simple trap:

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
Image used with permission by copyright holder

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 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.

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.

Editors' Recommendations

Cayla Leonard
Cayla Leonard is a writer from North Carolina who is passionate about plants.  She enjoys reading and writing fiction and…
Watch out for these signs of root rot in your plants
How to prevent and treat root rot
Pothos plant in a vase of water with roots

Every gardener wants their plants to be healthy and thriving. There are pests and diseases to look out for, but most of those affect plants above the ground, which makes them somewhat easier to spot, prevent, and treat. What about your plant’s roots, though? Don’t let root rot be out of sight, out of mind! Here is everything you need to know about spotting the signs of root rot.
What is root rot?

Root rot is, as the name suggests, is when the roots of a plant begin to rot and decompose before the plant is dead. There are two main causes of root rot, and although there is some overlap in symptoms and preventative measures, your treatment options may be slightly different.

Read more
Hardening off your seedlings as you bring them outside is crucial – here’s how to do it
Tips to help you successfully transplant your seedlings
Seedlings in plant tray

Even gloomy winter days can't stop enthusiastic gardeners. Unsurprisingly, many avid gardeners start their plants indoors when cold temperatures and unpredictable precipitation bar them from directly sowing their seeds outside. Still, the last frost date eventually comes around, and that's when it's time to bring those baby seedlings outside. Transporting seedlings outside is a simple process, but it still requires savvy coordination to prevent unwanted transplant shock. To help you keep your plants happy and healthy as they situate outside, we'll show you how to harden off seedlings.

What does hardening off seedlings mean?

Read more
The basics of controlling hibiscus pests for lush, healthy flowers
From proper care techniques to beneficial insects, here's how to control hibiscus pests
Hibiscus flower

Identifying pests on your hibiscus plant is the first step to protecting this gorgeous flower from bugs and insects. Once you know which unwanted guests are attacking your plant, you can come up with a battle plan to get rid of them so your flowers will thrive again. If left untreated, these hibiscus pests can damage the leaves and flowers as well as spread bacteria and diseases throughout your plant.

Read more