A leaning fence is usually one or two failed posts, not a failed fence. Here's how to tell what's salvageable, what it costs, and when to replace the run.

You noticed it from the kitchen window: the fence is no longer standing up straight. Maybe one section bows out toward the neighbor's yard, or the whole run tilts a few degrees like it's leaning into the wind. The question you actually want answered is whether this is a weekend fix or a few thousand dollars.
Most of the time it's a weekend fix. A leaning fence is almost always a post problem, not a fence problem. The pickets and rails are usually fine. One or two posts have rotted at the soil line, or the concrete footing has shifted, and the panels they were holding up have started to go with them.
Walk the fence and grab each post at shoulder height, then push and pull it. A sound post barely moves. A failed post rocks in the ground, or feels spongy right where the wood meets the dirt. That is where fence posts die — at the soil line, where moisture sits and air still reaches the wood.
Count how many move. One or two bad posts in a long run is an easy repair. If more than about a third of the posts are loose, you're looking at replacing the run rather than patching it, and the math usually favors doing it all at once.
A few situations are past handyman work. Stop and get a professional opinion if the fence is holding back soil — that's a retaining wall, which is engineered work with permit implications, not a fence. Stop if the ground itself is visibly moving, cracking or slumping, which points to a drainage problem that will take your new posts with it. And stop if the fence sits on a property line you and your neighbor don't agree on: in California a shared boundary fence is usually a shared cost, and that conversation goes better before the work than after.
If a post is anywhere near a buried utility line, call 811 before a shovel goes in the ground. It's free and it's required, but it takes a couple of days — so make the call this week, not the morning you want to dig.
Post repair is honest work but it's heavy: digging, mixing concrete, holding a panel level while it sets. For Livd members, your dedicated handyman can reset posts and re-hang panels during regular visits, and because they get to know your property over time, they'll catch the second post starting to go before it pulls another section down with it.
Already a Livd member? Add "leaning fence" to your task list in the Livd app and we'll take care of it on your next scheduled visit.
Not a Livd member yet? Schedule your free home walkthrough at livdhomes.com. We'll look at what your home needs and build a proactive maintenance plan to keep the little things from becoming big ones.