To fence your garden, plan the line, pick pest-proof mesh, set solid posts, and fit a gate that meets local rules.
Ready to stop nibblers, win back privacy, and keep beds tidy? This guide walks you through planning, materials, tools, and the full install. You’ll see quick specs for rabbits, deer, and groundhogs, plus a simple build that lasts.
How To Fence My Garden: Quick Planner
Start with a short plan. Sketch the boundary, mark gate spots, and count corners. Measure the run with a tape or a wheel. Add 10% for waste and overlaps. Call utility locators before you dig. If you live in the U.S., use the one-call service (dial 811) so buried lines get marked. If you’re in the UK, check local planning rules on fence heights near roads and at the back line. Link details are below in the build steps.
Pick A Fence That Matches The Pests
Different animals need different barriers. Mesh opening size, height, and how you anchor the base all matter. Use the table below to match your problem to a setup that works. The specs are practical, field-tested ranges you can buy anywhere.
| Problem | Recommended Barrier | Quick Notes |
|---|---|---|
| Rabbits | 1" hardware cloth or poultry netting, 24–36" tall | Bury 4–6" or pin tight; smaller mesh keeps young kits out |
| Groundhogs/Woodchucks | Welded or woven wire, 2"×4" or tighter, 48" tall | Bury ~12" with an outward L-footer apron ~12" to stop digs |
| Deer | Poly deer net or wire, 7.5–8 ft tall | Full-height enclosure works best; add brace posts at corners |
| Pets (dogs) | Chain link or 2"×4" welded wire, 4–6 ft tall | Set posts deep; add bottom rail or ground staples |
| Birds On Berries | Fruit-safe net over hoops or a simple cage | Fine mesh on a frame; no loose drape that catches wildlife |
| Climbers (raccoon) | Stiff 2"×4" mesh, 5–6 ft | Bend top outward or add a hot strand outside the fence |
| Mixed Pressure | Combo: 24–36" 1" mesh + taller deer net above | Stops small pests and tall jumpers in one build |
Check Local Rules And Safety
Two quick checks save headaches. First, confirm fence height rules where you live. In the UK, rear and side runs can be up to 2 m without paperwork, while boundaries near a public road are often limited to 1 m—details vary by council, so read the official fence height rules. Second, mark buried utilities before you dig. In the U.S., the one-call system flags gas, electric, and comms lines—book a locate at Call 811. Both checks take minutes and can save money and delays.
Choose Materials That Last
Pick mesh and posts for your soil and wind. Hardware cloth (galvanized, 19–16 gauge) resists chewing. Welded wire is tidy and strong. Poly deer mesh is light and tall for the price. For posts, pressure-treated wood or steel T-posts keep costs down; heavy line posts every 6–8 ft with braces at corners reduce sag. Where wood meets soil, use ground-contact-rated treatment or switch to steel.
Gate Planning That Actually Works
Make gates wide enough for a barrow or mower—36–48" is friendly. Hang on heavy hinges, add a diagonal brace, and finish with a lockable latch. Wrap the gate with the same mesh and overlap to the side run so there are no gaps at the latch post. Leave a small threshold board to block burrows at the gate line.
Build Steps: A Clean, Sturdy Install
1) Lay Out The Line
Run string on stakes where the fence will go. Square corners with the 3-4-5 rule or a builder’s square. Mark post spots at 6–8 ft spacing. Mark gate posts with a different color so you don’t pour them at the wrong width.
2) Set The Corner And Gate Posts
Dig holes 1/3 of the above-ground post height or to 30–36" for tall runs. Drop a few inches of gravel for drainage. Plumb the post, then backfill with fast-setting mix or concrete and tamp the top to shed water. Let cure per the bag. Braced corners make net pulls tight and clean.
3) Run Line Posts
Set line posts on the marks, check plumb, and align to the string. Mix soil with gravel where drainage is poor. For steel T-posts, drive to the depth mark, keeping the tabs facing the mesh side.
4) Hang The Mesh Low, Then Pull Tight
Start at a corner. Staple or tie the mesh at the base first, then pull the roll tight to the next post and fix the top. A stretcher bar or a temporary 2×2 batten helps pull a flat face. Overlap seams by 6" and weave ties every 6–8" so animals can’t find a weak point.
5) Seal The Base
For rabbits, bury 4–6" or pin with U-stakes every 18–24". For groundhogs, trench ~12" and add an outward L-footer apron ~12" before backfilling. For deer, no trench is needed; keep the bottom snug with staples or a ground board.
6) Fit The Gate
Hang the gate level with two heavy hinges. Add a diagonal brace from lower hinge side to upper latch side. Wrap with mesh to match the run and overlap to the latch post. A cane bolt helps hold a wide double gate in wind.
7) Finish And Walk The Line
Cap cut wires so they don’t snag. Trim any proud mesh. Add reflective tape where the fence meets a path. Walk the run at dusk and look for light leaks near the ground; patch those now.
Close Variation: Fencing A Garden For Deer And Rabbits — What Works
Deer need height; rabbits need small openings and a pinned base. A blended build is simple: run 24–36" of 1" hardware cloth along the bottom, then add poly deer net or 2"×4" wire above to reach 7.5–8 ft. Brace corners, and keep the gate wrapped with the same two-layer pattern. This mix keeps costs lean while blocking both jumpers and diggers.
Post Options, Spacing, And Footings
Corner posts: 4×4 treated lumber or heavy steel. Line posts: T-posts or 2–3" round wood. Spacing of 6–8 ft works for most mesh. In wind or with tall deer net, tighten to 6 ft. For concrete footings, bell the base in soft ground and crown the top so water sheds away from wood.
Material Cheat Sheet
| Material | Best Use | Care Tips |
|---|---|---|
| 1" Hardware Cloth | Rabbit base layer, tree guards | Cut with snips; fold edges under to avoid snags |
| 2"×4" Welded Wire | General garden fence, pet runs | Tension between braced posts for a flat face |
| Poly Deer Net (7.5–8 ft) | Budget height for deer pressure | Use stout corner posts; add mid-span ties |
| Steel T-Posts | Fast line post install | Face tabs toward mesh; cap tops for safety |
| PT 4×4 Wood | Corner and gate posts | Ground-contact rating near soil; crown concrete |
| Fast-Setting Mix | Quick, clean post setting | Backfill dry, add water; keep plumb while it sets |
| Fruit Net & Hoops | Cover for berries and brassicas | Mount on a frame; keep net off foliage |
Costs, Time, And Simple Math
For a 40 ft × 20 ft plot (120 ft perimeter), plan on: 16–18 line posts, 4 corners, a 4 ft gate, and 130–140 ft of mesh. Add ties, staples, and two bags of fast-setting mix per wood corner or gate post. A weekend is plenty for two people. Tall deer net takes longer to wrangle; lay it out on the ground first and zip-tie in 6–8 ft sections.
Care And Seasonal Checks
Walk the fence at the change of seasons. Tighten loose ties. Patch burrows near the gate with soil and pins. Clear leaves from the base so rot doesn’t creep up wood. In snow zones, lift low fruit net and store it dry. Where mowers scuff the line, add a pressure-treated ground board as a sacrificial strip.
Quick Specs You Can Trust
- Rabbits: 1" mesh, 24–36" tall, buried 4–6" or pinned.
- Groundhogs: 2"×4" mesh, 48" tall, trench ~12", outward L-footer ~12".
- Deer: Full enclosure 7.5–8 ft tall with braced corners.
- Gate: 36–48" wide, diagonal brace, latch that pulls tight.
- Posts: Corners set deep; line posts every 6–8 ft.
Common Mistakes To Skip
Don’t drape bird net directly on fruit—use hoops or a frame. Don’t leave a 2–3" gap under the gate. Don’t skip braces on tall corners; wind will push them out. Don’t mix mesh sizes at the base; small pests find the largest hole. Don’t set posts in a flat pan of concrete; water should shed away.
Putting It All Together
Here’s your one-page script. Call your locate service. Read your local height rules. Buy one mesh for the base and one for height if deer are in the picture. Set corner and gate posts deep. Run line posts tight. Hang mesh from the bottom up, then pull tight. Seal the base. Fit the gate. Walk the line at dusk and plug any glow at ground level. That’s How To Fence My Garden in a weekend build that holds up.
Final Word Before You Buy
Match the fence to the worst visitor you face, not the average one. A small upgrade in mesh and post depth now beats chasing chewed stems all season. If you need a compact recap to print, save the tables above. When in doubt, reread the pest specs and the height rules. Then cut once and build clean.
Editor’s note: Specs here use common trade sizes and plain-language ranges drawn from extension guidance and trade manuals. Always follow your local codes and product instructions.
That’s the whole playbook. If a friend asks, “How To Fence My Garden?” send them this page and your fence will match by the weekend.
