Centipedes end up in houseplant pots because the soil offers exactly what they need: moisture, organic matter, and small prey like fungus gnats and springtails. Getting rid of them is mostly a matter of making the pot environment less hospitable, which means adjusting how you water, what your soil mix looks like, and whether you’re inadvertently feeding the tiny organisms centipedes hunt. The good news is that centipedes are predators, not plant eaters, so the situation is rarely urgent.
Why Centipedes Move Into Houseplant Soil
Centipedes are moisture-dependent creatures. Unlike insects, they lack a waxy coating on their exoskeleton, so they dry out quickly in open air. That makes damp potting soil an ideal refuge, especially in a home where the surrounding environment is climate-controlled and relatively dry. Research on centipede ecology has confirmed that soil moisture content, organic matter levels, and soil compaction all influence where centipedes congregate in the wild, and the same principles apply to a pot sitting on your windowsill.1Journal of Zoology. Factors influencing the distribution, abundance and diversity of geophilomorph and lithobiomorph centipedes A consistently wet, humus-rich potting mix is essentially rolling out the welcome mat.
The other draw is food. Overwatered houseplants often develop populations of fungus gnats, springtails, mites, and other tiny soil-dwelling organisms. Centipedes are voracious predators of all of these, so a pot teeming with small invertebrates is a buffet. If you’ve noticed tiny flies hovering around your plant, the centipede likely followed them in. Solving the centipede problem often means solving the prey problem first.
Are Centipedes Actually Harmful to Plants?
Almost never. Centipedes are strict carnivores. They don’t chew roots, gnaw stems, or feed on leaves. The ones you find in houseplant soil are typically small soil centipedes (order Geophilomorpha) or stone centipedes (order Lithobiomorpha), both of which hunt soft-bodied invertebrates. If anything, a centipede in your pot is doing some free pest control by eating the fungus gnat larvae and root mites that can damage roots.
That said, most people don’t want arthropods crawling out of their pots and across the kitchen counter. And in rare cases, a very large population of soil centipedes can be a sign that something else is wrong with the soil ecosystem, usually chronic overwatering that has created a thriving micro-invertebrate community. So while the centipede itself isn’t the threat, its presence is a useful signal that your watering habits or soil composition could use some attention.
Adjust Your Watering First
The single most effective step is to let the soil dry out more between waterings. Centipedes cannot survive in dry conditions for long. If you shift from keeping the soil consistently moist to allowing the top couple of inches to dry completely before watering again, you’ll make the pot inhospitable to centipedes and to the prey species that drew them in.
How aggressively you can dry the soil depends on the plant. Succulents and cacti tolerate bone-dry conditions and rarely have centipede problems in the first place. Tropical foliage plants like pothos, philodendrons, and peace lilies prefer some moisture but handle brief dry spells without complaint. Ferns and calatheas, which need consistently moist soil, are trickier. For moisture-loving plants, you may not be able to dry the soil enough to evict centipedes through watering changes alone, so you’ll need to combine this step with the other methods below.
One practical move: switch to bottom watering. Place the pot in a tray of water for 20 to 30 minutes, let the soil wick moisture up from below, then remove the pot and let it drain. This keeps the top layer of soil drier than overhead watering does, which discourages both centipedes and fungus gnats from settling in the upper soil where they’re most active.
Repotting and Soil Amendments
If adjusting your watering schedule doesn’t clear the problem, repotting the plant into fresh, well-draining soil is the most reliable reset. Lift the plant out of the pot, shake or gently wash the old soil off the roots, and inspect for centipedes as you go. Most will scatter when disturbed, so doing this outdoors or over a sheet makes cleanup easier.
When you repot, choose a mix that drains faster than standard potting soil. Adding perlite, coarse sand, or pumice opens up air pockets and reduces the moisture retention that centipedes depend on. For most houseplants, a ratio of roughly two parts standard potting mix to one part perlite works well. Orchid bark is another useful amendment for plants that tolerate it, because it creates large air gaps that dry quickly.
Also check the pot itself. Pots without drainage holes trap water at the bottom and create a permanently saturated zone that centipedes love. If your pot lacks a drainage hole, either drill one or switch to a pot that has one. Decorative cache pots are fine as long as you lift the inner nursery pot out and dump any standing water after each watering session.
Physical Removal Methods
For a small number of centipedes, you can simply pick them out. Soil centipedes are not dangerous to humans. The ones found in houseplant soil are usually too small to bite, and even larger house centipedes (the leggy, fast-moving kind) deliver at most a mild, bee-sting-level pinch if handled roughly. Tweezers or chopsticks work well if you’d rather not touch them directly.
A soil drench can also flush centipedes out. Bring the pot to a sink or bathtub and run water through the soil continuously for several minutes. Centipedes and other soil-dwelling invertebrates will often wash out through the drainage hole. This is a temporary fix, since it doesn’t change the underlying conditions, but it reduces the immediate population while you work on longer-term solutions like repotting or adjusting your watering routine.
Sticky traps placed on the soil surface catch centipedes as they move around at night. Small yellow sticky traps sold for fungus gnats work, though centipedes are less reliably caught than flying insects because they can sometimes pull free. Still, traps give you a sense of how large the population is and whether your other efforts are reducing it over time.
Essential Oils and Natural Repellents
Peppermint oil, cedarwood oil, and tea tree oil are commonly recommended as centipede deterrents in gardening forums. The logic isn’t unreasonable: essential oils do have documented repellent and insecticidal properties against a range of arthropods, working through neurotoxic effects on the nervous system.2Annual Reviews. Essential oils in insect control: low-risk products in a high-stakes world However, most of that research has been conducted on insects rather than centipedes specifically, so the strength and duration of the effect on myriapods is less well established.
If you want to try this approach, dilute a few drops of peppermint or cedarwood essential oil in water (roughly 10 to 15 drops per cup of water with a small squirt of dish soap to help it mix) and spray the soil surface. Reapply every few days, since the volatile compounds evaporate quickly. Some growers also soak cotton balls in peppermint oil and place them on the soil surface or around the base of the pot.
Be aware that concentrated essential oils can damage certain plants, especially those with delicate foliage or exposed aerial roots. Test on a small area first and avoid spraying the leaves directly. Herbs and thick-leaved tropicals tend to tolerate light applications, while ferns and seedlings are more sensitive.
Diatomaceous Earth
Food-grade diatomaceous earth (DE) is a popular physical pesticide for soil-dwelling arthropods. It’s a fine powder made from fossilized algae that works by abrading the exoskeleton and absorbing the waxy lipids that help arthropods retain moisture. For centipedes, which are already prone to desiccation, this can be effective. Dust a thin layer across the soil surface and around the rim of the pot.
The main limitation is that DE stops working when wet. If you water from the top, you’ll wash or saturate the powder and need to reapply after the surface dries. Bottom watering pairs well with DE for exactly this reason: the soil surface stays drier and the powder stays active longer. DE is non-toxic to plants and safe around pets and children, though you should avoid inhaling the dust during application.
When Chemical Controls Make Sense
For most houseplant situations, chemical pesticides are overkill for centipedes. They’re present in small numbers, they’re not harming the plant, and cultural fixes address the root cause. But if you’re dealing with a persistent, large population that hasn’t responded to drying the soil, repotting, and physical removal, a soil drench with a pyrethrin-based insecticide is the most common chemical option.
Pyrethrin is derived from chrysanthemum flowers and breaks down relatively quickly. It’s broadly toxic to arthropods, so it will kill centipedes on contact but will also kill any beneficial organisms in the soil. Follow the product’s dilution instructions carefully and avoid using it on edible plants. Synthetic pyrethroids (permethrin, bifenthrin) last longer in the soil but carry the same trade-off of killing non-target organisms.
Systemic insecticides like imidacloprid, which are absorbed by the plant and poison insects that feed on it, don’t work on centipedes because centipedes don’t feed on plants. These products may, however, reduce the populations of fungus gnats and other plant-feeding pests that are attracting centipedes in the first place, which can indirectly help.
Centipedes vs. Millipedes in Plant Pots
Before going to war with the creature in your soil, it’s worth confirming you’re dealing with a centipede and not a millipede, because the two call for different responses. Centipedes have one pair of legs per body segment, move quickly, and are flattened in shape. Millipedes have two pairs of legs per segment, move slowly, and are cylindrical, often curling into a spiral when disturbed.
The distinction matters because millipedes are detritivores that feed on decaying organic matter and occasionally on live roots and tender stems. A millipede population in your pot can actually damage the plant, especially seedlings or plants with soft root systems. Centipedes, as predators, leave the plant alone. Ironically, centipedes in the pot may be keeping millipede numbers in check. If you remove all the centipedes and then notice root damage, millipedes or root-feeding larvae may have lost their natural predator.
If you have millipedes rather than centipedes, the cultural fixes are similar: reduce moisture, improve drainage, remove decaying organic material from the soil surface (dead leaves, spent flowers, old mulch). But you may need to be more aggressive about repotting and physically removing individuals, since millipedes are directly damaging the plant rather than just hitchhiking.
Preventing Reinfestation
Once you’ve cleared centipedes from a plant, keeping them from returning is mostly about maintaining the conditions that made the pot uninviting. Let the soil dry between waterings, keep the soil surface free of decaying plant material, and make sure pots drain well. If you move plants outdoors in warm weather, centipedes can colonize the soil while the pot is sitting on the ground. Elevating outdoor pots on a stand or placing them on a hard surface rather than directly on soil reduces the chance of new arrivals.
Inspect new plants before bringing them home. Centipedes can arrive in nursery pots, especially if the plant has been sitting in a greenhouse where the soil stayed wet. A quick look at the drainage holes and the soil surface often reveals whether anything is living in the pot. If you’re cautious, quarantine new plants for a week or two in a separate room, letting the soil dry down before placing them near your other plants.
Sealing entry points in your home also helps if you’re in an area where outdoor centipedes are common. House centipedes (Scutigera coleoptrata) are the long-legged, fast-moving species that often startles people in basements and bathrooms. These can wander into houseplant soil but are more commonly found free-ranging around the house, hunting on walls and floors. Caulking gaps around windows, doors, and utility pipes reduces how many get inside in the first place. Dehumidifiers in damp basements also discourage them, since the same moisture dependence that draws soil centipedes into pots draws house centipedes into damp rooms.
Soil Sterilization for Stubborn Cases
If you’ve repotted and adjusted your watering but keep finding centipedes, the potting mix itself may be harboring eggs or young centipedes that are too small to spot. Sterilizing soil before use eliminates this possibility. You can bake moistened potting soil in an oven at around 180°F (82°C) for about 30 minutes, which kills arthropods, their eggs, and most pathogens without destroying the soil’s useful properties. Spread the soil in a shallow baking pan and cover it with foil.
Microwave sterilization also works for small batches. Place damp soil in a microwave-safe container, cover loosely, and heat on high for about 90 seconds per kilogram. Let it cool completely before potting. Both methods produce a noticeable earthy smell during the process, so ventilation helps.
The downside of sterilization is that it also kills beneficial soil microbes, including mycorrhizal fungi that help many plants absorb nutrients. For most common houseplants this isn’t a serious concern, since they’ll recolonize the soil over time from the surrounding environment. But if you’re growing orchids, specialty tropicals, or anything inoculated with beneficial fungi, sterilization trades one problem for another. In those cases, careful inspection and physical removal during repotting is the gentler approach.