Lesson 2 of 5
How Dogs Learn: Association, Consequences and Timing
Every behavior plan, whatever the problem, rests on two ways dogs learn: by association and by consequences. If you understand these properly, you can explain almost any behavior an owner describes, and you can see why some popular fixes backfire.
In this lesson you will learn classical and operant conditioning in plain terms, the four ways consequences change behavior, why timing matters so much, and how to ask the most useful question in behavior work: what does this behavior get the dog?
Learning by association
In classical conditioning, the dog learns that one thing predicts another. The rattle of the lead predicts a walk, so the dog gets excited at the sound. The car journey predicts the vet, so the dog starts trembling when the car door opens. The dog is not choosing to feel this way: the feeling comes automatically, because the signal reliably comes before something good or bad.
This matters because many problem behaviors are driven by feelings learned this way. A dog that was frightened by a large dog may learn that the sight of any large dog predicts fear. The barking and lunging that follow are the visible part; the learned emotion underneath is what you need to change.
The good news is that associations can be changed. If the sight of another dog, at a comfortable distance, starts to predict something the dog loves, the feeling slowly shifts. This is counterconditioning, usually paired with desensitization (starting at a level the dog can cope with and building up gradually). The article desensitization and counterconditioning explained goes deeper.
Learning by consequences
In operant conditioning, the dog learns from what happens after it does something. Behaviors that pay off happen more; behaviors that do not pay off happen less. Scientists describe four ways a consequence can change behavior:
| Something is added | Something is taken away | |
|---|---|---|
| Behavior increases | Positive reinforcement: sit, and a treat appears | Negative reinforcement: pull away from the brush, and the brushing stops |
| Behavior decreases | Positive punishment: climb on the sofa, and a loud noise startles the dog | Negative punishment: jump up, and the person turns away and attention stops |
"Positive" and "negative" here mean adding and removing, not good and bad. Modern, humane practice relies mainly on positive reinforcement, and on arranging things so the unwanted behavior is not rewarded.
Notice that reinforcement is defined by what happens to the behavior, not by what you intended. If an owner pushes a jumping dog away and says "no" every time, and the jumping continues, that attention is almost certainly reinforcing it. For a dog that wants contact, being pushed and spoken to is contact. You can read more about how reward-based methods work in positive reinforcement dog training explained.
Why timing matters
Dogs connect a consequence with what they were doing at that moment. A treat given the instant a dog's bottom touches the floor teaches sitting. The same treat given as the dog stands up again teaches standing up. The longer the gap, the weaker and less accurate the link.
This is why scolding a dog for something it did while you were out does not work: the dog links the scolding with whatever it is doing when you arrive, often greeting you. It is also why markers (a clicker or a word such as "yes") are useful: they mark the exact moment, and the reward can follow a moment later.
Why punishment is risky
Punishment can stop a behavior in the moment, which is why it is tempting. The problems come later:
- It does not change the feeling underneath. A dog punished for growling is still frightened; it has only learned not to warn.
- The dog may link the unpleasant experience with whatever it was looking at, such as other dogs, children or the owner, making fear worse.
- It teaches the dog what not to do, but not what to do instead.
The most useful question
When an owner describes a problem, ask: what does this behavior get the dog, and what is the dog feeling? Barking may bring attention, make a trigger leave, or release frustration. Once you know the function, you can remove the payoff, meet the need another way and teach a behavior that works better for the dog.
Lesson 3 puts this into practice with a real case: a dog that has learned to fear having its paws handled.
Quick check
Every time a dog jumps up, its owner pushes it down and says "no". The jumping has not stopped; if anything it happens more. What is the most likely explanation?