Most bugs in houseplant soil are either harmless decomposers or fungus gnat larvae, and drying out the top 1 to 2 inches of potting mix fixes the majority of cases.
The fastest way to get rid of soil bugs is to identify them first, let the topsoil dry between waterings, trap flying adults with yellow sticky traps, and treat fungus gnat larvae with BTI (sold as mosquito bits). Only a few soil dwellers, like root mealybugs, call for repotting.
So before you reach for a spray, take a closer look. Tiny bugs in houseplant soil that jump are springtails, slow crawlers are often soil mites, and small black flies hovering over the pot are fungus gnats.
Each one needs a different response, and some need none at all.
How Can You Tell Which Bugs Are in the Soil?
You can identify most bugs in indoor plant soil by how they move, what they’re attracted to, and what you find on the roots. If you are stocking up, a set of yellow sticky traps is the first thing I would pick up.
Two cheap household tests (a potato slice and a bowl of water) reveal hidden larvae and root feeders that you’d otherwise miss.
Watch Whether They Fly, Jump, or Crawl
Movement is your first clue. Water the plant or tap the soil surface, then watch for 30 seconds.
- Flying: Small dark flies rising from the pot are fungus gnats or shore flies.
- Jumping: Tiny white or gray specks that pop into the air are springtails.
- Slow crawling: Pale or tan dots creeping across the mix are soil mites.
- Not moving, but cottony: White fuzz on roots or the pot rim points to root mealybugs.
Also check the leaves. Some houseplant pests live above the soil and only drop into it, so yellowing leaves with fine webbing suggest spider mites on indoor plants, while clusters on new growth are usually aphids on indoor plants.
Use a Potato Slice to Check for Larvae
Fungus gnat larvae hide just under the surface, so you rarely see them. I push 1/4-inch slices or wedges of raw potato into the mix as bait.
Leave the slices for three to four days, then flip them over. The larvae come up to feed on the potato, so you’ll spot clear, wormlike maggots with shiny black heads on the underside.
No larvae after four days? Your flies may be coming from another plant, or you may have a different bug entirely.

Try the Water Test and Inspect the Roots
For a quick look at what’s living deeper, set the pot in a bowl of water so the level comes up to the soil line for 10 to 15 minutes.
Springtails, soil mites, and other small critters float to the top, where you can see them against the water.
If the plant is wilting, stunted, or yellowing and you see no bugs on top, slide it out of the pot. Healthy roots look firm and white or tan.
White, waxy patches clinging to the roots or the pot wall need a closer look with a magnifying glass.
Fungus Gnat Larvae in Damp Soil
Fungus gnats are the most common soil pest indoors, and the larvae, not the flying adults, are the ones that live in your potting mix. They breed in constantly damp soil and are a nuisance more than a plant killer in most homes.

How to Recognize Adults and Larvae
Adult fungus gnats are delicate black flies about 1/8 inch long with long legs and antennae. They’re weak fliers that move in short, erratic bursts near the plant and gather at windows.
The larvae are translucent, wormlike, and up to 1/4 inch long with a black head. They feed mostly on fungi, algae, and decaying plant matter, but heavy numbers can chew root hairs. Seedlings, cuttings, and young plants take the most damage.
Females lay up to 200 eggs in moist soil, and the life cycle runs about three to four weeks at room temperature. That’s why the problem builds fast and why one round of treatment rarely ends it.
Yellow sticky traps are the easiest way to gauge numbers before and after you act.
How to Tell Fungus Gnats from Shore Flies
Shore flies look similar but are stockier, with short antennae and stronger, more direct flight. They feed on algae, so you’ll find them around soggy, green-crusted soil and plant trays.
| Trait | Fungus gnat | Shore fly |
|---|---|---|
| Body | Slender, mosquito-like | Chunky, housefly-like |
| Antennae | Long | Short |
| Flight | Weak, erratic | Fast, direct |
| Wings | Clear to smoky | Dark with light spots |
| Larvae feed on | Fungi, decay, roots | Algae |
Both respond to the same fix: drier soil. If you’re still unsure what’s flying around, my guide to tiny black bugs on indoor plants covers more look-alikes. To get rid of fungus gnats for good, you’ll need the larval treatments covered further down.
Springtails That Jump When Disturbed
Springtails are tiny white, gray, or dark specks, about 1/16 inch long, that leap when you water or touch the soil. They use a forked, tail-like part under the body to spring into the air.
Why Springtails Usually Don’t Need Treatment
Springtails eat mold, algae, fungi, and decaying organic matter. They don’t bite people or pets, and they don’t feed on healthy roots in any meaningful way, so I leave small numbers alone.
What they do tell you is that the soil stays wet. Springtails dry out and die quickly in low humidity, so a big population means your mix is soggy or breaking down.
If you see dozens jumping every time you water, here’s what I’d do:
- Let the top 1 to 2 inches of soil dry before watering again.
- Empty saucers and cache pots within 30 minutes of watering.
- Scrape off any moldy or decaying material on the surface.
- Repot in fresh mix if the old soil smells sour or stays wet for a week.
Within a couple of weeks of drier conditions, springtail numbers drop on their own. No spray is needed.
Root Mealybugs and Other Root-Feeding Pests
Root mealybugs are the soil bug I take most seriously, because they feed directly on roots and can kill a plant before you notice them. They’re relatives of the cottony mealybugs you see on stems, and they spread easily between pots.
Look for Cottony Patches and Declining Growth
Root mealybugs are small, oval, and about 1/16 to 1/8 inch long, coated in white, powdery wax. They often look like specks of perlite stuck to the roots, so check whether the “perlite” moves when you nudge it.
The damage shows up above ground first:
- Yellowing leaves, starting with older, lower ones
- Wilting even though the soil is moist
- Slow or stalled new growth
- Leaf drop on a plant that should be thriving
Succulents, cacti, and African violets are frequent targets. A white waxy ring along the inside of the pot or around the drainage hole is a strong sign. For other pale pests, my guide to tiny white bugs on plants helps you sort them out.
Distinguish Root Mealybugs from Root Aphids
Root aphids also feed on roots and leave behind some white wax, which makes them easy to confuse with root mealybugs. Root aphids are pear-shaped with two tiny tubes on the rear end, and they move more readily when disturbed.
Root mealybugs are flatter, more oval, slower, and covered more heavily in powdery wax. Either way, the treatment is the same: isolate the plant, wash the roots, and repot. Since both spread through shared soil and tools, clean pots and pruners between plants.

Soil Mites Moving Across the Potting Mix
Soil mites are tiny round dots, white, tan, or brown, that crawl slowly over the surface of damp potting mix. Most are decomposers that break down dead roots and organic bits.
When to Leave Soil Mites Alone
I leave soil mites alone in nearly every case. They don’t jump, fly, or bite, and they help recycle nutrients in the mix.
They show up most in bark-heavy, compost-rich, or older potting mix that holds water. A sudden crowd of them is a moisture signal, much like springtails.
Act only if you see:
- Large clusters on the soil surface every day
- Mites on leaves or stems (those are likely spider mites, a different pest)
- A plant that’s declining with no other cause
In those cases, let the soil dry more between waterings and replace the top inch of mix. If mites cover the whole root ball and the soil is breaking down, repot.
Many soil mites are part of the wider group of beneficial bugs for indoor plants, so killing them gains you nothing.
Larger Visitors: Centipedes, Pill Bugs, and Ants
Bigger critters in a pot almost always came in from outside, often when a plant spent summer on a porch or patio. Most aren’t hurting the plant directly, but they do point to a problem worth fixing.
Which Visitors Signal a Moisture or Nesting Problem
Centipedes are fast, flattened, and have one pair of legs per body segment. They hunt other small bugs, so a single centipede is eating your fungus gnats and springtails, not your plant. Their presence still means the pot is damp, dark, and full of prey.
Millipedes and pill bugs (roly-polies) eat decaying matter and sometimes nibble tender roots or seedlings. They need constant moisture, so they point straight to overwatering or a pot that sits in water.
Ants are the one I act on quickly. They can nest in dry pockets of a root ball, and they protect sap-feeding pests like aphids and mealybugs for the honeydew. Ants in a pot often mean another pest is hiding nearby.
To clear any of these, submerge the pot in a bucket of water with a few drops of mild dish soap for 15 to 30 minutes, then let it drain fully. Do this outdoors before bringing summered plants back inside in early fall.
Why Do Bugs Move into Potting Soil?
Moisture is the main reason. Bugs in houseplant soil come in on new plants or mix, then thrive when overwatering keeps the potting mix wet and rich in decaying material.
Constant Moisture and Decaying Organic Matter
Moist growing media is the