Common Bugs in Potting Soil and How to Get Rid of Them

The tiny bugs crawling or flying around your potting soil are most likely fungus gnats, springtails, or soil mites. All three are extremely common in indoor plants, and most of them are harmless or even beneficial. Knowing which ones you’re dealing with determines whether you need to act or can leave them alone.

Fungus Gnats: The Most Common Culprit

If you see small black flies lifting off the soil surface when you water your plants, those are almost certainly fungus gnats. Adults are about 3mm long (roughly the size of a sesame seed), with long legs, long antennae, and a delicate build similar to mosquitoes. They don’t bite, and the adults themselves don’t damage plants. The problem is their larvae.

Fungus gnat larvae live in the top few centimeters of moist soil. They’re white or translucent, legless, with a distinctive shiny black head. These larvae feed mostly on decaying organic matter and fungi in the soil, but in large numbers they also chew on fine root hairs. For established houseplants this is rarely serious, but seedlings and young cuttings can suffer noticeable damage or stunted growth when infestations are heavy. Adults lay eggs in moist soil, so overwatering is the single biggest factor that drives a fungus gnat population out of control.

Springtails: Tiny Jumpers That Help Your Soil

Springtails are grey or cream-colored specks, usually smaller than 2mm, that leap into the air when disturbed. You’ll often notice them after watering, when they migrate to the soil surface. They have no wings and move by flicking a small forked structure tucked under their body.

Despite their startling jumping, springtails are completely harmless to your plants. They feed on decaying organic matter, fungi, and algae in the soil. They’re actually part of a healthy soil ecosystem, breaking down dead material and recycling nutrients back into a form your plant can absorb. If springtails are the only bugs you’re seeing, you don’t need to do anything.

Soil Mites: Almost Always Beneficial

Soil mites are tiny, often barely visible dots (white, tan, or brown) moving slowly across the soil surface or along the inside of the pot. They’re easy to confuse with spider mites, but the two are very different. Spider mites live on leaves and suck plant sap. Soil mites live in the potting mix and feed on decomposing organic matter and fungi, playing a key role in soil health.

Most soil mites are decomposers. Some are predators that eat other tiny pests, helping keep your soil ecosystem balanced. With very few exceptions limited to commercial agriculture, soil mites don’t eat living plants and don’t need to be removed. If you’re seeing mites on the soil but your plant’s leaves look healthy, those mites are working in your favor.

Thrips: A Less Common but Damaging Find

Thrips are slender, elongated insects under 1.5mm long, colored brown, black, pale, or yellow. They can fly short distances and often show up on leaves as well as soil. Unlike the bugs above, thrips feed on living plant tissue and can cause silvery streaks, stippling, or distorted new growth on leaves. Part of their life cycle takes place in the soil, which makes them harder to control than purely leaf-dwelling pests. If you’re seeing tiny narrow insects on both leaves and soil, thrips are a stronger possibility than fungus gnats.

How to Get Rid of Fungus Gnats

Since fungus gnats are the one soil bug most people genuinely need to manage, here’s what works.

Let the Soil Dry Out

The simplest and most effective first step is allowing the top layer of soil to dry between waterings. Fungus gnat larvae need consistent moisture to survive. Letting the top inch or two dry out breaks their breeding cycle. This alone can resolve a mild infestation within a few weeks.

Hydrogen Peroxide Soil Drench

For a more active approach, mix one part 3% hydrogen peroxide to four parts water (for example, one cup peroxide to four cups water). Wait until the top layer of soil is dry and the plant needs watering, then water with this mixture. The peroxide kills larvae on contact and breaks down into water and oxygen, so it won’t harm roots. Because gnat larvae concentrate in the top 5cm of soil, you can also spray just the surface layer regularly rather than drenching the entire pot.

Beneficial Nematodes

Microscopic insect-killing nematodes are a biological option that targets larvae in the soil. These nematodes seek out gnat larvae, infect and kill them, then reproduce inside the dead insect to continue the cycle. They work in soil temperatures between 55°F and 85°F and remain effective in relatively cool conditions down to 50°F. You apply them mixed in water, watering the soil as normal. The soil needs to stay moist for at least two weeks after application so the nematodes can move through it and find their targets. Apply in the early morning or evening, since UV light kills them quickly.

Diatomaceous Earth as a Barrier

Food-grade diatomaceous earth (DE) can be dusted across the soil surface as a barrier. The fine powder works mechanically: its microscopic sharp edges abrade the waxy coating on insects, causing them to dehydrate. The catch is that DE loses its effectiveness when wet, so it works best on the soil surface between waterings. You can also mix it into potting soil at 2 to 3 percent by volume for ongoing prevention and larvae control deeper in the pot.

Yellow Sticky Traps

Placing yellow sticky traps near the soil surface catches adult gnats before they can lay more eggs. This won’t kill larvae already in the soil, but it reduces the next generation. Sticky traps are most useful as a supplement alongside one of the methods above.

Preventing Bugs in New Potting Soil

Bags of potting soil often arrive with fungus gnat eggs, springtails, or mite populations already inside. Organic mixes with lots of bark, compost, or peat are especially likely to harbor them. You can prevent this by heat-treating soil before potting.

The standard is heating moist soil to 140°F (60°C) for at least 30 minutes. This kills insect eggs and larvae along with most fungal pathogens. You can do this in a conventional oven by spreading soil in a shallow pan and monitoring with a meat thermometer. If you’re unsure the heat reached the coolest spot in the batch, either extend the time to a full hour at 140°F or raise the temperature to 158°F (70°C) for 30 minutes. A solar oven can reach these temperatures in a single afternoon during warm weather.

Other prevention habits that help: store opened bags of potting soil sealed tightly, avoid leaving trays of standing water under pots, and add a thin layer of coarse sand or perlite on top of the soil surface to discourage egg-laying. Bottom watering (placing pots in a tray of water and letting the soil wick it up) keeps the top layer drier and makes it far less attractive to fungus gnats looking for a place to lay eggs.

When Soil Bugs Signal a Bigger Problem

A few fungus gnats or some springtails hopping around after watering is normal and doesn’t mean anything is wrong with your plant. What you want to watch for is a population that keeps growing despite letting the soil dry out. Persistent, heavy infestations often point to soil that’s staying too wet because of poor drainage, a pot without drainage holes, or a root system that’s too damaged or rotted to absorb water effectively. In those cases, repotting into fresh, well-draining soil and a pot with adequate drainage solves the underlying issue that no amount of pest treatment can fix on its own.

If you’re seeing damage on leaves (silvery streaks, stippling, webbing, or curling) rather than just bugs in the soil, the problem may be sap-feeding pests like thrips, spider mites, or broad mites rather than harmless soil dwellers. These require targeted treatment on the foliage, not just the soil.