Raccoons are a serious predator in any rural or suburban area.
Active deterrants
Dogs.
Electric fences.
Passive deterrants
Hardscaping. Massive, massive hardscaping. Tall fences with loose wire tops that flops the raccoons off their climb, deep (2-4 feet) impassable footings to keep them from digging under are not unheard of.