House centipedes get attracted to pests and insects, as they’re its main source of food. They also inhabit damp and moist areas, so make sure you inspect such areas in your house for centipedes.