A garden fence works best when posts are set deep, the mesh is tall enough, and the bottom edge is pinned so animals can’t squeeze under.
A garden can go from “coming along” to “picked clean” in one night. Rabbits clip seedlings. Dogs bowl through beds. Deer reach right over. A good fence fixes most of that, and it does it without turning your yard into a construction zone.
This walk-through keeps things practical: how to pick a fence that matches the animal you’re dealing with, how to set posts so the line stays straight, and how to finish the bottom edge so critters don’t treat it like a welcome mat.
Pick The Fence Style That Matches The Problem
Start by naming the intruder. The fence that stops rabbits can fail against deer. The fence that stops dogs can fail against burrowing pests. Once you know the main threat, height, mesh size, and bottom treatment get clearer.
Low Jumpers And Squeezers
Rabbits, squirrels, and many small pests slip through wide openings and push under loose edges. A short fence can work if the mesh openings are small and the bottom edge is locked down.
- Height: Usually 2–3 feet is enough for rabbits if the top isn’t floppy.
- Mesh: Smaller openings reduce squeeze-through.
- Bottom edge: Pin it, bury it, or flare it outward.
Diggers And Burrowers
Groundhogs and similar pests treat a fence like a challenge coin. If they can dig at the base, they will. You’ll want either a buried skirt or an outward “apron” that stops a tunnel from starting.
If your main issue is rabbits plus diggers, a welded-wire fence with an apron gives a clean look and solid function.
Large Animals
Deer are the height test. If deer browse your beds, a short barrier won’t cut it. You’ll need a taller fence, and gates can’t be afterthoughts. One loose latch can undo hours of work.
For deer-specific height guidance and layout ideas, Penn State Extension’s page on deer damage management options gives practical ranges and tradeoffs.
Plan Your Fence Line Before You Dig
Most fence headaches come from rushing the layout. A little planning saves you from leaning posts, wavy lines, and gates that scrape the ground.
Mark Corners And Gate Spots
Set stakes at each corner of the garden bed area. Then decide where you want to walk in with a hose, a wheelbarrow, or a harvest basket. That spot is your gate location. Pick a gate opening that feels roomy, not tight.
Measure, Square, And Check For Obstacles
Measure the sides. For a rectangle, use the 3-4-5 method to get corners close to 90 degrees. Then check for roots, rocks, irrigation lines, and any slope changes that will change your fence height at ground level.
If the ground slopes, plan to step the fence in sections or follow the contour with tighter mesh near the ground. The goal is to avoid gaps that look small to you and look like a doorway to a rabbit.
Choose Post Spacing With Your Fence Material In Mind
Post spacing depends on what you’re attaching:
- Welded wire or hardware cloth: 6–8 feet between line posts often works when the mesh is tensioned.
- Wood pickets or panels: Spacing usually matches panel width.
- Light plastic netting: Closer spacing keeps it from sagging and flapping.
Choose Materials That Hold Up Outdoors
Garden fences live in sun, rain, and soil splash. Choose parts that won’t rot, snap, or rust out after one season.
Posts That Stay Straight
Corner posts do the heavy lifting. Use thicker wood posts, metal T-posts rated for fencing, or galvanized steel posts made for fence systems. Line posts can be lighter, yet they still need stiffness.
On corners and gate posts, plan on bracing. A brace keeps the post from leaning when the mesh gets pulled tight.
Mesh Options And Where Each Fits
- Hardware cloth: Small openings, great near the ground for rabbits and rodents. It costs more per foot, so many people use it as a lower “band” with welded wire above.
- Welded wire: Stiff, clean look, good all-around choice for gardens.
- Chicken wire: Fine for keeping chickens in, not strong against chewing or pushing.
- Deer fence mesh: Lighter weight, tall, and often black for low visibility. Pair with solid posts and strong tensioning.
Fasteners And Tension Parts
Use exterior-rated screws, galvanized staples, or fence clips made for your post type. Add a tension wire or top rail if the fence is tall or if pets bump into it.
When your goal is rabbit control, University of Minnesota Extension’s page on rabbit damage and deterrence is a solid reference for fence height and base details.
Set Posts So The Fence Doesn’t Lean Later
Posts are the backbone. If they wiggle, the fence will sag. If they lean, gates won’t swing cleanly.
Dig Or Drive With Depth In Mind
A simple rule that works in many yards: set posts about one-third of their above-ground height into the ground, then adjust if your soil is sandy or if you’re building a taller deer fence.
Digging tools:
- Post hole digger for clean holes
- Spade for shaping and widening
- Tamping bar for packing soil or gravel
Seat Corner And Gate Posts First
Set corner posts and gate posts before anything else. Use a level on two sides. Pack soil in thin layers as you backfill, tamping each layer. Gravel at the bottom can help drainage in clay soils.
Run A String Line For Straightness
Stretch mason line between corners, at the same height from the ground. Line posts go in next, just touching the string line. A tight string is your best friend here.
If you’re using concrete, keep it neat and below grade. You don’t want a hard mound that forces water away from plants in strange ways or gets in the way of mowing.
Attach And Tension The Fence Material
This part is where a fence starts to look real. It’s also where small shortcuts show up later as sag, gaps, and loose edges.
Start At A Corner And Work One Side At A Time
Unroll the mesh along the outside of the posts. Attach it at the first corner post with heavy staples (wood posts) or clips (metal posts). Keep it at the planned height so the bottom edge lands where you want it.
Pull It Tight Without Warping Posts
To tension welded wire, use a fence puller, come-along, or a simple clamp-and-lever method with a 2×4. Pull until the mesh looks straight and the squares stay square. Then fasten at each line post while keeping tension.
For tall deer mesh, a top tension wire keeps the upper edge from drooping. For shorter fences, a top rail can do the same job, and it makes the fence feel sturdier when you lean in to weed.
Overlap Seams The Right Way
When two rolls meet, overlap by at least one full mesh panel width. Tie the overlap with wire ties or hog rings every 6–8 inches along the seam. A seam that’s barely tied invites a push-through point.
Lock Down The Bottom Edge So Animals Can’t Slip Under
Most garden break-ins happen at the ground. A fence can be tall and still fail if the base is loose.
Pick One Bottom Method And Do It Well
- Buried trench: Dig a narrow trench 6–12 inches deep, drop the mesh in, then backfill and tamp.
- Outward apron: Lay 12–18 inches of mesh flat on the ground on the outside of the fence, then pin it with landscape staples. Cover with soil or mulch.
- Hard edge: Use pavers, bricks, or a timber border against the mesh. This can pair well with an apron.
The apron method is fast and works well in many gardens. It also avoids cutting through roots near established beds.
Mind Drainage And Soil Contact
Metal mesh sitting in wet soil can rust faster, even if galvanized. Keep soil from piling high against it, and clear mulch away from the mesh in spots where water sits after rain.
Fence Design Choices By Threat, Height, And Base Treatment
| Threat | Fence Specs | Base Treatment |
|---|---|---|
| Rabbits | 24–36 in welded wire or hardware cloth band | Apron pinned 12–18 in, or bury 6–10 in |
| Groundhogs | 36–48 in welded wire, stiffer gauge | Bury 10–12 in or apron plus hard edge |
| Dogs | 48–60 in welded wire or chain link | Apron plus tight corners, strong gate latch |
| Deer | 7–8 ft deer mesh with strong tension wire | Apron in low spots, avoid gaps under slopes |
| Chickens In Yard | 36–48 in welded wire to keep birds out | Apron or pavers to stop scratch-under gaps |
| Raccoons | 48–72 in welded wire, tight fasteners | Apron pinned and tied at seams |
| Mixed Small Pests | Welded wire above + hardware cloth lower 18–24 in | Apron plus occasional re-pin after storms |
| Kids And Pets Traffic | 48 in welded wire with top rail | Hard edge to protect base from foot wear |
Build A Gate That Closes Cleanly Every Time
A fence is only as good as its gate. A gate that sags or bounces open is a daily nuisance, and animals learn that pattern fast.
Keep The Gate Simple And Stiff
A basic rectangular wood frame with a diagonal brace works well. Use exterior screws and hardware rated for outdoors. If you’re using a metal gate kit, follow the kit’s spacing and hinge notes.
Use A Latch That Won’t Pop Open
Pick a latch that takes two steps to open if you deal with raccoons or curious dogs: lift-then-slide styles or gravity latches can help. Mount it at a height that’s comfortable for you, not at knee level where it catches clothing.
Control The Gap Under The Gate
Gates often leave a gap at the bottom. If rabbits are an issue, add a sweep board or attach a strip of hardware cloth to the lower edge. If the ground is uneven, set a small paver threshold under the gate swing.
For deer fencing, Cornell Cooperative Extension’s notes on wildlife exclusion and fencing can help with gate height and weak-point planning. Their materials vary by county, yet this page is a good starting point: Cornell Cooperative Extension wildlife advice.
Do A Walk-Around Check Before You Call It Done
Take ten minutes and walk the entire perimeter slowly. This catches the sneaky problems that show up after dark when you’re not watching.
- Look for gaps under the mesh, mainly near slopes and roots.
- Shake each post. Any wiggle now gets worse later.
- Check every seam overlap and tie point.
- Open and close the gate ten times. Watch for drag.
- Scan for sharp wire ends and clip or fold them back.
If you find a low spot under the fence, don’t “hope it’s fine.” Add soil, add a paver, or pin the apron tighter. Small fixes beat redoing a full section.
Material And Tool Checklist With Rough Quantities
| Item | Typical Quantity Per 100 Ft | Notes |
|---|---|---|
| Corner posts | 4 | Thicker posts, brace-ready |
| Line posts | 12–16 | Spacing 6–8 ft, tighter for light mesh |
| Gate posts | 2 | Set deep, keep plumb |
| Welded wire roll | 100 ft | Pick height and opening size by threat |
| Hardware cloth (optional band) | 25–50 ft | Lower section for small pests |
| Fasteners (staples or clips) | 200–350 | More if posts are closer |
| Landscape staples (apron method) | 40–80 | Pin every 12–18 in on apron edge |
| Tension wire / ties | 100–150 ft | Top wire for tall mesh, plus seam ties |
| Gate hardware | 1 set | Hinges, latch, screws |
Common Fence Problems And Fixes That Work
Even a well-built fence can get tested. Weather shifts soil. Pets push at corners. Plants grow into mesh. These fixes keep the fence doing its job without a full rebuild.
Sagging Mesh Between Posts
If welded wire sags, add a top tension wire and tighten it with a simple inline strainer. If posts are far apart, add one extra line post in the worst span. For light deer mesh, add mid-height ties to keep it from billowing.
Posts Leaning After Rain
Leaning posts usually mean the hole was too wide, the soil was not tamped in layers, or the corner wasn’t braced. Straighten the post, pack the hole tightly, and add a diagonal brace from the corner post to the next line post.
Animals Digging At One Spot
When pests pick one spot, treat it like a “hot corner.” Add a wider apron, pin it closer, and place a hard edge like pavers over the apron. If digging keeps happening, bury a short section of mesh in that area.
Gate Dragging Or Not Latching
Drag often comes from a sagging gate frame or loose hinge screws. Tighten hardware, then add a diagonal brace on the gate if it’s missing. If the ground is rising under the swing path, shave soil down or set a small threshold to control grade.
Ways To Make The Fence Easier To Live With
A fence that works and feels easy is the one you keep using. Small touches help day-to-day use.
Keep A Clear Strip Along The Fence
Leave a narrow path for weeding and for spotting gaps. A strip of mulch or stepping stones along the inside edge keeps plants from tangling into mesh and makes checks quick.
Add A Second Gate If You Haul Compost Or Mulch
If you bring in bags, compost, or a cart, a second gate can save steps. Put it where deliveries land, not where it looks prettiest.
Use A Simple Sign For Latch Direction
If kids help in the garden, a tiny arrow sticker or marker line can reduce “gate left open” moments. It sounds small. It saves crops.
Time And Cost Notes So You Can Plan The Weekend
Most garden fences are a weekend project with one helper. Time depends on soil, slope, and how many corners and gates you’re building. Cost depends on post type, mesh height, and whether you add a hardware-cloth band.
If you want a clean, durable setup without overspending, many gardeners use welded wire for the full height, then add hardware cloth only at the lower 18–24 inches where it matters most.
After you build it, do a quick perimeter check after the first heavy rain and after the first windy day. Tighten a few ties, re-pin the apron, and you’ll stay ahead of the usual settling.
References & Sources
- Penn State Extension.“Deer Damage Management: Options for Homeowners.”Provides practical guidance on reducing deer damage, including fencing height and related tradeoffs.
- University of Minnesota Extension.“Rabbits.”Outlines rabbit damage patterns and deterrence options, including fencing height and base details.
- Cornell Cooperative Extension.“Expert Wildlife Advice.”Offers wildlife exclusion guidance and links to fencing-related recommendations for common yard and garden pests.
