Silverfish are attracted to damp and humid environments. They seek out dark, secluded spaces and are drawn to starchy materials for food. Reducing moisture levels and eliminating food sources can deter them.