Pests
Since centipedes hunt other arthropods, reducing the availability of their prey may make your home less attractive to them.
Store food securely, clean up crumbs, manage waste, and address any recurring insect problem.
Check Entry Points and Outdoor Conditions
Keep doors and windows fitted with intact screens. Remove unnecessary debris close to the foundation, and correct drainage problems that leave areas around the building persistently wet.
If centipedes continue appearing frequently despite these measures, a qualified pest-control professional can help identify entry points and underlying moisture or pest problems.