The short answer
Dogs usually dig under a fence for one of two reasons: they want to get to something on the other side, or they want to get out. Find out what draws your dog to that spot, check the fence for gaps, and block the digging while you work on the cause. Until the fence is secure, keep your dog supervised in the yard.
Common reasons
- Something on the other side. Animals, people, other dogs, or interesting smells can all pull a dog toward a fence line.
- Escape. A dog that is bored, anxious or frustrated may dig to get out, especially if it has done it before.
- Boredom. A dog left alone in the yard for long periods may dig simply because it has nothing else to do.
- Prey interest. Some dogs are strongly drawn to small animals, and a burrow or gap can become a target.
Check the fence
Walk the fence line and look for:
- Gaps at the bottom, especially where the ground dips
- Sections that have been dug under before and filled back in loosely
- Boards or panels that have worked loose
- Anything the dog could use as a starting point, such as a loose post or a tree root
A fence that looked secure when your dog was smaller may no longer keep it in, so check it again as your dog grows.
Block the digging
Stopping the digging usually means making the route harder to dig. Options include:
- Adding a barrier along the base of the fence, buried or set into the ground
- Laying stones, pavers or other heavy material along the fence line where the dog digs
- Moving the dog’s favorite spot, such as a bed or water bowl, away from the boundary
- Filling in any digging spot as soon as you find it
Test your plan by watching the dog for a few days. If it digs in a new spot along the fence, the barrier needs to cover more of the boundary.
Keep the dog away from the fence
When you cannot watch, keep the dog somewhere else in the yard or inside. A dog that is not near the fence has no reason to dig there. This is often the quickest way to stop the habit while you make longer-term changes.
Recall and boundary training
A dog that comes back reliably when called is much safer if it does get out. Practice recall in a safe, enclosed area before you rely on it in the open. The advice on how to teach a dog to come when called is a good place to start, and it helps to practice with a long line first.
Teach your dog a clear “stay” or “wait” around doors and gates as well, so it learns that the boundary matters.
Meet the dog’s needs
A dog with enough exercise and mental work is less likely to dig at a fence out of boredom. Walks, sniffing time, short training games and chews can all help. Our article on dogs that chew when bored has ideas that also work for digging.
Escape risk
A dog that gets out can be hit by a car, lost or hurt by other animals. Make sure your dog wears a collar with an up-to-date ID tag and is microchipped, and check that the chip’s contact details are current. Keep emergency contact details handy, and remember that a dog that has dug out once may try again.
When to get professional help
Ask a vet or a qualified behavior professional for advice if:
- The digging is persistent or seems compulsive
- The dog is reacting strongly to something on the other side of the fence
- The dog is getting out repeatedly despite a secure fence
- The dog is injuring its paws or nails while digging
Digging under a fence is usually a problem you can solve with a secure boundary, a clear plan and supervision. Be patient, check the fence often, and keep your dog safe while the fix takes hold.