How to Keep Dogs Out of Trash Cans? (Outside & Inside the Home)

how to keep dogs out of trash cans

Our dog used to have a trash problem. When we let him outside, he would tear into the trash bags we had left out, even dig into the cans given half a chance. It’s not just outside that our dog did this, he’d also try getting into the trash inside the house too – even in the bathroom!

That was until we took steps to keep our dog out of the trash inside and outside. I hope you learn from your tips, as it will also work with stray dogs who are getting at your trash cans overnight.

By using a combination of training, distraction, and safeguarding you should solve the issue in no time at all!

I will start off with when you have the problem with dogs getting at your trash cans outside your home. Scroll down for the section on how to stop the behavior in your home.

How to keep dogs out of trash cans outside

The first challenge I faced was how to keep dogs out of outside trash cans. Here are the different strategies I used, none of which involved harming or hurting the dogs.

1. Strap the trash cans shut

Once you’ve put the trash bags into the cans, use straps to secure the lid on the can. Something as simple as a cinch strap (view on Amazon) can work perfectly to secure the trash cans from troublesome dogs.

Before you buy a strap, make sure it’s going to be long enough to keep the dogs out of the trash outside… it depends on the size of your trash cans.

You might also want to consider trash can locks. I found some on Amazon which look great, but again you will need to measure up first. Here are trash can locks with the best Amazon reviews I can find.

2. Spray an ammonia solution on the trash cans

I personally haven’t used this method but read from people online who swear by it. All you do is get some ammonia and pour it onto the trash cans.

Animals, including dogs, hate the smell of ammonia, so by virtue of it being on the cans should deter them from tipping them over and tearing into the trash bags.

You might want to consider buying a cheap water bottle sprayer and mixing up a solution to keep handy… as it will need to be re-applied each time it rains. Here’s a spray bottle on Amazon.

How to keep dogs out of trash inside the home

If the problematic behavior is targeted towards trash bags and cans inside your home, then here’s what worked for us in stopping our dog.

1. Keep your dog entertained

Boredom is the primary reason that dogs take to dumpster diving. Like we turn to Netflix in times of dullness and despair, dogs turn to destroying your slippers, chasing cats, and stealing from the trash cans.

If you can keep your dog busy, it might discourage them from raiding your trash cans inside.

Handy Hint: If you want to keep a dog out of your bathroom trash, you might find this article about why dogs like tissuesinteresting – flush the tissues instead and it might fix the problem.

If you work at home, as most of us do nowadays, it is slightly easier to keep your pup occupied with more productive activities let’s say. Or at the very least less messy activities.

You can set aside time every day to play with your dog or take them on a particularly taxing walk. I have used strategic long, arduous walks to great effect. If my dog is completely exhausted after thorough exercise, he is far less likely to take to bad habits.

If you don’t work from home and are unable to do lots of hands-on play, dog puzzles are incredible inventions.

You’ll need to choose a puzzle that won’t need lots of supervision if you are using it for the purpose of distraction. Here’s one on Amazon I recommend.

They are quite easy for your dog to grasp but will still keep them busy for a good amount of time during the day.

2. Place your trash can strategically

This tactic is all about aversion. You need to be clever about where you place your trash in your home if you want to keep your dog out of the trash.

For example, do you have cupboard space you can use? That is the perfect place to put a small trash can out of the sight and smell of your mischievous pooch.

If you have quite a large bin or just want more access to it, you can put the trash can somewhere your dog is unlikely to be unsupervised. You can also put it somewhere with many obstacles in their way.

Some dog owners turn to physically creating barriers like installing baby gates around their trash can to avoid this bad behavior. If you have a very persistent doggy on your hands, I completely understand why you may choose to do that.

The option is always there but there are some cheaper and more permanent solutions. Let’s keep going.

3. Keep your dog well-fed

So, I recognize that I have been writing this article assuming that your dog is just bored and has far too much access to the object of their desires. The trash in this case.

But what if your dog is genuinely just looking for scraps when they go for the trash cans inside?

It’s not uncommon for dogs to be wooed by the smells and look of human food. As you scrape the leftovers off your plate and into the trash (or compost if you’re a cut above the rest of us), your dog may watch that food with a ravenous hunger in their eyes.

how to keep dogs out of your trash can
You can see that he wants to, but with some training you can stop your dog getting into the trash.

I get it. Kibble can only be so exciting right?

Making sure my dog was well fed and more exciting meals really helped us to keep our dog out of the trash bags indoors.

For me personally, I started mixing in some chicken broth into my dog’s evening meals and scheduled in a Dentastick treat every midday. This meant sure that my dog was well fed from breakfast to dinner and kept his eyes off my own food.

4. Say “No”

Just say no. Easier said than done right? Well, there are levels to this. If this is new behavior and your dog is usually quite well behaved, the distraction and aversion tactics may be enough.

If this is a pattern of behavior with other bad behaviors, then it’s time for a spell of good training.

The fundamentals of training are patience, persistence, and a personal touch. You must train your dog to listen to your commands.

To stop your dog from stealing from the trash bags, you’ll need to catch them in the act. Teaching your dog a lesson before or after the event is completely useless. They need to see a direct correlation between the undesired behavior and your disapproval of it.

So, you have to catch your dog in the trash cans and make your simple command “no”.

dog digging in trash
OK, so maybe it doesn’t work all the time!

Saying no to a dog is like saying no to a child. Screaming and yelling will traumatize. Gentle, sweet voices will easily be ignored. Your no has to be firm. Firm, not forceful or overly sugary. Think of yourself as a protective guardian that through your structure and discipline, is doing the best for your dog. As a pet parent, that is exactly what you are.

With enough reinforcement, your dog will learn that creating a mess and digging through the garbage makes you deeply unhappy. No dog wants to see you unhappy!

5. Buy a trash can that is impenetrable

They have ignored your training. They seem to find their way into the garbage no matter where you position it. They are well-fed and played with often, but they just can’t resist the siren’s call from the trash can.

With the most stubborn of dogs you need the nuclear option to keep them out of your trash.

What do you do then?

Well, this was my last resort!

My electronic, motion detecting Megatron of a trash can is completely impenetrable to dogs. You can see which one I bought on Amazon. It is incredibly heavy and hard to tip over.

Secondly, it is very tall, at roughly a 1-meter height. Finally, it opens for no one unless a hand waves over it in a very specific way. Even if the garbage is on its side, the thing will not open. It’s completely pet proof!

Soon after my dog realized he could no longer get into the trash; he soon gave up and moved on. If you have a super persistent dog, this may be the answer for you. Here are the qualities of trash cans that seem to work well for pet-proofing:

  • Electronic or mechanic opening: A trash can that is unbreakable needs to be like a child-proof lid on cough syrup. A strong lid is not enough. A mechanism that requires opposable thumbs is good. An electronic fortress of a trash can is better. Trash cans that need your foot to open can also work but some dogs work this out quite quickly.
  • Makes beeping sounds: Anyone who has seen their dog run away from a vacuum cleaner knows that unexpected noises from technology are not their favorite things. If your trash can make a sound as it opens or closes, it is likely to deter your dog. Bonus points for the notification that your trash can has been opened. You’ll learn to listen out for that sound in case your doggy is being naughty again!
  • Tall enough to not be reached by your pup: A tall trash can will seem like more effort than it is worth. It also keeps the lid well away from your dog.
  • Heavy enough not to be tipped over by your pup: If your dog physically can’t tip the trash can, it’ll be much easier for them to raid it. I have never seen a dog jump to get into a trash can. That is commitment!

Of course, you can also go cheaper and revert back to one of my tips about keeping dogs out of outside trash cans and bags, and use strapping.


There is something eerily fascinating about a dog who has gotten into the trash. They dig and

dig as if a pot of gold will be waiting on the other side.

I always took a second to admire my dog’s hustle as he burrowed deep into the trash can, before pulling him away and spending the subsequent afternoon spritzing, bleaching, scooping, and cursing under my breath.

It is such a bad habit. When we want to keep our dogs out of the trash, it’s not just because of the mess. Rotting can make our dogs very unwell. Sharp objects can cut and puncture. Harmful chemicals and dangerous foods can poison or cause long term health effects.

We want to avoid them digging for scraps for the sake of their health and our sanity.

Whilst there is no fool proof method for keeping dogs out of your trash cans, the methods above should stop 99% of their efforts.

You might also like…

Here are more tips helping with pesky dog behaviors.

Marc Aaron

I write about the things we've learned about owning dogs, the adventures we have, and any advice and tips we've picked up along the way.

Recent Posts