What is operant conditioning?

How behaviour follows its consequences, from a clock-fed pigeon and a crib mobile to the variable rewards in product design.
Operant conditioning is learning from consequences: a behaviour followed by something the learner values becomes more likely, and one followed by nothing or by something unwelcome becomes less likely. B. F. Skinner developed it from Edward Thorndike's law of effect, and its schedules of reward now inform how product designers think about loops.
Key takeaways
- In B. F. Skinner's 1948 experiment, eight pigeons were fed by a clock every 15 seconds whatever they did, and six developed distinct routines that two observers counted identically.
- One bird whose routine was left unfed made more than 10,000 responses before the routine nearly stopped.
- John Staddon and Virginia Simmelhag reexamined the procedure in 1971 and read the behaviour as selection among behaviours, with a response late in the interval that followed the timing of food.
- Karen Pryor and colleagues trained two rough-toothed porpoises to produce responses not known in their species by reinforcing a different response in each series of sessions.
- Nir Eyal's Hooked builds a four-step loop around a variable reward; the loop is his own framework and the schedules work behind it is the laboratory part.
Food arrived on a clock, whatever the pigeon did, and six of the eight birds in B. F. Skinner's experiment still developed routines of their own, such as turning counterclockwise. That small result holds the core of operant conditioning: behaviour is shaped by what follows it.
What does operant conditioning look like?
Operant conditioning is learning from consequences. A response that is followed by something the learner values becomes more likely in that setting, and a response followed by nothing, or by something unwelcome, becomes less likely. The term marks off behaviour that acts on the surroundings from the reflexes that the surroundings trigger, which is the ground of [classical conditioning](https://thewhyweproject.com/articles/what-is-classical-conditioning).
The idea has an older root. Edward Thorndike studied cats, dogs and chicks in the 1890s, and Kennon Lattal's review of that monograph describes how he replaced anecdote with experiment and explained what the animals did through an account later named the law of effect, with no appeal to reasoning. Skinner built his own programme on that tradition.
In the cage, the learner is a bird, the response is a peck and the consequence is food. On a screen, the learner is a person, the response is a swipe or a refresh and the consequence is whatever appears next: a new item, a message, or nothing at all. The structure is the same in both, a response followed by a consequence, and the learner's behaviour follows the pattern of consequences over time.
| Consequence | Effect on the behaviour | In the cage | On the screen |
|---|---|---|---|
| Positive reinforcement | More likely | Food follows a peck | A new item appears after a refresh |
| Negative reinforcement | More likely | A noise switches off after a lever press | A banner clears once a message is opened |
| Punishment | Less likely | A response is followed by something unwelcome | An action is followed by an error message |
| Extinction | Fades | Food stops arriving | The refresh keeps returning nothing new |
In operant conditioning, two rows raise the likelihood of a behaviour and two lower it. The same event can sit in different rows for different people.
Reinforcement is defined by its effect on behaviour.
Where does product design borrow it?
Nir Eyal's Hooked, written with Ryan Hoover, carries the laboratory idea of operant conditioning into product design. Its model has four steps, a trigger, an action, a variable reward and an investment, and Eyal draws on Skinner's work on intermittent reinforcement, where payouts arrive unpredictably, to explain why the third step holds attention. He sorts rewards into three kinds: rewards of the tribe, which are social, rewards of the hunt, which are resources or information, and rewards of the self, which are mastery and completion.
The four-step model is Eyal's own framework, so we attribute it to him, and the schedules work behind it is the older, laboratory part. What a screen adds to the cage is the content of the consequence: for a person it can be a message, a like or a finished level. A feed that is accurate but imperfect reaches a variable schedule as a by-product, the argument made in Why You Cannot Stop Scrolling, and the cue, routine and reward sequence that follows is traced in What is a habit loop. Where Slot Machine Design Meets Apps takes the comparison with gaming machines.
The investment step loads the next trigger.
What do pigeons, porpoises and infants show?
The clearest laboratory case of operant conditioning is still the 1948 clock experiment. Skinner's birds were brought to a set level of hunger and spent a few minutes a day in the cage. With the fifteen-second clock, six of the eight developed distinct routines, and two observers counting them agreed perfectly. A one-minute interval worked much less well, although a routine once established could persist for many hours. Skinner argued that a response made shortly before food was strengthened by accident, and that being more likely it was then more likely to be followed by food again. When food was withdrawn from one bird, it made more than 10,000 responses before the routine nearly stopped.
A lucky routine before an important moment has the same shape, and the reasons people credit it are set out in Why do we believe in luck. The cage account has also been refined. John Staddon and Virginia Simmelhag repeated the procedure in 1971 and found that the behaviour between feedings fell into two kinds: activities soon after food, which differed from bird to bird, and a response later in the interval, usually pecking at the wall near the feeder, that followed the timing of food. They read reinforcement as selection among behaviours more than as the strengthening of whatever came before food. Both readings keep consequences at the centre.
Operant conditioning can also build behaviour that nobody has seen before. Karen Pryor and colleagues trained two rough-toothed porpoises by reinforcing a different response in each series of sessions, and the animals produced responses not known to occur in the species. In one session, the rule that only novel behaviour would be reinforced was abruptly met with four new types of response.
Infants offer a third setting. Carolyn Rovee-Collier and Joanne Capatides studied infants of three months whose footkicks moved the objects of an overhead mobile, with more movement for kicking harder and more often, and distinctive colours and patterns on the objects signalled which schedule was running, so that kicking fell in the component where the movement stopped.
Common questions
What is operant conditioning?
It is learning from consequences. A behaviour followed by something the learner values becomes more likely, and one followed by nothing or by something unwelcome becomes less likely. Skinner studied it with pigeons in the 1940s.
What is the difference between operant and classical conditioning?
Operant conditioning concerns behaviour that acts on the surroundings and is shaped by its consequences. Classical conditioning concerns reflex responses that a signal comes to trigger.
What is the difference between reinforcement and punishment?
Reinforcement makes a behaviour more likely, either by adding something valued or by removing something unwelcome. Punishment makes it less likely.
Did Skinner invent operant conditioning?
He developed it, building on Edward Thorndike's earlier experiments with cats, dogs and chicks, which gave rise to the law of effect.
Sources
Eyal, N., with Hoover, R. Hooked. Seed book; vault hub Books/Hooked.
Skinner, B. F. (1948). 'Superstition' in the pigeon. Journal of Experimental Psychology, 38(2), 168-172. doi:10.1037/h0055873 https://doi.org/10.1037/h0055873
Staddon, J. E. R., & Simmelhag, V. L. (1971). The 'superstition' experiment: A reexamination of its implications for the principles of adaptive behavior. Psychological Review, 78(1), 3-43. doi:10.1037/h0030305 https://doi.org/10.1037/h0030305
Lattal, K. A. (1998). A century of effect: Legacies of E. L. Thorndike's Animal Intelligence monograph. Journal of the Experimental Analysis of Behavior, 70(3), 325-336. doi:10.1901/jeab.1998.70-325 https://doi.org/10.1901/jeab.1998.70-325
Pryor, K. W., Haag, R., & O'Reilly, J. (1969). The creative porpoise: Training for novel behavior. Journal of the Experimental Analysis of Behavior, 12(4), 653-661. doi:10.1901/jeab.1969.12-653 https://doi.org/10.1901/jeab.1969.12-653
Rovee-Collier, C. K., & Capatides, J. B. (1979). Positive behavioral contrast in 3-month-old infants on multiple conjugate reinforcement schedules. Journal of the Experimental Analysis of Behavior, 32(1), 15-27. doi:10.1901/jeab.1979.32-15 https://doi.org/10.1901/jeab.1979.32-15
Related concepts
People
More articles
- Why is everyone nostalgic for the 2000s and 2016?
What studies of nostalgia say about why a whole age group looks back together, and where the explanation for the 2000s and 2016 holds less well.
- What is emotional marketing?
What a scale of brand attachment found, why different feelings change a decision differently, and where feeling and reasoning meet in a purchase.
- What is an engram? How memories are stored
How researchers tag the cells that hold a memory, what changes inside them, and why a stored trace can still be updated.
- Why do advent calendars work?
How a shut door, a daily limit and a visible end date turn waiting into the reward, step by step.
In these themes
- Habits and Routines
How behaviour becomes automatic, and how it changes.