The time of day and the weight of the sound sort it out. Mice are nocturnal, light and fast: a faint scratching or scurrying in the wall behind the bed or in the ceiling over the kitchen, starting an hour or two after the house goes quiet, and sometimes a soft gnawing. UC IPM lists sounds at night among the standard signs of house mice, along with droppings, fresh gnaw marks and a musky odor. Rats sound heavier and slower, with distinct gnawing, and Norway rats tend to be low in the house, in the basement or crawlspace walls. Squirrels are the opposite: active in daylight, loudest at dawn and just before dusk, running and rolling nuts in the attic. Raccoons are the heaviest thing you'll hear, thumping, dragging and sometimes chattering, at night, almost always in the attic or a roof corner.