You water your fiddle leaf fig, and a small cloud of tiny black flies erupts from the soil. They bounce around your face, land on your laptop screen, and generally make you wonder why you ever thought indoor plants were a good idea.
Welcome to the world of fungus gnats. These little pests are one of the most common indoor plant problems, especially in apartments where conditions stay warm and cozy year-round. The good news? They’re annoying, but they’re not a disaster. Your plants will usually survive just fine, and you don’t need to bring out heavy-duty pesticides to deal with them.
Fungus gnats are attracted to moist soil, where they lay eggs that hatch into tiny larvae. Those larvae feed on organic matter and sometimes nibble on delicate roots. The adults are mostly harmless but incredibly irritating as they flit around your living space.
The internet is full of fungus gnat advice, and not all of it works. Some methods sound promising but barely make a dent. Others actually solve the problem but require a bit of patience and consistency.
This guide focuses on what actually works for fungus gnat control indoors. We’ll walk through practical treatments that don’t require a chemistry degree or a trip to a specialty garden center. Most solutions use things you might already have at home, or can easily pick up at a regular store. By the end, you’ll know how to break the gnat life cycle, protect your plants, and reclaim your peaceful apartment from these tiny invaders.
Make sure they are actually fungus gnats
Before you start treating anything, take a minute to confirm what you’re actually dealing with. Fungus gnats are tiny dark flies, usually black or dark gray, that hover around your plant pots like miniature helicopters. They’re weak fliers and tend to hang out right near the soil surface rather than zooming around the room.
The easiest way to check is to gently tap the side of your pot and watch what happens. If a small cloud of dark flies lifts off from the soil, you’ve probably got fungus gnats. You might also notice adults resting on the rim of the pot or on the soil itself, especially if you water in the morning and check back an hour later.
Fungus gnats are often confused with fruit flies, but fruit flies are tan or brown and gravitate toward your fruit bowl, trash can, or anything fermenting in the kitchen. They’re rounder and faster. Drain flies are another lookalike, but they’re fuzzy and moth-like, and they hang around sinks or shower drains instead of plants.
If you want to be absolutely sure, grab a yellow sticky card from a garden center or online and place it horizontally on the soil or stick it into the pot near the surface. Check it after a day or two. Fungus gnats are attracted to yellow and will get stuck on the card, giving you a clear picture of what’s buzzing around your plants.
Once you know it’s definitely fungus gnats, you can move forward with the right treatment instead of wasting time on solutions meant for completely different pests.
Understand why they show up in apartments
Fungus gnats aren’t after your plants. They’re after the moist organic matter sitting in the top layer of your potting soil. The tiny larvae hatch and feed on decomposing bits of bark, peat, and root material. Adult gnats lay eggs in damp soil, and the cycle repeats itself every few weeks.
Apartments create the perfect environment for this to happen. Most of us tend to water on a schedule rather than checking the soil first. That keeps the top inch perpetually moist, which is exactly what fungus gnats need to thrive. Low natural light slows down how fast water evaporates, so even if you’re not overwatering by houseplant standards, the soil surface stays wet longer than it would in a bright spot.
Large pots hold more moisture and take longer to dry out between waterings. Saucers under your plants can trap water and wick it back up into the soil, keeping things damp from below. And here’s the frustrating part: bagged potting mix from the store sometimes already contains gnat eggs or larvae. You can bring them home without realizing it.
This matters because swatting the adults you see flying around won’t solve the problem. Those are just the visible part of a much bigger population living in your soil. Real fungus gnat control indoors means interrupting their life cycle at the source. That means making the soil less hospitable for eggs and larvae, not just chasing the adults with a flyswatter. Once you understand what’s feeding them, the fixes start to make a lot more sense.
Reduce the flying adults right away
The flying gnats are what make this problem so maddening. They hover around your face, land in your coffee, and generally make you regret ever bringing plants indoors. The good news is you can knock down their numbers quickly while you work on the real source of the problem in the soil.
Yellow sticky traps are your first move. These are small cards coated with a tacky substance that fungus gnats can’t resist. Place them right at soil level, as close to the pot as you can get them. The gnats will fly into the traps and get stuck. You’ll see results within hours, which feels surprisingly satisfying after days of swatting at tiny specks.
Here’s what sticky traps actually do: they catch the adults that are already flying around. What they don’t do is touch the larvae living in your soil, which means new gnats will keep emerging if you don’t address the root cause. Think of traps as relief, not a cure.
Moving your most infested plants away from kitchens and dining areas makes daily life more pleasant while you’re dealing with the problem. You’re not giving up, you’re just not eating breakfast next to a gnat nursery.
A small fan pointed near your plants creates gentle airflow that makes it harder for these weak fliers to hover and land. Fungus gnats aren’t strong in the air, and even a light breeze throws them off course. This also makes it tougher for them to settle on the soil and lay more eggs. Just use a low setting. You’re discouraging gnats, not training your plants for a wind tunnel.
Make the potting mix less inviting without harming the plant
Fungus gnats love damp soil. The tiny larvae feed on organic matter and fungi in the top few inches of your potting mix, so keeping that zone drier is one of the most effective ways to break their cycle.
Let the top inch or two of soil dry out between waterings. This sounds simple, but it’s a real shift for many of us who water on autopilot. Stick your finger into the soil before you reach for the watering can. If it feels moist an inch down, wait another day or two. Some plants tolerate drier conditions better than others—succulents and snake plants can go even longer, while ferns and calatheas prefer things a bit more consistently moist. Adjust based on what you’re growing, but even moisture-lovers benefit from a little surface dry-down.
Empty your saucers regularly. Standing water keeps the bottom of the pot soggy, and that moisture creeps back up into the soil. If you can, try bottom-watering occasionally. Set the pot in a shallow dish of water for ten or fifteen minutes, let the soil soak up what it needs, then remove it. This keeps the surface drier while hydrating the roots.
Better airflow and more light help the soil dry faster. A small fan nearby or simply pulling plants away from a dim corner can make a difference in apartment settings where air tends to sit still.
Clean up any dead leaves or plant debris sitting on the soil surface. That stuff breaks down and becomes gnat food. If gnats keep coming back, you can add a thin layer of something dry on top—sand, fine gravel, or even a bit of horticultural grit. This optional barrier makes it harder for adults to lay eggs and for larvae to reach the surface. It’s not essential, but it helps in stubborn cases.
Treat the larvae in the soil with indoor-safe options
Adult gnats are annoying, but the real problem lives underground. The larvae feeding in your soil are what keep the cycle going. If you only chase the adults, you’ll be swatting forever.
The good news is that you can target larvae directly without turning your living room into a chemical zone. One of the most effective approaches uses beneficial bacteria, usually a strain called Bacillus thuringiensis israelensis. It sounds intimidating, but it’s just a naturally occurring soil bacteria that disrupts gnat larvae specifically. You mix it with water and pour it into the soil like you’re watering your plants.
There are also granular products designed to kill larvae when they come into contact with treated soil. These work well for heavier infestations and tend to stay active for a few weeks.
Whatever you choose, consistency matters. Fungus gnats go from egg to adult in about three to four weeks, so you need to treat for at least that long to break the cycle. One application might knock down the current batch of larvae, but eggs and pupae can still be waiting in the soil.
A few safety habits go a long way. Always follow the label directions, even if the product seems gentle. Keep treatments out of reach of kids and pets until the soil dries. And treat every pot that shares the same space, not just the one with visible gnats. Larvae don’t stay put, and neither do the adults laying eggs.
You’re not trying to sterilize your home. You’re just interrupting a pest that thrives in damp soil, and doing it in a way that respects the fact that you live there too.
Decide when repotting is worth it
Repotting feels like the nuclear option when you’re dealing with fungus gnats, and honestly, it usually is. You don’t need to repot every infested plant. Most of the time, adjusting your watering and using a treatment like BTI or a trap will solve the problem without the mess and stress of a full soil swap.
But sometimes repotting actually makes sense. If your potting mix stays soggy for weeks no matter how little you water, the soil itself might be the problem. Old mix that’s broken down into dense, peaty muck holds way too much moisture and creates a perfect gnat nursery. If you notice a swampy or composty smell when you stick your finger in the soil, that’s another sign the mix has gone bad.
Repotting also helps when you’ve tried everything else and the gnats keep coming back. And if you bring home a new plant that’s clearly crawling with gnats, dealing with it immediately saves you weeks of trouble.
The process doesn’t need to be complicated. Gently knock off as much of the old, infested soil as you can without damaging the roots. Wipe down the pot with warm soapy water, then replant in fresh, well-draining indoor potting mix. The key word is fresh. Using old bags of potting mix that have been sitting open in your apartment can reintroduce the problem, since gnats love to lay eggs in moist soil even when it’s still in the bag.
One more thing that makes a real difference: keep new plants isolated for a week or two before adding them to your collection. It gives you time to spot any indoor plant pests before they spread to everything else on your windowsill.
Keep plant stress low while you control gnats
When you’re tackling fungus gnats, it’s easy to accidentally stress out your plants in the process. The most common mistake is letting soil dry out too much between waterings. While gnats love moisture, some plants really don’t like going bone dry. Ferns, calatheas, and peace lilies can get droopy and crispy if they’re left too long without water.
The trick is finding a middle ground. Let the top inch or two of soil dry out before watering again, but don’t wait until the whole pot feels light as air. Stick your finger into the soil past your first knuckle. If it feels cool and slightly damp down there, you can wait another day or two.
Watch your plants for signs they’re unhappy with the new routine. Leaves that feel thin or papery might mean the plant needs water sooner. Yellowing leaves that feel soft and mushy usually point to too much moisture still hanging around. Neither is a disaster, just a signal to adjust your timing.
While you’re managing all this, give your plants some basic support to help them bounce back. Make sure they’re getting enough light for their type, since stressed plants in dim corners recover more slowly. A little airflow from a nearby fan helps soil dry evenly and discourages gnats from settling in.
Take a minute every few days to pull off any dead leaves or flowers sitting on the soil surface. This isn’t about being a perfect plant parent. It just removes the decaying material that gnats love to hang around. Think of it as tidying up to make their environment less welcoming while your plants get back to normal.
Prevent the next wave in a small indoor space
Once you’ve dealt with an infestation, a few simple habits can help you catch the next round early. The goal isn’t perfection—occasional gnats can still show up even when you’re doing everything right. But getting ahead of them means they stay a minor annoyance instead of turning into a full-blown problem.
Start by quarantining new plants for about two weeks before mixing them with your collection. Keep them in a separate corner or room if possible. This gives you time to spot any hitchhiking pests before they spread. It’s not foolproof, but it’s worth the small effort.
Sticky traps aren’t just for treatment—they make excellent early warning systems. Keep one or two near your plants all the time. If you start seeing gnats on the trap, you know to check your watering routine before things get out of hand.
The biggest prevention step is adjusting how you water. Let the top inch or two of soil dry out between waterings. Fungus gnats need constantly moist soil to thrive, so breaking that cycle makes your plants less appealing to them.
In a small apartment, try grouping plants by how much water they need. This keeps you from overwatering your succulents just because your ferns are thirsty. It also makes your routine simpler and more consistent.
Finally, store your potting mix in a sealed container in a dry spot. Open bags left in damp areas can develop gnat larvae before you even use them. It’s a small detail, but it removes one more entry point.
None of these steps are complicated or time-consuming. Together, they help you stay on top of fungus gnat control indoors without turning plant care into a chore.