How to Repair a Fence
A leaning fence post, a broken board, a gate that won't latch — most fence problems look like cosmetic damage but trace back to a structural failure. Fix the right thing and the repair lasts. Fix the symptom and you'll be back out there in a season.
Fence repairs fall into two categories: surface damage you can patch and structural failures that require replacing components. The most common mistake homeowners make is replacing boards on a section where the post has already failed. The boards look fine for a few months, then the whole section leans again.
Before you buy materials, spend 20 minutes walking the fence line and probing every post. That inspection will tell you whether you're doing a quick repair or a partial rebuild — and it will save you from doing the same job twice.
This guide covers wood privacy fences, the most common residential type. Chain link and vinyl fences share some principles but have different repair methods for their specific components.
DIY or Call a Pro
Safe to DIY
Replacing individual boards or pickets, resetting a leaning post with a concrete collar, replacing gate hardware, repairing minor rot on rails, tightening loose fasteners, and applying stain or sealant.
Consider a Pro
Replacing multiple consecutive posts, repairing a fence on a slope or uneven terrain, any fence section near a property line dispute, fences requiring permits in your municipality, and sections where underground utilities may be present.
Call a Pro
Structural failure across a long run, retaining wall integration, fences damaged by vehicle impact or fallen trees, and any situation where you're unsure whether the fence is on your property.
Inspect Before You Buy Anything
Walk the entire fence line before purchasing a single board. What looks like a broken board problem is often a post problem. What looks like a post problem is sometimes a footing problem. Buying materials before you understand the failure means buying the wrong materials.
Bring a flat-head screwdriver or an awl. Probe every post at and below the ground line — this is where rot starts. A post that looks solid above ground can be completely hollow at the base. If the screwdriver sinks in more than half an inch without resistance, the post is compromised.
- Walk the full fence line — don't stop at the first problem you find
- Probe every post at ground level with a screwdriver or awl
- Push each post by hand — any movement means the footing has failed
- Check rails for rot, cracks, and sag between posts
- Check boards/pickets for rot at the bottom where they're closest to the ground
- Open and close every gate — note whether it drags, won't latch, or swings on its own
- Note which sections are leaning and in which direction
Diagnosing the Actual Cause
Fence problems have a root cause and a visible symptom. Treating only the symptom is the most common reason fence repairs fail within a season.
Leaning section
Root cause is almost always a failed post — either rotted at the base, heaved by frost, or set without adequate concrete. The boards and rails are passengers.
Broken or cracked boards
Can be surface damage from impact or weather, or can indicate the rail behind them has failed and is no longer supporting the boards properly.
Sagging gate
Usually a hinge problem, a post that has moved, or a gate frame that has racked out of square. Adjusting the latch without addressing the cause won't hold.
Rot at board bottoms
Boards installed too close to the ground trap moisture. The fix is replacing the boards and raising the clearance — not just replacing the boards at the same height.
Leaning Fence Posts
A leaning post means the footing has failed — either the concrete cracked, the post rotted below grade, or frost heaved the footing over time. You have two options: reset the existing post if it's structurally sound, or replace it.
To reset a post that's still solid: excavate around the base, re-plumb the post with a level, brace it in position, and pour new concrete. The old concrete footing usually needs to be broken up and removed — leaving it in place and pouring around it rarely produces a stable result.
Before digging any post hole, call 811 (US) to have underground utilities marked. Fence posts are typically set 18–24 inches deep — deep enough to hit gas, water, and electrical lines.
Broken or Rotted Posts
A post that has rotted through at the base cannot be reset — it needs to be replaced. This is the most labor-intensive fence repair because the post is typically set in concrete and the fence sections on either side are attached to it.
One option that avoids full excavation is a post repair spike or mending plate — a steel bracket that attaches to the sound upper portion of the post and drives into the ground alongside it. These work for posts that have rotted only at the very base and are still structurally sound above grade. They are not a substitute for a properly set post in a high-wind area or for a gate post carrying significant load.
- Remove the fence boards and rails attached to the failing post — work from both sides.
- Dig around the post base to expose the concrete footing — typically 18–24 inches deep.
- Break up the old concrete footing with a digging bar or rent a post puller.
- Remove the old post and footing material from the hole.
- Set the new post in the hole, plumb it on two faces with a level, and brace it with temporary 2x4 stakes.
- Pour fast-setting concrete mix into the hole — follow the manufacturer's instructions for water ratio.
- Allow the concrete to cure fully before reattaching rails and boards — typically 24–48 hours for fast-set.
- Reattach rails first, then boards, checking alignment as you go.
Loose or Broken Fence Boards
Before replacing boards, confirm the rails behind them are solid. A board that's loose because the rail has rotted will be loose again within a season if you just replace the board.
Use exterior-rated screws rather than nails when replacing boards. Screws hold better over time and are easier to remove if you need to access the fence again. Ring-shank nails are an acceptable alternative if you prefer nails — smooth-shank nails will work loose.
Match the replacement board species and dimensions to the existing fence. Mixing wood species or using boards that are slightly thicker or thinner creates gaps and visual inconsistency that's difficult to correct later.
Damaged Rails
Rails are the horizontal members that span between posts and support the fence boards. A rotted or broken rail causes the boards above and below it to lose support — they'll flex, crack, and eventually fall.
Rails are typically attached to posts with metal rail brackets or toe-nailed directly. To replace a rail, remove the boards in that section, pull the old rail, cut a new rail to length, and reattach. Use pressure-treated lumber for any rail that's close to the ground.
Sagging Gates
A sagging gate is almost always a hinge problem, a post problem, or a gate frame that has racked out of square — and sometimes all three. Adjusting the latch to compensate for a sagging gate is a temporary fix that puts stress on the latch hardware.
A gate post carries more load than a line post and should be set deeper — typically 1/3 of the total post length below grade, with a concrete footing. An undersized or improperly set gate post is the most common cause of recurring gate sag.
Hinge failure
Hinges that have pulled away from the post or gate frame. Reattach with longer screws into solid wood — if the existing holes are stripped, fill them with epoxy wood filler or a wooden dowel before re-driving the screws.
Post movement
If the gate post has moved, the gate will sag regardless of hinge condition. Fix the post first, then reassess the gate.
Racked gate frame
A gate frame that has racked out of square can sometimes be corrected with a turnbuckle anti-sag kit — a cable or rod that runs diagonally across the gate frame and is tensioned to pull the low corner back up.
Gate Hardware and Latch Problems
Gate hardware — hinges, latches, and drop rods — is wear hardware. It has a service life and eventually needs replacement. Most residential gate hardware is inexpensive and straightforward to replace.
When replacing hinges, use hardware rated for the gate weight. A heavy wood gate on undersized hinges will sag again within a few years. Strap hinges and heavy-duty T-hinges are appropriate for most residential wood gates.
Minor Rot Repair vs. Replacement
Not all rot requires full replacement. Surface rot on a board or rail that hasn't penetrated more than about 1/4 inch can be treated with an epoxy wood consolidant and filler — the consolidant hardens the remaining wood fibers and the filler restores the surface.
Rot that has penetrated deeply, compromised structural integrity, or is present at a load-bearing point (post base, rail-to-post connection) requires replacement. Epoxy repair on a structurally compromised component is not a structural fix.
Repair with epoxy
Surface rot less than 1/4 inch deep on non-structural boards. Clean out soft material, apply consolidant, fill with two-part epoxy wood filler, sand, and paint or stain.
Replace the component
Any rot at a post base, rail-to-post joint, or gate frame corner. Any rot that has penetrated more than 1/4 inch or compromised the cross-section of the piece.
Weather-Damaged Fence Sections
Storm damage, fallen branches, and vehicle impact can damage fence sections that were otherwise in good condition. The repair approach depends on whether the posts are still sound.
If the posts are intact and plumb, replacing boards and rails is straightforward. If a post was knocked out of plumb by the impact, reset or replace the post before reattaching boards — a leaning post will cause the new boards to lean with it.
Tools and Materials
- Post hole digger or power auger (for post replacement)
- Digging bar (for breaking up old concrete footings)
- Level — 4-foot level for posts, torpedo level for rails
- Circular saw or miter saw for cutting boards and rails to length
- Drill/driver with exterior-rated screws (1-5/8" for boards, 3" for rails)
- Hammer and pry bar for removing old boards and nails
- Fast-setting concrete mix (for post footings)
- Pressure-treated lumber for posts and any ground-contact rails
- Matching fence boards in the correct species and dimensions
- Wood preservative or end-cut sealer for cut ends of pressure-treated lumber
Step-by-Step Repair Process
- Complete your full inspection — identify every failing component before starting any repair.
- Call 811 if any post replacement or new post setting is involved.
- Address post failures first — no surface repair is worth doing until the posts are solid.
- Replace or repair rails next — boards attached to a failed rail will fail again.
- Replace damaged boards, working from one end of the section to the other for consistent spacing.
- Repair or replace gate hardware after the gate post is confirmed solid and plumb.
- Apply wood preservative to all cut ends of pressure-treated lumber.
- Allow concrete footings to cure fully before loading them with fence weight.
- Apply stain or sealant to repaired sections — new wood weathers faster than old wood if left unfinished.
Common Mistakes
- Replacing boards without checking the posts — the most common reason fence repairs fail within a season.
- Skipping the 811 call before digging post holes.
- Using smooth-shank nails instead of screws or ring-shank nails — they work loose within a few freeze-thaw cycles.
- Setting posts without concrete — tamped gravel alone is not adequate for most residential fence posts.
- Using non-pressure-treated lumber for ground-contact posts and rails.
- Not sealing cut ends of pressure-treated lumber — the treatment doesn't penetrate into fresh cuts.
- Adjusting the latch to compensate for a sagging gate instead of fixing the hinge or post.
- Mixing wood species or dimensions when replacing boards — creates gaps and visual inconsistency.
- Loading a new post footing before the concrete has cured.
When Repair Is No Longer Worthwhile
A fence that has multiple failing posts, widespread rot across rails and boards, and hardware that's beyond service life is a candidate for replacement rather than repair. The labor cost of repairing a fence that's near the end of its life often approaches the cost of a new fence — and the new fence will last another 15–20 years.
A useful rule of thumb: if more than 30–40% of the fence components need replacement, get a quote for full replacement before committing to repair. The math often favors replacement.
Maintenance After Repair
The repairs you just made will last significantly longer with basic annual maintenance. Wood fences are exposed to UV, moisture, and freeze-thaw cycles year-round — a small amount of maintenance each year prevents the next round of repairs.
- Inspect posts annually — probe at ground level with a screwdriver
- Clear vegetation away from the fence base — plants trap moisture against wood
- Reapply stain or sealant every 2–3 years, or when water stops beading on the surface
- Tighten any loose screws or hardware before they work completely free
- Check gate alignment and hinge tightness each spring
- Keep sprinkler heads directed away from fence boards — constant moisture contact accelerates rot
Final Inspection Checklist
- All posts are plumb and solid — no movement when pushed by hand
- All rails are secure at both post connections
- All boards are fastened with no loose or missing fasteners
- Gate opens, closes, and latches without dragging or binding
- All cut ends of pressure-treated lumber have been sealed
- Repaired sections have been stained or sealed to match existing finish
- No tools, fasteners, or debris left at the work site
CCCT Takeaway
- Inspect every post before buying a single board — most fence failures start underground.
- Fix the structural failure first. Replacing boards on a failed post is doing the job twice.
- Call 811 before any post hole digging — it's free and required.
- Use screws, not smooth-shank nails — they hold through freeze-thaw cycles.
- Seal cut ends of pressure-treated lumber — the treatment doesn't reach fresh cuts.
Need a Pro?
JTC Renovations
When the fence repair turns into a bigger project — or you'd rather have it done right the first time — JTC Renovations handles outdoor and renovation work with the same attention to detail.
Visit JTC RenovationsFrequently Asked Questions
- How do I know if a fence post needs to be replaced or just reset?
- Probe the post at ground level with a screwdriver or awl. If it sinks in more than half an inch without resistance, the post has rotted and needs replacement. If the wood is solid but the post is leaning, the footing has failed and the post can potentially be reset — excavate, re-plumb, brace, and pour new concrete.
- Can I repair a fence post without digging it out?
- Post repair spikes and mending plates can work for posts that have rotted only at the very base but are still structurally sound above grade. They attach to the sound upper portion and drive into the ground alongside the old post. They're not appropriate for gate posts or high-wind areas, and they don't address a post that has rotted through its full cross-section.
- How deep should fence posts be set?
- A common guideline is to set posts at least 1/3 of their total length below grade — so a 6-foot fence post (typically 8 feet total) should be set about 2 feet deep. Gate posts and corner posts should be set deeper. Check local frost depth requirements, as posts set above the frost line are vulnerable to heaving.
- What's the best way to fix a sagging gate?
- First confirm the gate post is plumb and solid — a moving post will cause the gate to sag regardless of what you do to the hardware. If the post is solid, check the hinges for stripped screws or pulled-away hardware. Re-drive with longer screws into solid wood, or fill stripped holes with epoxy filler before re-driving. If the gate frame has racked, a turnbuckle anti-sag kit can pull the low corner back into square.
- Do I need a permit to repair a fence?
- Permit requirements vary by municipality. Most jurisdictions don't require permits for like-for-like fence repairs — replacing boards, rails, or posts in the same location. Building a new fence or significantly changing the height or location typically does require a permit. Check with your local building department before starting any work that goes beyond straightforward repair.
More outdoor project guides are on the way.
Yard & Outdoor