Cats are the best rodent deterrent. Didn’t have any mice around when we had cats. Coyotes ate the cats.
We have cats, coyotes, wild pigs, deer, and something that made my hair stand up. And I’m in a lakeside town. Yet no mice/rats.