How to Make Fence in 12 Steps: Layout, Posts, Rails, Gate

admin

September 18, 2026

Buck-and-rail fence with open horizontal rails between garden beds and pasture
Affiliate Disclosure: If you buy through links on our site, we may earn a small affiliate commission to help support the blog – at no extra cost to you. It never influences our product selection process. Thank you!

A privacy fence of panels on concrete-set posts goes up in 12 steps, but the stage people get wrong is layout.

Panel width decides post spacing, so choose the style before you measure. If the style leaves a short gap at the end of a run, you’ll be moving posts already set in concrete.

1. Check Rules and Property Lines

A fence-line photograph introduces the rules and property checks to come.

Codes come before any digging. Your city, neighborhood or homeowners association may limit the style and height of a fence, so check your design against each set of rules before you buy materials.

Next, find the property line. Your home’s plat is the official map of your lot, with its boundaries and measurements.

If you can’t find yours, a copy from the county clerk or a surveyor works just as well. Mark the line with stakes and string, and keep every post on your side of it.

Then show your plans to the neighbors. A fence that blocks their view or looks bad from their yard is a common source of disputes, and a short conversation costs nothing.

Recommended Products

2. Choose a Fence Type

A fence photograph accompanies advice on choosing a style before measuring.

For a typical DIY privacy fence, prefabricated panels are the practical choice, and I’d choose them over cutting and fastening every board in place.

Panels come in set widths that vary by style, so settle on the style first, then check which panel widths come in it before you measure anything.

Panel width sets your post spacing, and post spacing decides how many panels the run needs and where each post lands.

If the style you love leaves an awkward short gap at the end of a run, change the style now. Changing it on paper costs nothing, while changing it after the posts are set means moving them.

Recommended Products

3. Measure and Mark the Layout

A layout diagram marks the fence line, gates, panels, and post spacing.
  1. Measure the entire fence line, gates included. On a long run, a measuring wheel is faster and more accurate than a tape.
  2. Outline the line with spray paint or chalk, and label each gate location so you can see where the fence will break.
  3. Work out the panel count: subtract the total gate lengths from the total footage, then divide by the length of your panels. Any footage left over needs a partial panel or extra pickets.
  4. Work out the post count by dividing the fence length by your post spacing, which is typically 6 to 8 feet. Add one post for the end of the run, since a fence has one more post than it has spans.
  5. Write both counts down before you shop. A short material list now beats a second trip to the lumberyard.

Recommended Products

4. Gather Tools and Materials

Fence-building tools and materials vary with the style you choose.

Your list depends on which fence you build.

For a conventional wood fence:

  • A drill and deck screws, or a hammer and nails, for rails and pickets.
  • Gravel and concrete mix for setting the posts.

For buck-and-rail:

  • Buck poles about 5 feet long and 5–12 inches across. 8 inches is the most common.
  • Rails 10–20 feet long and 4–6 inches across. Skip anything under 4 inches, because thinner rails split when nailed and bend under heavy snow.
  • Poles and rails from a farm and ranch store or lumberyard, or cedar or pine cut on or near your land. Green wood works but weighs more.
  • 60d common nails, with 40d acceptable for extra-small pole ends.

Recommended Products

5. Prepare Buck Poles and Rails

Fresh-cut buck poles and substantial round rails sit beside 60d nails.

Cut each buck pole to about 5 feet, with a diameter between 5 and 12 inches. Eight inches is the most common size.

Rails run 10 to 20 feet long, and rail diameter should stay between 4 and 6 inches. Thinner poles split when nailed and bend or break under heavy snow, so I would skip skinny rails even if they’re free.

Seasoned and green wood both work, but green poles are heavier to handle.

Buy 60d common nails for the joints, or 40d if the pole ends are extra small. Plan on a helper once you’re out in the field, unless you can brace the bucks so they stand on their own.

Recommended Products

6. Dig Holes and Set Posts

A post stands plumb in a hole layered with gravel and concrete mix.
  1. Check for utility lines and pipes along the fence line before you dig anything.
  2. Mark a post location every 6–8 feet, keeping the spacing identical from post to post so the rails and panels fit evenly.
  3. Dig each hole about one-third as deep as the post is tall. A 6-foot post needs a hole about 2 feet deep.
  4. Pour 3–4 inches of gravel into the bottom of each hole.
  5. Add 6–8 inches of concrete mix on top of the gravel.
  6. Stand the post in the center of the mix and hold a level against it until it reads plumb.
  7. Follow the directions on your concrete mix for set time. It can run up to a few days, so leave the posts unloaded until then.

7. Cut Notches and Assemble Bucks

Notched poles cross to form bucks, with round rails resting in shallow seats.

Standard bucks cross at 60 degrees.

In a windy spot, I’d widen that to 80 degrees for extra stability. Cut a jig for whichever angle you pick, because a fence needs many identical pairs and freehand cuts drift.

Make each notch as wide as the rail’s diameter and about one-third as deep as the buck’s diameter. The fit should be snug, so the poles hold together before you nail.

Drive 60d common nails through each joined pair. The 40d size is acceptable for extra-small pole ends.

Cut one more shallow notch, as wide as the rail, where each rail will rest against a buck. It keeps the rails from rotating, and it stops the weight of snow or a climbing animal from pulling the nail out.

Recommended Products

8. Install Rails

Round rails sit in the V-shaped bucks, with top ends overlapping.

On a post fence, wait until the concrete has fully set before attaching anything. A privacy fence needs at least 3 rails: one along the bottom edge, one in the middle and one along the top.

A drill and deck screws or a hammer and nails will both do the job, but I’d pick screws, since a crooked rail can be backed out and reset.

A buck-and-rail fence has no concrete to wait on. With a helper, raise each buck, set a rail in the V and nail it with 60d common nails.

Overlap top-rail ends by at least 6 inches. With homegrown rails, point the largest ends the same way, so each rail overlaps the narrow end of the next.

Recommended Products

9. Add Pressure-Side Rails and Braces

A diagonal pole brace supports the buck legs opposite the rails.

After the top rails are on, add 1 to 6 more on the side facing the most livestock pressure, and a pole or two on the opposite side if you want extra strength.

Past four rails on one side, the legs need help.

If you use more than four rails on one side, consider adding a cross-brace to the buck legs about 1 foot above the ground. A 3-inch-diameter brace will keep the weight of the rails from spreading the buck legs over time.

— Grit

Diagonal braces can go on afterward, opposite the rails, running from the bottom inside of one buck to the top outside of the next. On level ground, plan one brace every tenth rail.

Recommended Products

10. Anchor Buck-and-Rail Fencing

Wire ties a buck to a buried rock to resist wind and tipping.

Buck-and-rail fences stand on their own weight, so wind and soft ground are where they fail.

In high-wind areas, anchor every tenth buck. Run wire from the buck’s mortise down to a buried rock, which holds the buck against tipping and lift without a posthole.

On soft ground the legs sink and the fence leans. Attach skids to both sides of the buck at the bottom of the legs.

They spread the load across more soil, the way snowshoes do on a drift. If wind is your main worry, I’d also use the 80-degree leg angle covered in the notching step.

Recommended Products

11. Attach Pickets or Panels

Fence panels attach directly to posts, while pickets are fastened one by one.

Pickets go on the same way the rails did, with a drill or a hammer, one board at a time. That is the slow part of a conventional fence, because every picket is its own small job.

Panels cut most of that work.

They attach straight to the posts, so you skip the separate rails and the picket-by-picket fastening. Unless you want a specific picket look, I’d pick panels for a first fence.

Plan one removable panel somewhere along the run. Detached, it opens a wider entry for a large delivery, such as furniture or a big appliance, and you won’t have to pull apart a fence you just finished.

12. Install the Gate

Hinges connect a garden gate to sturdy posts beside the fence.
  1. Set the gate posts the same way as your line posts, if they aren’t in the ground yet.
  2. Gather a drill, a screwdriver, screws, a locking mechanism and hinges sized for your gate. Hinges that are too small for the gate are the usual weak point.
  3. Measure twice, then predrill the hinge positions on both the gate and the gate posts.
  4. Screw the hinges onto the gate first.
  5. Hang the gate by fastening the hinges to the posts.
  6. Fit the lock following the manufacturer’s instructions, since latch styles differ in where they mount.

A buck-and-rail fence handles gates differently. Gate placement, corners and finishing touches depend on your site, so lay them out on the ground before you commit to a spot.

Posts or Buck-and-Rail

A post-and-rail fence and a buck-and-rail fence use different supports.

A conventional privacy fence uses posts set in concrete, at least 3 rails, and pickets or panels. Buck-and-rail has no postholes, but it uses more material.

That suits ground that fights a digging bar, and the result is sturdy enough to hold large animals. I’d choose posts for privacy and buck-and-rail for stubborn soil.

Posts and rails Buck-and-rail
Postholes Yes, set in concrete None
Material Standard amount More than standard
Rails At least 3 for privacy n/a
Faster option Panels instead of pickets n/a

Zigzag split-rail and stacked-rock fences are two other no-dig ideas, but neither is covered here.

Cedar, Pine, and Level Ground

Round cedar or pine rails rest on bucks suited to level ground.

Cedar and pine both work for buck-and-rail, and either can be seasoned or green.

Seasoned wood is lighter to carry, while green wood is heavier, so line up a helper before you start hauling. I’d use whichever of the two grows near you.

Level ground suits this style best, because both legs of each buck are normally cut to the same length.

On a gentle slope, make the downhill buck longer than the uphill one. A steep slope is better handled with set posts.

Snow load sets the rail size.

Rails thinner than 4 inches can split when nailed and will bend under heavy snow, so stay in the 4–6 inch range. In a windy spot, spread the X of each buck wider for more stability.

Why Build a Fence

Open rails separate cultivated beds from grazing ground along the garden edge.

A privacy fence keeps animals and strangers out of your yard, and it adds a barrier against wind, rain and loud neighbors.

The same solid build also keeps dogs and kids in and wild critters out, which is why most backyard gardeners should start there.

Large animals are a different job. For horses or other livestock, I’d pick buck-and-rail, which is sturdy enough to contain them.

It uses more material than a standard fence, but it needs no postholes, so it also suits ground too hard to dig, like the hardpan clay that bent T-posts in one farmstead build.

Decide what the fence must hold or block before you choose a style.

Frequently Asked Questions

Is it hard to make a fence?

It is a manageable DIY project, especially with prefabricated panels, which attach straight to the posts and skip the separate rails and board-by-board fastening.

The slower parts are laying out the line, digging, and waiting up to a few days for concrete to set. A buck-and-rail fence needs a helper to raise each buck.

Is 2 feet deep enough for fence posts?

Yes, for a 6-foot post.

Dig each hole about one-third as deep as the post is tall, so a taller post needs a deeper hole. Put 3–4 inches of gravel in the bottom, then 6–8 inches of concrete mix before standing the post.

How do I build a fence on a slope?

For a buck-and-rail fence on a gentle slope, cut the downhill buck longer than the uphill one.

Both legs are normally the same length, which only suits level ground. On a steep slope, set posts are the better choice.

What is the cheapest way to build a fence?

No option here comes with a price, so compare your own material costs.

Buck-and-rail skips postholes and concrete but uses more material. If you have cedar or pine on or near your land, cutting your own poles and rails can cut what you buy.

Leave a Comment