Free quiz: the Dog Settle-Down CheckFree Dog Settle-Down Check Take it free

How to Stop a Dog Digging Under the Fence

How to stop a dog digging under the fence: simple dig barriers for wood, wire and chain link fences, gates and pens, plus outlets that keep escape artists home.

Beagle sitting on the grass beside a wooden fence lined with stone pavers along the base

To stop a dog digging under the fence, block the fence line with a buried or L-shaped wire barrier, stay outside with your dog while you train, and meet the need behind the digging with more exercise, enrichment and a legal digging spot. Barriers buy you time. Outlets and supervision make the change stick.

Try This First, Then Call a Pro

Try this first: check that your dog wears an ID tag and that their microchip details are current, go out with them every time they’re in the yard, and lay pavers or wire along the worst stretch of fence this week.

Call a pro if: your dog digs out in a panic when left alone or during storms, gets hurt trying to escape, or keeps finding new ways out. A certified trainer (CPDT-KA or KPA-CTP) or a veterinary behaviorist can help you find the cause.

I’m a trainer who coaches people, not a vet or dog behaviorist, so this guide sticks to what vets and certified behavior pros agree on, explained in plain language.

Key Takeaways

  • Safety comes first. A dog who escapes can meet traffic, other dogs or get lost, so ID and supervision matter from day one.
  • Find the reason. Dogs dig out to reach something, to roam, to escape stress or simply because they’re bored.
  • Block the fence line. An L-footer, buried wire or a row of pavers stops most diggers in their tracks.
  • Give them a reason to stay. Exercise, brain games and a legal digging spot reduce the urge to leave.
  • Skip the shock. Electric and invisible fences add pain and fear and don’t fix why your dog wants out.
In This Guide
  1. Why Dogs Dig Under Fences
  2. How to Stop a Dog Digging Under the Fence: Barriers That Work
  3. Fixes by Fence Type
  4. Supervision and Safety While You Train
  5. Give Your Dog a Reason to Stay Home
  6. What About a Neighbor’s Dog Digging Under the Fence?
  7. What Not to Do
  8. Puppy, Senior and Rescue Notes
  9. Your This-Week Plan
  10. Quick Questions
  11. The Bottom Line

Why Dogs Dig Under Fences

Fence-line holes almost always mean your dog wants to get to the other side. The American Kennel Club notes that dogs who can’t go over or through a fence may go under it, often out of boredom or anxiety.

The Dogs Trust lists the usual reasons dogs escape: fear of noises, boredom, chasing wildlife, frustration at seeing something they can’t reach, separation distress and weak recall. Common real-life triggers include:

  • Something interesting outside. Dogs, people, cats, squirrels or a neighbor’s dog on the other side.
  • Roaming urges. Unneutered and unspayed dogs are often more motivated to wander. That’s a conversation to have with your vet.
  • Boredom. Long, solo yard time with nothing to do.
  • Fear. Fireworks, thunder or construction noise can send a scared dog digging for a way out.
  • Being alone. Some dogs dig out to follow their person when left behind.

For the full list of digging reasons, see my guide on why dogs dig.

How to Stop a Dog Digging Under the Fence: Barriers That Work

Physical barriers stop the habit from being practiced while you work on the cause. Pick the option that fits your fence and your budget.

  1. Build an L-footer. Attach a strip of welded wire or hardware cloth to the bottom of the fence and lay it flat on the ground, pointing into your yard, about one to two feet wide. Pin it with landscape staples. Grass grows through it, and a dog who digs at the fence hits wire.
  2. Bury wire below the fence. Dig a narrow trench along the fence line and sink wire mesh one to two feet down, attached to the fence bottom. This takes more work but hides the barrier completely.
  3. Line the base with pavers or rocks. A row of heavy pavers, large flat stones or landscape timbers set along the fence makes digging much harder. It’s simple, quick and looks tidy.
  4. Pour a concrete footer. A shallow concrete strip under the fence is the most permanent fix, often used when a fence is being installed or replaced.
  5. Plant a buffer. Dense, dog-safe shrubs a little in from the fence can keep a dog away from the line. Check plants first with my dog-proof your garden guide.

Fill old holes with soil and pack them down, then cover them with a paver or wire. Dogs often return to the same spot, so this matters.

Fixes by Fence Type

Different fences need slightly different fixes. Here’s a quick guide.

Fence TypeBest FixDetails
Wooden privacyPavers, L-footerFill gaps where boards meet the ground and line the base with pavers or wire
Chain linkL-footerTie wire mesh to the bottom rail with zip ties or hog rings so it can’t be pushed up
Wire or weldedBuried wireSink mesh one to two feet down, or lay an apron of wire on the ground
Gate gapThreshold paverSet a paver, board or concrete strip under the gate opening
Kennel or penSolid floorPlace the pen on pavers or a wire base covered with a mat
Rental yardRemovable paversPavers and pinned wire lift out at move-out time

Gates are a common weak spot because there’s often a gap underneath. Check them every time you check the fence line.

Supervision and Safety While You Train

Barriers help, but a determined dog can find the next weak spot. While you work on this, stay outside with your dog, even for quick potty trips.

  • Keep ID current. Make sure your dog wears a collar or harness with an ID tag, and that their microchip details are up to date with your phone number.
  • Use a long line if needed. A long leash in the yard lets your dog sniff and play without a chance to bolt.
  • Check the fence weekly. Walk the fence line and look for fresh dirt, loose boards and gaps.
  • Move climbing aids. Keep bins, furniture and woodpiles away from the fence, since diggers often turn into climbers.
  • Practice recall. A strong come-when-called is your best backup. My guide to recall training for dogs shows how to build it with rewards.

Give Your Dog a Reason to Stay Home

Most fence diggers are trying to meet a need. Meet it inside the yard and the fence becomes far less interesting.

  1. Add daily exercise. A longer walk or a jog uses up energy that would otherwise go into digging. My guide on how much exercise a dog needs breaks it down by breed type.
  2. Add brain work. Food puzzles, snuffle mats and scatter feeding tire a dog out calmly. The dog enrichment ideas list has easy options.
  3. Build a legal digging pit. A sandbox or loose-soil corner away from the fence, with buried toys, gives the instinct a home.
  4. Block the view. If your dog digs to reach dogs or people on the other side, privacy slats or a screen can lower the frustration.
  5. Limit solo yard time. A bored dog left out for hours will find a project. Bring them in when you go in.
  6. Reward staying close. Toss a treat when your dog checks in with you or chooses the digging pit over the fence.

If you’d like a structured, force-free program for digging and boredom habits, my review of the Brain Training for Dogs course explains what’s inside. My guide on how to stop a dog from digging covers digging in the rest of the yard.

When Fence Digging Needs a Vet Check

A sudden change in behavior can mean pain, illness or fear. See your vet if fence digging starts suddenly, comes with new fear of noises, or your dog has torn nails, bleeding pads or sore gums from digging and chewing at the fence.

Panic escapes during storms or when left alone are worth a vet and a behavior pro, not just a bigger barrier. Some dogs need help from their vet alongside training.

What About a Neighbor’s Dog Digging Under the Fence?

If a neighbor’s dog keeps digging into your yard, start with a friendly chat. Most people don’t know it’s happening and are happy to help.

You can also add an L-footer or pavers on your side of the fence, which stops digging from either direction. Keep your own dog supervised if the two dogs can reach each other, and talk to animal control only if the problem keeps happening and safety is at risk.

What Not to Do

  • Don’t use electric or invisible fences. Shock adds pain and fear, and many dogs run through them when excited or scared.
  • Don’t use shock, spray or citronella collars. These punish without teaching your dog what to do instead.
  • Don’t put sharp, harsh or toxic things in holes. Broken glass, pepper, chemicals and other tricks can injure your dog.
  • Don’t scold a dog who comes back. Punishing a returning dog teaches them that coming back is a bad idea.

Puppy, Senior and Rescue Notes

Puppies can squeeze through surprisingly small gaps. Check the fence line at puppy height and supervise all yard time.

Senior dogs who start wandering or digging out may be confused or uncomfortable. New escape behavior in an older dog deserves a vet visit.

Rescue dogs are at higher risk of bolting in the first weeks while they don’t know where home is yet. Use a long line and keep the yard secure before giving any freedom.

Your This-Week Plan

  1. Day 1: Check ID tag and microchip details, and walk the whole fence line.
  2. Day 2: Fill every hole and put pavers or wire over the worst spots.
  3. Day 3: Start supervised yard time only, with a long line if needed.
  4. Day 4: Add a longer walk and a food puzzle to your dog’s day.
  5. Day 5: Build a digging pit away from the fence and reward every dig in it.
  6. Day 6: Practice recall in the yard with high-value treats.
  7. Day 7: Recheck the fence and plan a permanent barrier for the full line.

Quick Questions

How Deep Should I Bury Wire to Stop a Dog Digging Under the Fence?

Most people bury wire one to two feet deep, or lay an L-shaped apron one to two feet wide on the ground. Both stop the majority of diggers.

Do Dogs Dig Under Fences Because They’re Bored?

Boredom is a big reason, but not the only one. Dogs also dig out to reach other animals, to roam or because they’re scared. Look at when the digging happens.

How Do I Keep a Dog from Digging out of a Kennel or Pen?

Give the pen a solid base, like pavers or a wire floor covered with a mat, and add toys and a chew. Limit time in the pen and supervise when you can.

Are Electric Fences a Good Fix for Diggers?

No. Shock adds pain and fear and doesn’t fix the reason your dog wants out. Physical barriers, supervision and outlets work better and are kinder.

The Bottom Line

A dog who digs under the fence is trying to get somewhere or get away from something. Block the fence line with wire, pavers or a footer, stay outside while you train, and keep ID up to date.

Then meet the need behind the digging with exercise, enrichment and a legal digging spot. If the escapes are driven by panic, bring in your vet and a certified trainer.

This article is for general education and isn’t veterinary advice. Every dog is different, so talk with your vet about sudden escape behavior or injuries from digging, and work with a certified trainer or veterinary behaviorist for fear-driven escapes.

Coach Luke is not a veterinarian or a professional dog trainer. Paw Luke links to reviews on coachluke.com, where Coach Luke may earn a commission if you buy.

Written by

Coach Luke is a NASM-certified personal trainer (CPT, CES, PES) and NESTA nutrition coach with 20+ years of experience, and a lifelong dog lover. He is not a veterinarian or a professional dog trainer, so he sticks to reward-based methods and tells you when to call a pro. More about Coach Luke

Not Sure Where to Start?

Take the free 60-second Dog Check and get one thing to try first.

Take the Free Dog Check

Paw Luke is the dog site from Coach Luke. I may earn a commission when you buy through links on this site, at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Everything here is for education only and is not veterinary advice. See your veterinarian about health or behavior concerns.

© 2026 Paw Luke