1. Seal Any Gaps in the Fence
Inspect your fence regularly for any maintenance issues or signs of damage. Repair any gaps or holes as soon as possible, even if they’re very small. A determined raccoon can wiggle through an opening as small as four inches across. Cracks, weak spots, or loose boards are all potential issues that a raccoon can use to infiltrate your fence.2. Discourage Digging and Climbing
Raccoons are talented diggers. To prevent them from burrowing under your fence, the bottom 6-10 inches of the fence should be buried underground. Raccoons also have excellent climbing skills. Installing plastic or metal spikes along the top edge of your fence can discourage raccoons from climbing over the fence and from walking along the top of the fence.3. Trim Nearby Tree Branches
If trees surround your fence line, raccoons can use the tree branches to bypass your fence altogether and climb into your yard. Remedy this problem by trimming any branches that hang over the fence line or are close enough to the fence for a raccoon to jump. You can prevent or deter raccoons from climbing your trees by installing collars around the trunks, about three feet above the ground.