How to Stop a Dog Digging in the Yard
We may earn a commission when you buy through links on this page, at no extra cost to you. Learn more
Holes in the lawn, dug up flower beds and, in the worst case, a dog who digs under the fence and gets out. Digging is normal dog behavior, so the aim is not to stop it completely but to work out why your dog digs and give them a better place and reason to do it.
How we wrote this: the advice here follows Battersea’s guide on how to stop your dog from digging, Best Friends Animal Society’s page on how to get a dog to stop digging and Dogs Trust’s guide to destructive behaviour in dogs. We put their advice in our own words and mark our own tips with “in our view”. All were checked on 2 November 2026. We did not test any of the products named here ourselves, and we do not show prices or ratings. This is not veterinary or behavioral advice for your dog: if the digging is sudden, constant or happens when your dog is left alone, talk to your vet and a qualified behaviorist.
Why do dogs dig?
All three sources agree that digging is natural and not a sign of a “bad” dog. Dogs Trust stresses that chewing, digging and scratching are normal behaviors, and that they often meet a need the dog has, such as boredom, stress or frustration. The common reasons they list between them are:
- Fun. Best Friends says some dogs simply enjoy digging, and Dogs Trust notes that it can be self-rewarding because it meets a natural drive and makes the dog feel good.
- Boredom. Best Friends says a dog left alone in the yard for hours may dig out of boredom, and Battersea lists boredom as one of the main causes.
- Heat. Best Friends says some dogs dig to find a cool spot on a hot day.
- Burying things. Best Friends says some dogs like to bury things to save for later.
- Escape. Best Friends says a dog may dig under fencing to find a way out.
- Breed. Battersea says digging is common in some breeds, such as terriers.
- Stress, comfort or nesting. Battersea says digging can be a sign of anxiety and stress, a way to calm down, or nesting in a pregnant female dog.
- Pain. Dogs Trust says pain or discomfort can be behind destructive behaviors, digging included.
In our view, it helps to watch where and when your dog digs before you change anything. Holes along the fence line point to escape. Shallow scrapes in a shady spot on a hot afternoon point to heat. Digging that only happens when your dog is alone points to boredom or stress about being left.
Step 1: rule out pain and health problems
Dogs Trust suggests booking a check with your vet to find any medical causes that are hard to spot, because pain, injury or allergies can drive destructive behavior.
Step 2: limit access and supervise
While you set up a better outlet, stop the habit from being practiced. Battersea suggests limiting access to the places your dog usually digs, for example with garden fencing, and supervising your dog outside if that is not possible until a new digging area is in place. Dogs Trust gives the same advice: keep an eye on your dog in the garden, or fence off the areas you do not want dug.
Battersea also suggests a long-line lead to move your dog away from digging spots, in the yard and on walks. Our guide on how to use a long line for dog training explains how to handle one safely, and the Viper BioThane long line is one we list. Best Friends adds that for dogs who keep digging even when their needs are met, the best plan may be to keep them indoors when nobody can supervise them.
Step 3: give your dog a dig pit
This is the core of the fix in all three sources: give your dog a place where digging is allowed. Best Friends suggests a wooden dirt box, a sandbox or a child-size pool, and says that for a 50-pound dog the box should be at least 12 inches deep. Battersea suggests a small sandpit with a small amount of soil. Dogs Trust recommends a dig pit in the garden, or a dig box indoors, and has a guide on how to make your own dig box.
The sources differ on where to put it. Best Friends suggests placing the pit where your dog already tends to dig, while Battersea suggests placing it away from the usual digging area. In our view, try the favorite spot first if you can give that patch up, since your dog already wants to dig there. If you want that spot back, put the pit somewhere else and block the old spot for a while.
To make the pit worth using:
- Fill it with loose sand or soil. Best Friends suggests moistening the soil.
- Bury toys in it. Best Friends suggests hiding a mix of new and favorite toys for your dog to dig up, and Battersea also suggests placing toys in the soil to draw your dog in. In our view, start with toys only partly buried so your dog finds them quickly, then bury them deeper as your dog learns the game.
- Join in and praise. Best Friends suggests encouraging your dog to dig in the box, and even digging with them if you enjoy it.
- Redirect, every time. If you see your dog digging anywhere else, Best Friends says to take them back to the digging zone.
If you use a child-size pool as the pit, our guide on how to choose a dog pool covers sizes and materials.
Step 4: more exercise, play and things to do
Best Friends says dogs dig out of boredom, so your dog needs plenty of exercise and time with you every day, and that playing with other dogs (for dogs who enjoy it) uses up spare energy. It notes that well exercised dogs are more likely to lie around relaxed than dig up the garden. Dogs Trust says dogs also need chances to do natural things like sniffing, chasing, digging and retrieving, and suggests changing walking routes and games so your dog does not get bored.
For enrichment, Battersea suggests a snuffle mat or a homemade deconstruction box: a cardboard box filled with scrunched up paper for your dog to rip into. Dogs Trust also suggests snuffle mats and rotating toys regularly to keep them interesting.
- Our best snuffle mat for dogs guide compares mats, including the PAW5 Wooly Snuffle Mat.
- Our best puzzle toys for dogs guide covers puzzles by difficulty, and how to teach a dog to use a puzzle toy helps a dog who has never tried one.
Step 5: shade and cooling for heat diggers
If your dog digs shallow beds in the shade on hot days, they are probably trying to cool down. Best Friends says dogs must have shade and clean, cool water in hot weather, and that some enjoy splashing in a child-size pool of water.
In our view, give a heat digger a better cool spot than the dirt: a shaded area, a raised or cooling bed and water they cannot tip over. Our best dog cooling mat guide compares mats, including the CoolerDog Hydro cooling mat, and our guide on how to keep a dog cool in summer covers the rest. If your dog spends time outside, our guide on how to choose an outdoor dog house covers shade and shelter.
Step 6: digging along the fence is an escape risk
Best Friends notes that some dogs dig under fencing to get out. In our view, treat holes along the fence line as a safety problem first, not a garden problem, because a dog that gets out can be hit by a car or get lost. Block holes and do not leave a fence digger alone outside until the fence is secure. Our guide on how to make your yard escape-proof for a dog covers fences, gates and dig barriers in detail.
Step 7: teach a recall and a redirect cue
Battersea suggests a strong, reliable recall so you can call your dog away from places you do not want dug, and teaching a nose “touch” cue so you can lead them to a better spot. It also suggests a “drop it” cue so your dog lets go of things they should not hold, such as something they dug up. Our guide on how to clicker train a dog shows how to mark and reward new cues.
Do not punish digging
Dogs Trust advises against telling your dog off or giving them attention when they are doing something destructive in front of you, so they do not learn that the behavior gets a reaction. It suggests calmly interrupting instead, for example by making a distraction elsewhere or leaving the room, then offering something better to do. It also says that punishing dogs, verbally or physically, often makes anxiety and confusion worse and can make the problem worse, and that reward-based training works better than fear-based methods.
Digging when left alone, and indoor digging
Dogs Trust says that if your dog is only destructive when left alone, this is likely a separation-related problem caused by fear, frustration or boredom, and that scratching or digging near a door or where they were left is common. It suggests planning so your dog always has company, through friends, family, dog walkers or day care, and getting a health check and support from an accredited behaviorist. Our article on whether you should crate a dog with separation anxiety covers that side.
Digging at a bed or blanket indoors is usually different. Dogs Trust says nesting, such as digging or scratching their bed, is natural and is how many dogs make a comfortable spot to rest. Best Friends suggests putting an old blanket or a square of carpet in the spot where your dog scrapes the floor and circles, to give them a bed there.
When to get help
Dogs Trust says to speak to your vet if your dog is hard to interrupt or you are worried about how much they dig, and to get help from a qualified trainer or behaviorist. In our view, ask your vet and an accredited behaviorist for help if the digging:
- started suddenly or after a change at home;
- happens mainly when your dog is left alone;
- is so constant that you cannot interrupt it, or your dog digs until their paws or nails are sore;
- keeps going even after you have met your dog’s exercise, play and comfort needs.
If your dog barks at passers-by, other dogs or wildlife from the yard, see how to stop a dog barking in the yard or garden.
FAQ
Why does my dog dig holes in the yard?
Best Friends lists enjoyment, looking for a cool spot, burying things, boredom and trying to escape. Battersea adds stress, comfort and breed, and Dogs Trust adds pain. Where and when your dog digs is the best clue.
How deep should a dog dig pit be?
Best Friends says a dirt box for a 50-pound dog should be at least 12 inches deep. In our view, go deeper for bigger dogs and make it wide enough for your dog to stand in and dig.
Will my dog grow out of digging?
Dogs Trust says dogs that are destructive because of a medical problem, boredom or emotions like fear and frustration are unlikely to grow out of it, and need support and new habits instead.
Should I punish my dog for digging?
No. Dogs Trust says punishment often increases anxiety and confusion and can make the behavior worse. Interrupt calmly and redirect your dog to their dig pit.
More on yard life with a dog: how to make your yard escape-proof and the dog and cat toys buying guide.