Skip to content
Boredom and destruction

How to Stop a Dog From Digging Under the Fence

The barrier that actually holds (an L-footer of welded wire), where to put it first, and how to deal with the reason the dog is digging out in the first place.

By The Calm Dog Library teamUpdated October 30, 20266 min readReward-based
How to Stop a Dog From Digging Under the Fence: dog, pooch, snout, head

Fix the fence line this weekend and fix the reason the same week, because either one on its own tends to fail.

We'll take the fence first since that's what you asked for, and because a dog that is already getting out needs to stop getting out before anything else matters. Every time she makes it through, that's the best thing that happened to her all day, and she'll try harder next time.

The barrier that holds

Walk the whole fence line and mark every spot where she's started. You'll find more than you think. Look for a dip in the soil of even an inch or two along the bottom, claw marks on the post, grass worn away in a half circle. Corners, the gate, and the stretch closest to the neighbor's dog are the usual places. Fill the holes and move on; filled holes alone do nothing, she'll reopen them in a day. Filled holes only treat the symptom, and the bigger fix is stopping a dog from digging at the source.

What works for almost every dog we've dealt with is an L-footer. That's a strip of wire mesh that runs down the inside of the fence and then bends out flat along the ground, toward the yard, so when she digs at the base she hits wire and can't go down. She can't dig under the flat part either, because she'd have to start the hole 16 inches back from the fence, and dogs don't plan that far.

Use welded wire with 2 by 4 inch openings, or hardware cloth if you have a small dog. Buy it in a 24 inch wide roll. Bend it lengthwise so about 8 inches goes up the fence and 16 lies flat on the ground. Attach the vertical part to the fence: on chain link, hog rings or zip ties to the bottom tension wire every 12 inches or so; on wood, galvanized staples into the bottom rail or the pickets. Pin the flat part down with landscape staples every 18 inches. Then cover the flat part with an inch or two of soil or mulch. Within a month the grass grows through and you can't see it.

Do the whole perimeter if you can. If money or time only covers part of it, do the spots she's already chosen plus every corner and the gate, and keep an eye on the rest. A dog who's been blocked at her favorite spot will test two or three others before she gives up.

A few other options, in case the L-footer doesn't suit your fence:

  • Concrete pavers, 12 or 16 inch squares, laid flat along the inside edge with one side touching the fence. Heavy, ugly for a while, but they go down in an afternoon with no tools.
  • A concrete footer poured in a trench along the base. The permanent fix, and the expensive one. Worth it if you're replacing the fence anyway.
  • For the gate specifically, a 2 by 6 board screwed across the bottom, or a paver set into the gap, since gate gaps are often where this starts.

What we'd skip: burying chicken wire straight down a few inches. It rusts, it's flimsy, and a determined dog goes under it. Also skip anything meant to hurt or scare her at the fence. It doesn't address why she's digging, and a dog that's digging out of fear will dig harder.

One more thing about chain link. If she's digging because of what she can see on the other side, privacy slats or a roll of reed screening zip-tied to the fence cuts the problem a lot. Not all of it, but a lot.

Why she's doing it

Dogs don't dig under a fence for no reason, and the reason decides what else you need to do. We wrote a full piece on this, why dogs dig, but the short version for fence diggers is one of these:

There's something over there. A dog, a cat, kids, a smell. The digging is at one spot and it's always that spot.

She's alone in the yard too long with nothing to do. The digging moves around and there's usually other stuff going on too, chewed hose, torn up plants.

She's scared. Thunder, fireworks, a construction crew, the neighbor's leaf blower. These dogs dig frantically, break nails, bloody their paws. If that's your dog, the fence fix is still step one, but the real job is the fear, and she shouldn't be left in the yard alone during whatever sets her off.

He's an intact male and there's a female in heat somewhere in the neighborhood. He'll go through a lot to get there. Talk to your vet about this one; it's also worth a vet visit if the digging started suddenly in a dog who never did it before.

She's hitting her twenties, by dog standards. A lot of fence digging starts between about 8 months and 2 years, when a dog has the body of an adult and the attention span of a puppy. These dogs mostly need more to do.

What to do in the yard

Until the barrier is in, don't leave her out there alone. Not for ten minutes. Go out with her. If that means she gets less yard time this week, fine.

Once the barrier is in, you still go out with her for the first couple of weeks, because she will test it and you want to be there when she does. When she starts at the fence, call her off, and when she comes, pay her for it. Something she actually likes, not a pat. Then give her something else to do right there in the yard.

The something else matters. A dog who likes to dig should get a place to dig. A kiddie pool or a framed bed about 4 by 4 feet, filled with play sand, with a few treats and a toy half buried in it the first few times. Show her by scratching at it yourself. Most diggers switch over within a week if the sand pit is more rewarding than the fence line was. We have a list of toys for dogs that dig that covers the pit and a few things to put in it.

Then the daily stuff. A sniff walk of 20 minutes before yard time, where she sets the pace and you let her read every post. A frozen stuffed toy in the yard instead of a bowl of kibble indoors. Something with her nose, three or four times a week. If you want help laying that out so it actually fits your day, our enrichment planner does that.

Check the fence line once a week for the first couple of months. A new scrape means she's testing, and you want to know before it's a hole.

If she's one of the anxious ones, the dog who digs like her life depends on it when the sky gets loud, our guide Calm Mind in 21 Days walks through the day-by-day work for that.

Calm Mind in 21 Days

Calm Mind in 21 Days

The 21-day enrichment plan for a dog who chews, digs, shreds or cannot settle: the daily needs budget, legal outlets, 15 brain games, and an off switch. Reward-based, 6 printable tools.

See the plan →

Not sure yet? Take the free 2-minute quiz

Educational content from the CalmBusy team. Not veterinary or behavioral advice for your specific dog. If your dog has bitten, or behavior changed suddenly, see your veterinarian and a certified professional.

How to Stop a Dog From Digging Under the Fence (pin)
Save this guide for laterSave to Pinterest
Calm Mind in 21 Days: the guide and its printable tools

Want it all in order?

Calm Mind in 21 Days

The 21-day enrichment plan for a dog who chews, digs, shreds or cannot settle: the daily needs budget, legal outlets, 15 brain games, and an off switch. Reward-based, 6 printable tools.