Home Self-Reliance Skills Build Fence Building & Repair

Skills · Build

L1 Household Basic L2 Capable Homeowner

Fence Building & Repair

Fence damage cascades. A rotted post loosens a rail, the rail sags, the boards shift, water infiltrates, and the next post rots sooner. Catching the first post is a one-afternoon repair.

Board replacement, rail repair, fence post layout and setting, gate installation and alignment, and post rot assessment. The skills that keep a fence line functional — for livestock, gardens, security, and property definition.

Why this skill matters

The post fails first. The boards fail second. The rail failure between them is the diagnostic that tells you which is happening.

A fence is a system with three structural elements: posts, rails, and boards. Posts are the anchors — everything else is attached to them. A post that has failed (rotted at grade, lost its concrete bearing, or heaved from freeze-thaw) can't be remediated by repairing boards. The structural failure is below the surface, and fixing what's above it produces temporary improvement while the underlying failure continues.

The most consequential fence maintenance skill is assessment: probing posts with a screwdriver at the soil line, checking for wobble under hand pressure, identifying the sagging rail that points toward a failing post before it becomes a leaning fence section. These are five-minute annual checks that separate a fence maintained with small interventions from one that fails all at once after years of deferred attention.

The preparedness angle is operational: a fence that contains animals, protects a garden, or defines a property boundary is functional infrastructure. A storm that takes out a section of fence creates an immediate problem — livestock loose, garden open to deer, or property boundary undefined. The household that has done fence repair before knows where the spare boards are, how to make the repair, and can have it done before any of those consequences develop.

What you should be able to do

L1 Household Basic
Replace individual broken, split, or rotted fence boards
Repair a sagging or loose rail with metal rail brackets
Probe fence posts at the soil line to assess rot — sound vs. soft
Adjust or replace gate hardware — hinges, latches, and gate stops
Identify whether damage is board-level (repair), rail-level (repair), or post-level (replacement)
L2 Capable Homeowner
Lay out a fence line — corners, intermediate posts, gate locations
Set fence posts correctly — depth, spacing, plumb, and concrete
Install fence rails and boards from scratch
Install a gate with correct post spacing, hardware clearance, and hinge alignment
Replace a rotted post or install a post brace as an interim repair

Tools and materials

The pry bar and the screwdriver are the two most-used fence tools — one for repair, one for assessment.

L1 — repair tools

Pry bar (flat bar or nail puller). For removing old boards. Work from the inside face so the bar marks are on the less-visible side. A flat bar gives more control than a crowbar for close-to-rail work.

Drill/driver with screwdriver bits. For driving 3" exterior screws. Pre-drill cedar to prevent splitting. Screws are more effective than nails for fence boards — they hold tighter and can be removed without prying.

Metal rail brackets. Galvanized L-brackets or T-brackets that attach rails to posts. Faster than mortising, stronger than reattaching old screws in stripped holes. A $3 bracket often saves a rail replacement.

Fasteners: 3" exterior deck screws or 16d galvanized nails. Galvanized or stainless — exterior-rated only. Interior screws or zinc-plated nails corrode within 2–3 seasons in wet climates, staining the fence and losing holding power.

L2 — layout and build tools

String line and stakes — for establishing the fence alignment before digging

Post hole digger (clamshell) or power auger rental

Post level (a 4-way level that attaches to the post) — frees both hands during bracing

Speed square — for marking and cutting rails and boards to length

Gate hardware kit — heavy-duty hinges and latch rated for the gate weight

Lumber selection: Posts must be rated "Ground Contact" (UC4A or UC4B) pressure-treated — "Above Ground" treatment doesn't last at soil contact. Cedar and redwood are naturally rot-resistant but more expensive; pressure-treated pine is the economical standard. Never use standard (KD) construction lumber for fence boards — it rots within 3–5 years.

Post rot assessment — the annual 5-minute check

The post is always the structural question. The boards and rails are just attached to it.

How to assess: the screwdriver probe

Drive a standard screwdriver firmly into the post at the soil line — where the post enters the ground. Sound pressure-treated wood resists the tip and doesn't compress. Rotted wood offers little resistance, compresses, and may allow the tip to push in more than ¼". Test around the full circumference of the post at grade — rot often starts on one face (typically the wetter face) and may not be uniform.

The wobble test

Push the post firmly by hand — top and side force. A post with intact concrete bearing should show no movement whatsoever. Any movement, however small, indicates either the concrete has cracked or separated, the post has rotted below the concrete, or the hole was too shallow and the post is freeze-heaving. A moving post needs repair or replacement before the next season.

Repair vs. replace decision

Post brace — when the post above grade is sound

If the post is rotted at and below grade but sound above the rot line: a post brace (a steel spike driven into the ground alongside the post, then bolted to the post face 12"–18" above grade) provides new bearing. The post brace transfers load to the ground through the steel spike rather than the rotted wood. Cost: $15–$25. Extends post life 5–10 years.

Post replacement — when rot is extensive or above grade

If rot extends above grade, if the post is failing structurally, or if a post brace has already been applied once: replace the post. Excavate, remove the old concrete if possible, dig to correct depth, set a new post, and brace while concrete cures. Reattach rails and boards to the new post.

Leaning section — don't repair boards or rails until the posts are addressed

A fence section that is visibly leaning has a post problem. Replacing boards on a leaning section produces aesthetically improved but still-leaning fence. Address the post(s) first, then replace any boards that were damaged by the lean or during the post repair.

Step-by-step procedures

Five procedures from board replacement to gate installation. Always assess the post before repairing what's attached to it.

L1

Board replacement

The most common fence repair. A single broken, split, or UV-rotted board can be replaced in 15–20 minutes. The critical check: inspect the rail condition before installing the new board.

1Work from the inside face (less visible side). Position the pry bar between the board and the rail, close to the fastener location. Lever the board away from the rail with slow, steady pressure — sudden prying can split adjacent boards.
2Inspect the rail before proceeding. Press the rail firmly with a thumb at the fastener location. Sound? Continue. Soft or compresses? The rail is rotted and needs repair (see Rail Repair) before the new board can be attached.
3Pull any remaining nails from the rail. If the nail holes are large (the nails pulled out rather than the board) and the rail is otherwise sound: use 3" screws rather than nails for the new board — screws pull into new wood adjacent to the old holes.
4Select replacement lumber matching the original in width and thickness — typically 1×6 or 1×4 cedar, or 5/4×6 pressure-treated. For boards running close to grade: "Above Ground" rated is acceptable for boards; posts need "Ground Contact" rated.
5Position the new board using a nail or scrap piece as a spacer (typically ¼"–⅜" gap between boards for drainage and movement). Fasten with 3" exterior screws — one per rail. Pre-drill cedar to prevent splitting at the board end.
L1 L2 (replacement)

Rail repair and replacement

Rails fail at post connections (pulled screws or rotted joint), at mid-span (sag from insufficient support), or through the rail itself (split or rotted). The diagnosis determines the repair.

Rail pulled from post — reattach with brackets

1Pull the rail back into its position against the post. Clamp or hold in position. Install a metal rail bracket (L-bracket or joist hanger) screwed into both the post and the rail. The bracket provides far stronger attachment than re-driving screws into old nail holes.

Mid-span sag — post needed

2A rail spanning more than 8 feet without a post will sag under board weight over time. This is a design issue, not a defect. Add a post at the midpoint of the span — set in concrete, braced while curing. The new post supports the rail and boards and prevents future sag.

Rail replacement (L2)

3Remove boards attached to the rail (set aside for reuse if sound). Remove the failed rail by pulling fasteners or using a pry bar at the post connections.
4Measure the span between posts. Cut the replacement rail to the same length from pressure-treated or cedar 2×4 stock. Position in the same location as the original rail on the post face.
5Fasten to each post with 3" structural screws or metal rail brackets. Reinstall the boards, checking that each is plumb and consistently spaced.
L2

Fence line layout

The planning step before any hole is dug. A fence line laid out on paper or with stakes before digging catches obstacles, spacing issues, and gate alignment problems before they require concrete removal to fix.

1Mark fence corners and gate locations with stakes. Stretch a string line from each end stake at the height of the post tops — this establishes the fence face alignment.
2The story pole method: Cut a board or stick to the planned panel width (e.g., 96" for an 8-foot panel). Walk the string line, stepping the pole from the first post stake to mark subsequent post locations. This spaces posts consistently without measuring each one individually.
3Check each marked post location: is it within 12" of a tree root? A buried utility? A large rock? If so: adjust the adjacent bays slightly to move the post — a 7-foot bay and a 9-foot bay balance to the same average as two 8-foot bays and is structurally acceptable.
4For gate locations: mark the two gate posts accounting for the gate opening (see Gate Installation). The gate posts should be marked independently from the regular post spacing — they have their own sizing and spacing requirements.
5Mark each final post location with spray paint or a stake. Walk the marked line again before digging — it's much easier to adjust a spray paint mark than to re-set a post in concrete.
L2

Setting fence posts — the sequence

Builds on the Concrete Work post-setting procedure. Fence posts have additional alignment requirements: all posts must align with the fence face string line, and intermediate post heights must interpolate correctly between the end posts (particularly on sloped ground).

1Set end and corner posts first. These are the control points that all intermediate posts align to. Dig, set, brace plumb, pour concrete, let cure 24–48 hours before setting intermediate posts.
2Stretch a string line from end post to end post at the finished post-top height. This is the alignment reference for intermediate post heights and face alignment.
3For intermediate posts: dig, set the post touching the string line (but not pushing it), brace plumb, and fill with concrete. The string line ensures the fence face is straight. The braces ensure the post stays plumb while the concrete cures.
4On sloped ground: Two approaches. Contour-rack: rails and boards follow the slope (the whole fence tilts with the ground). Step-rack: the fence steps down in increments with level panels — each panel starts lower than the previous, with the board bottom following the fence top profile. Contour-rack is simpler; step-rack is more formal in appearance. Both approaches are valid — decide before setting posts.
5Let all post concrete cure 48 hours before attaching rails and boards. The concrete hasn't reached working strength at 24 hours — attaching heavy boards too early can pull posts out of plumb before the concrete has set firmly.
L2

Gate installation

The most common fence build mistake: setting gate posts before accounting for hardware clearance. The gate opening must accommodate the gate width, the hinge hardware, and swing clearance — this calculation happens before the posts go in concrete.

Gate post sizing — before setting posts

1Calculate the opening: Gate width + 2" (1" hardware clearance each side) + ¼"–½" swing clearance = gate post inside-face spacing. Write this down. Measure twice before the posts go in.
2Size the gate posts larger than fence posts: Gates carry more load (constant opening and closing load, plus wind). 4×4 posts for gates up to 4 feet wide. 6×6 for gates 4–8 feet wide. Larger diameter holes, more concrete. Let cure 72 hours before hanging the gate.

Hanging the gate

3Install the bottom hinge on the gate first. Position the hinge at the correct height (typically 7"–12" from the bottom of the gate). Mark, pre-drill, and attach with the provided screws or bolts — use all the provided holes, not just two.
4Shim the gate into position in the opening at the correct clearance height above grade (typically 2"–4" for swing clearance over grass, more on slopes). Attach the bottom hinge to the post. The gate is now hanging on one hinge — check plumb and adjust the shims if needed before attaching the top hinge.
5Attach the top hinge with the gate in correct position. Swing the gate to test: it should move freely without dragging or binding, return to plumb when released, and close flush with the latch post face.
6Install the latch on the latch post at the height that engages when the gate is fully closed and plumb. For gate stops (a block on the latch post that the gate closes against): install after confirming the gate swings and latches correctly. A gate stop protects the latch hardware from impact when the gate swings closed hard.

Emergency and storm application

Three scenarios that require immediate fence response.

Storm damage — leaning or downed section

A fence section blown down or leaning after a storm. Temporary: a stake driven into the ground at the base of the leaning post and wire or metal banding tied from the stake to the post holds it until a permanent repair can be made. Don't cut corners on the permanent repair — the same wind event that knocked it over will knock over a poorly repaired section.

Livestock containment breach

A fence failure that creates a livestock containment gap requires immediate response. Temporary: portable livestock panels (welded wire or pipe panels) can close any gap quickly without post setting. T-posts driven into the ground with clip-on fencing close a gap in 20 minutes and hold reliably. Permanent repair follows after the animals are secured.

Pre-storm inspection

Before a predicted wind event: walk the fence line and apply hand pressure to every post. Any post that moves under hand pressure is a failure waiting to happen in high winds. A temporary brace stake — a steel fence post driven into the ground alongside the failing post and tied to it — prevents a major storm failure at a section that was already compromised.

Mandatory section

When to call a fencing contractor.

Board replacement, rail repair, post setting, and gate installation are well within homeowner territory for wood fences. Several situations benefit from professional equipment or specialized knowledge.

Large fence installations (200+ linear feet)

A contractor with a crew and a power auger (which is faster and digs cleaner holes than a manual digger or a rented walk-behind unit) completes large fence installations in a fraction of the time. For a back-yard fence of 150–200 linear feet: the homeowner time savings are significant but the cost comparison is worth evaluating. For farm fence in the hundreds or thousands of feet: contractor work is almost always more economical.

Chain-link fence installation

Chain-link fence requires specific terminal post sizing and anchor hardware, fence fabric tensioning with a come-along and fence stretcher, and tie wire attachment. The equipment for a quality chain-link installation is specialized and represents a significant investment that doesn't make sense for a one-time installation. Most contractors complete chain-link fence faster and more accurately than first-time DIY installers.

Farm and agricultural fencing

High-tensile wire fencing (for containing cattle, horses, or pigs) requires steel corner posts with specific bracing assemblies, line posts at different spacing than wood fences, and tensioning equipment to achieve the correct tension in the wire strands. An experienced agricultural fence contractor designs the bracing system and tensions the fence correctly — improperly tensioned high-tensile wire doesn't contain livestock and can be dangerous.

Fence on significant slope

Step-racking a fence on significant slope requires careful post height calculation for each step, consistent step sizing, and layout that results in panels that are level even though the fence follows a slope. The planning complexity increases with slope severity. On gentle slopes, homeowner step-racking is straightforward. On steep slopes (over 15%), a contractor who has planned stepped fencing on similar terrain produces better results with less wasted material.

Practice project

The annual fence walk — probe every post, inspect every rail.

Time: 30–60 minutes. Tools: a screwdriver. Outcome: complete assessment of all fence posts, rails, and boards, with a prioritized repair list.

1.
Walk the fence line with a screwdriver. Probe every post at soil level — all four faces. Apply firm hand pressure to every post. Mark failing posts with chalk or tape. Note every visibly broken board and sagging rail. Take photos for the home maintenance binder.
2.
Sort the findings: boards to replace, rails to reinforce, posts to brace or replace. The order of operations: posts first, then rails, then boards. Never fix boards while a post or rail failure is unaddressed.
3.
Address the most urgent repair first — a wobbling post or a downed section. Less urgent items can be batched into a single repair session.
4.
Keep spare boards and rail stock on hand — board replacement is a 15-minute job if the lumber is already there. Waiting until a replacement is needed means a trip to the lumber yard before a simple repair can happen.
First repair to attempt: Replace one board — the most damaged one on the fence. This teaches the pry, inspect, and fasten sequence at small scale with clear before-and-after results. Then apply the same sequence to the next most damaged board.

Recommended resources

Books, resources, and the credential.

Books

Fences, Gates, and Garden Structures (Sunset Complete Home Improvement) — comprehensive coverage of all fence types, gate hardware, and post-setting with specific guidance for slope conditions and different fence styles.

Fencing for Pasture and Garden (Gail Damerow) — covers agricultural and garden fencing with practical guidance on high-tensile wire, woven wire, and electric fence in addition to wood fence.

Free resources

YouTube — This Old House fence and gate series: clear technique demonstration for post setting, board installation, and gate hanging with consistent attention to the layout steps before excavation.

Local frost depth: check your county building code or frost depth database — required before any post setting in a region with freezing temperatures.

Community college carpentry programs often include fence building as a module. Find local programs through your state's Learning page.

The credential

No credential is required for homeowner fence repair and installation. General contractor license is required for commercial fence installation in most jurisdictions. Agricultural fence contractor certifications exist in some states for work involving right-of-way and boundary fencing. Licensed electrician required for electric fence connections to grid power.

Related pages