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…
Turn your hydrangea leaves from brown to green – make your plants healthy again
Get rid of brown spots and restore your hydrangea's health
Purple and blue hydrangeas

Hydrangeas are beautiful flowers that can be found in many gardens, container gardens, and even as cut flowers. They come in several shades of pink, blue, and white, and some of them can even change color. As beautiful as these flowers are, though, they're not without fault. Proper hydrangea care can keep most of their common problems at bay, but they might still develop brown spots on their leaves.

Brown spots on hydrangea leaves can be caused by several different things, although the most common causes are fungal infections. Keep reading to figure out what is causing your hydrangea leaves to turn spotty and to find out how to treat it.

Read more
The best sprays to keep pests off your delicate hibiscus plants
Safe and effective sprays for your hibiscus
Close-up of a red hibiscus flower

Garden pests range from minor annoyances to plant-destroying nightmares, but controlling them can be tricky. While commercial sprays are effective and easy to find, many of them include harsh chemicals that are not good for the environment. On top of that, some plants are too sensitive for sprays like that! Hibiscus plants in particular can suffer cosmetic damage from certain chemical sprays. If you need help keeping pests away from your hibiscus, here’s what you need to know about finding the right insecticide for hibiscus plants.

Why are specialized sprays so important?
Insecticide or pesticide sprays have a job to do. They’re made specifically to kill insects and keep them away from your plants. Most plants can withstand the chemicals used in these sprays without issue, but some plants, like hibiscus, are particularly sensitive.

Read more
How to fix yellow spots in grass so your yard is the pride of the neighborhood once more
Get your grass back to its gorgeous green color
A brown circle of dead grass

One day your lawn looks great. The next day, you're looking at your yard and asking yourself how to fix yellow spots in the grass. Yellow patches can be caused by several things, but thankfully most of them are easy to treat or prevent. This simple guide on how to fix yellow spots in grass will break down the causes, preventative steps, and treatments you need to know to keep your lawn healthy.

Read more