How to Keep Groundhogs From Digging Under a Fence
Groundhogs go under, not over. The L-footer spec in inches, why burying straight down fails, and the gauge of mesh that holds up to their teeth.
On this page
Groundhogs do not test a fence by jumping it. They sit at the base and dig, and a fence buried straight down just tells them how deep to go. The shape that stops them is an L.
Why straight-down burial fails
A groundhog’s digging method is to work at the point of resistance. Put a barrier in its way and it follows the barrier down, because that is the direction the obstruction leads. Twelve inches of vertical mesh therefore produces a twelve-inch hole and then a groundhog on your side.
An L-footer breaks that logic. The animal digs at the fence, meets horizontal mesh underfoot, and has no cue telling it to back off a foot and start again.
The spec
| element | specification |
|---|---|
| Above-ground height | 36–48 in |
| Mesh | welded wire, 14 gauge or heavier |
| Openings | no larger than 2 × 4 in |
| Vertical burial | 10–12 in |
| Horizontal footer | 12–18 in, turned outward |
| Footer depth | 1–2 in below the surface, under the turf |
| Top | 12–18 in left unattached to the posts |
The footer sits shallow deliberately — just under the grass line. It does not need depth; it needs width in the direction the animal approaches from.
Chicken wire is not a groundhog fence
Groundhogs are rodents with rodent teeth. They chew through light chicken wire, and the thin galvanising on it fails within a few years where it is buried. Pay for welded wire once.
Installing the footer
- Cut a shallow trench along the fence line, 10–12 in deep and 12–18 in wide on the outside
- Unroll the mesh so the lower portion lies flat along the bottom of the trench, pointing away from the garden
- Stand the rest up against the posts and fix it
- Peg the horizontal section with landscape staples every couple of feet
- Backfill with the soil you removed, plus rubble where you expect pressure
- Replace the turf over the top
Where digging a trench is impractical — tree roots, paving, an existing fence — an alternative is to lay the mesh flat on the surface outside the fence, peg it down hard, and let the grass grow through it. Less tidy, nearly as effective.
The climbing side
Groundhogs climb better than they look, and chain link gives them a ladder.
- Leave the top 12–18 inches of mesh unattached to the posts. It bends outward under their weight and they drop off
- Or fit an outward angled top section at about 45 degrees
- Avoid chain link as the only barrier where groundhogs are the problem
- Keep anything climbable — woodpiles, compost bins, wheelbarrows — away from the fence line
The electric option
A single hot wire, 4 to 6 inches above the ground and 4 to 6 inches outside the fence, catches the animal on the nose exactly where it starts investigating.
- Cheaper and faster than trenching a long perimeter
- Needs the strip beneath kept mown or sprayed — grass touching the wire grounds it out
- Check local rules and keep it clearly signed where people pass
- Works well as a retrofit to a fence that already failed
Dealing with the existing burrow
- Confirm it is empty. Stuff the entrance loosely with crumpled newspaper and check for two or three days; if it is pushed out, something is living there
- Avoid roughly April to July, when young may be in the chamber
- Find the other entrances. A groundhog burrow usually has two to five, including well-hidden spares
- Fill with rubble then soil, tamped, once it is confirmed clear
- Install the L-footer over the top, or the same route gets re-excavated
Filling a hole without changing the fence is a task you will repeat.
What does not work
- Mothballs and naphthalene — a pesticide, illegal used this way in many places, toxic
- Ultrasonic devices — no reliable evidence
- Smoke or flooding a burrow — cruel, often illegal, and it can undermine the structures the tunnel runs beneath
- Repellents alone — a few days of effect, then rain
- Trapping as the whole plan — a good burrow site and a vegetable garden will attract the next groundhog within a season
Common questions
How deep do you need to bury a fence to stop groundhogs?
Can groundhogs climb a fence?
What gauge mesh stops a groundhog?
Will an electric wire keep groundhogs out?
What do I do about the burrow already under my fence?
Do groundhog repellents work on a fence line?
Backyard Weekly
Know what to plant, week by week
Join the weekly email for seasonal jobs, fixes for what is going wrong, and gear worth buying.
Not ready to subscribe? The planting calendar is free and needs no email.
By subscribing you agree to our privacy policy. Grow In Backyard will never sell your address.
Keep reading
Groundhog Burrow Under a Shed: How Bad Is It, Really?
A groundhog under a shed moves a surprising amount of soil. How to tell if it is occupied, what it threatens structurally, and how to evict one legally.
How to Get Rabbits Out of Your Yard and Keep Them Out
Rabbits leave when cover and food go and a fence blocks them. The 2-foot buried-wire fence spec, the repellents worth using, and what wastes money.
How to Fill Chipmunk Holes (and Why Filling Rarely Works)
A chipmunk reopens a filled hole in a day. What actually stops the tunnelling, how to tell a chipmunk hole from a vole or rat hole, and when to worry.
How to Keep Squirrels From Eating Tomatoes
Squirrels take one bite from a tomato and leave it, because they are after water. Cages that work, the water trick, and what does not help.