How To Build A Wood Garden Fence? | Posts That Stay Plumb

A sturdy fence starts with deep, set posts, level string lines, and rot-resistant boards fastened with exterior-rated hardware.

A wood garden fence can look tidy for years, or it can start leaning by the first wet season. The difference is rarely fancy carpentry. It’s planning, straight layout, and posts set right.

Below is a practical build order for a picket or simple privacy fence: measure, mark, set posts, add rails, hang pickets, then finish and maintain.

Fence Planning Before You Buy Lumber

Walk the line where you want the fence. Note slopes, tree roots, sprinklers, and where a gate should land. Then check local rules for height, placement, and setbacks. Many towns base rules on the International Residential Code planning chapter, which is a useful reference when you’re unsure what’s typical.

Sketch the fence with straight runs between corners, then add gate openings. A clear sketch prevents last-minute changes after holes are dug.

Measure Runs And Count Posts

Measure each run with a long tape. Plan posts about 6–8 feet apart, measured from post center to post center. Shorter spacing costs more posts, yet it keeps rails stiffer and pickets straighter. Count one post for every corner, plus two for each gate opening.

Materials That Hold Up Outdoors

Most DIY fences use pressure-treated posts and rails, then use cedar, redwood, or treated pickets on the face. Treated lumber resists rot and insects, and the U.S. EPA explains the basics of treated products on its wood preservative chemicals overview page.

Use exterior-rated fasteners. Plain steel rusts and leaves stains. For hinges and latches, buy hardware rated for the size and weight of your gate.

Tools That Make The Work Clean

A post-hole digger or auger, a 4-foot level, mason line, a drill/driver, and a circular saw cover most builds. Add clamps for holding rails and pickets while you fasten.

Layout Steps That Keep Lines Straight

Set corner stakes and run mason line to mark the fence face. Keep the line tight and a few inches off the ground. Square corners with the 3-4-5 method so runs don’t drift.

Call Before You Dig

Fence holes can hit power, gas, water, or irrigation. OSHA notes a common practice is calling 811 before digging so buried utilities can be marked. See OSHA’s sheet on avoiding underground utilities for the safety idea in plain terms.

How To Build A Wood Garden Fence? Step-By-Step Build Order

This build uses posts first, then rails, then pickets. It works well on uneven yards and makes gate setup simpler.

Step 1: Set A Reference Height

Choose the fence height at the most visible point, then mark it on a corner stake. On slopes, decide if the top line will follow grade or step down in sections. Gentle slopes often look fine following grade. Steep slopes often look cleaner stepped.

Step 2: Dig Holes To A Consistent Depth

A common rule is setting at least one-third of the post length in the ground. In cold areas, the hole base may need to sit below the local frost depth. Dig wide enough to plumb the post and pack fill tight.

Step 3: Set Posts Plumb And Brace Them

Add a few inches of gravel for drainage, set the post, brace it with scrap boards, then check plumb in two directions. Backfill with packed gravel, packed soil, concrete, or a mix. Gravel drains well and can make post replacement easier. Concrete can feel steadier for tall fences and wide gates. If you use concrete, slope the top away from the post so water runs off.

Step 4: Pull A Line And Set The Rest Of The Posts

Once two posts in a run are set, pull a tight line at the top-rail height and set remaining posts to that line. Sight down the row before fill sets. A slight bow at the post line turns into a wavy fence face.

Use the table below to lock in sizes, spacing, and clearances before you cut rails.

Fence Part Common Size Or Spacing Build Note
Post (standard) 4×4 treated, 8 ft Pick the straightest posts for corners and gate sides.
Gate posts 4×4 or 6×6 treated Use the larger size for wide gates or tall privacy panels.
Post spacing 6–8 ft on-center Shorter spacing reduces rail sag.
Hole depth 1/3 post length Check frost depth in cold areas.
Hole width 2–3× post width Extra room helps you plumb the post.
Rails 2×4, 2 or 3 rails Three rails keeps taller pickets flatter.
Pickets 1×4 to 1×6 Seal end grain if you’re staining.
Picket gap 1–3 in Use a spacer block to keep gaps even.
Ground clearance 1–3 in under pickets Clearance limits rot at the bottoms.
Fasteners Exterior screws or ring-shank nails Match fastener coating to treated wood.

Step 5: Install Rails Level And True

Attach the top rail first, using a spacer block or a level. Then add the bottom rail high enough to avoid wet soil. On tall fences, add a middle rail to stiffen pickets. Pre-drill near ends to reduce splitting, and drive fasteners snug rather than buried.

Step 6: Hang Pickets With Even Gaps

Start at one end. Set the first picket plumb, fasten it to each rail, then use a spacer block for the next gap. Every few pickets, step back and sight down the row. If you need a small correction, spread it across several gaps so it stays invisible.

Step 7: Build A Gate That Stays Square

Build a stiff rectangle, then add a diagonal brace that pushes weight back toward the hinge side. Hang the gate with strong hinges, keep gaps even, and set the latch so it closes without lifting.

Hardware And Post-Setting Choices

Wood moves with weather, so hardware that tolerates movement keeps the fence quiet. For wood durability basics, the USDA Forest Service’s Forest Products Laboratory shares research and guidance through its Durability and Wood Protection program.

Choice When It Fits Watch-Out
Gravel backfill Short fences, dry soils, easy post swaps Pack in thin layers so posts can’t rock.
Concrete plug Tall fences, wide gates, soft soils Slope the top away from the post for drainage.
Hot-dip galvanized fasteners Treated posts and rails Use compatible hardware for treated lumber.
Stainless fasteners Cedar/redwood, coastal air Cost is higher; buy the right length once.
Ring-shank nails Nailer installs on long runs Removal is hard if you swap pickets later.
Anti-sag kit Wide gates Re-tighten after the first wet week.
Post caps Rainy areas Caps must fit tight so wind can’t lift them.
Heavy strap hinges Gates over 36 in wide Pre-drill so gate rails don’t split.

Dealing With Slopes, Curves, And Corners

Yards rarely stay flat. A fence can still look straight if you pick one approach and stick to it for the whole run. On a mild slope, you can “rack” the fence by keeping rails parallel to the ground and letting pickets stay vertical. The top line follows the slope, and the gaps under pickets stay close to even.

On a steep slope, stepped sections often look calmer. You keep each section level, then drop to the next section at a post. To make the steps look planned, keep each section the same length, and keep the drop height consistent.

Curves are trickier with wood pickets. If you need a gentle curve, mark the arc with paint, set posts closer together, and keep rail lengths shorter so each panel can turn a little. If the curve is tight, it may look better to break it into short straight segments that “walk” around the bend.

At corners, decide early which run gets the clean face. A common method is letting the pickets from the main view run through the corner, then butting the other run into that corner post. This keeps the fence face from showing a seam on the side most people see.

Small Fixes That Prevent Big Repairs

Even a careful build can need minor tune-ups after the first few storms. Wood dries, then swells again. That movement can loosen screws, shift a latch, or create a tiny gap you didn’t see on day one.

If a post feels solid yet the fence face looks wavy, check the rail line with a string. A rail that bowed during install can often be pulled straight by adding a screw at each post and using a clamp to hold the rail to the line while you fasten. If the bow is severe, replace that rail rather than fighting it.

If a gate starts to sag, tighten hinge screws first. Then check the diagonal brace direction. The brace should run from the bottom latch corner up to the top hinge corner, so it carries weight back to the hinges. On wide gates, an anti-sag cable kit can also help once the frame is square.

When a picket cracks at a fastener, swap it early. Cracks spread with wind shake. Keep a handful of spare pickets from the same batch so color and grain match later.

Finish And Maintain Without Much Fuss

Keep pickets off the soil and trim back vines so boards can dry after rain. If you stain or paint, follow the product label and test on a scrap. Walk the line twice a year: tighten loose screws, replace cracked pickets, and check that the gate still swings free.

Build Checklist For Your Fence Day

  • Confirm rules for height, placement, and setbacks.
  • Mark corners, runs, and gate openings on a sketch.
  • Call 811 and wait for utility marks.
  • Run string lines and square corners.
  • Dig holes to consistent depth and width.
  • Plumb and brace posts, then backfill tight.
  • Set all posts to a pulled line at rail height.
  • Install rails, then hang pickets with a spacer block.
  • Build and hang the gate with a diagonal brace.
  • Add caps and finish when wood is ready.

References & Sources

Please use a real email you check. If it's fake or mistyped, your message won't reach us and we can't reply — wrong addresses are rejected automatically.