# Habituation and Classical Conditioning

> Two basic learning processes adapt behavior: reducing responses to repeated single cues and linking reliable signals to biologically important outcomes. This lesson separates habituation from sensory adaptation and motor fatigue, traces Pavlov's salivary experiments across unreinforced trials, and compares how responding spreads or narrows across similar cues. It then examines how predictive probability, stimulus order, and testing context shape learned behavior, connecting directly to brain circuits for reward and threat.

Course: Introductory Psychology (Learning, Motivation, Emotion and Stress). Level: first- and second-year university. About 33 minutes.
Lesson page (link this one when citing): https://stemhop.com/lessons/habituation-and-classical-conditioning/
Note: parts of this lesson are still being checked ("Under review").

Builds on: 

## What you'll learn

- Separate habituation from receptor-level sensory adaptation and motor fatigue using behavioral control tests.
- Identify the unconditioned stimulus, unconditioned response, conditioned stimulus, and conditioned response in a classical conditioning setup, and track changes in response size and delay across unreinforced trials and a rest.
- Compare how learned responding spreads across similar cues and narrows to specific cues in laboratory and everyday examples.
- Evaluate how outcome probability, stimulus order, and the context of testing shape what a cue predicts.

**Sit in a dorm room with a humming fan, and within ten minutes you stop noticing the sound. Then your microwave chimes once, and you feel hungry before you smell any food. Both reactions came from experience. Yet one turned a response down while the other built a new response up. What rules decide which cues fade away and which become signals?**

> **The one idea.** Two basic learning processes adapt behavior: reducing responses to repeated single cues and linking reliable signals to biologically important outcomes. Track what changes before, during, and after trials. Then compare matched control trials to see what was learned.
>
> *Scope:* This lesson covers behavioral principles of non-associative learning and classical conditioning in animals and humans. Linked neuroscience lessons cover synaptic plasticity, reward circuits, and threat pathways. Formal statistical testing belongs in Research Methods and Statistics.

Where this sits: this lesson builds on high school [Classical Conditioning](https://stemhop.com/lessons/classical-conditioning/). It prepares [Operant Conditioning and Observational Learning](https://stemhop.com/lessons/operant-conditioning-and-observational-learning/) next.

## Two ways experience reshapes simple responses

Psychologists sort learning from experience into three kinds. Non-associative learning, such as habituation and sensitization, changes how strongly you react to one repeated stimulus. Associative learning links events, through classical or operant conditioning. The third kind is observational learning. Habituation and classical conditioning are the two processes taught here.

When a harmless stimulus repeats without consequences, responding fades through **habituation**, a drop in response to repeated stimulation that sensory adaptation or motor fatigue does not explain. Tuning out a dorm fan’s hum after ten minutes is an everyday example. A newborn turning less often toward a repeating soft chime shows the same drop.

A shrinking response does not prove habituation by itself, because two peripheral limits can mimic it. First, sensory receptors can fire less during steady input. That peripheral process is sensory adaptation, covered in [Psychophysics and Signal Detection Theory](https://stemhop.com/lessons/psychophysics-and-signal-detection/) and [Principles of Sensory Coding](https://stemhop.com/lessons/sensory-coding/). Second, muscles or glands can tire through motor fatigue. Behavioral control tests help distinguish habituation from both peripheral limits.

**Predict.** A volunteer hears a soft click every five seconds until they stop turning their head toward the speaker. Right before the next click, a brief flash of light appears across the room. On that very next click, the volunteer turns their head sharply again. Does that rebound support sensory adaptation, motor fatigue, or habituation?

> **Check your prediction.** That rebound supports habituation. A flash of light cannot reset adapted ear receptors or fatigued neck muscles, so the immediate turn points away from peripheral limits.

That sudden rebound is **dishabituation**, when a habituated response to the original cue returns after a different, usually novel or strong stimulus occurs. Noticing your dorm fan’s hum again right after a door slams is a familiar case. Dishabituation supports habituation when controls show the novel stimulus did not simply raise responding in general.

A second test is stimulus specificity, when altering one feature of the repeated cue restores responding. Turning toward a shifted pitch argues against global motor fatigue. It does not rule out sensory adaptation by itself, because a different pitch can recruit partly different auditory channels. Ruling out that pitch-specific adaptation needs other controls that point the same way. Habituation also fades after a quiet break, restoring some or all of the original reaction.

## Measuring association and extinction in Pavlov’s laboratory

When two events occur together, learning can build a predictive link. In **classical conditioning**, a neutral cue comes to trigger a learned response after pairing with a biologically meaningful event. Feeling hungry when a microwave chimes, before tasting food, is an everyday example.

Four labels keep every classical conditioning experiment organized:

1. An *unconditioned stimulus* (US) naturally triggers a reflex, such as food in the mouth or an air puff to the eye.
2. An *unconditioned response* (UR) is that unlearned reflex, such as salivating to food or blinking to air.
3. A *conditioned stimulus* (CS) starts as a neutral cue, such as a metronome or microwave chime.
4. A *conditioned response* (CR) is the learned anticipatory reaction that the conditioned stimulus later triggers on its own.

During acquisition, the initial learning phase, a cue can gain predictive value when it reliably signals the unconditioned stimulus.

Once a cue triggers a conditioned response, researchers test what happens when the outcome stops. In **extinction**, repeating the conditioned stimulus without the unconditioned stimulus weakens responding toward baseline. A dog stopping its kitchen dash after several empty cabinet openings shows extinction in daily life.

Pavlov (1927) asked whether trials without food, called unreinforced trials, actually erase a learned link. In Lecture IV, he tested a dog already conditioned to pair a metronome with food:

1. A chronic salivary fistula, a surgical opening for the salivary duct, routed saliva outside the cheek into a measuring tube. On each trial, Pavlov counted total drops of saliva. He also timed the latent period, or latency: the seconds from sound onset to the first drop.
2. The dog heard repeated 30-second metronome trials spaced 2 minutes apart, with no food given.
3. Pavlov then paused testing for about 23 minutes with no food. Finally, he ran one more 30-second metronome test.

Across unreinforced trials, salivation declined overall with fluctuations, from 10 drops on the first trial to 3 drops on the last trial before rest. Latency generally lengthened, from 3 seconds to 13 seconds.

**Predict.** After that 23-minute pause with no food, Pavlov sounded the metronome again for 30 seconds. How would salivation on that test compare with the 3 drops before the pause?

> **Check your prediction.** Salivation rebounded to 6 drops, and the latency shortened to 5 seconds. With no new food, only a link that survived the unreinforced trials could bring the response back.

Selected Lecture IV readings (omitting intermediate fluctuations) show drops and latency moving opposite ways, then reversing partway after rest.

| Stage (Pavlov, Lecture IV) | Trial condition | Saliva (drops) | Latent period (s) |
| --- | --- | --- | --- |
| First unreinforced trial (0 min) | 30 s metronome, no food | 10 | 3 |
| Second unreinforced trial (2 min) | 30 s metronome, no food | 7 | 7 |
| Last reading before rest | 30 s metronome, no food | 3 | 13 |
| Re-test after ~23 min pause | 30 s metronome, no food | 6 | 5 |

That partial return of an extinguished response after rest with no new pairings is **spontaneous recovery**. Suppose a coworker’s microwave chimes all day with no food for you, until the chime stops making you hungry. Feeling a flicker of hunger at that chime after a long weekend away is an everyday example. The rebound shows extinction leaves prior learning at least partly intact. Extinction adds new inhibitory learning, which suppresses the response, rather than erasing the old link, and that suppression weakens during an undisturbed pause.

Lecture IV was a single-dog demonstration, not a controlled study. The broader phenomena of conditioning, extinction, and recovery replicate widely across species. Modern theory explains them through contingency, prediction error, and expectancy rather than mechanical reflex wiring, and the last section defines the first two. Measuring saliva in one dog tracks behavior cleanly, yet it cannot isolate which brain circuits store the association. For cellular synaptic changes during learning, see [Synaptic Plasticity](https://stemhop.com/lessons/synaptic-plasticity/).

## Similar cues, narrow cues and brain links

Real environments rarely repeat an identical cue twice. Learned responses therefore spread at first through **stimulus generalization**, the tendency for cues resembling a trained conditioned stimulus to trigger the conditioned response. Feeling hungry when a stranger’s microwave chimes with a sound like yours is a common example.

In Lecture VII, Pavlov’s dogs salivated to pitches and skin touches near the trained cue. Closer cues drew stronger salivation, while more distant cues drew weaker responses. Generalization helps an animal react fast to small variations. Yet reacting to every similar cue wastes effort.

**Predict.** Suppose food is paired with a metronome set to 100 beats per minute (bpm). A dog generalizes and also salivates to a 60-bpm metronome. How should you schedule pairings so the dog salivates only to 100 bpm and stops responding to 60 bpm?

> **Check your prediction.** Keep pairing the 100-bpm metronome with food while presenting the 60-bpm metronome repeatedly without food. Reinforcing one cue while extinguishing the similar cue teaches the dog that only 100 bpm predicts food.

That selective narrowing is **stimulus discrimination**, the learned ability to respond to one conditioned stimulus while ignoring similar cues. Feeling hungry at your own microwave’s chime but not at a coworker’s different chime is an everyday example. Pavlov built sharp discrimination by pairing the target cue with food while leaving nearby cues unreinforced, a procedure called differential reinforcement.

Classical conditioning also governs defensive learning when a neutral cue warns of harm. Pairing a tone with a mild shock or unpleasant event produces freezing and bodily (autonomic) arousal in rats and autonomic arousal in humans. These reactions run through circuits centered on the amygdala, covered in [Emotion and Stress](https://stemhop.com/lessons/emotion-and-stress/).

The table sets the learning processes so far side by side.

| Process | Stimulus setup | Behavioral change | Key feature |
| --- | --- | --- | --- |
| Habituation | Single repeated harmless cue | Response decreases | Response drop not explained by adaptation or fatigue |
| Dishabituation | Novel cue after habituation | Original response returns | Argues against sensory adaptation and motor fatigue |
| Acquisition | Neutral cue paired with US | New CR builds | Cue gains predictive value |
| Extinction and spontaneous recovery | CS alone, then rest | CR drops, then partly returns | New inhibitory learning rather than erasure |
| Generalization and discrimination | Similar cues with or without US | CR spreads, then narrows | Differential reinforcement sharpens cue limits |

**Film transcript: How Cues Predict Outcomes**

### Film transcript: How Cues Predict Outcomes

A chime can predict food. Can it signal no food? Hunger triggered by the chime is a learned response. Watch what happens when the microwave stays quiet, too. Compare the chance of food with the chime and without it. That comparison is called contingency.

When food is more likely with the chime, hearing it raises your expectation of food. This is positive contingency, and a learned response can grow. Now suppose food is equally likely with or without the chime. Food can still follow a chime. The sound adds no information, so little or no anticipatory hunger develops. Researchers use this pattern as a truly random control, scheduling cues and outcomes independently. Keep the chime and food strictly apart. If food still arrives in quiet moments, the chime signals a lower chance of food. That's negative contingency. By predicting the outcome's absence, the chime can hold back the learned response.

Researchers call that a safety signal. A cue shapes responding by changing what you expect, and the order helps determine what it predicts. A chime that starts just before food and overlaps it gives advance warning. That's forward delay conditioning. It usually produces the strongest learning. Keep the chime first, but end it before the food arrives. Now a quiet gap separates the end of the chime from the food. Which timing usually builds a stronger learned response? The one with overlap or the one with a gap?

Overlap usually builds stronger learning.

With a gap, learning must bridge the silence, which draws on memory systems. That's trace conditioning, and learning is generally weaker. Backward order puts food first. With no advance warning, the chime usually draws little response or suppresses it. Timing and odds shape what you expect. The gap between what you expect and what actually happens is called prediction error. A surprising outcome prompts you to update what you expect from the cue. A fully predicted outcome leaves little to update. If expected food fails to arrive, the outcome falls short of the prediction. As chimes come without food, that error drives a decline in responding called extinction. This new learning suppresses the old response and depends in part on the setting.

Test the same chime somewhere else, and the old response can return. A change of setting can make the newer extinction memory harder to retrieve. That return is called renewal. What a cue leads you to expect depends in part on where it happens.

From the film

- Compare the chance of food with the chime and without it.
- A chime that starts just before food and overlaps it gives advance warning.
- The gap between what you expect and what actually happens is called prediction error.
- Test the same chime somewhere else, and the old response can return.

## Pairing, timing and predictive value

Early summaries often reduced conditioning to contiguity, the idea that events close in time automatically link. Yet real settings overflow with background sights and sounds.

**Predict.** In a made-up lab session, brief air puffs to the eye trigger an automatic blink. Group A hears a tone followed by an air puff on 40% of tone trials and 0% of quiet intervals. Group B gets the same 40% tone-puff pairings, plus air puffs on 40% of quiet intervals with no tone. Which group develops a conditioned eyeblink to the tone?

> **Check your prediction.** Group A develops the conditioned eyeblink, while Group B shows little or no conditioning. In Group B, an air puff is equally likely without the tone. Thus the tone adds no predictive information.

What separates the two groups is **contingency**: how an outcome’s probability with the cue compares with its probability without it. Ignoring a campus weather siren that sounds equally often on clear and stormy days shows zero contingency. Contingency creates three distinct patterns:

- *Positive contingency:* the outcome is more likely after the cue than without it, so excitatory conditioning builds a conditioned response.
- *Zero contingency:* the outcome is equally likely with and without the cue, so little or no excitatory learning develops. Experiments use this pattern as a truly random control.
- *Negative contingency:* the outcome is less likely after the cue than without it, so the cue becomes a safety signal that inhibits responding.

Stimulus order matters for the same reason. In forward delay conditioning, the cue begins just before the outcome and overlaps it. That advance warning usually produces the strongest learning. In backward conditioning, the outcome arrives before the cue. Backward order usually produces weak or inhibitory responding.

Modern theories unite contingency and timing through prediction error, the gap between expected and actual outcomes. Surprising outcomes create a large error that updates the cue’s value. Fully predicted outcomes create little error, so the cue’s value stops growing. During extinction, a missing expected outcome creates a negative error that drives inhibitory learning. For midbrain dopamine recordings and formal error equations in reward circuits, see [Feeding, Motivation and Reward](https://stemhop.com/lessons/motivation-and-reward/).

**Predict.** After an unpleasant elevator stall, a commuter takes repeated safe elevator rides in a clinic building until heart racing drops to baseline. A month later, stepping into an unfamiliar hotel elevator triggers sudden anxiety. Does that return of anxiety mean the clinic sessions failed to produce extinction learning?

> **Check your prediction.** No, because the clinic sessions built a real inhibitory memory tied to that time and setting. Entering an unfamiliar place after a delay makes the older fear link easier to retrieve than the newer extinction memory.

Laboratory studies show extinction stays tied to context, so leaving that setting can allow the old response to return.

Return to the dorm room from the opening scene. You tuned out the dorm fan through habituation because its hum signaled no meaningful outcome. Your microwave chime made you hungry through classical conditioning because it had high positive contingency with food. Two basic learning processes adapt behavior: reducing responses to repeated single cues and linking reliable signals to biologically important outcomes.

### Design problem

In this made-up experiment, a researcher tests whether rats learn that a 10-second clicker predicts a mild whisker air puff, which causes a flinch.

- Group 1 receives an air puff on 60% of clicker trials and 0% of quiet intervals.
- Group 2 receives the same total clickers and air puffs, with puffs on 30% of clicker trials and 30% of quiet intervals.

On a clicker-only test day, Group 1 flinches on 72% of trials, while Group 2 flinches on 12%. Why is Group 2 needed, and what does the 60-percentage-point gap show? What changes if Group 2’s clickers are kept strictly apart from every air puff?

> **One way to do it.** Group 2 is a truly random control with zero contingency. Air puffs occur at 30% both with and without the clicker. Because both groups experience repeated clickers and puffs, Group 2 controls for general jumpiness and habituation.
>
> Subtracting Group 2’s 12% baseline from Group 1’s 72% leaves a 60-percentage-point advantage for the positive-contingency schedule.
>
> If Group 2’s clickers stayed strictly apart from every puff, the clicker would have negative contingency (0% with the clicker versus background puffs). It could then become an inhibitory safety signal instead of a neutral baseline.

Try the prediction-error idea in a model. Pair a cue with food trial by trial and watch the surprise at the food shrink as the cue’s learned value grows; then leave the food out and see the negative surprise that drives extinction.

*Interactive on the lesson page:* Prediction error over trials — a learning-rule sketch

Also in[Psychoactive Drugs, Reward Circuits and Addiction](https://stemhop.com/lessons/drugs-reward-and-addiction/) (Introductory Psychology)[Feeding, Motivation and Reward](https://stemhop.com/lessons/motivation-and-reward/) (Neuroscience)

## Going deeper

### The Little Albert case and its historical record

Watson and Rayner (1920) paired a white rat with a loud steel-bar noise in one infant, called Albert B. They reported negative reactions of varying strength to a rabbit, a dog, a fur coat, cotton wool, and a Santa Claus mask, with weaker avoidance to cotton wool. Modern ethics bar replicating this single case, and early variants by other researchers failed, though broader human fear conditioning is well established. The infant’s identity remains disputed.

### Renewal, reinstatement, and exposure therapy

Spontaneous recovery is one of several ways an extinguished response returns. Renewal, as in the elevator case, happens when testing shifts outside the extinction setting. Reinstatement happens when an unsignaled unconditioned stimulus reactivates the old link. Across experiments, extinction in multiple contexts reduces recovery on average, though effects vary by procedure and clinical translation requires separate clinical evidence. Some exposure therapies apply inhibitory learning across varied settings. Clinical categories and protocols live in [Anxiety, Obsessive-Compulsive, Trauma and Somatic Disorders](https://stemhop.com/lessons/anxiety-ocd-trauma-somatic-disorders/) and [Psychological and Biomedical Therapies](https://stemhop.com/lessons/psychological-and-biomedical-therapies/).

### Delay versus trace timing

Forward conditioning splits into delay conditioning, where the cue overlaps the outcome, and trace conditioning, where a silent gap separates them. Bridging that gap generally weakens learning and recruits memory systems, including the hippocampus. Those memory systems are covered in [Memory Encoding, Architecture and Biological Consolidation](https://stemhop.com/lessons/memory-architecture-and-consolidation/). With backward order, excitatory learning can still occur under some intervals and after limited training.

---

From STEMhop (https://stemhop.com), free lessons by Christopher Deppmann. Lesson text © the authors. Practice questions: https://stemhop.com/lessons/habituation-and-classical-conditioning/
