Might be mice, they make a lot more noise than you think they would for the size of them when scurrying about in the roof and voids. Little Nipper traps seem to work best, baited with choc chip biscuits or peanut butter.
If it is squirrels, get an air gun or mesh live trap baited with bird food peanuts, obviously you’ll need to deal with them after…
We had electrical problems once with lights tripping, traced to a (now dead) squirrel with it’s mouth clamped on some wiring in the roof, so they do get in sometimes and cause havoc apart from just the noise.