The Dog Already Knows How: Teaching When, Where, and Why
In training we talk a lot about teaching our dogs how to do behaviors. But what are we really teaching them? They come knowing how to move their own bodies. What we’re really teaching them most of the time is not how to sit, stand, lie down, walk, or look, but rather when, where, and why.
The when is generally either when the human gives the cue or when a certain something else happens in the environment. The where is position—where do you want the dog to be or go or do that thing? And the why is of course what’s in it for the dog. No behavior will keep happening if there’s no reinforcement in it for the behaver.
A really easy way to teach a dog when, where, and why is to simply teach him that a certain signal (from you or the environment) reliably predicts that something he likes will appear in a certain place. He will figure out which behaviors will put him in that place at the right time—so all you need to do is make sure he has a repertoire of actions to choose from that have worked in other situations.
This approach can be used to solve problems that might initially seem to require a more complex plan. Here are a couple of examples:
My own dog had a quirk. If I left and my husband was still home, fine. If we both left, she could cope. But at one point when my husband tried to leave while I was still home, she started to run after him stiffly and grab the back of his pant leg. So we developed a new routine: my husband would chop up a handful of meat roll, and bring it to me (usually on the bed in my office/our guest room), and then I would deliver treats until I heard the door close and lock downstairs. After a while, as soon as he headed up the stairs, she would race ahead of him and jump up on the bed, anticipating this game.
The treats were not contingent on anything in particular that she did. She showed up on the bed because that's where my husband predictably brought the food for me to deliver. But with repetition came what you might call anticipation, and she used existing skills to get herself in position to eat the treats. At that point, when I delivered them, they strengthened the habit of running upstairs and jumping on the bed, and I was able to ask her to lie down before I started to deliver. The photo to the left is what she looks like now when she jumps up on the bed.
Another example: Archie, an adolescent black lab, lived in a home where the front door was below street level and the main living area was up a flight of stairs from the foyer. The top of the stairs was gated while Archie learned that keeping his feet on the floor was the best way to get his favorite people to come up. But the area they stepped into once the gate was opened was pretty tight, so we still wanted to prevent crowding. And if Archie did make a mistake and jump up after the person came through the gate, we didn’t want him to knock anyone backwards down the stairs.
Our first step was to show Archie where to go instead. Archie couldn't be at the side of the stairs and at the top of the stairs at the same time. So to give him a hint, I laid a bathmat along the side of the stairs. He had some reinforcement history with this mat, having been taught to settle on it as a young pup, but he would have needed lots more training, with lots of incremental steps, to be able to settle on it from the time the doorbell rang to the time a guest finally reached the main floor. I wanted to give him and his busy people a simpler, more accomplishable plan.
Next, we taught him when and why. Each time I went down or up the stairs, I reached through the railing and placed a treat on the mat—even if Archie wasn’t anywhere near it. The treat wasn't contingent on his behavior; it was contingent on me arriving at a certain spot on the stairs.
If you're a behavior nerd who's thinking "hey, that sounds a lot like a classical conditioning procedure," well, you're not wrong. But to paraphrase Jesus Rosales-Ruiz, in a discussion last month at the Art and Science of Animal Training Conference: if Pavlov's dogs had not been strapped into harnesses, you can be pretty sure that in addition to salivating when the meat guy walked into the room, they would have moved toward him too.
Anyway, I repeated this pattern until when Archie saw me coming up the stairs, he anticipated the treat and began moving to the mat ahead of it. Anticipation of what predicts where food will appear is a basic survival mechanism, and I just capitalized on it. When Archie started moving to the side reliably, I began to wait until he moved to stick my arm through the railing. The treat now became contingent on his behavior.
If Archie didn’t go to the mat right away, I stopped on the stairs and waited. I didn't place the treat on the mat, and I didn’t come through the gate. When it was clear there was no reinforcement forthcoming for hanging out at the gate, he would move to the mat at the side, and then he'd get the treat. He started to move to the mat faster and faster.
Then we repeated the process with different family members. You can see a snippet of this in the video above. The family stashed a container of treats at the top and bottom of the stairs so that they could consistently reinforce this behavior whenever they went downstairs or came home.
Additional steps included fading the mat and varying how Archie got reinforced for moving to the side—sometimes with a treat, sometimes with butt scratches and happy talk once human and dog are safely away from the top of the stairs. On a visit about a year later, the gate was gone too, and as I came up the stairs, Archie still moved to the side. Good boy, Archie!
This post was originally written for One Tail at a Time. It has since been revised and updated.
-
June 2025
- Jun 17, 2025 Dealing With "Errors" Jun 17, 2025
-
October 2024
- Oct 28, 2024 What is "Differential Reinforcement of Other Behavior"? Oct 28, 2024
-
June 2024
- Jun 8, 2024 Minimizing Frustration When Reinforcement Is Not Available Jun 8, 2024
-
February 2024
- Feb 18, 2024 How to Raise Criteria in Shaping Feb 18, 2024
-
June 2023
- Jun 19, 2023 Thanks for Barking: Addenda Jun 19, 2023
-
March 2023
- Mar 27, 2023 Pro Tips: Strategic Treat Delivery Mar 27, 2023
-
November 2022
- Nov 26, 2022 How to Teach a Dog That the Store Is Closed, Redux Nov 26, 2022
-
September 2022
- Sep 20, 2022 When Can I Stop Using Treats? Sep 20, 2022
-
October 2021
- Oct 10, 2021 Thanks for Barking 2.0 Oct 10, 2021
-
July 2020
- Jul 14, 2020 Do You Turn Your Back on Your Dog When He Jumps? Is He Still Jumping? Jul 14, 2020
-
June 2020
- Jun 1, 2020 Knowledge, Experience, and Reinforcement Jun 1, 2020
-
December 2019
- Dec 18, 2019 To Teach Loose Leash Walking, Loosen the Leash (and Other Insights From Years of Doing It Wrong) Dec 18, 2019
-
October 2019
- Oct 15, 2019 Trainer Worries About False Claims About False Claims That Dogs Lack Emotion Oct 15, 2019
-
April 2019
- Apr 3, 2019 Training With the Grain Apr 3, 2019
-
February 2019
- Feb 10, 2019 Redirect or Preempt? Feb 10, 2019
-
January 2019
- Jan 22, 2019 How to Teach Your Dog to "Do Nothing" Jan 22, 2019
- Jan 5, 2019 The Importance of Fundamentals, or Why Musicians Make Good Dog Trainers Jan 5, 2019
-
April 2018
- Apr 29, 2018 "Disobedience": Why Your Dog Might Not Do What You Ask, And What You Can Do About It Apr 29, 2018
- Apr 22, 2018 Dogs in High-Rises: A Modest Proposal Apr 22, 2018
- Apr 15, 2018 The Problem With "Ignoring" Unwanted Behavior Apr 15, 2018
-
January 2018
- Jan 7, 2018 Teach Your Dog to Wait at Doors Jan 7, 2018
-
June 2017
- Jun 15, 2017 Want Reliable Behaviors? Create Reliable Cues. Jun 15, 2017
- Jun 3, 2017 Why Dog Training "Tips" Often Fail: Puppy Biting Edition Jun 3, 2017
-
March 2017
- Mar 19, 2017 The Dog Already Knows How: Teaching When, Where, and Why Mar 19, 2017
-
February 2017
- Feb 1, 2017 Training With Affection Feb 1, 2017
-
October 2016
- Oct 29, 2016 Pulling Toward Other Dogs (and People Too) Oct 29, 2016
-
August 2016
- Aug 31, 2016 Turning "No" Into "Do": Reducing Unwanted Behaviors Using Positive Reinforcement Aug 31, 2016