How to Get Rid of Fungus Gnats: The Complete Indoor Plant Guide
How to Get Rid of Fungus Gnats: The Complete Indoor Plant Guide
You’re relaxing on the sofa with a cup of coffee, admiring your lush indoor jungle, when suddenly—zip. A tiny, dark speck flies right past your nose. Then another. You look over at your favorite Philodendron, and there they are: a cloud of tiny, annoying flies hovering around the soil. If this sounds familiar, you aren’t alone. Learning how to get rid of fungus gnats is a rite of passage for almost every plant parent.
While these pests are incredibly frustrating, the good news is that they are more of a nuisance than a death sentence for your plants—provided you catch them early. In this comprehensive guide, we’re going to dive deep into the life cycle of these pests, why they’ve chosen your home, and the exact step-by-step methods to banish them for good. At Divine Roots Botanicals, we believe plant care should be a source of joy, not stress, so let’s get your home gnat-free.
What Are Fungus Gnats and Why Are They in My House?
Fungus gnats (from the families Sciaridae, Diadocidiidae, and others) are small, delicate-looking flies that resemble tiny mosquitoes. Unlike fruit flies, which are attracted to ripening fruit and kitchen scraps, fungus gnats are attracted to the organic matter and moisture found in potting soil.
The adults are mostly just an annoyance, but the real trouble lies beneath the surface. Fungus gnat larvae are tiny, translucent worms with black heads that live in the top 2-3 inches of soil. They feed on fungi and decaying organic matter, but if the population grows too large, they may begin snacking on the delicate root hairs of your plants. This can lead to stunted growth and yellowing leaves, especially in younger or more sensitive plants.
The Fungus Gnat Life Cycle
To understand how to get rid of fungus gnats, you have to understand their timeline. A single female can lay up to 200 eggs in her short week-long life. These eggs hatch into larvae within a few days, spend about two weeks feeding in the soil, pupate, and emerge as flying adults. This entire cycle takes about 3-4 weeks. This is why many "quick fixes" fail—you might kill the adults, but a new generation is already waiting in the soil to take their place.
Step 1: Identify the Source and Quarantine
The first step in any pest management plan is isolation. If you notice gnats around one plant, check the rest of your collection immediately. Fungus gnats are weak fliers, but they can easily migrate from a Peace Lily in the living room to a Fittonia in the office.
- The "Tap Test": Gently tap the side of your plant pots. If tiny black flies flutter out, you’ve found a nesting site.
- The Potato Slice Trick: Place a raw potato slice (about 1/4 inch thick) on the surface of the soil. Leave it for 48 hours. When you lift it, check the underside for small, clear larvae. This is a foolproof way to see if your soil is infested.
- Quarantine: Move infested plants to a separate room if possible to prevent the spread to your healthy best sellers.
Step 2: Control the Adults with Sticky Traps
While the larvae do the damage, the adults do the breeding. To break the cycle, you need to stop the adults from laying more eggs. The most effective way to do this is with yellow sticky traps. Fungus gnats are naturally attracted to the color yellow. Place these traps at the base of your plants or stick them into the soil using small stakes.
Pro Tip: Don't just use one trap. Place them in every plant in the vicinity, even if you don't see gnats yet. This acts as an early warning system.
Step 3: Target the Larvae (The Secret to Success)
If you only focus on the flying adults, you will never win the war. You must treat the soil. Here are the three most effective methods for killing fungus gnat larvae:
1. The Hydrogen Peroxide Flush
This is a favorite among indoor gardeners because it’s cheap and effective. Mix one part 3% hydrogen peroxide with four parts water. Water your plants with this solution until it runs out of the drainage holes. The peroxide kills the larvae on contact and then breaks down into water and oxygen, which actually helps aerate the roots. You’ll likely hear a satisfying "fizzing" sound—that’s the peroxide working!
2. Mosquito Bits (BTI)
Bacillus thuringiensis israelensis (BTI) is a naturally occurring bacterium that specifically targets the larvae of flies like mosquitoes and fungus gnats. It is non-toxic to humans, pets, and the plants themselves. The best way to use "Mosquito Bits" is to make a "tea." Soak the bits in your watering can for 30 minutes, strain them out (to prevent mold on the soil), and water your plants with the treated water. This is arguably the most effective long-term solution for how to get rid of fungus gnats.
3. Beneficial Nematodes
If you prefer a biological approach, you can order beneficial nematodes (Steinernema feltiae). These are microscopic roundworms that hunt down and consume gnat larvae in the soil. They are incredibly effective but require the soil to stay slightly moist to move around, which can be a balancing act since gnats love moisture.
Step 4: Change Your Watering Habits
Fungus gnats thrive in consistently damp soil. If the top two inches of your soil are dry, the eggs and larvae cannot survive. This is why overwatering is the #1 cause of gnat infestations.
Switch to bottom watering. Place your plant in a tray of water and let it soak up moisture from the bottom. This keeps the top layer of soil dry, making it an inhospitable environment for gnats to lay eggs. This technique is especially helpful for plants like Begonias or Pothos that enjoy a bit of a dry-out period between waterings.
Step 5: Create a Physical Barrier
If you’ve treated the soil and the gnats keep coming back, you can "lock" them out. Adding a 1/2 inch layer of coarse sand, decorative pebbles, or diatomaceous earth to the top of the soil prevents adults from reaching the organic matter to lay eggs and prevents larvae from emerging. Diatomaceous earth is particularly effective because it is made of microscopic fossilized algae that are sharp to insects but harmless to us.
How to Prevent Fungus Gnats from Returning
Once you’ve cleared the infestation, you never want to go through it again. Prevention is much easier than a cure. Here is how to keep your Divine Roots collection safe:
- Inspect New Arrivals: Always check new plants for pests before bringing them home. At Divine Roots, we take immense pride in our quality control, but it’s always a good habit to quarantine any new plant for 14 days.
- Use High-Quality Soil: Cheap, big-box store potting mixes are often stored outdoors and may already contain gnat eggs. Opt for high-quality, well-draining mixes.
- Don't Overwater: Use a moisture meter or the finger test. If the top inch of soil is still wet, put the watering can down! For more tips, check out our complete guide to indoor plant care.
- Clean Up Debris: Remove fallen leaves and decaying organic matter from the surface of the soil promptly. This is the primary food source for fungus gnat larvae.
The "Carnivorous" Solution
Want a more natural (and exciting) way to manage pests? Consider adding carnivorous plants to your collection. Sundews (Drosera) and Butterworts (Pinguicula) are particularly effective at catching fungus gnats. Their leaves are covered in a sticky "dew" that traps the gnats, providing the plant with nutrients and you with a cleaner home. It’s a win-win!
Shop These Plants
Looking to expand your collection with healthy, vibrant greenery? Check out some of our favorite categories at Divine Roots Botanicals:
- Pet-Friendly Plants: Safe for your furry friends and beautiful for your home.
- Low Light Favorites: Perfect for those corners that need a splash of life.
- Hardy Succulents: The ultimate low-maintenance choice for busy plant parents.
- Air Purifying Plants: Breathe easier with these natural filters.
Frequently Asked Questions
Are fungus gnats harmful to humans or pets?
No, fungus gnats do not bite or sting humans or pets. They do not carry diseases that affect mammals. They are strictly a nuisance to people and a potential threat to the root systems of your houseplants.
Can I use cinnamon to get rid of fungus gnats?
Cinnamon is a natural fungicide, and since gnat larvae feed on fungus, it can help reduce their food source. However, sprinkling cinnamon on the soil is rarely enough to stop a full-blown infestation. It is best used as a preventative measure or in conjunction with other treatments like BTI.
How long does it take to get rid of fungus gnats?
Because of their 3-4 week life cycle, you should expect to treat your plants for at least a full month. Consistency is key—if you stop treating as soon as the adults disappear, the larvae in the soil will simply hatch and start the cycle all over again.
Will drying out my plant kill it?
Most houseplants, like Spider Plants or Succulents, can handle the soil drying out completely. However, moisture-loving plants like ferns or Calatheas may suffer. For those plants, use the Mosquito Bit tea or hydrogen peroxide method rather than extreme drying.
Do fungus gnats live in the air or the soil?
They live in both! The adults fly in the air around your plants, but they spend the majority of their life cycle as eggs, larvae, and pupae within the top few inches of your potting soil.

