How to Stop a Dog Digging Up the Garden
Digging is natural, not naughty — dogs dig from boredom, instinct, heat or stress. The kind fix is to redirect the urge to a legal dig spot, not punish it.

Hi, I'm Matt, founder of Giddy Pets. A freshly excavated flower bed is a classic dog-owner heartbreak — but digging isn't your dog being destructive for the sake of it. It's a deeply natural behaviour with real motivations behind it. Rather than trying to stamp it out, the kind and effective approach is to work out why your dog digs and give the urge a better outlet.
This is general guidance, not a substitute for advice from your vet or a qualified, accredited behaviourist — please rule out medical causes first.
Why dogs dig
Dogs dig for all sorts of reasons, and spotting yours points you to the fix:
- Boredom and too little exercise. An under-stimulated dog invents their own entertainment, and digging is great fun.
- Instinct and breed. Many terriers and earth-working breeds are hard-wired to dig — it's in the job description.
- Comfort and temperature. Dogs dig cool hollows to lie in when hot, or sheltered scrapes when cold.
- Hunting. The scent or sound of soil-dwelling creatures can set a dog digging with great enthusiasm.
- Escape. Digging under a fence may mean your dog wants to get to something, or get away from something stressful.
- Stress or anxiety. Like pacing or chewing, digging can be a way to relieve tension — see our dog anxiety hub.
- Caching. Some dogs dig to bury a prized chew or toy and "save it for later," then dig again to retrieve it — a tidy, instinctive habit rather than a problem.
Watching when and where your dog digs is the quickest route to the answer. A dog who digs shallow scrapes in the shade on a hot day is cooling off; one who excavates by the fence line is probably trying to get out; one who only digs after being left alone for hours is likely bored or anxious. Match the solution to the motive and you'll get far better results than a one-size-fits-all approach.
What to try
The winning strategy is "redirect, don't forbid."
1. Meet their needs first. Plenty of physical exercise and mental enrichment — sniffy walks, training games, puzzle feeders and chews — take the edge off boredom digging. You'll find enrichment toys in our shop. 2. Create a legal digging spot. Set up a sandpit or a corner of the garden where digging is allowed. Bury toys or treats there and praise your dog warmly for using it. Many dogs happily switch to their own patch. 3. Make off-limits areas less appealing humanely. Supervise garden time and calmly redirect to the dig pit rather than telling off. Some owners place large stones or planters in favourite spots; never use anything that could harm your dog. 4. Provide shade, water and shelter so a dog digging to cool down or warm up doesn't need to. 5. Secure the boundary kindly if your dog digs to escape, and address the reason — more company, exercise, or help with anxiety — rather than just blocking the hole. 6. Reward the behaviour you want. Catch your dog resting calmly or playing with their own toys and praise it. Our dog training hub has more on reward-based methods.
Setting up a legal digging spot is often the single biggest win, so it's worth doing well. Pick a corner of the garden, loosen the soil or use a child's sandpit filled with sand or earth, and make it the most exciting place to dig by burying a few toys or treats just under the surface. Bring your dog over, scratch at it yourself to show them, and praise enthusiastically the moment they join in. When you catch your dog starting to dig elsewhere, calmly lead them to their pit instead and reward digging there. With repetition, most dogs learn that their own patch is where the good stuff is hidden. Pair this with a properly tired-out dog — a long sniffy walk and a puzzle feeder before garden time — and the random craters usually fade away.
What NOT to do
- Don't punish after the fact. Telling your dog off when you find a hole later teaches nothing — they can't connect it to the digging and it just adds fear.
- Don't fill holes with water, chilli, or anything aversive — these are unkind and can frighten or harm your dog.
- Don't simply confine a bored dog for longer with no outlet; that usually makes things worse.
- Don't assume it's "just naughtiness" — digging meets a real need, so the answer is a better outlet, not punishment.
When to get professional help
If digging is sudden, frantic, or paired with other signs of distress like pacing, panting, destructiveness when alone or escape attempts, it may be linked to anxiety — speak to your vet to rule out pain or illness, then ask about referral to an accredited behaviourist. You can check credentials via the Animal Behaviour and Training Council, and our vets directory helps you find a local practice. For related behaviours see dog resource guarding and how to stop a dog barking.
Sources
Common questions
How do I stop my dog digging without punishing them?
Meet their exercise and enrichment needs, then redirect the urge to a dedicated digging pit or sandpit where digging is allowed and rewarded. Punishment after the fact teaches nothing and adds fear; a better outlet is far more effective.
Why does my terrier dig so much?
Many terriers and earth-working breeds are hard-wired to dig — it's instinctive, not misbehaviour. You won't erase the instinct, but you can satisfy it with a legal digging area, scent games and plenty of mental and physical exercise.
My dog digs to escape under the fence — what should I do?
Address the reason as well as the boundary. Escape digging often means boredom, wanting company, or stress. Provide more exercise, enrichment and company, secure the fence humanely, and get help from your vet or a behaviourist if anxiety is involved.
About the author
Matt — founder, Giddy Pets
Matt started Giddy Pets to make getting pets the good stuff simpler and fairer. Everything in these guides comes from real life with pets and a lot of trial and error — it's practical guidance, not veterinary advice. If a guide gets something wrong, tell him directly.
Free tools & more guides
Read next

Dog Training & Behaviour Hub
Kind, reward-based training — house training, recall, barking, biting, clicker work and obedience, plus the tools that help.

Dog Anxiety & Calming Hub
Fireworks, separation, thunder and travel — practical ways to help a worried dog feel safe.

Are Cairn Terriers Good Family Dogs? Temperament & Fit
Busy, bold and friendly, the Cairn Terrier is a brilliant family dog — but a true working terrier. An honest look at temperament, prey drive, digging and fit.

Puppy Toilet Training: The Complete UK Guide
Toilet train your puppy with frequent trips outside, consistent timing, calm praise and zero punishment. A realistic UK routine for gardens, flats and bad weather.