Skip to main content

Learn how to stop a dog from digging in the yard once and for all

These helpful tips can stop your dog from digging for good

You look out the window, and your heart sinks as you see dirt flying in all directions. Your dog is having a great time digging yet another hole in the backyard. When this happens, it’s important to remember that, while a yard full of craters might be your worst nightmare, your pup sees it as the perfect playground.




30 minutes

What You Need

  • Sandbox (optional)

  • Commercial training spray (optional)

  • Citronella oil, citrus fruit, or apple cider vinegar (optional)

  • Chicken wire (optional)

It will take time and patience to break their digging habit, but many dogs can learn to rein in the impulse. Read on to learn how to stop a dog from digging, so you can get your yard looking nice again.

Terrier digging a hole in the backyard - Yuri A/Adobe Stock

To learn how to stop your dog from digging, you need to know what's causing them to dig

Dogs dig holes for many reasons, and canine training experts say figuring out what’s motivating your pooch can help get to the root of the problem.

Let’s look at the most common reasons dogs dig and what you can do to stop it.

Step 1: Provide a sandbox.

Some dog breeds are natural-born diggers. After all, digging is an instinctual behavior that goes back to our dogs’ wild ancestors. Many hunting dogs, such as beagles, terriers, and dachshunds were bred to dig prey out of their dens.

Behaviorists at the Humane Society of the United States recommend providing a sandbox to meet your dog’s digging needs. Bury a bone in the sand to attract them to their new playground, if needed.

Step 2: Redirect your dog to cooler spots in the yard on really hot days.

Does your dog tend to dig holes during the summer months and then lie in the hollow they've made? Smart boy! The earth under the surface is much cooler and probably feels refreshing to your dog.

Redirecting your dog to shady spots in the yard, such as under a tree, can give them an alternative way to cool off. Don't forget to praise your dog when they stay there! You might also consider an all-weather-protection doghouse if your furry friend tends to spend a lot of time outside. In extreme temperatures, of course, your dog should stay indoors.

Step 3: Keep your dog from trying to escape.

Some dogs dig holes under the fence to escape. This could be in pursuit of wildlife or a neighborhood pet but can also happen if a dog is bored.

Attach chicken wire to the base of the fence to stop escape digging. To avoid this problem altogether, never leave your dog alone in the yard for long periods. It’s also important to provide mental stimulation by walking your dog at least twice a day.

Step 4: Prevent your dog from taking toys into the yard.

In the wild, wolves bury food they can’t eat immediately to protect it from scavengers. Dogs inherited this behavior, and some will bury toys or bones in the yard.

Limit the number of toys or bones you give your dog, so they won’t have extras to hide. Don’t let your dog take toys into the yard, and if they chew on a bone outside, remove it when they lose interest, so they don’t have an opportunity to bury it.

Step 5: Keep your dog mentally stimulated.

Many dogs dig just because they enjoy it. Digging turns up interesting smells and offers mental stimulation. This will often happen in places where you’ve recently been gardening.

In addition to long walks, training experts recommend playing ball or Frisbee or enrolling in training classes to provide mental stimulation.

Step 6: Limit access to diggable areas of the yard.

For some dogs, having a designated place to dig or a cooler spot to rest may not be enough. Old habits die hard, after all! To prevent your pup from going back to digging in a spot you don't want them to dig, make sure to cut off their access to that area or keep them under constant supervision.

Dog sitting by hole with a bone.
Kolbz/Getty Images

Can you use cayenne pepper in your yard to stop your dog from digging?

According to the American Kennel Club, some have considered sprinkling cayenne pepper where their dog digs. While cayenne pepper may not be harmful to your dog when swallowed, it can irritate their eyes. This could be a problem if your dog touches their face or eyes with their paws after digging in an area that’s been sprayed, so it’s safest to avoid using cayenne pepper as a deterrent.

A brown brindle-coated dog with his head buried in a large hole.
CLShebley/Adobe Stock

What can you use to stop your dog from digging?

If you need an extra hand keeping your dog from digging, you can use commercial products or make spray at home. However, keep in mind that what works for one dog might not deter another. Always check with your veterinarian before using a new product.

Experts at Garden Season suggest making natural homemade sprays with citronella oil, apple cider vinegar, or citrus fruit to deter dogs from digging. If you prefer to go the commercial route, though, you can choose from several repellents. Here are three products that use natural ingredients:

NaturVet Off Limits Training Spray is a combination of herbal extracts, including clove, garlic, and thyme.

Pet Organics No Dig! includes citronella oil, lemongrass, geranium, clove oil, and thyme oil.

Bonide – Go Away! Rabbit, Dog, and Cat Repellent uses granules instead of spray, with natural ingredients including cinnamon and thyme oils.

A brown and white Alaskan malamute digging in a yard.
Ludmila Smite/Adobe Stock

How to correct digging when you catch your dog in the act

Helping your furry friend replace their digging behavior with something more acceptable can be a challenging process, but there are effective ways to correct and redirect the problem.

Step 1: The Humane Society of the United States recommends creating a loud noise as an interruption.

Step 2: Immediately tell your dog "no dig." This will help them understand associate the behavior with the consequence, especially if they already know "no" through obedience training.

Step 3: Then, immediately remove your dog from the situation. You can either bring them to somewhere where digging is allowed (such as a sand box) or by bringing them to an area where they can't dig.

Whatever product you choose, be prepared to use it in combination with behavior modification. It will take patience and persistence to break your dog’s digging habit. If you’ve tried everything and your dog is still digging holes in the yard, you may have no choice but to stay out there with your pet. The good news is that gives you additional time to play or just relax with your buddy. And that’s definitely a win-win for both of you.

Editors' Recommendations

Vera Lawlor
Vera was the pet columnist for 201 Family magazine and has contributed pet and animal welfare articles to Bone-A-Fide Mutts…
How to stop a dog from peeing in their crate for good in 5 easy-to-follow steps
These tricks will keep your house — and his — pee free
A brown puppy lies in their crate on a blanket with their head resting on their crossed paws

As pet parents, we’d like to think that we have every solution for behavior issues, like how to stop a dog from peeing in his crate. Your buddy can’t exactly tell you why he pees in the crate when you’re not home, though, and you can't always catch him in the act — so it can be tricky.
Luckily, with a keen eye and a few trial runs, you’ll figure out the problem in no time. You can always enlist your family, vet, or local doggie daycare to keep an eye out, too, but it’s up to you to make the necessary changes to change the behavior. Anything from a more consistent routine to a new treat-dispensing toy could be the difference between cleaning up a puddle or coming home to a happy pup.
Here’s how to stop your dog from peeing in his crate.

First, rule out medical issues as a cause for crate incontinence
Before anything else, it’s important to make sure your fur baby is in good health, so you should book a visit to your vet. Many medical issues could cause a dog to lose control of their bladder, not all of which are obvious or even noticeable. Dogs are notorious for hiding their discomfort, after all.
A few reasons your dog might not be able to hold it include:

Read more
How to tell if your older dog’s health decline means the end is near
Signs your old pup is close to the end-of-life period
An old Great Dane with a white face leaning against a man's side.

If you've stumbled across this article after searching terms like "old dog behavior before death," we are so sorry for your situation. There's nothing we want more than for our fur babies to live forever. Unfortunately, death is a part of life we all must face, and the loss of a pet is a major trauma because of the tight bonds we form with our fur babies.

Knowing death's a part of life doesn't make the loss of a pet any easier — it can be as difficult as losing a human family member. Despite the many ways we can try to grieve once our beloved pet has passed, it can be helpful to know the end is near. Here's what you should look for if you suspect your dog may be nearing the end of the road.  

Read more
Video: This family dog is the world’s best babysitter
This golden takes the best care of his tiny human
A dog sits outside and watches a baby

If you think family dogs don't make good babysitters, think again. While it's true a lot of pets encourage mischief, sometimes a particularly sweet animal will be perfect for the role of human watching. This adorable beastie has his child minding duties down to a science, as seen in the latest TikTok video in which a happy golden retriever follows around his little girl bestie as she plays through her day. It's called "Who needs a babysitter?" and proves that our buds are up to the task. (Okay, so you shouldn't actually leave your dog in charge of your child — but there are definitely pups out there who make perfect companions for kids.)

"Dogs can't be babysitters," reads the first title in this funny dog video. We see our golden star with his small child and then cut to her in the bounce house with the label "My dog." What follows is a look at all the ways he watches her go about the life of an active toddler, always followed by her trusty companion. (Obviously, the pup pup is not truly babysitting as presumably the parent is the one filming.) In addition to being safe, she clearly adores the attention of her furry friend.

Read more