A garden fence goes up fast: set posts, attach wire or panels, and add a buried mesh skirt to block diggers while a tall barrier deters deer.
Building a reliable barrier for a vegetable patch or flower beds isn’t complicated, but it does pay to plan. This guide walks you from layout to gate with clear steps that save time. You’ll see material picks for critter pressure, layout math for posts and panels, and fixes for slopes and soft soil.
Pick A Goal And A Layout
Start by listing what you need the perimeter to stop: rabbits, pets, deer, or all three. Next, sketch the footprint. Straight lines are faster to build and cheaper on materials. Corners and curves add labor. Mark the rectangle or square with stakes and string, then measure each side twice. Note where you want the gate so the path to the hose, shed, or compost bin stays short.
Height is set by the tallest animal you need to block. For deer pressure, aim high. If burrowing pests are the main problem, a short fence with a buried skirt stops them cold. When wind is fierce, choose stronger posts and tighten the spacing.
Garden Fence Options By Need
The table below gives quick picks that match common yard goals. It helps you pick materials and set expectations on height, spacing, and labor.
| Fence Type | Best For | Notes |
|---|---|---|
| Welded wire + wood or metal posts | All-around garden protection | Typical post spacing 6–8 ft; add 24–36 in hardware cloth skirt for diggers |
| Poly deer mesh on tall posts | Deer pressure without heavy chewing pests | Plan 7–8 ft height; add low hardware cloth if rabbits visit |
| Board or picket panels | Style + pet control | Heavier; posts 6–8 ft apart; 4–6 ft tall; needs gate bracing |
| Electric strands (perimeter) | Large plots, trained livestock | Use caution near public paths; add flags; not for small kids’ play areas |
| Raised bed enclosures | Small spaces, patios | Short panels or lids; fine mesh for insects and rabbits |
Steps To Build A Fence For Your Garden
This sequence keeps lines straight, gates square, and wire tight. Read it once, then set tools out in order so nothing slows you down.
1) Call Before You Dig And Check Rules
Underground lines can sit inches below the lawn. A free locator marks gas, electric, and data runs so your post holes stay clear—see the 811 before-you-dig service. Also scan local codes and any HOA rules for height, setbacks, and gate swing.
2) Measure, Square, And Set Strings
Measure each side, then cross-measure the diagonals. If the diagonals match, the rectangle is square. Set string lines tight; they guide every post top. Mark post locations along the strings based on panel width or wire strength.
3) Establish Post Spacing
For wire on T-posts or wood posts, 6–8 ft between posts keeps the fabric tight and resists wind. Heavier wood panels may stay at 6 ft. On long runs, add a middle brace or a wider corner brace so the stretch holds.
4) Dig Or Drive Post Holes
Depth matters. A common rule is to bury about one-third of the post length below grade, or at least 2 ft for 6-ft fences. Go deeper in sandy soil or frost-heave zones. Bell the bottom of dug holes for more hold. Drive metal posts with a manual driver; for wood, dig with a clamshell digger or auger.
5) Set Corner And Gate Posts First
Set the corners and gate posts in concrete or tamped gravel so they don’t lean under tension. Align each with your strings and check plumb on two faces. Let concrete cure per the bag before you pull wire or hang a gate.
6) Run A Bottom Skirt
To stop digging pests, add a skirt of ¼-inch hardware cloth. Lay it flat at ground level inside or outside the fence and bend a 90-degree lip outward. Pin with landscape staples and cover with soil or mulch. On sandy ground, trench 6–10 inches and bury the skirt instead.
7) Attach Wire Or Panels
Unroll welded wire against the posts with the bottom on blocks for a consistent gap. Start at a corner, fasten every 12–18 inches with fence staples or heavy zip ties on metal posts, and keep tension with a come-along or stretcher bar. If using boards or premade panels, pre-drill and use exterior screws so the wood doesn’t split.
8) Add Height For Deer
Where deer browse is heavy, plan a barrier in the 7–8 ft range. Poly mesh on tall posts blends in and weighs little. For narrow gardens, the limited landing space itself can discourage a jump, but leave no gaps at the bottom. For research-backed height guidance, see Penn State deer fence guidance.
9) Hang The Gate
Pick a gate at least 36 in wide so a wheelbarrow fits. Brace the hinge post, then set hinges so the gate swings uphill. Hang the latch at a comfortable height and add a stop block so the gate doesn’t hit plants behind it.
10) Finish The Bottom And Corners
Backfill any skirts, rake soil smooth, and tamp around posts. Cap wood posts to shed water. On slopes, step the wire or run it level and trim the bottom to follow grade. Walk the line and pull any slack.
Tools And Materials Checklist
Lay out everything before you start. Group items by phase so the build flows without runs to the store.
- Layout: stakes, line, tape, marking paint
- Posts: 4x4s or metal T-posts, caps, fasteners
- Digging: clamshell digger or auger, digging bar, shovel
- Setting: gravel, premix concrete, level, braces
- Fencing: welded wire or poly mesh, ¼-inch hardware cloth, staples, ties
- Tensioning: come-along, stretcher bar, cutters
- Gate: hinges, latch, stop block
- Safety: gloves, eye protection, hearing protection
Post Depth, Spacing, And Height Tips
Use deeper settings for taller runs, soft soils, and windy sites. Corner clusters carry the load, so don’t skimp on depth or bracing there. Keep lines level at the top for a clean look and trim the bottom to match the ground.
| Item | Rule Of Thumb | When To Adjust |
|---|---|---|
| Post depth | About one-third of post length; ≥ 2 ft for 6-ft fences | Go deeper in sand or frost zones; bell bottoms for more hold |
| Post spacing | 6–8 ft for wire; 6 ft for heavy panels | Tighten spacing on slopes and windy sites |
| Fence height | 4 ft for pets; 5 ft with skirt for rabbits; 7–8 ft for deer | Use tall mesh or add a second tier where deer pressure is strong |
Cost, Time, And Sizing Math
Measure the perimeter: add all four sides and add 5–10 percent for overlaps and waste. Divide each run by your post spacing to count posts. Add two more for corners, plus two sturdy posts for the gate. Buy one extra roll of wire for splices and mistakes. Keep receipts for returns and leftover materials later.
Time planning helps too. Corner clusters and the gate soak the most hours. Driving metal posts goes fast. Digging and concrete take longer.
Smart Details That Boost Durability
Use A Buried Skirt
Rabbits, voles, and other diggers won’t stop at a fence edge. A 24–36 in run of ¼-inch hardware cloth pinned flat and covered with soil makes a barrier they don’t like to cross.
Brace Corners And Gate Posts
Stretching wire loads the ends. Add an H-brace or diagonal brace at corners and both sides of the gate opening.
Choose The Right Mesh
Welded wire with 2×4 openings stops pets and most wildlife. For small pests, add ¼-inch hardware cloth to the first 24–36 in. Poly deer mesh looks neat from the street and saves weight on tall spans.
Mind The Gate Swing
Hang the gate so it swings into a clear aisle, not into beds. Add a stop so it can’t over-swing and torque the hinges.
Protect Wood From Rot
Set wood posts on a bed of gravel for drainage. Slope the top cuts to shed rain and cap the posts. Keep soil and mulch pulled back from the wood.
Common Mistakes And Easy Fixes
- Too-wide post spacing: add a mid-span post or a brace and re-tension the wire.
- Shallow holes: re-dig deeper beside the post, wedge with gravel, and re-set.
- No bottom seal: add a skirt; pin it and cover with soil or mulch.
- Loose wire: install a stretcher bar and pull between corner braces.
- Gate rub: shim hinges, square the opening, and add a stop block.
When Height Beats Repellents
Sprays fade with rain and time. A tall barrier works day and night. In spots with narrow beds and tight aisles, deer shy away from the cramped space.
Quick Planning Worksheet
1) Perimeter And Posts
Total the perimeter. Divide by planned spacing to count posts, then add for corners and the gate.
2) Height And Mesh
Pick wire height based on animals. Add a small-mesh strip at the bottom when you see nibbling or tunnels.
3) Gate Size And Hardware
Make the opening wider than your largest tool. Buy heavy hinges and a latch that can be worked with gloves on.
4) Schedule
Set a weekend for posts and corners, then hang wire and the gate the next day.
Tips You’ll Use Right Away
- Keep the fence line straight with tight strings and a level at the top of posts.
- Step the bottom along slopes so gaps don’t form under the wire.
- Place the gate near the hose or compost so trips are short.
- Store spare ties, staples, and a patch of wire for quick repairs after storms.
