How to build a wood privacy fence

Check the line, space and set the posts, and count rails, boards, and concrete, worked through for a 120 ft L-shaped backyard fence with a gate.

A wood privacy fence is mostly posts. The boards and rails go up in a weekend. Whether the fence is still straight in ten years depends on how the posts were spaced, how deep they went, and what they’re sitting in. A post that leans, heaves in frost, or rots at the base takes the sections on both sides with it.

This guide covers the planning and the post work in detail, then counts everything for one backyard fence.

Step 1: Before you dig

  • Find the property line. Use your survey or the plat for your lot. If the corner markers can’t be found, a surveyor can re-mark them. Many builders set the fence a few inches inside the line, so there’s no question whose fence it is.
  • Check the rules. Most towns limit fence height, often lower in front yards. Some require a permit, and HOAs often control style and which side faces out.
  • Call 811. Utility lines run all over backyards. Have them marked before any post hole goes in.
  • Plan the gates. Decide where gates go and how wide, typically 3½–4 ft for a walk gate, wider for a mower or a vehicle. Gate posts are fixed points in your layout.

Step 2: Lay out the line and space the posts

Set a stake at each corner and end, and run a tight string line between them. Then space the posts along the string. Residential privacy fences usually set posts 6 to 8 feet apart. 8 feet is the standard because stock 8-foot 2×4s work as rails without waste. 6 feet is stiffer in exposed, windy spots.

Don’t count posts by dividing the length by the spacing. Divide, round the sections up, and add one post per straight run. Then allow for corners, where each run rounds up on its own, and gates, which need a post on each side. The fence calculator does this, and its count can run one post high but never short.

Step 3: Size and dig the holes

A dependable rule from the concrete maker’s post-setting guide:

  • Width: about 3 times the post width. For a 4×4 (3½ in actual), that’s about 10½ inches.
  • Depth: one-third to one-half of the post’s height above ground, plus 6 inches for gravel. For a 6-foot fence, that’s 24–36 inches of post in the ground, so a 30–42 inch hole.
  • Frost line: where the ground freezes, the bottom of the hole should sit below your local frost depth or the post can heave. Your building department can tell you the depth.

Put 6 inches of gravel in the bottom of each hole. It lets water drain away from the end grain, where wood posts rot first. Posts must be long enough for the depth too. A 6-foot fence with 2 feet in the ground needs 8-foot posts.

Step 4: Set the posts

Set the two end or corner posts first, plumb and braced, then run string lines between them at the top and near the bottom. Set the line posts to the strings.

  • Concrete: fill around the post above the gravel. Fast-setting post mix goes in dry around the braced post and is then soaked with water, with no mixing, which is why it’s popular for fences. Regular mix costs less per bag but needs mixing and takes longer to set.
  • Crown the top: finish the concrete slightly above grade and sloped away from the post, so rain runs off rather than pooling against the wood.
  • Gate posts: these carry a swinging load. Many builders use a larger post or a deeper hole on gate posts, and brace the gate frame diagonally from the bottom hinge corner up to the latch side.

Step 5: Rails and boards

A 6-foot privacy fence normally takes three rails per section: near the bottom, middle, and top. Then hang the boards, either side by side or as board-on-board:

  • Side by side: boards edge to edge. Pressure-treated and cedar boards shrink as they dry, so small gaps open up over the first season.
  • Board-on-board: boards alternate front and back with an overlap, so the fence stays solid as the wood moves. It takes about 20 % more boards, and it looks the same from both sides.

Keep the bottom of the boards an inch or two above the soil so they don’t wick up moisture.

Worked example: a 120 ft L-shaped backyard fence

The fence is 6 ft tall and runs 72 ft along the back and 48 ft along one side. It has one corner and one 4-ft walk gate. Posts are 4×4, 8 ft on center, each set in a 10½ × 30 inch hole with 6 inches of gravel. Every figure comes from the same math the fence calculator runs.

Item Result
Fenced length (after the gate opening) 116 ft
Sections 17
Posts 19, each 8 ft long (6 ft above ground, 2 ft in concrete)
Rails (3 per section, 8 ft 2×4) 51
Boards, 1×6 (5½ in actual), side by side, +5 % 275
Boards, board-on-board with 1 in overlap, +5 % 336
Concrete about 1.14 ft³ per post with 10 % extra, so 58 × 50 lb bags (about 3 per post)
Gravel for hole bottoms 12 × 50 lb bags

What the numbers tell you:

  • Board-on-board costs about 60 more boards on this fence. Price both before deciding.
  • Concrete is the heavy line. 58 bags at 50 lb is nearly 1½ tons to move around the yard. If access is easy, compare the price with larger 80 lb bags (about 36 of them), but they’re harder to handle.
  • The “two bags per post” shortcut falls short here. A 30-inch hole for a 4×4 takes about three 50-lb bags. A 6×6 gate post in a deeper hole can take ten.

For board-foot pricing on the lumber, run the rails and boards through the board foot calculator.

Common mistakes

  1. Dividing length by spacing and stopping. 120 ÷ 8 is 15, but corners, gates, and the extra end post push the count higher.
  2. Using nominal sizes. A 1×6 board is 5½ inches wide and a 4×4 is 3½ inches. Count with the actual sizes.
  3. Concrete straight onto soil. Without gravel at the bottom, water sits against the end grain and rots the post.
  4. Shallow holes. A post set less than a third of its above-ground height into the ground leans in wind. Above the frost line, it can heave.
  5. Posts that are too short. A 6-foot fence needs 8-foot posts.

Calculators used in this guide

Sources

Spotted a figure that doesn't match your supplier or your local code? Tell us through thecontact page and we'll check it and correct the guide.