Mice and rats are nocturnal. During the day, they sleep hidden in their nests, squirreled away with nesting materials made of shredded paper, cardboard, insulation, or pieces of fabric. They often hide in walls, under appliances, and at the base of cabinets.