Habits & Behaviour

Reward Prediction Error

Definition

Reward Prediction Error is the discrepancy between the reward an organism receives and the reward it expected. When outcomes exceed expectations, midbrain dopamine neurons fire above baseline; when outcomes fall short, firing drops below baseline. This neural signal drives reinforcement learning by updating future predictions and strengthening the cue-action-reward associations that underpin habit formation.

How it works

The signal originates in dopaminergic neurons of the ventral tegmental area and substantia nigra pars compacta. When a reward arrives that exceeds what was predicted, these neurons fire above their tonic baseline, encoding a positive prediction error. When reward matches the prediction exactly, they maintain baseline activity, and when an expected reward is withheld, firing falls below baseline, encoding a negative prediction error 1 2. Approximately 75% of primate midbrain dopamine neurons display this canonical coding, with response magnitude scaling non-linearly with reward value 2.

A critical feature of this system is how the signal evolves with learning. During early conditioning, the dopamine burst occurs at reward delivery. As training progresses and a cue reliably predicts the reward, the response migrates forward in time to the cue onset; once learning is complete, a fully predicted reward produces no incremental dopamine signal 1. This temporal transfer transforms a reward signal into a prediction signal, which is the computational engine of reinforcement learning. Emerging evidence suggests dopamine neurons encode not a single expected value but a distribution of possible outcomes, a property termed distributional reward prediction error coding 3.

~75%
of primate midbrain dopamine neurons display canonical reward prediction error coding
Schultz (2016) 2

In action

Example

An athlete follows a training protocol for several weeks and consistently records personal bests. A peer suggests a minor technique adjustment; the change produces an outcome in line with prediction, and dopamine neurons register no incremental signal. Then, without any deliberate modification, a substantially faster result materialises. The large, unexpected gain triggers a robust positive prediction error, reinforcing whichever cue-routine pairing immediately preceded the breakthrough.

The same prediction-error mechanism that carves athletic skill into neural circuitry also explains why uncertain rewards sustain engagement more powerfully than guaranteed ones.

Why it matters

The prediction error signal sits at the intersection of learning and pathology. Drugs of addiction pharmacologically mimic an enormous positive prediction error, inducing overlearning of drug-associated cues and driving compulsive drug-seeking behaviour 2. In parallel, dysregulated prediction error signalling in the dorsolateral striatum underlies the transition from goal-directed action to rigid, stimulus-driven habit, a mechanism implicated in addiction and obsessive-compulsive disorders 4.

Negative prediction errors are equally consequential. The suppression of dopamine below baseline at the expected moment of reward is not merely a neutral non-event; it actively encodes disappointment and is essential to extinction learning, the process by which previously reinforced associations are unlearned 1 4. Behavioural strategies that consistently deliver no reward in response to an established cue exploit this mechanism to weaken maladaptive habits at their neural source.

Frequently asked
What is reward prediction error in simple terms?+

Reward prediction error is the difference between the reward a brain expects and the reward it actually receives. When an outcome is better than predicted, dopamine neurons fire more strongly; when the outcome falls short, they fire less. This discrepancy signal is how the brain continuously calibrates its predictions about the world.

How does reward prediction error drive habit formation?+

Each positive prediction error strengthens the neural pathway connecting a cue to the action that delivered the reward. Over repeated trials, this reinforcement embeds the cue-action-reward sequence more deeply into the dorsolateral striatum, shifting control from deliberate decision-making to automatic, stimulus-driven behaviour. The habit forms precisely because the brain learns to predict the reward reliably.

What happens to dopamine when an expected reward does not arrive?+

When a reward that was reliably predicted fails to materialise, dopamine neurons suppress their firing below tonic baseline at the exact moment the reward was expected. This below-baseline dip, the negative prediction error, is not a passive absence of signal but an active neural encoding of disappointment that drives extinction of the learned association.

How does understanding reward prediction error help with breaking habits or addictions?+

Habits and addictions weaken when negative prediction errors accumulate at the cue that once triggered them. Reducing cue salience, substituting a competing reward, or receiving no reward when the habitual cue fires all generate below-baseline dopamine dips that gradually erode the cue-reward association. Consistent application of this principle is how structured habit-breaking protocols produce durable behavioural change.

Explore more
Free download

The 90-Day Kickstarter Protocol

Your day-by-day reset for sleep, stress & energy · PDF

Sources
1 Schultz et al. (1997) A Neural Substrate of Prediction and Reward Science DOI
2 Schultz (2016) Dopamine reward prediction error coding Dialogues in Clinical Neuroscience DOI
3 Lerner et al. (2021) Dopamine, Updated: Reward Prediction Error and Beyond Current Opinion in Neurobiology DOI
4 Deng et al. (2023) Reward prediction error in learning-related behaviors Frontiers in Neuroscience DOI