A simple fence starts with a straight layout, sturdy posts set in concrete, and level rails and pickets fastened to match your yard.
A garden fence can mark bed edges, keep pets from trampling seedlings, and slow down deer or rabbits. You don’t need fancy carpentry. You need a plan, steady measurements, and patience while posts set.
This build uses a basic wood picket style that suits most yards. You can swap in wire mesh for small pests or keep it low and decorative. The core steps stay the same: lay out a line, set posts plumb, then build repeatable sections.
What you decide before you buy materials
Start with three calls: the fence’s job, the height, and where corners land. That’s enough to avoid buying the wrong lumber or boxing yourself into a hard-to-build shape.
Fence purpose and height
For bed borders and light pet control, 24–36 inches often works. For dogs that jump or deer, plan for 48 inches or more. Taller fences catch more wind and ask more from the posts, so match height to the job.
Property lines, rules, and utility marks
If your fence sits near a property edge, confirm the line first. Then check local rules on height, setbacks, and permits. Many towns post a simple fence handout online; Mona City’s fence permit requirements shows how permit needs can depend on height.
Before you dig, request utility marking. In the U.S., the national 811 system is outlined on the U.S. Department of Transportation page Call 811 Before You Dig. Even shallow holes can meet shallow lines.
Layout shape and gate location
Walk your yard with a tape measure and stakes. Keep corners square when you can. If you need a gate, place it where you’ll use it with a wheelbarrow, hose, or compost bin.
Materials and tools for a clean, straight build
You can build this fence with standard lumber, exterior fasteners, and a few tools. Ground-contact treated posts last longer near soil. Cedar stays lighter to handle and holds up well too.
Lumber choices
For posts, use 4×4 lumber rated for ground contact. For rails, 2x4s are common. For pickets, choose 1×4, 1×6, or pre-cut pickets. If rabbits are a problem, add a strip of 1/2-inch hardware cloth along the bottom and staple it to the rails.
Fasteners and concrete
Exterior screws hold better than nails when wood swells and dries. Pick coated deck screws or stainless screws near sprinklers. For posts, use bagged concrete mix or a tamped gravel base with a concrete collar, based on your soil and freeze depth.
Tools you’ll use
- Tape measure, mason’s string, and a line level
- Post hole digger or auger, plus a shovel
- 4-foot level and two scrap braces
- Drill/driver and a saw
If you’re using power tools, follow guard and handling basics. OSHA’s booklet Hand and Power Tools lists practical points like using guards, keeping cords out of the cut line, and matching the tool to the job.
Building a simple garden fence with basic layout marks
A straight fence starts with straight marks. Ten extra minutes with string saves a lot of fighting later.
Set corner stakes and pull a tight string
Drive stakes at your corners. Tie mason’s string between them at the height you want your top rail or picket tops to sit. Pull it tight, then use a line level to keep it even.
Square corners with the 3-4-5 method
Measure 3 feet along one leg from the corner stake, then 4 feet along the other leg. Adjust until the diagonal between those marks is 5 feet. Lock it in with a second stake.
Mark post spacing
Most garden fences look tidy with posts spaced 6–8 feet apart. Shorter spans keep rails straighter and reduce sag. Mark each post spot with paint or a small flag.
How To Build A Simple Garden Fence? Step-by-step post setting
Posts decide the fence’s strength. If posts lean or vary in height, each rail and picket fights you. Slow down here and the rest goes fast.
Dig holes to the right depth
Dig each hole wide enough for the post plus room to work. A common rule is a hole diameter around three times the post’s width. Depth varies by soil and freeze cycles. In many places, setting at least one-third of the post length below grade keeps the post steady.
Set and brace the first post
Drop 4–6 inches of gravel in the bottom for drainage, then set the post. Check it for plumb on two faces. Brace it with scrap wood so it can’t move while you add concrete.
Add concrete and match the line
Pour dry mix around the post and add water per the bag, or mix in a tub and shovel it in. Shape the top of the concrete to slope away from the post so rain runs off. While the mix is still workable, align the post to the string line and set the top height with a tape measure.
Repeat down the run
Set the next post using the string as your straight reference. Check plumb, brace, then fill. Work your way down the run. Let the posts cure based on the concrete bag directions before hanging rails.
Wear gloves and keep sawdust off food and drink. If you cut older treated lumber, keep dust down and don’t burn scraps. EPA guidance on CCA-treated wood lists handling steps like cutting outdoors and using basic protective gear.
Planning numbers that keep the build smooth
Fence math isn’t hard, but it’s easy to mis-buy boards. Write your counts down before you head to the store. Use the table below for a straight run, then adjust for corners and gates.
| Fence element | Rule of thumb | What to measure |
|---|---|---|
| Posts | 1 post each 6–8 ft plus corners | Total run length and number of corners |
| Post holes | Diameter about 3× post width | Post size and dig tool size |
| Concrete | 1–2 bags per post in many soils | Hole diameter and depth per post |
| Rails | 2 rails per section for 3–4 ft height | Number of sections between posts |
| Pickets | 1 picket per width plus gap | Picket width and gap you want |
| Hardware cloth | Bottom 12–24 in strip for rabbits | Linear feet along runs near beds |
| Fasteners | 2 screws per picket per rail | Pickets × rails plus corner braces |
| Gates | One gate needs 2 heavier posts | Gate width and latch swing |
Rails and pickets that stay straight
Once posts cure, build in repeating sections. Keep each section the same and the fence will look tidy from end to end.
Mark rail heights on posts
Use the string line to mark the top of the upper rail on each post. Then mark the lower rail. Many garden fences place the lower rail 6–10 inches above soil so wood stays out of splash and mud.
Attach rails with a spacer block
Cut a scrap block to the lower-rail height and use it as a spacer while you screw rails into posts. Pre-drill near board ends to reduce splitting. If your fence is taller, add a third rail.
Set pickets with a simple jig
To keep gaps even, cut a small spacer from scrap wood. Start at one end, set the first picket plumb, then work across. Step back now and then and sight the top line. Small corrections early prevent a messy last picket.
Handle slopes without fussy cuts
On a mild slope, keep rails level and let pickets run long, trimming bottoms after. On a steeper slope, step sections: keep one section level, then drop the next section down at the next post.
Gate building that doesn’t sag
A gate needs a stiff frame and strong hinges. Build it square, then lock it in with a diagonal brace.
Build a square frame
Cut two verticals and two horizontals from 2x4s. Lay them on a flat surface and screw them into a rectangle. Check for square by measuring diagonals; when both diagonals match, the frame is square.
Add a diagonal brace and skin it
Run a brace from the bottom hinge side up to the top latch side. Screw it in, then add pickets to match the fence face.
Hang the gate and set latch clearance
Shim the gate for an even gap, then screw strap hinges to the post and gate. Install a latch that you can use with one hand. For wheelbarrows, a clear opening near 36 inches feels good.
Finishing steps that extend fence life
Wood outdoors takes sun and rain. A few finishing steps keep it looking neat and slow rot.
Seal fresh cuts
If you trimmed pickets for a slope, brush an end-grain sealer or wood preservative on fresh cuts. Cut ends soak up water first.
Pick a finish you can refresh
A semi-transparent exterior stain is easy to recoat. Paint can peel if moisture gets behind it, so keep the bottom edge off soil and use an exterior primer.
Table of common fence problems and fixes
Small issues show up in the first month. Catch them early and your fence will stay straight longer.
| What you notice | Likely cause | Fix |
|---|---|---|
| Post leans after cure | Hole too wide or soil loose | Add a ground stake brace, then reset with more concrete on the low side |
| Rails bow between posts | Span too long or rail too thin | Add a midspan block, shorten spans, or add a third rail |
| Pickets drift out of line | No spacer used, minor post twist | Use a spacer jig, loosen and re-set a few pickets, then re-screw |
| Gate sags | No diagonal brace or weak hinges | Add brace bottom-hinge to top-latch, upgrade hinges, re-shim |
| Latch sticks | Post movement or hinge shift | Adjust hinge screws, move latch strike plate, plane edge if needed |
| Rot at picket bottoms | Wood sits in wet soil | Trim bottoms up, add gravel strip, seal cut ends |
| Animal gaps at ground | Uneven grade | Add hardware cloth skirt or a low board along the bottom |
Final walkthrough before you call it done
Walk from one end to the other. Check plumb on a few posts, sight the top line, then open and close the gate a bunch of times. If it swings clean and latches without lifting, you’re set.
Clean up scraps and store leftover screws and brackets in a labeled bag. If you used treated wood, keep offcuts out of fire pits and grills. A tidy site makes the next weekend project easier to start.
References & Sources
- Mona City, Utah.“Fence Permit Requirements.”Municipal handout showing how fence permits may depend on height.
- U.S. Department of Transportation.“Call 811 Before You Dig.”Explains utility marking basics and why calling 811 prevents line strikes.
- OSHA.“Hand and Power Tools.”Safety practices for common tools used during cutting, drilling, and fastening.
- U.S. EPA.“CCA-Treated Wood.”Handling notes for older treated lumber, including dust control and disposal cautions.
