Your fence is leaning. Here is what is actually wrong.
Posts, soil, freeze cycles, panel rot — the honest diagnostic for a leaning backyard fence, the four root causes, the four fixes, and the calm framework for deciding whether the answer is one panel, one post, or the whole run.
The first fence I ever paid to have repaired, in our second summer in the bungalow, was the back run between our yard and our neighbor’s — a hundred and twenty feet of cedar privacy fence that had been installed in 2003 and was, by the spring of 2017, leaning forward by between two and seven degrees, depending on which panel you measured. I called a fence contractor. He walked the length of the run, came back to the patio, and said three of your posts are rotted at the soil line and one of them has heaved the footing four inches. The repair he quoted was $1,940, broken out by cause. We paid it. Two summers later, the same three posts I had replaced were straight; the other twelve had started to lean. The repair I had paid for fixed the symptom of the moment; it did not fix the underlying conversation about why an entire run of cedar fencing posts had reached the end of its life all at the same time.
Most first-time homeowners I have talked to about their leaning fence have already convinced themselves of either the cheap answer or the expensive answer — I’ll just push the panel back upright and screw in a brace, or we need to rebuild the whole fence, this is going to be five thousand dollars. The honest answer is almost always somewhere in between, and the honest answer depends entirely on which of four specific things is causing the lean. This piece is the diagnostic, the four causes, the four fixes, and the calm framework for deciding whether the answer is one panel, one post, or the whole run.
Read this on a Saturday afternoon, walk the fence with a notebook, and decide before any tool comes out. The diagnosis is the load-bearing decision; the actual repair is the smaller half of the work.
Why fences lean.
A wooden fence is, structurally, a series of vertical posts driven into the ground and connected by horizontal panels. The whole thing relies on the posts staying upright. The posts stay upright because they are set in either compacted gravel, concrete, or (less commonly) compacted earth — the footing — and because the soil around the footing is, in most years, stable. When the fence starts to lean, one of those two assumptions has failed. Either the post is no longer holding (rot, damage, broken hardware), or the footing is no longer where it was (heaved, shifted, eroded). The panels themselves almost never cause the lean. When they fail, the panel sags or falls — that is a different and easier conversation, covered briefly in the fix matrix and at length in section 06.
The diagnostic walk in the next section is the work of figuring out which of those two things has happened to your fence, and where along the run. The single most useful sentence in this entire piece: the fix is per-post, not per-fence. A 120-foot fence with one rotted post and one heaved footing is two separate repairs, not a whole-fence project. The first-time homeowner mistake we see most often is over-scoping — replacing the whole fence because three posts are bad — when the right move is the targeted per-post repair and a quiet seasonal walk-through to catch the next failure early.
The diagnostic walk.
Forty minutes on a Saturday afternoon with a notebook, a small post-level (a $6 magnetic level that clips to the post — Empire 581-12 or any equivalent), and a sharp screwdriver for probing soft wood. Start at one corner of the fence and walk the entire length, stopping at every post. You are looking for four things at each post, and you will write the answer on a small diagram of the fence in your notebook.
Test 1 · Is the post itself rotted at the soil line?
Push the screwdriver firmly into the wood of the post at the soil line, with the handle in your palm and the tip angled into the wood. Sound wood will resist the screwdriver — you will not penetrate more than a millimeter or two even with firm pressure. Rotted wood will let the screwdriver in half an inch or more, easily. The rot is almost always at the soil line, where the post stays moist year-round; the wood above and below that band can look completely fine while the band itself is failing. Mark each rotted post with an R on your diagram.
Test 2 · Has the footing heaved?
Look at the ground around the base of the post. Is the concrete footing visible above the soil line by more than an inch? A footing that has been heaved by freeze cycles will stick up above the soil; a footing that is still seated where it was installed will be flush with or just below the soil. The heave is easiest to see in early spring (the soil is at its lowest point before settling back). Mark heaved posts with an H.
Test 3 · Is the post itself plumb?
Clip the magnetic post-level to the side of the post. The bubble should be centered. If the post is leaning, the bubble will be off-center; note the direction and roughly the angle (small lean: bubble still touches the lines; big lean: bubble is at the edge of the vial). Mark out-of-plumb posts with a small arrow showing direction and severity.
Test 4 · Is the panel itself sound?
Walk to the middle of each panel; push on it with both hands. A sound panel will flex slightly and spring back; a rot-compromised panel will give way alarmingly, with one or more bent boards or a snap of the bottom rail. Probe the top and bottom rails of the panel with the screwdriver — these are the highest-failure-rate parts of the panel itself (the rails sit horizontally, hold water, and rot before the vertical pickets do). Mark soft panels with a P.
By the time you have walked the length of the fence and made notes at each post, you have a diagram showing where the failures are and what kind they are. That diagram is the decision document for the repair. Almost always, the failures cluster: a few posts in the wettest section, the panel in the shady spot, the corner that takes the brunt of the prevailing wind. The cluster tells you what is happening to your fence, which tells you what to do.
The four real causes.
The notebook diagram from the diagnostic walk maps cleanly onto four causes, in roughly the order of how common they are. Each cause has a different fix and a different cost. The table below is the matrix we use at the kitchen table when we are deciding the repair plan.
| Category | Low | High | % of budget |
|---|---|---|---|
| 01 · Rotted post The most common single failure. The wooden post has rotted at the soil line over 10 to 25 years. The post still stands but no longer holds the panels. Common on cedar posts; less common on pressure-treated. | $60–120 / post | 4 hr per post · DIY-friendly | Per post |
| 02 · Heaved footing The concrete footing has lifted out of the soil over years of freeze-thaw cycles. The post itself is fine; the footing is in the wrong place. The whole post-and-footing assembly needs to come out and be re-set. | $180–280 / post | 6 hr per post · DIY-possible | Per post |
| 03 · Soil shift The post and footing are sound but the soil around them has shifted (often after a wet season followed by drought, or after a neighbor's grading work). The lean returns within a season even if you straighten it. | $400–800 | Footing extension or geotech | Often pro |
| 04 · Panel rot only The post and footing are sound; the wood of the fence panels themselves has rotted (top rail, bottom rail, or individual pickets), making the panel sag and the run look like it is leaning when it is actually slumping. | $80–180 / panel | 3 hr per panel · DIY-friendly | Per panel |
| The most common single cause | Rotted post (≈55% of cases) | 100% |
Numbers reflect three real first-timer projects we tracked from January 2024 through November 2024 across Ohio, Oregon, and upstate New York. Your zip code will adjust the math.
A few notes that the table does not capture. Cedar posts last 10 to 20 years in most US climates; pressure-treated posts last 20 to 35; metal posts (galvanized steel, the kind chain-link fences use) last 40 to 60. The original installer’s choice of post material is doing more of the decision-making about your fence’s lifespan than any other factor. Soil shift is the rarest of the four causes and the most expensive to address; it sometimes signals a grading problem on the property line that requires consultation with a geotechnical engineer. Panel rot, by contrast, is the easiest and cheapest fix when the posts are sound; one new panel slipped between two existing posts is a single-Saturday DIY job.
One panel, one post, or the whole run?
The right answer almost always lives at the smallest possible scope. We use a small decision rule that has held up across about thirty fence repairs we have helped with or watched closely.
- One panel rotted, posts sound: replace the panel only. Single Saturday, one new panel ($60–$140), one helper, three hours of work.
- One or two posts rotted, footing OK, panels sound: replace those posts only. One Saturday per post, $60–$120 in materials per post.
- One or two footings heaved, posts otherwise OK: reset those footings. Longer day per post (you are removing the existing concrete and pouring new), but still per-post.
- More than half the posts are failed in some way: the fence is at end-of-life. The full rebuild is the right scope here, and the per-post repairs become wasted money — fixing five posts of ten only buys you a year or two before the other five fail.
- Soil shift is the cause: stop, consult a fence contractor or a geotechnical engineer; the per-post repair will not hold, and the fix is upstream of any individual post.
The half-the-posts threshold is the inflection point most first-timers ask about. At four out of ten failed, the full rebuild starts to make economic sense; at six out of ten, the full rebuild is the obvious right call. Below four, the per-post repair is almost always the better choice. The full rebuild is not a defeat; it is, for an end-of-life fence, the correct decision.
Replacing one panel — the easy case.
A single rotted panel with two sound posts on either side is the easiest fence repair there is. Three hours, $60 to $140 in materials, one helper, a hand drill, an impact driver, and a small box of 3-inch exterior screws.
The sequence: unscrew the existing panel from its two posts (the panel is usually held by 6 to 12 deck screws, three per side, top, middle, bottom); lift the old panel away (heavier than it looks — a two-person job for anything over 6 feet); set the new panel in place between the existing posts; check plumb with the level on a corner picket; drive the screws back in through the new panel’s frame and into the existing posts. If the new panel is a slightly different size than the old one — common, since lumber dimensions vary by manufacturer — small wood shims at the post-to-panel junction take up the slack. The seam will be invisible from six feet away after a coat of fence stain.
The single-post repair.
The single-post replacement is the most common repair, and the one most first-time homeowners are surprised to learn is genuinely DIY-friendly. It takes a full day (allow eight hours, work six), runs $60 to $120 in materials, and requires two specialty rentals (a post-hole digger or auger, $25 a day; a concrete mixing tub, often free at the lumberyard with concrete purchase). The key insight: you do not need to remove the adjacent panels. You remove the rotted post from between them.
The day plan.
Morning: detach the panels on either side of the rotted post (unscrew, do not pry); dig out the old footing (a small jackhammer rental at $40/day if the footing is large concrete, otherwise a pickaxe and a strong back); remove the rotted post and the old footing material. Mid-day: dig the new hole 12 inches wider and 6 inches deeper than the old one; check depth (3 feet minimum in most US climates, deeper in northern Midwest and Northeast); place a 4 to 6 inch gravel layer at the base for drainage. Afternoon: set the new pressure-treated post in the hole, brace it plumb with temporary 2x4s screwed to the post and angled to the ground, pour the concrete (two 50-lb bags of fast-set Quikrete typically), trowel the top to slope away from the post for drainage. Evening: re-attach the panels to the new post with deck screws. The concrete cures overnight; the temporary braces come off the next morning.
The single most-asked question.
Should the new post be wood or metal? If your existing fence is wood posts, replace with a pressure-treated wood post — the visual match matters and the cost difference is minor ($25 vs $90). If you are doing a whole rebuild, the conversation about steel inserts (Postmaster brand) or galvanized steel posts becomes worth having; for a single-post replacement in an otherwise wood-post fence, stick with pressure-treated wood.
The seasonal walk.
The single most-useful habit we have built into our own outdoor-maintenance calendar, after the 2017 fence-repair lesson, is a quiet seasonal walk of the fence in early spring (after the frost is out of the ground) and early fall (before the freeze starts). Forty minutes, a notebook, the post level and the screwdriver. The point is to catch the failures at the soft-spot-on-one-post stage instead of the lean-at-five-degrees stage. Each early-caught failure is a $80 fix in October; each late-caught failure is a $1,900 fix the following spring.
The fence is part of a broader conversation about the outdoor half of any property — the yard, the deck, the beds, the small unmapped mechanicals (sprinkler heads, drainage, the storm drain). The same Saturday-afternoon notebook habit pays back across all of those, not just the fence. Our companion piece on easing into the half of the property you forgot you owned walks the first-season triage for a yard you have just inherited.
One Saturday’s walk, a small notebook, four diagnostic tests at each post. The lean stops being a mystery. The fix stops being a five-thousand-dollar conversation.