To install a garden fence, set level posts in marked holes, anchor with gravel and concrete, then attach rails and panels inline.
Building a tidy boundary that holds up through storms starts with a smart plan. The steps below keep you on track: survey the line, set sturdy posts at the right depth, fix rails or stringers, and hang panels or boards square.
Before You Start: Layout, Rules, And Safety
Walk the perimeter and sketch a quick scaled plan. Note slopes, tree roots, gates, and utilities. Many places require permits or have height limits near roads and property lines. Always locate buried services. In the United States, call or click the one-call marking service a few days ahead so lines get flagged (811 homeowner guide). Clear vines and brush so you can measure straight and work clean.
Pick materials that fit your climate and purpose. Timber suits rustic borders and privacy screens. Metal mesh keeps rabbits out of beds. Composite panels reduce upkeep. If wood will touch soil or concrete, buy pressure-treated stock rated for ground contact per the AWPA U1 use categories (AWPA specifiers info).
Toolkit And Materials Checklist
Gather everything before digging. This compact kit covers most garden builds.
| Item | Why You Need It | Pro Tip |
|---|---|---|
| String Line & Stakes | Marks a straight run | Set string at finished height to spot humps |
| Tape Measure & Marking Paint | Spacing and hole locations | Spray dots at post centers |
| Posthole Digger Or Auger | Opens neat, deep holes | Keep sides rough for grip |
| Shovel & Digging Bar | Shapes and cleans holes | Bell the bottom slightly |
| Level (24" or Post Level) | Plumbs posts on two faces | Check as you backfill |
| Gravel (Drainage) | Prevents standing water | 4–6" layer at hole base |
| Concrete Mix | Locks posts solid | Wet-set or dry-pour per bag spec |
| Galvanized Screws/Nails | Resists rust | Use exterior grade fasteners |
| Rails/Stringers | Connect posts | Cut ends square and pre-drill |
| Panels, Boards, Or Mesh | Creates the barrier | Seal cut edges before hanging |
| Gate Kit (If Needed) | Hinges, latch, and brace | Use a longer, heavier post |
| Saw & Driver | Trim and fasten parts | Carry extra batteries |
| Protective Gear | Eyes, hands, hearing | Wear boots with firm tread |
How To Install A Backyard Fence: Planning To Finish
1) Set A Straight Line
Drive a stake at each corner. Stretch a mason’s line between them, snug and level. Measure your panel width or planned board spacing. Mark post centers on the ground along the line.
2) Space Posts For Strength And Looks
Common spacing runs 6–8 feet for timber builds and 7–10 feet for wire mesh with stout end posts. Tighter spacing handles wind, slopes, and gates. Place gate posts first, then fill the runs.
3) Dig Holes To The Right Depth
A reliable rule is to bury about one-third of the post length. A six-foot visible height usually takes a post that reaches roughly two feet into the ground, more in soft soil or wind-exposed sites. Add 4–6 inches of gravel at the base for drainage. If frost is an issue, dig below the local frost depth.
4) Set Gravel And Concrete
Add the gravel layer and tamp it firm. Drop the post in and align to the string. Many builders lock posts with concrete because it delivers a stiff, long-lasting seat when mixed and placed to spec. Keep the top of the footing slightly domed so water sheds away from wood. Brace each post, then fill and check plumb on two faces until the mix grabs.
5) Install Rails Or Stringers
Once the posts hold steady, fix two or three horizontal members between them. Keep the bottom rail off the ground. Pre-drill and use exterior screws. On slopes, choose stepped or racked rails.
6) Hang Panels Or Boards
Start at a corner and work along the line. For boards, set a consistent reveal from the ground to reduce splashback. Use spacers for even gaps on pickets. For mesh, stretch it tight and fasten cleanly.
7) Build The Gate So It Stays Square
Gates sag when the hinge side or frame lacks stiffness. Use a heavier post on the hinge side, add a diagonal brace from the low hinge corner to the high latch corner, and hang quality hinges.
Post Footings That Last
The footing does most of the structural work. Think drainage, depth, and load path. Gravel at the base keeps water from pooling. A domed top sheds rain. In clay, flare the bottom slightly to resist uplift. Where soil stays soggy, consider steel posts in sleeves or use concrete piers with brackets.
Pick The Right Lumber And Fasteners
For wood that touches soil or sits inside concrete, buy stock labeled for ground contact under AWPA U1 (look for UC4A or stronger on the tag). Pair it with hot-dip galvanized or exterior-coated screws and nails. Keep cut ends sealed with a compatible end-cut preservative.
Drainage And Soil Tips
Sandy loam drains well and grips clean, straight holes. Heavy clay holds water; give it extra gravel and a pronounced crown at the top of the footing. In rocky runs, offset holes a couple of inches rather than fighting boulders. Where wind is fierce, shrink spacing and add an extra rail.
Privacy, Wildlife, And Wind
Solid panels block views and breeze; slatted layouts soften wind loads. For wildlife-friendly plots, leave a small slot low on one panel so hedgehogs and other small creatures can pass between gardens. Keep the gap near a corner and away from roads.
Step-By-Step Walkthrough
Mark And Measure
Set corner stakes and a string line. Confirm the property line if there’s any doubt. Measure the total run, divide by your target spacing, and adjust around corners and gates.
Dig And Prep
Cut neat holes to depth with an auger or digger, then square up the sides with a bar. Drop in the gravel pad and tamp. Dry-fit a few posts to confirm height and alignment.
Set Posts
Mix per bag directions. Fill the hole in lifts, rod the mix to remove air pockets, and keep the post plumb while the concrete sets. Check alignment against the string.
Frame The Bays
Cut rails to fit snug between posts. Pre-drill near ends to prevent splitting. Keep fasteners in a straight line for a clean look.
Attach Panels Or Boards
Hold each piece to your layout marks and fix with two fasteners at each rail. Check every few bays with a long level or straightedge so the face stays flat.
Hang And Adjust The Gate
Mount hinges first, then the latch. Plane the edges if needed for a smooth swing. Add a stop to keep the latch side from over-closing.
Sizing Guide: Heights, Posts, And Holes
Use this quick chart to match common heights with post length and typical hole depth. Local codes and soil conditions can nudge these numbers. Aim deeper for loose ground or high wind.
| Fence Height | Post Length | Typical Hole Depth |
|---|---|---|
| 3–4 ft | 6–7 ft | 18–24 in |
| 5–6 ft | 8 ft | 24–30 in |
| 7–8 ft | 10 ft | 32–40 in |
Dealing With Slopes, Corners, And Obstacles
Slopes
For mild grades, rack panels by stepping rail heights at the posts so pickets follow the terrain. On steep spots, use stepped bays with level panels and short infill pieces.
Corners
Use bigger posts at corners and add a brace rail if the angle feels flexible. Fasten rails from each direction into the corner post.
Obstacles
Work around trees with a notch or a short return panel. Shift a hole by an inch or two to miss a boulder, then keep the face in line with the string.
Weather And Curing Basics
Concrete gains strength as it cures. In warm, dry air it firms up fast; in cool, damp air it takes longer. Keep fresh footings shaded from hot sun and shielded from steady rain. Avoid loading the frame until the mix has set hard to the touch. If your mix allows quick setting, you can plumb and brace, then move to the next bay while it firms. Cold nights slow the process; give posts extra time before hanging a heavy gate.
Fast Fixes And Maintenance
Once a year, walk the line and tighten any loose hardware. Re-seal cut ends and scratches. Pull soil and mulch back from boards so air can dry the base. A light coat of stain every few seasons helps wood shed water.
Common Mistakes To Avoid
- Skipping the utility locate and hitting a cable or pipe.
- Shallow holes that let posts lean in wind.
- Flat concrete tops that trap water around wood.
- Fasteners that aren’t rated for outdoor use.
- Long gate spans without a brace or heavier hinge post.
- Rails too close to grade where sprinklers soak them daily.
Quick Buying Notes
Pick straight posts with tight grain and minimal checks. For mesh, choose a gauge that resists bending by hand. Buy exterior screws long enough to grab solidly without poking through. Keep a couple of spare boards or a short panel on hand for repairs.
Final Touches That Pay Off
Cap the posts to slow water entry at end grain. Caulk small gaps where rails meet posts to keep debris out. Add a stone or mulch strip under the face so soil doesn’t splash against boards. Label the gate with your contact if it opens to a lane or shared space.
