Centipedes are attracted to two things above all else: moisture and food. If your home provides damp hiding spots and a steady supply of smaller insects, centipedes will find their way in. Understanding exactly what draws them helps you figure out why they’re showing up and how to make your space less inviting.
Moisture Is the Biggest Draw
Centipedes are extremely sensitive to moisture loss. Their bodies lack the waxy outer coating that helps many other insects retain water, so they depend on humid environments to survive. Outside, they live under rocks, leaf litter, mulch, and in soil where moisture stays consistent. Inside, they gravitate toward the dampest areas of your home: basements, bathrooms, crawl spaces, and laundry rooms.
Most centipede species that wander indoors actually die within hours or days because the air inside is too dry for them. The major exception is the house centipede, the leggy, fast-moving species you’re most likely spotting on your walls. House centipedes can tolerate drier indoor air, but they still prefer humid zones. A bathroom with poor ventilation, a basement with condensation on the walls, or a crawl space with standing water are all prime centipede habitat. Any space in your home where humidity stays high is essentially rolling out the welcome mat.
Other Bugs in Your Home
Centipedes are predators. They hunt at night, feeding on silverfish, cockroaches, carpet beetle larvae, spiders, firebrats, and other small arthropods. If you’re seeing centipedes frequently, it typically signals something important: there’s an abundant prey population somewhere in your home. In many cases, the centipedes are a symptom of a bigger pest problem you may not have noticed yet.
Think of it this way. A centipede won’t stick around a home that offers nothing to eat. If your basement has silverfish living in cardboard boxes or cockroaches hiding near drains, centipedes have a reliable food source that keeps them coming back. Eliminating the prey insects often solves the centipede problem on its own, because without food there’s no reason for them to stay.
Dark, Undisturbed Hiding Spots
Centipedes are nocturnal. During the day, they need dark, sheltered places to rest. Indoors, they tuck themselves into spots that rarely get disturbed:
- Beneath concrete slabs, where they access the home through expansion cracks or gaps around sump pump openings
- Inside hollow cement block walls, entering through uncapped blocks or gaps where pipes pass through
- Floor drains without water traps, especially those connected to dry sumps
- Under cardboard boxes stored directly on concrete floors
- Crawl spaces and other unfinished, unexcavated areas beneath the home
The common thread is clutter plus dampness plus darkness. A tidy, well-lit, dry basement gives centipedes almost nothing to work with. A cluttered crawl space full of old boxes on a bare slab is ideal centipede real estate.
Entry Points Around Your Home
Centipedes don’t need large openings. They slip through cracks in foundations, gaps around windows and doors, unsealed drains and vents, and spaces where pipes or wires enter the building. Older homes, particularly those with brick or stone construction, tend to develop more of these gaps over time and are naturally more prone to centipede entry.
Even a well-maintained home can have surprising access points. A floor drain that’s gone dry loses its water seal and becomes an open pathway from the sewer system. A missing piece of mortar between foundation blocks is a doorway. Centipedes are flat enough to squeeze through remarkably tight spaces, so gaps that seem too small to matter often aren’t.
Your Yard and Landscaping
What’s happening right outside your foundation matters almost as much as what’s happening inside. Centipedes thrive in the layer of organic debris that collects near homes: leaf litter piled against the house, thick mulch beds touching the foundation, firewood stacked against exterior walls, decorative rocks, and dense ground cover. All of these create the cool, moist microhabitat centipedes need outdoors, and the closer that habitat sits to your home’s exterior walls, the more likely centipedes are to discover cracks and entry points.
Soil grading plays a role too. If the ground around your foundation slopes toward the house rather than away from it, rainwater pools near the base of the building and keeps the surrounding soil and foundation walls damp. That persistent moisture attracts centipedes to the perimeter, putting them right where they’re most likely to find a way inside.
How to Make Your Home Less Attractive
Since moisture is the primary attractant, reducing humidity is the single most effective step. A dehumidifier in the basement or crawl space can transform the environment from welcoming to inhospitable. Fix leaky pipes, improve bathroom ventilation, and make sure dryer vents exhaust outside rather than into enclosed spaces.
Outside, pull mulch and leaf debris back from the foundation. Store firewood well away from the house and off the ground. Re-grade soil so water drains away from the building rather than pooling against it. Clear gutters so they don’t overflow and saturate the soil near exterior walls.
Seal the gaps centipedes use to get in. Caulk foundation cracks, install door sweeps, cover open floor drains with fine mesh, and check the seals around windows and baseboards. For floor drains that tend to dry out, pouring a cup of water down them periodically restores the water trap and blocks that entry route.
Finally, address whatever prey insects are sustaining the centipedes. If you’re seeing silverfish, cockroaches, or carpet beetles, tackling those populations removes the food supply. A home that’s dry, sealed, and free of other pests gives centipedes no reason to move in.