Skip to content
Grow In Backyard
Squirrels & Wildlife

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.

A groundhog standing upright in long grass and buttercups, watching
Photo: thenorthbaybay, Pixabay Content License, via Pixabay
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

elementspecification
Above-ground height36–48 in
Meshwelded wire, 14 gauge or heavier
Openingsno larger than 2 × 4 in
Vertical burial10–12 in
Horizontal footer12–18 in, turned outward
Footer depth1–2 in below the surface, under the turf
Top12–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.

  1. Cut a shallow trench along the fence line, 10–12 in deep and 12–18 in wide on the outside
  2. Unroll the mesh so the lower portion lies flat along the bottom of the trench, pointing away from the garden
  3. Stand the rest up against the posts and fix it
  4. Peg the horizontal section with landscape staples every couple of feet
  5. Backfill with the soil you removed, plus rubble where you expect pressure
  6. 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

  1. 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
  2. Avoid roughly April to July, when young may be in the chamber
  3. Find the other entrances. A groundhog burrow usually has two to five, including well-hidden spares
  4. Fill with rubble then soil, tamped, once it is confirmed clear
  5. 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?

Burying straight down is the wrong shape. A groundhog digs at the base of an obstacle and follows it down, so a vertical barrier just tells it how far to dig. The effective version is an L-footer: 10 to 12 inches down, then the mesh turned outward and run horizontally 12 to 18 inches away from the fence, just below the soil surface. The animal starts digging at the fence line, hits horizontal mesh, and does not work out to go round it.

Can groundhogs climb a fence?

Yes — they are better climbers than their shape suggests and will go over a 3-foot fence, particularly chain link, which gives them footholds. A groundhog-proof fence therefore needs both the buried L-footer and a top that is hard to climb: around 3 to 4 feet of mesh with the top 12 to 18 inches left unattached to the posts so it bends outward under their weight.

What gauge mesh stops a groundhog?

Welded wire of 14 gauge or heavier, with openings no larger than 2 by 4 inches. Chicken wire is too soft — a groundhog chews through it and the thin wire also corrodes away where it is buried. For the buried footer use galvanised welded wire or hardware cloth, which lasts far longer in contact with soil.

Will an electric wire keep groundhogs out?

A single hot wire 4 to 6 inches above the ground, just outside the fence line, is one of the most effective additions there is, and it is often cheaper than a buried footer. The groundhog contacts it with its nose while investigating the base of the fence. It needs the vegetation beneath it kept clear, since grass touching the wire grounds it out.

What do I do about the burrow already under my fence?

Make sure it is empty first — stuff the entrance loosely with crumpled newspaper and check for two or three days to see whether it is pushed out, and avoid doing this between roughly April and July when young may be inside. Once it is clear, fill the tunnel with rubble and soil, then install the L-footer over the top so re-excavation hits mesh. Filling a hole without changing the fence just gets it re-dug.

Do groundhog repellents work on a fence line?

Marginally and briefly. Castor oil granules, predator urine and capsaicin sprays may move a groundhog on for a few days, and they wash off. They are reasonable while a fence is being built and are not a substitute for one. Ultrasonic devices and mothballs do not work, and mothballs are a pesticide that should not be used this way at all.

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.