Skip to content
Calcora

Home Guides How to Build a Wood Fence

How to Build a Wood Fence

Intermediate · 2–3 days

A wood fence lives or dies on its posts. Get them plumb, evenly spaced, set deep in concrete, and on a straight line, and the rails and pickets fall into place. Rush the posts and every flaw shows for the life of the fence. The other half of the job is courtesy and legality: confirm your property line and check local rules before you dig, because a fence in the wrong spot is an expensive mistake to undo.

What you'll need

Steps

  1. Confirm the line and call 811

    Verify your property line (a survey if there's any doubt) and check setback and height rules. Call 811 to locate buried utilities before digging — hitting a gas or power line is a serious hazard.

  2. Mark post locations

    Run a tight string between the end posts and mark each post position along it at your spacing (commonly 6–8 ft). Even spacing makes rails and pickets line up cleanly later.

  3. Dig the post holes

    Dig each hole about one-third the post height deep and three times the post width — and below the frost line. A few inches of gravel in the bottom lets water drain away from the post end.

  4. Set the posts in concrete

    Stand each post, brace it plumb in two directions, and pour fast-setting concrete around it. Crown the concrete above grade so water sheds away. Let it cure before hanging anything.

  5. Mark and attach the rails

    With the posts cured, snap or string a level line for the top rail and attach rails between posts (typically two for a 4 ft fence, three for taller). Keep them level even if the ground slopes.

  6. Hang the pickets

    Attach pickets to the rails using a spacer block for a consistent gap, checking every few boards with a level so they stay plumb. Follow the ground contour or step the fence on slopes.

  7. Cap, trim, and finish

    Add post caps and a trim board if desired, trim any uneven picket tops to a snapped line, then seal or stain the wood to slow weathering and rot.

Pro tips

FAQ

How many fence posts and pickets do I need?

Divide the fence length by your post spacing for sections; posts equal sections plus one. Pickets depend on width and gap. The fence calculator returns posts, rails, and picket count from your run.

How deep should fence posts go?

About one-third of the post's above-ground height, and always below the frost line so they don't heave. A 6 ft fence post is typically set about 2 ft deep in concrete.

What's the best post spacing for a wood fence?

Six to eight feet is standard. Closer spacing makes a stiffer, stronger fence; wider spacing uses fewer posts but flexes more in wind and over time.

Ready to estimate materials? Use the Fence Calculator

DIY at your own risk. Calcora's calculators and guides are general estimates and information only — not professional, engineering, legal, or safety advice. Always verify local building codes and permit requirements, and hire a licensed pro for electrical, gas, plumbing, structural, or any work you're not fully comfortable doing yourself.

Browse all DIY guides or every home & construction calculator.