What to Do About Gnats on Your Indoor Plants (And How to Avoid Them in the Future)

How to Get Rid of Gnats on Indoor Plants (And Stop Them Coming Back)
Healthy indoor houseplants in a bright living room — gnat-free

You're watering your monstera, minding your business, and then — a little cloud of tiny flies lifts off the soil and scatters toward your face. Ugh. Fungus gnats. The most annoying uninvited roommates in the plant world.

Okay, deep breath. They're mostly harmless to you. But if you let them hang around, the larvae in your soil will start chewing on your plant's roots. And that's where "annoying" turns into "actually a problem."

Even worse? A lot of the fixes people reach for — chemical drenches, harsh pesticides — wipe out the good stuff in your soil right along with the gnats. You solve one problem and create another. Let's not do that. Here's how to actually get rid of fungus gnats on your houseplants without torching your soil biology in the process.

First: What Even Are These Things?

People throw around "gnats," "fruit flies," and "fungus gnats" pretty interchangeably. What you're almost certainly dealing with near your houseplants are fungus gnatsBradysia species, technically, though you don't need to remember that. They look like tiny mosquitoes, they love damp soil, and their larvae are the ones actually causing trouble underground.

Adult gnats don't bite. They don't harm plants directly either. But they lay up to 200 eggs at a time in moist soil — and those eggs hatch into larvae that munch on organic matter and, unfortunately, plant roots. Seedlings and stressed plants are most vulnerable.

When you see them hovering around your pots, that's your cue. Not a five-alarm emergency. Just: time to deal with it.

Healthy indoor houseplants on a windowsill in the sunlight

How to Get Rid of Gnats Without Wrecking Your Soil

The goal here is to knock out the gnats — adults and larvae both — without destroying the living ecosystem in your soil. Healthy soil is full of beneficial bacteria and fungi that your plants actually depend on. You don't need to nuke all of that just to kill a few gnats.

1. Yellow Sticky Traps — Start Here

Cheap. Effective. Zero impact on your soil. Fungus gnats are oddly attracted to the color yellow (honestly no one fully understands why), so yellow sticky traps placed right at soil level catch adults like crazy. They fly in, they're done.

Traps won't touch larvae, but they cut the adult population fast — which means far fewer eggs getting laid. They're also your early warning system. Filling up quickly? You've got an active infestation. Slowing way down? You're winning.

2. The Handheld Vacuum Move

Look, I know this sounds ridiculous. But it works. When you spot a cluster of gnats hovering near the soil, just vacuum them up with a small handheld vac. No chemicals, no fuss, and — not gonna lie — extremely satisfying.

Empty the canister away from your plants. It's not a cure on its own, but paired with sticky traps and smarter watering, it makes a real dent fast.

3. Let the Soil Dry Out — This One's Big

Real talk: this is probably the most important step. Fungus gnats need moisture. Their eggs don't hatch well in dry conditions. The larvae die once soil dries out. If you've been keeping your soil consistently damp — especially in that top inch or two — you've accidentally built a perfect little gnat nursery.

Let the top 1–2 inches dry out completely before you water again. Here's the thing — for most houseplants, this is actually the right way to water anyway. Overwatering kills more houseplants than underwatering ever does. So fixing the gnat problem might fix your whole watering routine at the same time. (If you've already gone overboard with the watering and your plant looks rough, our guide on recovering overwatered plants can help you get it back.)

The finger test: Before watering, stick your finger about an inch into the soil. Still damp? Put the watering can down. Dry? Water thoroughly, then let it dry out again before next time. That one habit will make a massive dent in your gnat problem all by itself.

4. Beneficial Nematodes — The Underground Fix

If you've got larvae in your soil (and you probably do if gnats are visible), beneficial nematodes are your best option for dealing with them without collateral damage. These are microscopic worms — Steinernema feltiae is the species used for fungus gnats — that hunt and kill larvae underground. You mix them into water and apply as a soil drench.

They work within a few days, they're safe for plants, people, and pets, and they actually support a healthy soil ecosystem instead of trashing it. Just order from a reputable source and use them right away — live nematodes have a short shelf life.

5. What NOT to Do

Two things come up constantly that I'd steer you away from:

Hydrogen peroxide drenches. Yes, a diluted H2O2 mix kills larvae. It also kills the beneficial microbes your soil needs to function. If you've invested in living soil biology, this is a bad trade. Last resort only — and only if nothing else is working.

Chemical pesticides and insecticides. Same deal — they're broad-spectrum killers that can't tell the difference between a gnat larva and a beneficial bacterium. If keeping your home chemical-free matters to you (and honestly, if you're reading an organic gardening blog, I'm guessing it does), skip these. We've got a whole guide on what actually works for indoor pest control without the chemical fallout.

Collection of healthy indoor houseplants thriving in organic potting soil

Here's the Part Nobody Tells You: The Soil Is Usually the Culprit

You can trap and vacuum gnats all day. If you don't deal with the root cause, they'll keep coming back.

Here's something a lot of people don't know: the most common reason you get fungus gnats on indoor plants has nothing to do with anything you did wrong. It has everything to do with the soil you bought.

Most bagged potting mix is processed and stored outside — or at least in conditions where gnat eggs and larvae can hitch a ride in easily. You bring that bag home from the hardware store, pot up your plant, and a week later you've got gnats. You didn't bring them in. The soil did.

This happens most with the cheapest bags. Budget-conscious gardening is totally fine — but this is one of those spots where spending a couple extra dollars on better soil saves you weeks of pest management. Look for soil made and packaged in a controlled indoor environment, from a company that's transparent about what goes into it and how it's made.

Our Soil Is Mixed Indoors — and That Actually Matters

We make our soil right here at our facility in Grandview, Missouri — inside, not sitting in bags out in the rain. Our All-Purpose Potting Mix and Aroid Mix are built on a foundation of Ancient Soil worm castings and living microbial biology, designed specifically for indoor plants. The way we make them means no uninvited guests are coming along for the ride.

Shop All-Purpose Potting Mix →

Plant Perfection Monthly: Your Gnat Insurance Policy

Once you've dealt with an active infestation, the goal is making sure it doesn't come back. This is where Plant Perfection earns its place in your routine.

We made Plant Perfection to do three things: clean and shine leaves, repel dust, and protect against soft-bodied insects — including fungus gnats, aphids, and spider mites. Spray it on your leaves (top and bottom) once a month. It creates a natural barrier and breaks the reproduction cycle by dealing with eggs you can't even see yet.

It's not a pesticide. It's not a chemical drench. It's food-grade, safe around kids and pets, and just good plant hygiene. Bonus: your leaves will actually look better too. Clean leaves photosynthesize up to 50% more efficiently than dusty ones — so it's doing double duty.

The Plant Care Kit — Feeding + Protection, Done

If you want to get your whole indoor plant routine dialed in, the Plant Care Kit covers everything. You get Plant Juice — our liquid fertilizer brewed with 291+ beneficial microbial species — plus Bloom Juice for flowering plants and Plant Perfection for monthly pest protection. Everything your plants need, nothing they don't.

Shop the Plant Care Kit →

The Bigger Picture: Gnats Are a Symptom, Not the Disease

Gnats show up when something's out of balance. Usually it's a combo of soil that came with hitchhikers and conditions — moisture, decaying organic matter — that let them thrive. Fix the conditions, start with better soil, and gnats stop being a thing you deal with regularly.

Healthy soil with a strong microbial ecosystem is actually your best long-term pest defense. Trichoderma — one of the beneficial fungi in our products — is a natural competitor to the pathogens and decaying matter that gnats love to feed on. When your soil is biologically active and balanced, it's just not a very welcoming place for pests.

Our Plant Juice is brewed with 291 species of beneficial bacteria and fungi — including Trichoderma — that feed your plants and keep your soil ecosystem working the way it should. If you want to dig into how all of this works at the microbial level, our post on how fungi improve soil nutrient cycling is a genuinely interesting read. (I'm biased, obviously. But it really is.)

Your Quick-Start Gnat Action Plan

If you're dealing with a gnat situation right now and just want to know what to do in order — here it is:

Right now: Put out yellow sticky traps near soil level. Stop watering for a few days and let the top layer dry out completely. Vacuum up any adults you can see.

Next watering: Apply beneficial nematodes as a soil drench if larvae are suspected. Keep letting the soil dry between waterings — don't go back to consistently moist.

Going forward: Switch to quality indoor-made soil for any repotting. Add Plant Perfection to your monthly routine. Stick with the finger-test method for watering.

If they keep coming back: The soil is the issue. Repotting into clean, fresh soil and starting over is honestly the fastest fix when an infestation is really dug in.

Elm Dirt Plant Care Kit including Plant Juice, Bloom Juice, and Plant Perfection for indoor plants

You've Got This

Gnats are frustrating, but they're not some unsolvable mystery. Sticky traps, a handheld vacuum, smarter watering, and beneficial nematodes if you need them — that combo will handle it without nuking your soil biology in the process.

And if you never want to bring gnats home in a bag of potting mix again? Start with soil that was made right. Our All-Purpose Potting Mix and Aroid Mix are made indoors, packed with living microbial biology, and built for indoor plants specifically. Add monthly Plant Perfection sprays, water correctly, and gnats go from "chronic problem" to "thing that happened once that you totally handled."

Your plants are going to be just fine.

Shop the Plant Care Kit — $59.95 →

Frequently Asked Questions About Gnats on Indoor Plants

What causes gnats in indoor plants?

Most of the time? The soil you bought. Bagged potting mix stored outdoors at garden centers picks up gnat eggs and larvae before it ever reaches your home. Overwatering makes it worse because moist soil is exactly where gnats want to breed.

How do I get rid of gnats on houseplants without killing the soil?

Yellow sticky traps for the adults, let the soil dry out between waterings to stop new eggs from hatching, and apply beneficial nematodes if larvae are established. Skip the harsh pesticides — they'll take out the beneficial microbes right along with the gnats.

Does hydrogen peroxide kill fungus gnats?

It kills larvae, yes — but it also wipes out beneficial microbes in your soil. Treat it as a last resort for severe infestations, not step one. Nematodes and dry-out cycles first.

What soil doesn't have gnats?

Soil made and packaged indoors in a controlled environment is far less likely to have hitchhikers. That's why we mix our All-Purpose Potting Mix and Aroid Mix inside our facility in Grandview, Missouri — not left sitting in bags outside a big-box store.

How do I prevent fungus gnats long-term?

Start with quality indoor-made soil, water correctly (let soil dry between waterings), and use Plant Perfection spray once a month. It repels soft-bodied insects including fungus gnats and breaks the egg cycle before you ever see a cloud of flies.

Are fungus gnats harmful to people or pets?

Nope. Adults don't bite and they're not a health risk to you, your kids, or your pets. Larvae can damage plant roots if the population gets out of control — especially for seedlings — but no need to panic for your household.

Back to blog