Few things test a dog owner’s patience quite like heading into the garden to find a fresh crater at the base of the fence. It is muddy, it is frustrating, and if your dog is genuinely trying to tunnel their way out, it can be downright dangerous.
The good news is that digging under a fence is a very solvable problem once you understand what is driving it. Below we cover why dogs do it, then walk through the physical barriers and humane training fixes that actually work in a typical UK garden.
To stop a dog digging under a fence, first work out the cause (boredom, escaping, chasing prey, seeking a mate, anxiety or cooling off), then block access by burying wire, an L-footer or paving along the fence line. Pair that with more exercise, enrichment, a dedicated digging pit and positive training. Never punish the digging.
Key Takeaways
- Digging under a fence is a symptom, so identify the cause before you fix it.
- Common causes include boredom, escape and prey drive, seeking a mate, anxiety and simply cooling off on a hot day.
- Physical barriers such as a buried L-footer, chicken wire, paving slabs or gravel along the fence base stop tunnelling fast.
- Behavioural fixes (more exercise, enrichment and a digging pit of their own) tackle the reason your dog started in the first place.
- Neutering can help where the escaping is driven by the urge to find a mate.
- Positive, reward-based methods work. Punishment does not, and often makes anxiety-driven digging worse.
- Terriers and other working breeds are natural diggers, so channel the instinct rather than trying to suppress it.
Why Do Dogs Dig Under Fences?
Digging is completely normal dog behaviour. Their ancestors dug to bury food, make dens and stay cool, so the instinct runs deep. The trick is figuring out which particular itch your dog is scratching, because the right solution depends entirely on the cause. UK welfare charities including the RSPCA and the PDSA all stress the same thing: address the reason, not just the hole.
Boredom and Too Much Energy
This is the most common culprit by a mile. A dog left alone in the garden with nothing to do will invent their own entertainment, and digging is brilliant fun. Under-exercised, intelligent and high-energy dogs are especially prone to it. If your dog is a bundle of unspent energy, digging is often just a release valve.
Escaping and Prey Drive
Some dogs dig with a clear destination in mind: out. They might be chasing next door’s cat, following the scent of rabbits or rats along the fence line, or simply exploring. Terriers were bred to go to ground after vermin, so a hole near an old burrow or tree root often means they have scented something worth pursuing.
Seeking a Mate
An unneutered dog that catches the scent of a nearby dog in season can become remarkably determined to escape. If your dog only started tunnelling recently and is entire, hormones may well be the driver. Neutering can significantly reduce this roaming urge, and your vet is the best person to advise whether it is right for your dog.
Anxiety and Separation Distress
Frantic digging, particularly when you have just left, can be a sign of distress rather than mischief. Dogs struggling with separation anxiety may try to dig their way out to follow you or to escape something that frightens them, such as fireworks or building work next door. This type of digging needs a gentle, supportive approach rather than any kind of telling-off.
Keeping Cool or Comfortable
On a warm day, freshly dug soil is delightfully cool. Dogs will often scrape out a shallow pit in a shady spot to lie in, and the base of a fence is a favourite because it is usually shaded. If the holes appear in summer and your dog curls up in them, temperature is likely the answer.
Breed Tendencies
Some dogs are simply hardwired to dig. Terriers (Jack Russells, Border Terriers, Cairns), Dachshunds and many working breeds have generations of digging behind them. You will not train this instinct away entirely, so with these breeds the goal is to give them a legitimate outlet.
Physical and Barrier Solutions
If your dog is actively trying to escape, you need to make the fence line dig-proof while you work on the behaviour. These barriers are humane, effective and suit mo

