How do you get a dog to stop digging?

Digging is one of the most common (and sometimes most frustrating) behaviours dog owners face. Here’s why dogs dig, how to stop your dog digging in unwanted areas, and what you can do to make your garden peaceful again.
Why do dogs dig?
Before asking how to stop my dog from digging, it’s important to understand why they’re doing it. Digging is completely natural and different dogs do it for different reasons. The behaviour might begin when they’re a puppy or suddenly appear in adulthood, especially if something in your dog’s environment has changed.
Here are a few of the most common causes of digging:
1. Breed instinct
Some dogs are just born to dig. Breeds like terriers were originally developed to hunt small burrowing animals. For them, digging isn’t a problem behaviour, it’s a biological drive. Even if there are no animals in sight, the urge is still there. It’s a deeply satisfying activity. So, rather than stopping it altogether, it’s often better to redirect it.
If you’re considering getting a dog and are particularly proud of your garden, research your breed thoroughly. A digging-prone terrier might not be the ideal match.
2. Boredom and lack of stimulation
Dogs that are under-stimulated either mentally or physically often dig to pass the time. A dull environment with no toys, games, or company can quickly lead to digging as a way of entertaining themselves.
3. Stress or anxiety
Digging can also be a displacement activity for stressed or anxious dogs. If your dog is nervous, recently experienced a change in the home (such as a move or a new baby), or is being left alone too long, digging may help them cope.
4. Hunting for wildlife
Dogs have an incredible sense of smell. If they detect movement or a scent underground, either from insects, rodents or other wildlife, they may dig in an effort to investigate.
5. Seeking shelter or comfort
In hot weather, some dogs dig to create a cool space to lie in. In colder conditions, they might dig near trees or buildings to feel sheltered or secure. This is instinctive den-making behaviour.
6. Attracted by scented soil or fertiliser
Certain scents in soil, such as compost, blood and bone fertiliser, or even freshly turned earth, can be very appealing to dogs. Many owners discover their pet digging up newly planted borders for this reason.
How to stop your dog digging in the garden
Once you’ve identified why your dog is digging, it becomes much easier to tackle the behaviour in a way that’s kind and likely to have lasting results. Here are a few ways that could help your dog stop digging in unwanted areas.
1. Create a dog-friendly digging zone
Rather than battling to prevent dogs from digging altogether, it’s often more successful to give them a specific spot where they’re allowed to do it.
You can create a simple digging box for dogs using a low raised bed or children’s sandpit, filled with play sand or soft soil. Bury some of your dog’s toys or treats inside and make it a fun experience where they can explore. This can give your dog an outlet while protecting your flower beds and lawn.
Offer plenty of praise when they use it. Punishment isn’t effective and can cause stress, which may actually make the digging worse.
2. Make sure they’re getting enough exercise
Dogs that aren’t physically tired are way more likely to develop unwanted behaviours. Ensure your dog gets regular walks, play sessions, and off-lead time (if it’s safe to do so), to suit their age and breed. Working breeds like spaniels and collies, for example, require much more stimulation than others.
Two or three shorter sessions per day can be more effective than one long one. A well-exercised dog is far less likely to dig simply as something to do.
3. Keep their minds busy
Mental stimulation is just as important as physical activity. If you’re wondering how can I stop my dog from digging, it may help to use things like hide-and-seek games, enrichment toys, basic training, and interactive play.
You don’t have to spend hours at it, just 10 to 15 minutes a few times a day can make a big difference. And if your dog is alone during the day, consider a dog walker or doggy day care service to break up the monotony.
4. Get rid of pests
If your dog’s digging is focused in one area of the garden, especially near walls or trees, they may be trying to get to something underground.
Look out for signs of wildlife or insects. If there’s a rodent problem, call a humane pest control service. Always avoid toxic chemicals as many are dangerous to both dogs and wildlife.
5. Use natural deterrents
Sprinkling ground black pepper or cayenne pepper around a few favourite digging spots can be enough to stop determined doggy diggers. Another option includes citronella (dog-safe version), just be cautious with any deterrent and always ensure it's non-toxic and dog-safe.
6. Provide shelter and comfort outdoors
If your dog spends time in the garden, ensure they have a shaded spot in summer and a covered area in colder months. A fresh water supply is essential too. Never leave your dog unattended outdoors for long stretches, even if your garden is secure.
Sometimes dogs dig simply to make themselves more comfortable, especially in extreme temperatures. By providing proper shelter, you might reduce the need for them to do so.
How to stop a dog from digging under the fence
Escape digging can be both frustrating and potentially dangerous. Here’s how to keep dogs from digging under the fence:
- Bury chicken wire or large stones at the base of the fence to create a physical barrier.
- Install an L-shaped footer, made from mesh or paving slabs, flush to the ground on your side of the fence.
- Supervise garden time, especially if you know your dog has a history of escaping.
- Avoid leaving dogs alone outdoors for long periods. Escape attempts often stem from boredom, separation anxiety, or the lure of a scent on the other side.
When digging can be dangerous
While digging is a natural behaviour, certain situations can turn it into a health risk for your pet. Toxic plants to dogs such as daffodils, lilies, tulips, azaleas, and ivy can cause illness if chewed or swallowed.
Compost heaps may hide mould, fertilisers, or slug pellets, all of which can be harmful. Sharp objects like old rubble or broken glass may also be buried beneath the soil, posing a risk of injury.
In some cases, digging can become obsessive or compulsive. If you notice this, seek advice from a behaviourist or your vet.
And if your dog shows signs of vomiting, drooling, or unusual behaviour after digging, contact your vet immediately.
More information
Remember, digging is a natural and deeply ingrained behaviour. Rather than trying to eliminate it completely it’s best to give your dog an outlet, a place where digging is encouraged, while protecting areas that matter to you.
For my information on dog behaviour, see our range of dog guides and advice.
FAQs about dogs and digging
- Written by
- Adam Jolley
- Approved by
- Adam Jolley
About the Author
Adam Jolley is a writer specialising in insurance, personal finance, and pets. He’s worked for Confused.com and Admiral Insurance, and currently writes and edits for an online magazine. His strangest pet was a hissing cockroach. Now, he’s a proud cat dad to Penelope, affectionately known as Nelly.
More articles from Adam Jolley