How Tall Should a Garden Fence Be? Rabbits, Groundhogs & Deer
By Efraín Vega · Published October 16, 2026

How tall a garden fence needs to be depends on what you're keeping out: 2–3 feet for rabbits, 4 feet buried 12 inches for groundhogs, and about 8 feet for deer. Height is only half of it — most garden raiders go under, so the bottom of the fence matters as much as the top.
How tall should a garden fence be to keep animals out?
A garden fence must be 2 to 3 feet tall for rabbits, 4 feet tall (with 12 inches buried) for groundhogs, and 8 feet tall for deer. For burrowing pests, mesh openings must be 1 inch or smaller with the bottom wire buried 6 to 12 inches into the ground to block digging.
| Animal | Height | Mesh | Bottom of the fence |
|---|---|---|---|
| Rabbits | 2 ft minimum; 3 ft if jackrabbits are around | 1 in or smaller | Bury 6–10 in, or bend 6 in outward |
| Groundhogs | 4 ft, sturdy wire | Welded or woven wire | Bury 12 in, plus an electric wire outside |
| Deer | About 8 ft | Woven wire or deer netting | Tight to the ground |
Sources for each row are below. If you're dealing with more than one animal, build for the hardest one on your list.
What fence keeps rabbits out?
Rabbits are the easy case. Penn State Extension says rabbit fences need to be at least 2 feet tall, and UC IPM notes cottontails won't jump a 2-foot fence. If jackrabbits are around, UC IPM suggests going to about 3 feet.
Mesh size matters more than height: use wire with openings 1 inch or smaller so young rabbits can't slip through. Poultry netting (chicken wire) on light stakes is enough. UC IPM recommends 48-inch wire with the bottom buried 6–10 inches; if you can't bury it, stake the bottom edge down firmly.
What fence keeps groundhogs out?
Groundhogs dig and climb, so they need a sturdier fence. University of Maryland Extension recommends a strong 4-foot fence buried 12 inches in the ground, plus an electric wire 4–5 inches off the ground and 4–5 inches outside the fence to keep them from climbing it.
Chicken wire won't hold up — groundhogs tear through it. Use welded or woven wire.
An apron beats a deep trench
Instead of digging a 12-inch trench, you can lay the bottom of the fence outward along the soil surface in an L shape and pin it down. A digging animal hits wire where it starts to dig. Penn State describes bending the bottom 6 inches outward at 30–45° for rabbits.
What fence keeps deer out?
Deer are the hardest. Penn State Extension says a fence works if it's about 8 feet tall, so deer can't jump it, and tight to the ground, so they can't crawl under. If 8 feet isn't practical, two alternatives:
- A slanted fence, installed at 45° and sloping away from the garden, so it's as wide as it is tall.
- A double fence: two shorter fences a few feet apart. Deer tend not to jump into a narrow space between two barriers.
Clemson Extension publishes a two-tiered design for home gardens if you want the double-fence route.
How many posts and how much wire?
Measure the full perimeter, decide on post spacing, and add posts for corners and gates. The Garden Fence Calculator does the math — posts, mesh rolls and rails, with an option for fences that go all the way around. For gate and corner posts set in concrete, the Concrete Footing Calculator gives you the bag count.
Sources: Rabbits — UC IPM, Large Garden Pests — Penn State Extension, Groundhogs — UMD Extension, Deer Management Using a Two-Tiered Fence System — Clemson HGIC.
FAQ
How tall does a fence need to be to keep rabbits out?
At least 2 feet. Cottontails won't jump a 2-foot fence; UC IPM suggests 3 feet if jackrabbits are around. Use mesh no larger than 1 inch so young rabbits can't squeeze through, and bury or bend the bottom so they can't dig under.
Will a 4-foot fence keep deer out?
Usually not. Deer jump well over 4 feet. Penn State Extension says a deer fence needs to be about 8 feet tall — or slanted outward at 45 degrees, or doubled — to work.
Can I use chicken wire for a garden fence?
Yes, for rabbits. Poultry netting with 1-inch or smaller mesh on light stakes works well. It's too weak for groundhogs, which climb and tear it — use sturdier welded or woven wire for them.
How do I stop animals from digging under my fence?
Bury the bottom of the fence, or bend it outward into an L-shaped apron on top of the soil so a digging animal hits wire. Penn State suggests bending the bottom 6 inches outward at a 30–45° angle for rabbits.


