Apparatus · Methods

The Skinner Box

A small chamber, a lever, a food tray, and a pen that stepped up once per press. Here is what the operant conditioning chamber is, part by part, what it measured that nothing before it could, how to read the records it drew — and what the "baby in a box" story gets wrong.

Updated 20 min read

Definition

A Skinner box — formally an operant conditioning chamber — is an enclosed apparatus in which an animal can make a simple, repeatable response, such as pressing a lever or pecking a lit disk, that automatic equipment records and can follow with a programmed consequence, usually food. B. F. Skinner built the first versions at Harvard in the early 1930s to measure the rate of a freely emitted behavior over time.

Its purpose is isolation, not confinement: one response, one consequence, and nothing else changing, so that the relation between them can be measured for hours without an experimenter in the room.[1]

In brief

  • A Skinner box, formally an operant conditioning chamber, lets an animal make one simple response that equipment records and can follow with a consequence.
  • Unlike puzzle boxes and mazes, it records the rate of a free operant continuously; on the cumulative record, slope is rate.
  • Skinner never called it a Skinner box, and the "baby in a box" was a climate-controlled crib, not an experiment.

What is a Skinner box?

Most students meet the Skinner box as a picture: a rat in a metal cage pressing a bar. The picture is accurate but misses the point. The chamber was never the discovery; it was the instrument that made a kind of discovery possible. It let the animal respond whenever and as often as it liked and recorded every response automatically. That made how often an animal did something a measurable quantity, and almost everything in operant conditioning — reinforcement, extinction, schedules, shaping, stimulus control — was first seen as a change in that quantity.

By Skinner's account the box evolved by simplification: a runway along which a rat ran for food, whose timing proved surprisingly orderly, was shortened step by step until the rat needed only to press a horizontal bar to work a food dispenser.[2] The Behavior of Organisms (1938), which laid out the resulting science, is built almost entirely on records from it.[1]

Why Skinner never called it a Skinner box

The name was not his. It came out of Clark Hull's laboratory at Yale, which adopted a version of the apparatus in the 1930s; Skinner never used it, and the field settled on operant conditioning chamber.[3] The eponym misleads in two ways. It makes a method sound like a gadget, when the box was only a way of getting at the method — measuring the rate of a free operant. And within a few years the name attached itself to something else entirely: the enclosed crib Skinner built for his daughter, the subject of the most durable myth about him (below).

The parts of a Skinner box

Schematic of an operant conditioning chamber for a rat A chamber inside a sound-attenuating cubicle. On the left wall, from top to bottom: a cue light, a lever, and a food tray. A house light sits at the top of the chamber and a speaker high on the right wall. The floor is a grid of metal rods. Outside the chamber, a cumulative recorder draws a rising stepped line on a moving strip of paper, with small ticks marking reinforcers. Sound-attenuating cubicle · ventilation fan masks outside noise House light Cue light (SD) Speaker Lever (or a lit key for pigeons) Food tray the magazine drops a pellet here with a click Grid floor of metal rods · the animal is free to move and respond at any time Cumulative recorder Paper moves → · pen steps up once per response tick = reinforcer · slope = rate Relays or a computer program the schedule and log every response
An operant conditioning chamber for a rat. A press on the lever can be programmed to deliver a pellet on any schedule; the cue light signals when pressing will pay off; the recorder draws responses against time.
PartRat versionPigeon versionWhat it is for
OperandumA small lever that closes a switch when pressedA translucent disk, the "key," at head height, lit from behind; a peck closes the switchDefines the response that counts. Anything that closes the switch — left paw, right paw, nose — is the same operant.
Food magazineA dispenser drops a 45-milligram pellet into a trayA hopper of grain is raised into an opening, lit, for a few secondsDelivers the reinforcer. Its click precedes every pellet and becomes a conditioned reinforcer that bridges press and food.
Stimulus lightsA house light and cue lights above the leverColors or patterns projected onto the keySignal when responding will pay: the discriminative stimulus and its opposite, the S-delta.
SpeakerTones, clicks, or white noise; the cubicle's fan masks outside soundsAuditory stimuli, and a chamber that sounds the same every session.
Grid floorParallel metal rods over a droppings trayEasy to clean; in punishment and avoidance experiments the rods can carry a brief shock.
Programming and recordingOriginally relays and timers; now a computerRuns the schedule and timestamps every response, so the experimenter can leave the room.

How a Skinner box experiment runs

A chamber with an untrained rat in it produces nothing: the rat sniffs the corners, grooms, and occasionally leans on the lever by accident. A working session is built in stages, each depending on the one before.

  1. Deprivation. The animal is kept mildly hungry — typically around 80 to 85 percent of its free-feeding weight — so that food functions as a reinforcer. Without this motivating operation, nothing else works.
  2. Magazine training. Pellets arrive on a timer, no response required. Within a few dozen deliveries the rat goes to the tray the instant it hears the click, now a conditioned reinforcer that can be delivered from across the chamber.
  3. Shaping. The experimenter delivers a pellet by hand switch whenever the rat does something closer to a lever press: facing it, approaching, rearing, touching. Each approximation is reinforced until frequent, then dropped for the next. How shaping works ›
  4. Continuous reinforcement, then schedules. Every press pays at first. Then the requirement is thinned — every fifth press, an unpredictable number, the first press after a fixed time — and the recorder shows each schedule's signature.
  5. Discrimination training. Presses pay only while a light is on. Pressing comes under stimulus control — high in the light, near zero in the dark — the laboratory version of the antecedent in the A-B-C model. Stimulus control in depth ›
  6. Extinction. Food stops. The record shows a burst of rapid, variable pressing, then a decline to almost nothing, with some recovery at the next session. What extinction looks like ›

Later experiments are built on this base: punishment (a brief shock for a press that is still reinforced), choice (two keys on different schedules, the procedure behind the matching law), drugs (a dose before the session, with the change in rate as the measure). You can run the magazine-training, shaping, schedule, and extinction stages in the virtual chamber below.

Run a Skinner box yourself

This lab puts an untrained, mildly hungry rat in a chamber and hands you the pellet button. Magazine-train it, shape a lever press one approximation at a time, put the press on a schedule, then stop the food and watch extinction. The cumulative record under the chamber draws every press.

signal light lever food tray

Pellets delivered 0
Lever presses 0
Press rate
Phase Magazine training
  1. Magazine trainingTeach the rat what the click means.
  2. ShapingReinforce successive approximations of a lever press.
  3. SchedulesCompare CRF, ratio, and interval schedules.
  4. ExtinctionStop reinforcing; watch the burst, then recovery.

The rat is a stylized model — its tendencies shift with what you reinforce, drift back when you don't, and follow the schedule patterns Ferster and Skinner documented — not a replay of real data. Real shaping takes longer and real rats are more surprising.

Want the lab on its own page to link, share, or assign? Open the virtual Skinner box ›

What a Skinner box measures, and why that mattered

Edward Thorndike's cats, in 1898, were placed one at a time in a latched "puzzle box" with food outside; Thorndike timed each escape and plotted the times across trials.[4] The mazes and runways that dominated animal psychology for the next forty years worked the same way. These are discrete-trial methods: the experimenter decides when the animal may behave, each trial yields one number, and learning appears as a curve across trials.

In the operant chamber the lever is always there. The animal decides when to respond and how often — a free operant — and the natural measure becomes the rate of response, presses per minute, moment by moment. Skinner argued that rate was the datum psychology had been missing: it changes continuously rather than in trial-sized lumps, it can be read at a glance from a cumulative record, and it proved sensitive to almost every variable an experimenter could manipulate.[1][5]

AspectThorndike's puzzle boxMaze or runwayOperant chamber
Who starts a trialExperimenter places the catExperimenter places the rat at the startThe animal, whenever it likes
What is measuredSeconds to escapeTime to the goal; wrong turnsResponses per unit time, continuously
What a session yieldsOne number per trialOne or two numbers per trialA record of every response and reinforcer
Best suited toShowing that consequences "stamp in" behaviorSpatial learning and motivationSchedules, extinction, stimulus control, choice, drug effects

Some of the field's landmarks were accidents of the apparatus, and Skinner said so. The cumulative record began as a lucky by-product of the way his early food magazine was built. The first extinction curve he ever saw appeared when the pellet dispenser jammed and the rat went on pressing. And the first intermittent schedule was born when, running short of the pellets he made by hand, he reinforced only one press a minute to save them — and found the record perfectly orderly.[2] In the same kind of chamber, feeding pigeons every fifteen seconds regardless of what they did produced "superstitious" rituals in six of eight birds, the classic demonstration that accidental contingencies shape behavior.[6] The papers describing the method and these discoveries are collected in Cumulative Record.[7]

Pigeons vs. rats

The Behavior of Organisms is a book about rats. Skinner switched to pigeons during the Second World War, when Project Pigeon trained them to guide a missile by pecking at a target image, and largely stayed with them.[8] The bird pecks quickly and can sustain thousands of responses an hour, has sharp color vision (ideal for work on stimulus control), is cheap and hardy, and lives for a decade or more, so one subject can be studied for years. Schedules of Reinforcement, the 1957 catalog of schedule effects, is built mostly on pigeon records.[9]

Rats never went away. They are nocturnal and nearly color-blind by comparison, but their physiology, genetics, and brain are far better mapped, which is why the rat (and now the mouse) chamber is standard in pharmacology and neuroscience. The logic is the same for any species — a defined response, an automated consequence, a continuous record of rate — and chambers have been built for monkeys, fish, and humans.

How to read a cumulative record

Skinner's second invention made the data visible. In the cumulative recorder, a strip of paper moves under a pen at constant speed; each response steps the pen a small fixed distance upward, and each reinforcer is marked with a short diagonal tick, or "pip." When the pen reaches the top of the paper it drops back to the bottom and continues. The cumulative record is the field's native graph, and every schedule leaves a signature on it.[9]

An annotated cumulative record A line that rises from left to right. It begins with steep runs separated by flat pauses, each run ending in a diagonal tick. The pen then resets to the bottom and draws three curved scallops that start flat and accelerate into each tick. Finally, when reinforcement stops, the line rises briefly and then flattens out. Time → Cumulative responses ↑ Steep = high rate fixed ratio: run, tick, pause pause tick = reinforcer pen resets to the bottom Scallop fixed interval: pause, then acceleration Extinction a burst, then the slope flattens to zero
Reading a cumulative record: slope is rate, ticks are reinforcers, flat stretches are pauses, and the curved "scallop" is the fixed-interval pattern. The line only ever goes up; a behavior that has stopped draws a horizontal line.

Ferster and Skinner's book contains hundreds of such records; the reader is expected to see the effects, not compute them. Draw your own records in the schedule simulator ›

The "baby in a box": the Skinner box myth

In 1944, before his second daughter Deborah was born, Skinner built what he called a baby tender and later an air crib: an enclosed crib with a large safety-glass front and a stretched canvas floor, supplied with filtered, warmed air, so that a baby could sleep and play in a diaper alone — no blankets, layers of clothing, or bars — at a constant temperature. It was a bed with climate control. Deborah was taken out to be fed, changed, held, and played with like any other infant. Ladies' Home Journal published Skinner's article about it in October 1945 under a headline he did not write, "Baby in a Box," and a number of families later used commercial versions.[10]

What is false

The headline, and the fact that "Skinner box" was already a phrase, produced a rumor that circulated for decades: that Skinner raised his daughter in a Skinner box as an experiment, and that she became psychotic, sued him, or died by suicide. None of it is true. No experiment was ever run in the air crib; it had no lever, no dispenser, and no contingencies. Deborah Skinner Buzan grew up to be an artist living in Britain, has described a happy childhood with an affectionate father, and answered the rumor in 2004 in an article titled "I was not a lab rat," after a popular book repeated it.[11]

The myth survives because it fits a picture of Skinner as a cold manipulator. The facts of the box cut against it: it was a measuring instrument, its reinforcers were overwhelmingly food rather than shock, and Skinner spent fifty years arguing against punishment. B. F. Skinner: life, work, critics, and myths ›

Modern descendants of the Skinner box

The chamber remains standard laboratory equipment, though it rarely looks like Skinner's.

The human "Skinner box"

The phrase now describes any product engineered to keep people responding: slot machines, infinite feeds, loot boxes. The analogy has substance. Skinner himself pointed to the gambling device as a variable-ratio schedule, the arrangement that produces the highest and most persistent rates in the laboratory, and the same schedule runs the pull-to-refresh feed.[14]

A caution about the metaphor

A chamber isolates one response and one consequence under an experimenter's complete control. An app competes with every other reinforcer in your life, and you can walk away in a way a rat cannot. The metaphor is useful for naming the schedule and misleading when it suggests people are helpless: the same analysis says what to do — change the cue, the schedule, or the cost of responding. Operant conditioning in technology and product design ›

Criticisms and limitations of the Skinner box

Artificiality. The chamber studies a hungry animal, a bare environment, and a single arbitrary response, and critics have argued from the start that this tells us about rats in boxes rather than organisms in the world. Two findings from inside the operant tradition gave the objection teeth. Keller and Marian Breland, who left Skinner's laboratory to train animals commercially, reported that trained behavior drifted toward species-typical patterns — raccoons "washing" the coins they were supposed to deposit — whatever the contingencies said.[15] And the pigeon's key peck, the chamber's signature response, turned out to be partly Pavlovian: a pigeon will begin pecking a lit key that merely precedes food, even though pecking is not required and changes nothing.[16] The box does not create behavior from nothing; it selects from what the species brings.

Generalization to humans. Noam Chomsky's charge was that terms precise in the pigeon laboratory become loose metaphors when stretched over human language and thought.[17] Skinner's later work conceded part of the point: humans follow rules and instructions, and rule-governed behavior can look quite different from behavior shaped directly by contingencies.[18] Human volunteers on laboratory schedules, who arrive with instructions and hypotheses of their own, often fail to show the animal patterns for that reason.

The reply. The chamber is a method for isolating variables, as a physicist's frictionless plane is, and its findings have to be tested outside it. They were: reinforcement, extinction, schedule effects, shaping, and stimulus control replicated across species and then across classrooms, clinics, zoos, and workplaces, where applied behavior analysis measures them against real behavior. Whether that vindicates the philosophy Skinner built on the box is a different, and still open, question. The history of operant conditioning, including the cognitive critique ›

Key takeaways

Check yourself

On a cumulative record, the line goes flat for a stretch right after every reinforcer tick, then shoots up steeply. A student concludes the pellet must be punishing the rat, since pressing stops each time one arrives. What is wrong with that reading?

The flat stretch is the post-reinforcement pause, the first half of the fixed-ratio "break and run" pattern, and the steep run that follows shows pressing is as strong as ever. A behavior that has actually stopped draws a line that stays horizontal; a pause followed by a burst at full speed is the schedule's signature, not evidence of punishment.

Thorndike's cat and Skinner's rat both learn to work a mechanism to get food. Why did Skinner treat his chamber as a different kind of measurement?

The puzzle box is a discrete-trial method: the experimenter starts each trial and gets one number, the time to escape. In the chamber the lever is always there, so the animal decides when and how often to respond, and the measure is the rate of a free operant, recorded continuously and read from the slope of the record.

A pigeon begins pecking a lit key that comes on just before free food, even though pecking is not required and changes nothing. Does this show operant conditioning at work?

Not on its own. Because pecking has no consequence, the light merely preceding food is enough to produce it, which is why the key peck is described as partly Pavlovian. It is one of the findings behind the criticism that the box does not create behavior from nothing but selects from what the species brings.

An untrained rat is placed in a chamber with the lever already wired to the pellet dispenser. Why does nothing happen, and which two stages have to come first?

The rat has no reason to press and presses only by accident. It must first be mildly hungry, so that food functions as a reinforcer, and then magazine-trained, so that the dispenser's click becomes a conditioned reinforcer that can be delivered from across the chamber. Only then can shaping reinforce closer and closer approximations to a press.

Explain it to a friend. Explain what a Skinner box measures that Thorndike's puzzle box could not, without using the words "rate" or "trial."

Frequently asked questions

What is a Skinner box?

An enclosed apparatus, formally called an operant conditioning chamber, in which an animal can make a simple response — pressing a lever or pecking a lit key — that equipment records automatically and can follow with a consequence such as food. B. F. Skinner built it in the early 1930s to measure the rate of freely emitted behavior and study how its consequences change it.

What did Skinner's box experiment show?

There was no single experiment but a research program. Its central findings: behavior followed by a reinforcer becomes more frequent and fades when the reinforcer stops (extinction); how often reinforcement is delivered — the schedule — controls the rate, pattern, and persistence of behavior; and behavior comes under the control of stimuli that signal when reinforcement is available. The 1948 "superstition" study showed that accidental reinforcement is enough to build a ritual.

Is the Skinner box cruel?

In the typical experiment the animal is kept mildly hungry, works for food in a daily session of an hour or so, and is otherwise housed and fed normally; the great majority of operant research uses positive reinforcement. Some experiments on punishment and avoidance use brief shock through the grid floor, and those are the ones most people object to; today all such work is reviewed by institutional animal-care committees. Given free food in the chamber, many animals still work the lever — a phenomenon called contrafreeloading.

Are Skinner boxes still used?

Yes. Modern chambers with touchscreens, home-cage versions, and computer control are standard in neuroscience, pharmacology, and behavioral genetics, and drug self-administration in an operant chamber is the main animal model of addiction. The principles first found in the box also underlie applied behavior analysis and reinforcement-based animal training.

Did Skinner put his daughter in a Skinner box?

No. He built a climate-controlled crib, the air crib, in which his daughter Deborah slept as an infant. It was a bed, not an experiment, and had no lever, dispenser, or contingencies. The rumor that she was harmed by it, sued him, or died by suicide is false; she said so herself in a 2004 newspaper article.

What is the difference between a Skinner box and a puzzle box?

Thorndike's puzzle box (1898) was a discrete-trial method: the cat was put in, escaped by working a latch, and was put back for the next trial, with escape time as the measure. A Skinner box is a free-operant method: the animal stays in, responds whenever it likes, and the rate of responding is recorded continuously. The puzzle box showed that consequences strengthen behavior; the Skinner box made it possible to measure exactly how.

References

  1. Skinner, B. F. (1938). The Behavior of Organisms: An Experimental Analysis. Appleton-Century.
  2. Skinner, B. F. (1956). A case history in scientific method. American Psychologist, 11(5), 221–233.
  3. Skinner, B. F. (1979). The Shaping of a Behaviorist. Knopf.
  4. Thorndike, E. L. (1898). Animal intelligence: An experimental study of the associative processes in animals. Psychological Review Monograph Supplement, 2(4), 1–109. Read the 1898 monograph as Chapter II of the 1911 book in the library ›
  5. Skinner, B. F. (1950). Are theories of learning necessary? Psychological Review, 57(4), 193–216.
  6. Skinner, B. F. (1948). 'Superstition' in the pigeon. Journal of Experimental Psychology, 38(2), 168–172.
  7. Skinner, B. F. (1959). Cumulative Record. Appleton-Century-Crofts.
  8. Skinner, B. F. (1960). Pigeons in a pelican. American Psychologist, 15(1), 28–37.
  9. Ferster, C. B., & Skinner, B. F. (1957). Schedules of Reinforcement. Appleton-Century-Crofts.
  10. Skinner, B. F. (1945, October). Baby in a box. Ladies' Home Journal.
  11. Buzan, D. S. (2004, March 12). I was not a lab rat. The Guardian.
  12. Weeks, J. R. (1962). Experimental morphine addiction: Method for automatic intravenous injections in unrestrained rats. Science, 138(3537), 143–144.
  13. Olds, J., & Milner, P. (1954). Positive reinforcement produced by electrical stimulation of septal area and other regions of rat brain. Journal of Comparative and Physiological Psychology, 47(6), 419–427.
  14. Skinner, B. F. (1953). Science and Human Behavior. Macmillan.
  15. Breland, K., & Breland, M. (1961). The misbehavior of organisms. American Psychologist, 16(11), 681–684.
  16. Brown, P. L., & Jenkins, H. M. (1968). Auto-shaping of the pigeon's key-peck. Journal of the Experimental Analysis of Behavior, 11(1), 1–8.
  17. Chomsky, N. (1959). A review of B. F. Skinner's Verbal Behavior. Language, 35(1), 26–58.
  18. Skinner, B. F. (1969). Contingencies of Reinforcement: A Theoretical Analysis. Appleton-Century-Crofts.