A garden fence comes together by planning layout, setting posts, and fastening wire or boards, finished with a snug gate for daily access.
Ready to keep veggies safe and tidy? This step-by-step plan shows you how to build a clean, durable barrier that fits your space, keeps out nibblers, and looks good next to beds and paths.
Project Snapshot: What You’ll Build
You’ll set corner and line posts, string a straight layout, add rails or tension wire, attach fencing, and hang a gate that swings smoothly. Materials shift a bit by yard, soil, and critter pressure, but the core flow stays the same.
Choose Your Materials And Style
Pick materials that match your goal: tidy veggie patch, rustic potager, or low-profile barrier that fades into the background. The table below compares common choices so you can match budget, looks, and bite-resistance.
| Material | Best For | Notes |
|---|---|---|
| Welded Wire (2″x4″) | General garden enclosures | Stands up well; pair with stout posts; add bottom apron to stop diggers. |
| Hardware Cloth (½”) | Rabbit and vole barriers | Rugged mesh; bury or skirt at base; great as a lower panel with taller wire above. |
| Woven Wire (8′ Deer Panel) | High deer pressure | Tall, springy, long-lasting; needs braced corners and tight tension. |
| Black Poly Deer Net | Low-visibility deer barrier | Lightweight; disappears at a distance; anchor bottom edge to stop push-through. |
| Wood Pickets Or Boards | Bold, classic look | Heavier; plan concrete footings or gravel-set posts and drainage. |
| Livestock Panels | Fast build, tough corners | Rigid sections; great for short spans and quick gates. |
| Electric Strand (Offset) | Add-on deterrent | One or two hot wires in front of a barrier can train deer to stay back. |
Safety And Layout Prep
Before you dig post holes, contact your local utility locate service. A quick click or call to 811 in your state schedules free marking of buried lines so you don’t hit gas, electric, or data runs. Next, walk the fence line, pick the straightest path you can, and clear rocks, roots, and stray irrigation.
Building A Fence Around The Garden: Plan To Finish
This section is your build script from first stake to swinging gate. Follow it in order and you’ll avoid do-overs and saggy spans.
1) Map The Rectangle (Or Curve)
Drive a stake at each corner. Pull mason’s line between them to show the outside face. Check diagonals; a rectangle is square when both diagonals match. Working with curves? Set short, equal chord lengths with stakes every few feet so the fabric follows the arc cleanly.
2) Set Corners And Ends
Corner posts take the load from stretched wire or boards, so give them the best footing. Dig holes below frost line where you live, or at least a third of the post length below grade. Gravel-set posts drain fast and stay true in many soils; wet-set concrete helps in sand. Tamp in lifts so the post doesn’t drift. Add bracing at corners: a horizontal rail or diagonal brace with a tension wire keeps the corner tight.
3) Run A Guide Line For Straight Spans
With corners plumb, pull a taut line 4–6 inches above grade to mark the fabric bottom. Snap another line at top height. These strings control post heads so every span matches.
4) Plant Line Posts
Mark spacing along the string. For stiff wire and wood rails, 6–8 feet between posts keeps panels flat. For flexible net or welded wire, 8–10 feet is fine if you add a top rail or tension wire. In windy spots, tighten spacing a bit. Set each post to depth, align with strings, and tamp firmly.
5) Add Rails Or Tension Wire
A top rail gives a crisp sight line and keeps mesh from drooping. A bottom tension wire or treated 2x board stops push-through and keeps the fabric tight to grade. If you’ll bury a small-mesh skirt for diggers, leave the bottom rail off until the mesh is tucked.
6) Hang And Stretch The Mesh
Start at a corner. Unroll fabric along the line on blocks to keep it clean. Clamp to a temporary stretcher bar or a 2×4 sandwich, then pull with a come-along until the diamonds or rectangles even out. Tie off with fence staples on wood or with tension bands on steel. Work one span at a time, keeping the top straight and the bottom snug.
7) Seal The Bottom Edge
Critters test the weakest line: the soil. For rabbits and voles, add a ½-inch hardware-cloth apron. Lay 12–18 inches of mesh flat on grade and pin it with landscape staples, or fold it down into a shallow trench and backfill. In gopher country, shield beds with deeper hardware-cloth skirts around the perimeter.
8) Build A Gate That Behaves
Plan at least one opening wide enough for a wheelbarrow or mower. Use a gate kit or build a square frame with a diagonal brace running from the lower hinge side to the upper latch side. Hang with heavy strap hinges, set the latch post stiff, and shim gaps so mesh can’t snag.
Height, Critters, And The Right Mix
Pick height and mesh by the animals that visit your yard. Taller barriers block leaps; tight openings and a buried skirt stop squeezers and diggers. Where deer wander through at dusk, a full-height barrier pays off. Many state extensions teach that a tall woven-wire span keeps hooves out; see this note on an 8-foot deer fence for larger areas.
Deer Solutions That Blend In
Where you want the fence to fade, use black poly net or narrow-gauge wire and keep lines straight. Paint or stain wood rails in one tone so the eye sees a single band, not a ladder. In tight yards, a double-row trick works: two shorter barriers set a few feet apart can confuse long jumps while keeping sightlines open.
Small-Animal Shields At The Base
A narrow mesh band along the bottom 24–30 inches stops nibblers. Tie that band to the main fabric and fold the lower edge outward as an apron. Pin every 12 inches and backfill with soil or mulch. This method blocks quick digs without deep trenches.
Cut List, Tools, And Time
You don’t need a truck full of pro gear. A post-hole digger, level, string line, fencing pliers, heavy staples or bands, and a hand winch cover most builds. Add a circular saw and driver if you’re trimming rails or pickets, and a shovel plus tamper for backfill. One helper speeds things up when stretching fabric and hanging the gate.
Smart Ordering
Buy a bit extra: one more post than your count, a spare roll of tie wire, and extra staples. Returns are easier than mid-project gaps. If you’re mixing wire types (say, woven wire above and hardware cloth below), check roll heights add up to your target line.
Step-By-Step Build Walkthrough
Stake And Square
Measure your planned footprint. Mark the path with paint or string. Set a stake at each corner and pull strings around the rectangle. Check the two diagonal measurements; adjust until they match. This locks in right angles for straight panels and an even gate fit.
Dig Corner Holes
Corner posts carry tension, so make these holes wider and a bit deeper than line posts. In clay, add a few inches of gravel below the post for drainage. In sand, bell the base or pour a collar so posts don’t creep.
Brace Corners
Add a horizontal rail between the corner and its first line post, then run a diagonal brace wire that you twist tight. This prevents a lean when you pull the mesh later.
Set Line Posts
Mark spacing. Keep every post head touching the upper string and every post face on the outer string. This makes the final top edge crisp.
Attach Rails Or Tension Lines
Use a continuous top rail for pickets or welded wire. With woven wire or poly net, a top tension wire is enough if posts are closer together. Tie a bottom wire where deer push or where kids and pets play ball near the fence.
Stretch Mesh Cleanly
Clamp fabric to a temporary stretcher bar or two 2x4s through the mesh. Pull with a come-along until waves vanish and the grid looks even. Fasten every 8–12 inches on wood or at each band on steel. Stagger staples rather than lining them up to reduce splitting.
Finish The Bottom Edge
Shape grade with a flat shovel so the fabric meets soil without big gaps. Where there’s a dip, add a treated kicker board or fill with crushed stone to keep airflow while blocking pests.
Hang The Gate
Pre-drill for hinge bolts, set hinges so the gate swings up a hair at the latch side, and test swing through. Add a stop so wind doesn’t slam it against the post. Mount a latch that you can open with one gloved hand.
Animal-Proof Setup Guide
Match height and base treatment to the problem you see in the yard. The guide below gives quick picks that work across many gardens.
| Animal | Height Or Depth | Mesh Opening |
|---|---|---|
| Deer | About 8 ft tall perimeter | 2″–6″ works; keep top line straight for a clear visual cue. |
| Rabbits | 24–30 in band; add a 12–18 in apron or shallow trench | ½” hardware cloth |
| Gophers/Voles | Perimeter skirt deeper at beds; shield raised beds inside | ¼”–½” hardware cloth |
| Groundhogs | 36–48 in fence with buried or pinned apron | 1″–2″ welded wire plus lower ½” band |
| Pets | 36–60 in, latch at adult height | 2″–4″ welded wire or pickets |
Drainage, Wind, And Slope
Water and wind test fences more than anything. Where downspouts or swales meet the line, leave a small gap and span it with a removable panel so storm flow can pass. On windy hills, drop post spacing, add a top rail, and set posts deeper. On slopes, step the top line with short rises between posts or follow grade and trim pickets to match.
Cost And Time Benchmarks
Smaller rectangles (20’×30′) with welded wire often wrap in a weekend with two pairs of hands. Larger footprints and tall woven wire take longer because corners need bracing and fabric needs careful tensioning. Buying posts and wire by the bundle trims cost per foot; renting an auger trims digging time when soil is stubborn.
Gate Placement And Daily Use
Put the main opening near the compost or hose so hauling isn’t a chore. A second narrow gate helps near fruit trees or raised beds on the far side. Add a wheel stop pad under each gate so the latch doesn’t drag after rain.
Upkeep That Extends Life
Walk the perimeter each season. Tighten a few staples, add a gravel scoop at soggy posts, and clip any wire tails that could catch sleeves. Keep grass trimmed along the line. Where deer roam, a neat strip outside the fence helps prevent a leap.
When You Need Extra Height
Already have a low barrier? You can add a simple extension with taller posts or bolt-on risers, then run a lightweight net band above the existing fabric. Keep the top tight and visible so deer read the height and back off. In heavy browse zones, a full-height woven-wire span is the most reliable choice.
Permits, Neighbors, And Good Looks
Check local rules for height near streets and lot lines. Share your plan with next-door neighbors so post holes and property lines stay friendly. Stain or paint wood to match trim, cap pickets cleanly, and keep the gate hardware in one finish. Small touches make a big difference.
Quick Reference: Build Flow
Layout
Stake corners → pull strings → square the rectangle.
Set Structure
Dig and set corners → brace corners → set line posts to strings.
Rig The Span
Add top rail or tension wire → stretch mesh → fasten tidy.
Seal The Base
Apron or trench at the bottom → tamp and tidy grade.
Finish
Hang gate → set latch → walk, tweak, and enjoy the harvest.
Helpful References During Planning
Before any digging, schedule a locate with 811 in your state. For deer-heavy areas, this extension note on tall perimeter fencing is a handy primer on height and fence types.
