TL;DR: Building a fence yourself can save you thousands of dollars in labor costs. This guide covers planning, tools, materials, and step-by-step instructions for a standard 6-foot privacy fence. Expect to spend 2-3 weekends on a 100-foot fence, with material costs ranging from $15 to $30 per linear foot depending on wood type and hardware.
What You’ll Need
| Item | Purpose | Estimated Cost |
|---|---|---|
| Pressure-treated 4×4 posts (8 ft) | Vertical supports set in concrete | $12–$18 each |
| Pressure-treated 2×4 rails (8 ft or 10 ft) | Horizontal supports between posts | $5–$8 each |
| Dog-eared fence pickets (6 ft tall) | Vertical boards for privacy | $2–$4 each |
| Quikrete or similar concrete mix (80 lb bags) | Setting posts in holes | $6–$8 per bag |
| 3-inch galvanized deck screws | Attaching rails to posts | $10–$15 per 5-lb box |
| 1.5-inch galvanized fence screws | Attaching pickets to rails | $8–$12 per box |
| Post-hole digger or power auger | Digging post holes | $25 (manual) or $50/day rental |
| Level (4-ft and torpedo) | Ensuring posts and rails are plumb/level | $15–$30 |
| String line and stakes | Marking fence line | $10 |
| Circular saw or miter saw | Cutting rails and pickets | $50–$150 (own) or $20/day rental |
| Hammer or nail gun (optional) | Securing pickets | $15 (hammer) or $40/day rental |
| Measuring tape, chalk line, pencil | Layout and marking | $10–$20 |
| Safety gear (glasses, gloves, ear protection) | Personal protection | $20–$40 |
Total estimated material cost for a 100-foot fence: $400–$1,000 (depending on wood grade and local prices).
How Long Does This Take?
- Planning and layout: 1–2 hours
- Digging post holes (100 ft fence, ~10 holes): 3–5 hours (manual digger) or 1–2 hours (power auger)
- Setting posts in concrete: 2–3 hours (plus 24–48 hours for concrete to cure)
- Attaching rails: 2–3 hours
- Installing pickets: 4–6 hours
- Finishing (trimming, gate installation): 2–4 hours
Total time: 2–3 full weekends (including curing time).
Safety First
Always call 811 before digging to mark underground utilities (gas, electric, water, sewer). This is free and required by law in most areas. Hitting a utility line can cause serious injury, fire, or property damage.
Wear safety glasses and gloves when using power tools, digging, or handling treated lumber. Pressure-treated wood contains chemicals; wear a dust mask when cutting it.
Use a lifting technique for heavy bags of concrete (80 lbs each) to avoid back strain. Bend at the knees, not the waist, and ask for help if needed.
Keep children and pets away from the work area during digging and power tool use. Post holes are tripping hazards, and saws can cause severe cuts.
Check weather forecasts – avoid working in rain or high winds, especially when setting concrete or using power tools.
Step-by-Step Instructions
- Plan your fence line and check property lines.
Use a survey map or property pins to mark your boundaries. Install stakes at each corner and run a string line between them. Measure the total length to calculate how many posts, rails, and pickets you need. Pro tip: Space posts 8 feet apart for standard 8-foot rail sections. For a 100-foot fence, you’ll need about 10–11 posts.
Time: 1 hour
- Call 811 to mark underground utilities.
This is non-negotiable. Wait 2–3 days for the utility companies to mark lines. Do not start digging until you have clear markings. If you skip this, you risk electrocution, gas leaks, or flooding.
Time: 2–3 days waiting, but only 15 minutes to call
- Dig post holes.
Using a post-hole digger or power auger, dig holes at each stake. Holes should be 8–10 inches in diameter and at least 2 feet deep (or 1/3 the height of the post above ground). For a 6-foot fence, dig 2 feet deep so the post is 8 feet total. In colder climates, dig below the frost line (usually 3–4 feet). Keep the holes straight and vertical – use a level to check as you dig.
Time: 3–5 hours for 10 holes (manual) or 1–2 hours (power auger)
- Set the first post.
Place a 4×4 post in the first hole. Add 6 inches of gravel at the bottom for drainage. Use a level to plumb the post (check both sides). Hold it steady while you pour dry concrete mix into the hole (or mix it in a wheelbarrow first). Add water according to package directions – usually 1 gallon per 80-lb bag. Use a stick to tamp the concrete and remove air pockets. Check the post is still plumb before the concrete sets. Brace it with stakes and scrap wood if needed.
Time: 10–15 minutes per post
- Set remaining posts.
Repeat step 4 for all corner and end posts first. Then set line posts. Use a string line stretched between corner posts to ensure all posts are aligned. Check spacing (8 feet on center) and plumb each post. Let the concrete cure for 24–48 hours before attaching rails. Do not rush this – weak concrete can cause the fence to lean.
Time: 2–3 hours for all posts, plus curing time
- Attach the top and bottom rails.
Cut 2×4 rails to length (usually 8 feet, but adjust for post spacing). For a 6-foot fence, place the top rail about 1.5 inches from the top of the post and the bottom rail about 8 inches from the ground. Use 3-inch deck screws to attach each rail to the post, driving two screws per rail end. Use a level on each rail before screwing it to ensure the fence stays straight. For sections longer than 8 feet, splice rails over a post (overlap by 6 inches).
Time: 2–3 hours for a 100-foot fence
- Install the fence pickets.
Start at a corner post. Place the first picket against the post, ensuring it overlaps the post by about 1 inch. Use a level to make the picket plumb. Attach it to the top and bottom rails with 1.5-inch fence screws (two per rail). Space pickets evenly – for privacy, place them flush together (no gap). For a more open look, leave a 1/4-inch gap using a spacer. Use a string line across the tops of pickets to keep them all the same height. Cut pickets to length with a circular saw if needed.
Time: 4–6 hours for 100 feet (about 80–100 pickets)
- Build and install the gate.
Measure the gate opening (usually 3–4 feet wide). Build a rectangular frame from 2x4s, using corner braces or metal brackets for strength. Attach pickets to the frame just like the fence. Hang the gate using heavy-duty gate hinges (rated for the weight). Install a latch and a drop rod or self-closing mechanism. Check that the gate swings freely and latches correctly before finalizing.
Time: 2–3 hours per gate
- Add finishing touches.
Trim any protruding screws or nails. Apply a wood sealer or stain (if desired) within 30 days of installation to protect the wood from rot and UV damage. Check that all posts are still plumb and the fence is straight. Remove all braces and stakes.
Time: 1–2 hours
Common Mistakes to Avoid
- Not calling 811 before digging. This is the #1 mistake. It can lead to severed gas lines, electrocution, or fines. Always call.
- Setting posts too shallow. A 6-foot fence needs at least 2 feet of post in the ground. In cold climates, go below the frost line. Shallow posts will heave in winter.
- Not using a level on every post and rail. Even a 1/4-inch tilt per post adds up to a visibly crooked fence. Check each one before concrete sets.
- Attaching pickets before concrete cures. If you attach rails and pickets while concrete is still wet, the weight can shift the posts. Wait at least 24 hours.
- Ignoring property lines. Building over the line can lead to legal disputes and having to tear down your fence. Always confirm boundaries with a survey.
When to Call a Professional
- Rocky or clay soil that makes hand-digging impossible – a pro with a mini-excavator can do the job in hours.
- Fence longer than 200 feet – the labor becomes overwhelming for a solo DIYer.
- Complex terrain (slopes, uneven ground, near trees) – pros know how to step posts and adjust for grade.
- If you hit a utility line – stop immediately and call the utility company. Do not attempt to fix it yourself.
- If your HOA or city requires permits – some areas have strict codes for fence height, materials, and setbacks. A contractor can handle the paperwork.
Frequently Asked Questions
Q: Do I need a permit to build a fence?
A: In most areas, fences under 6 feet in height don’t require a permit, but always check with your local building department. Some HOAs have stricter rules.
Q: How deep should fence posts be?
A: A general rule is 1/3 of the post height should be underground. For a 6-foot fence (8-foot post), dig 2 feet deep. In freezing climates, go 3–4 feet deep to avoid frost heave.
Q: What type of wood is best for a fence?
A: Pressure-treated pine is the most affordable and rot-resistant. Cedar and redwood are naturally rot-resistant but cost 2–3 times more. For a budget-friendly option, use treated pine and stain it.
Q: Can I build a fence alone?
A: Yes, but it’s much easier with a helper for setting posts and handling long rails. Plan for 2–3 weekends solo, or 1–2 weekends with a partner.
Q: How do I prevent fence posts from rotting?
A: Use pressure-treated wood rated for ground contact. Add 6 inches of gravel at the bottom of each hole for drainage. Never set posts in concrete without gravel – it traps moisture.


