October 30, 2026
A young adult closely inspecting a potted plant in a sunlit apartment, focusing on small gnats near the soil while searching for simple indoor pest solutions.

You’ve probably seen them. Those tiny black flies hovering around your apartment plants, doing lazy loops near the soil whenever you walk by or water your favorite pothos. They’re not fruit flies and they don’t seem interested in your kitchen. They just hang around your plants like uninvited guests at a party.

These are fungus gnats, and they’re one of the most common indoor pests for apartment plant owners. The good news is they’re mostly annoying rather than dangerous. Adult gnats don’t hurt your plants much at all. They’re just visible and irritating.

The real issue happens under the soil. Fungus gnat larvae feed on organic matter and sometimes nibble on tender roots, especially in seedlings or stressed plants. But even then, a healthy plant can usually handle them without major damage.

Here’s what matters most: you don’t need special sprays, expensive traps, or a garage full of gardening equipment to deal with fungus gnats in your apartment. You also don’t need to panic or throw out your plants. Most solutions involve simple changes to how you care for your soil and water your plants.

This problem is fixable with things you probably already have at home. The key is understanding what fungus gnats need to survive and then making your plant pots a less comfortable place for them. Once you adjust a few habits, those annoying little flies will disappear on their own.

Make sure it’s fungus gnats (not fruit flies or drain flies)

Before you start treating anything, take a minute to confirm what you’re actually dealing with. Fungus gnats look like tiny dark flies, almost like miniature mosquitoes. They’re usually black or dark gray, and they’re small enough that you might mistake them for specks of dirt at first glance.

The biggest clue is where they hang out. Fungus gnats live around your plant pots and soil. If you see little flies hovering just above the soil surface or circling around the base of your plants, that’s your sign. Try gently tapping the side of the pot. If a small cloud of dark flies suddenly lifts off the soil, you’ve got fungus gnats.

Fruit flies and drain flies can look similar from a distance, but they have different favorite spots. Fruit flies cluster around your fruit bowl, compost bin, or anywhere food sits out. Drain flies prefer bathroom and kitchen sinks, especially if there’s buildup in the pipes. They tend to hang around drains and don’t usually bother with your plants.

Here’s the simplest test: watch where the flies spend most of their time. If they’re constantly landing on or near your potting soil, especially after you water, you’re looking at fungus gnats. If they ignore your plants completely and head straight for the banana on your counter or the sink drain, you’ve got a different problem that needs a different solution.

Getting this right matters because fungus gnat fixes focus on soil and watering habits, while fruit fly solutions target food storage. Treating the wrong pest just wastes your time.

Understand why they keep coming back in indoor pots

Fungus gnats aren’t just visiting your plants. They’re living there, raising families, and treating your potting soil like an all-inclusive resort. The adults are those tiny dark flies you see hovering near the pot. They lay eggs in the top layer of soil, and when those eggs hatch, the larvae feed on organic matter and roots in the moist mix. A week or two later, new adults crawl out and the whole cycle starts over.

The key word here is moist. Fungus gnat larvae need consistently damp soil to survive. They can’t handle dry conditions. So every time you water, you’re basically rolling out the welcome mat again.

In apartments, a few habits make this worse without you realizing it. Watering a little bit every few days keeps the top layer perpetually damp, which is exactly what the larvae love. Low light near windows or in corners means the soil dries out slowly, so it stays in that danger zone longer. And if your pot sits inside a decorative planter or saucer, leftover water can wick back up into the soil, keeping it moist even when you think it’s drying out.

Breaking the cycle means making the top inch or two of soil a hostile place for eggs and larvae, while still giving your plant the water it needs deeper down. You’re not trying to kill every single gnat at once. You’re just making your pots less convenient for them to reproduce. Once the soil stops being a nursery, the problem fades on its own.

Adjust watering so the top of the soil dries more reliably

Fungus gnats need wet soil to survive. The adults lay eggs in moist potting mix, and the larvae feed on decaying plant matter and fungi that thrive when things stay soggy. If you let the top layer of soil dry out between waterings, you break that cycle without spending a cent.

The easiest change is watering less often. Most apartment plants can handle more drought than we think, especially in winter when growth slows and light is weaker. Instead of watering on a schedule, check each pot before you water. Stick your finger into the soil up to your first knuckle. If it feels cool and damp, wait another day or two. If it feels dry or just barely moist, go ahead and water.

When you do water, do it thoroughly. Add enough so a little runs into the saucer, then come back twenty minutes later and dump out whatever collected. Leaving plants sitting in water keeps the bottom of the pot constantly wet, which is exactly what gnats want. If your plant sits inside a decorative cachepot, tip that out too.

You’ll know a pot is too wet if the soil surface stays dark all the time, if you notice a musty smell when you get close, or if green algae starts forming on top. These are all signs that the soil isn’t drying enough between waterings. Let the top inch or two go completely dry before watering again. Some moisture-loving plants like ferns and calatheas may need a lighter touch, but even they benefit from a bit of surface drying to discourage pests.

Make the soil surface less inviting without repotting

Fungus gnats lay their eggs in the top layer of damp soil. If you can make that surface less cozy for them, you cut off their breeding ground without touching the rest of the pot.

Start by removing anything decaying on top. Dead leaves, dropped flower petals, or bits of stem create little damp pockets where gnats love to hang out. Just pick them off and toss them. This alone makes a surprising difference.

Next, check if the soil surface has formed a hard crust. Sometimes the top gets packed down and stays wet longer than it should. Use your finger or a chopstick to gently loosen the top quarter inch or so. You’re not digging deep, just breaking up that sealed layer so air can reach it. This helps the surface dry out faster between waterings.

You can also add a thin dry layer on top, something light and airy that dries quickly. Think of materials that won’t hold moisture against the soil. A light sprinkling of something coarse works better than anything fine and dense. The goal is to create a dry barrier that makes the soil less appealing for egg-laying, while still letting water reach the roots below when you water.

What you’re really doing is changing the environment at the surface. Gnats need consistent moisture to lay eggs successfully. When the top dries out fast and stays loose and airy, they move on. You’re not trying to seal anything off or block airflow to the plant. You’re just making the top inch less like a gnat nursery.

Reduce the flying adults with simple traps

Sticky traps give you fast relief from the most annoying part of a fungus gnat problem: the little flies buzzing around your face. These small yellow cards have adhesive on both sides that catches adult gnats when they fly past. They won’t solve the root problem, but they do make your space more comfortable while you work on the real fix.

Place the traps right next to your plant pots, not across the room. Fungus gnats stay close to the soil where they breed, so a trap on your bookshelf won’t catch many. Stick one trap into the soil of each affected plant, or lean it against the pot rim. The closer to the soil surface, the better.

You’ll likely see the traps fill up quickly in the first few days. Don’t panic when you count dozens of tiny bodies. That’s actually good news because it means fewer gnats are around to lay eggs. After about a week, the number of new catches should drop noticeably. This slowdown tells you the population is shrinking.

Keep traps away from curious pets and small children. The adhesive is strong and messy if it gets on fur or fingers. Also avoid letting the sticky surface touch your plant leaves, especially delicate ones. The glue can damage foliage and leave residue that’s hard to clean.

Think of sticky traps as your visual progress tracker. They reduce the adult population and show you whether your other efforts are working. When you stop seeing fresh gnats each day, you know you’re winning.

Treat what’s in the soil using low-mess, low-odor options

Once you’ve cut back on watering, you can take aim at the larvae already living in the soil. These are the baby gnats eating organic matter near the roots. Getting rid of them breaks the cycle without filling your apartment with fumes or sticky traps everywhere.

One gentle option is food-grade diatomaceous earth, a powdery substance made from crushed fossils. It sounds fancy, but it’s just a natural powder that damages soft-bodied larvae when they crawl through it. Sprinkle a thin layer on top of dry soil, then water lightly from below if you can. Too much water turns it into paste and stops it working. If you see white dust on your furniture or feel grit underfoot, you used too much.

Another approach is diluted hydrogen peroxide, the same stuff you’d use on a scrape. When mixed with water and poured gently onto soil, it releases oxygen that kills larvae on contact. The fizzing stops quickly and there’s no lasting smell. Use it on dry or barely damp soil, and don’t drench the pot or you’ll stress the roots. Let the soil dry out again before the next watering.

Some people also use a very weak mixture of mild dish soap and water, applied sparingly to the top inch of soil. The idea is that soap disrupts the larvae’s protective coating. This one’s messier and easy to overdo, so go light. If leaves start drooping or turning yellow after any treatment, you may have used too much or watered too soon afterward.

All of these work best when the soil isn’t already soaking wet. Think of them as part of drying out the environment gnats love, not a magic reset button.

Stop fungus gnats from spreading pot to pot

In an apartment, your plants probably live close together on windowsills, shelves, or counters. That’s perfect for the gnats. They hop from one pot to another like they’re visiting neighbors.

If you notice one plant has more gnats than the others, move it away from the group for a week or two. You don’t need a separate room or anything dramatic. Just put it across the room or on a different surface. This gives you time to dry out that soil and break the gnat cycle without letting them spread to every other plant.

Spilled soil on shelves or saucers is another hidden problem. Those little piles of potting mix stay damp and give gnats extra places to lay eggs. Wipe up spills with a damp cloth when they happen. It takes ten seconds and removes a breeding ground.

Don’t reuse old potting mix from other pots when you’re repotting indoors. It might already have gnat eggs in it, even if you don’t see any flying around. Fresh mix from a newly opened bag is safer, though even new bags can sometimes have gnats if they sat in a warehouse too long.

When you bring home a new plant, keep it separate for a few days and watch for gnats. If you see any, you’ll know which plant is the source. Same goes for watering cans or trays you use for bottom watering. If one plant is infested and you water it, then immediately water another plant with the same can, you might be moving eggs or larvae around. A quick rinse between uses helps.

None of this needs to be rigid or stressful. Just being a little more aware of how gnats travel between pots makes a real difference in a small space.

Know what improvement looks like and when to change tactics

The first thing you’ll notice is fewer gnats buzzing around your face when you water. That’s the traps doing their job. Within a week or two of drying out the soil and setting up traps, you should see adult numbers drop noticeably.

But here’s the tricky part: things might get worse again for a few days before they get better. The eggs and larvae already in the soil don’t die instantly when you stop overwatering. They’ll keep maturing and emerging as adults for another week or so. This is normal. Don’t panic and assume your approach isn’t working.

A simple way to track progress is to check your traps once a week. Are there fewer gnats stuck to them compared to last week? When you water, do you see fewer flying up? These casual observations tell you more than any complicated test.

You also need to watch your plants while you’re drying things out. Healthy plants can handle longer gaps between watering, but you don’t want to swing too far the other direction. If leaves start to droop or wilt and they don’t perk back up within a few hours of watering, you’ve waited too long. The goal is drier soil between waterings, not desert conditions.

If you’ve been consistent for three or four weeks and you’re still seeing lots of gnats, something else is going on. Check for hidden moisture sources like saucers full of water under pots, or a planter without drainage holes. Sometimes one problem plant keeps reinfecting all the others, and you need to isolate it or treat its soil more aggressively.