Dogs usually dig under fences for one of four reasons: boredom, escape instinct, prey drive, or temperature comfort. The most effective solutions combine physical barriers with behavior fixes.

1. Bury a Physical Barrier (Most Reliable Fix)
This stops digging regardless of motivation.
Best options:
- Wire mesh or hardware cloth
- Bury 30–45 cm (12–18 in) below ground
- Bend it outward in an L-shape toward the yard
- Chicken wire (budget option)
- Works for small to medium dogs
- Concrete footer
- Permanent and escape-proof
- Gravel trench
- Dogs dislike digging through sharp gravel
This is the closest thing to a guaranteed solution.
2. Extend the Fence Below Ground
If rebuilding is an option:
- Sink the fence at least 30 cm (12 in) into the soil
- Add a bottom rail close to ground level
- Use pressure-treated wood or metal to prevent rot
3. Block the Digging Zones
Dogs often dig in the same spots.
Try placing:
- Large rocks or pavers
- Concrete stepping stones
- Landscape edging
- Logs or heavy planters
These work best when combined with another method.
4. Remove the Motivation to Escape
If your dog is trying to get out, barriers alone may not be enough.
Reduce boredom:
- Daily walks and play sessions
- Interactive toys and puzzle feeders
- Rotating toys to keep interest high
Reduce prey triggers:
- Block sightlines with privacy fencing or shrubs
- Cover gaps where animals pass by
5. Create an Approved Digging Area
Some dogs love digging and always will.
- Designate a dig pit or sandbox
- Bury toys or treats there
- Praise digging only in that spot
This redirects the behavior instead of fighting it.
6. Avoid Ineffective or Risky Methods
Skip these:
- Spicy powders or chemicals (can harm paws and nose)
- Shock or deterrent devices
- Punishment after the fact (dogs don’t connect it)
They often worsen anxiety and digging.
7. Check for Cooling Behavior
In hot weather, dogs dig to reach cooler soil.
- Provide shade
- Add cooling mats
- Ensure constant access to water
Quick Recommendation
If you want the best long-term solution:
Install buried wire mesh in an L-shape + increase daily exercise.
This combination stops escape digging in most dogs.