If you have a dog tall enough to graze counters, no sandwich is safe in your house. Until you train him to stay off your counters, that is. Dogs who are left alone with delicious smelling food on the kitchen counters will be tempted to jump up and steal their own treat. They will happily go wherever the food is. It does not take long for your dog to learn that his delicious meals may stem from your kitchen, even if they are actually your delicious meals. If you have a small breed dog, he might jump on all fours on your counters while a medium sized dog may have to put his front two paws up on your counters to see what his options are and sneak whatever he would like. Large breed dogs tend to have the ability to sniff the counter with their noses. They can slightly tip their heads and help themselves to whatever they wish from your countertop.
Teaching your dog to stay off your kitchen counters and not jump on them is part of obedience training. There's nothing quite like the reward of finding a ham sandwich or even a full Thanksgiving dinner after such a task. However, finding a hot Thanksgiving dinner could injure your dog and ruin your day. So, of course, we need to train our dogs not to jump on counters. Doing so is not difficult, and of course, as it is with most training, it is easier at a younger age. Motivating your dog to have all paws on the floor can be rewarding for your dog. If he knows good behavior is all he needs to earn your affection, attention, and some lovely treats, he might not try to work so hard to get what's on your counter.
You will need a few things to get started teaching your dog not to counter surf in your home.