How To Get Rid Of Fungus Gnats

Fungus gnats are pesky little insects that can infest your houseplants and cause damage to your garden. These tiny flies are attracted to moist soil and decaying organic matter, which makes them a common problem for indoor plants. If you’re struggling with a fungus gnat infestation, don’t worry – there are several effective ways to get rid of them. In this article, we’ll explore some of the best methods for eliminating fungus gnats for good.

Identifying Fungus Gnats

Before you can effectively get rid of fungus gnats, you need to be able to identify them. These tiny flies are typically black or dark gray in color and are only about 1/8 inch long. They have long, thin legs and wings that are often transparent. Fungus gnats are attracted to moist soil, so they are commonly found around indoor plants, especially those that are over-watered or have poor drainage.

Why Are Fungus Gnats a Problem?

Fungus gnats may seem like a minor annoyance, but they can actually cause significant damage to your plants. The larvae of these insects feed on the roots of plants, which can stunt growth and even kill your plants. Additionally, fungus gnats can carry plant diseases from one plant to another, which can cause further damage.

How to Get Rid of Fungus Gnats

Now that you know what fungus gnats are and why they’re a problem, let’s explore some effective ways to get rid of them.

1. Allow Soil to Dry Out

Since fungus gnats are attracted to moist soil, allowing your plants’ soil to dry out can be an effective way to get rid of them. Be careful not to over-water your plants, and make sure they have adequate drainage so that excess water can drain away.

2. Use Sticky Traps

Sticky traps are a simple and effective way to catch and kill fungus gnats. You can purchase sticky traps at most garden centers, or you can make your own by covering yellow index cards or strips of paper with a sticky substance like petroleum jelly.

3. Apply Beneficial Nematodes

Beneficial nematodes are microscopic worms that feed on fungus gnat larvae. You can purchase nematodes at most garden centers or online, and they can be applied to your plants’ soil to help eliminate fungus gnats.

4. Use Hydrogen Peroxide

Hydrogen peroxide can be an effective way to kill fungus gnat larvae in your plants’ soil. Simply mix one part hydrogen peroxide with four parts water and water your plants with the solution. Be careful not to use too much hydrogen peroxide, as it can be harmful to your plants.

5. Apply Diatomaceous Earth

Diatomaceous earth is a natural powder made from the fossilized remains of diatoms. When applied to your plants’ soil, it can help kill fungus gnat larvae. Be sure to use food-grade diatomaceous earth and follow the instructions carefully.


Q: How do I prevent fungus gnats from coming back?

A: To prevent fungus gnats from coming back, be sure to allow your plants’ soil to dry out between waterings, use a well-draining soil mix, and avoid over-fertilizing your plants.

Q: Are fungus gnats harmful to humans?

A: Fungus gnats are not harmful to humans, but they can be a nuisance.

Q: Can I use insecticides to get rid of fungus gnats?

A: While insecticides can be effective at killing fungus gnats, they can also harm beneficial insects and other creatures in your garden. It’s best to try natural methods first before resorting to insecticides.


Fungus gnats can be a frustrating problem for indoor plant enthusiasts and gardeners. However, with the right techniques and tools, you can effectively get rid of them and prevent them from coming back. Whether you choose to use sticky traps, beneficial nematodes, or natural powders like diatomaceous earth, be sure to follow the instructions carefully for optimal results. With a little bit of patience and persistence, you can eliminate fungus gnats and keep your plants healthy and thriving.