The main two things that can attract mice and rats to your house are food and shelter. If you don't tidy up properly food waste on the floor, rodents are going to love it! Rats and mice also need shelter, particularly during winter, to get rid of the cold.