Effective Deterrents
Install buried hardware cloth over sod, sprinkle cayenne pepper, use predator urine, or set up motion-activated sprinklers to scare raccoons away.
Remove Attractants
Secure garbage cans, remove pet food, and consider trapping and releasing persistent raccoons far from your property as a last resort.