Skip to main content
  1. Home
  2. Gardening
  3. Indoor plants
  4. How tos

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.

Grow a thriving avocado plant with these care tips
A guide to growing your own avocados at home
Potted avocado seedling

Anyone who enjoys the challenge and satisfaction of growing plants will love growing an avocado from seed. If you live in the right climate, it could be the next addition to your garden. If not, it makes an attractive and interesting houseplant. All you need to start one is a fully ripe avocado, a planting container, and some high-quality potting soil.

Whether you want to have fresh, ripe avocados for your kitchen or just enjoy the way these trees look, you'll be glad to know that avocado trees are surprisingly easy to grow. This guide to avocado plant care will explain everything you need to know.
Avocado at a glance

Read more
Keep Bermuda grass at bay with these lawn care strategies
Tips on keeping unwanted Bermuda grass under control
Manicured Bermuda lawn

Bermuda grass, also known as Cynodon dactylon, is a common type of lawn grass. Its toughness, adaptability, and creeping growth habit attract either appreciation or disdain from the homeowners, gardeners, landscapers, and others who plant it or are invaded by it. While it's hardy nature makes it a resilient lawn grass, its habit of spreading can make it a serious nuisance. Even worse, once it's spread into an area it's incredibly difficult to get rid of. If Bermuda grass is spreading into your lawn from the surrounding area or you've just moved into a new home with a Bermuda grass lawn you'd like to replace, then here are our tips for controlling it.

Read more
Sustainable gardening: Tips for a greener, eco-friendly garden
Make your garden more sustainable with these tips
Cupped hands holding soil and little seedling

Gardening can be a rewarding, fun, and useful hobby, but it can also be challenging at times. If you’re struggling to keep your garden healthy and happy, then it might be time to consider switching to a more sustainable gardening method. Sustainable gardening can make your garden easier to care for, and it’s better for the environment. If you’re wondering about what exactly sustainable gardening is and how it works, then this is the guide for you! We’ll explain what it is and help you get started with some tips and tricks.
What is sustainable gardening?

Sustainable gardening doesn’t have a single concise definition, and it can take many different forms. Unfortunately, that sometimes leaves gardeners (especially beginners) a bit confused. To break it down, sustainable gardening methods focus on the environment, including being mindful of what chemicals or invasive species are being introduced to the ecosystem and trying to mimic the natural conditions of the environment in your garden.

Read more