The Prisoner's Dilemma
A four-cell table, dreamt up at RAND in 1950, that quietly explains arms races, overfished oceans, price wars, and why trust is such a strange and valuable thing.
Two suspects are arrested for a serious crime. The evidence is thin. The prosecutor puts each of them in a separate room and offers the same deal: confess and implicate your partner and you walk free, while your partner does ten years. If neither of you talks, we only have you on a minor charge and you both get one year. If you both talk, you both get five.
Neither can see or signal the other. What do you do?
The awful, unavoidable answer — from the standpoint of cold self-interest — is that you should talk. And so should they. And when you both talk, you both end up with five years, when you could have had one apiece by keeping quiet. That is the Prisoner's Dilemma: a situation in which every individual doing what is best for themselves leaves the group worse off than if they had all resisted the temptation.
Where the game comes from
The dilemma was invented in 1950 by Merrill Flood and Melvin Dresher, two researchers at the RAND Corporation who were stress-testing the new mathematics of game theory that John von Neumann and Oskar Morgenstern had laid out a few years earlier. Their story, involving two prisoners and a district attorney, was added by Albert Tucker while giving a talk at Stanford, and the name stuck.
The setting matters less than the structure. Any situation with the same shape of payoffs is a Prisoner's Dilemma. Two firms deciding whether to advertise. Two countries deciding whether to build more missiles. Two fishing fleets deciding whether to observe a catch limit. Two strangers deciding whether to tip the waiter in a city they will never visit again. Same table, same trap.
The payoff matrix. Each cell shows (A's outcome, B's outcome) in years of prison, so higher is better. Defecting beats cooperating no matter what the other does — and yet both defecting is worse for both than both cooperating.
The trap is easy to see once the numbers are on the page. Suppose your partner cooperates. Then cooperating costs you one year, and defecting costs you zero — defect. Suppose your partner defects. Then cooperating costs you ten years, and defecting costs you five — defect. Whatever they do, defecting is better. So a rational, self-interested player defects. Both players reason this way. Both defect. Both end up in a cell they both would have paid money to avoid.
Why it stings
This result was, and remains, philosophically annoying. Adam Smith's famous claim was that markets convert private selfishness into public benefit, as if by an invisible hand. The Prisoner's Dilemma is a small counter-example: a case where private rationality reliably produces public irrationality. There is no bug in anyone's reasoning. There is no oversight, no failure of intelligence. The players are perfectly rational and they cook themselves.
Once you have the pattern in your head, you see it everywhere. Two countries would each be safer with fewer nuclear weapons, but neither wants to be the one holding fewer. Every fishing boat would benefit from a healthy fish stock, but each individual boat maximises its own catch by taking one more fish today. Every honest firm would prefer that no firm bribe, but a firm that unilaterally refuses to bribe loses contracts. Global carbon emissions, doping in cycling, spam in your inbox, cheating on a group project — the same shape.
The economist Garrett Hardin gave the multi-player version its enduring name in 1968: the tragedy of the commons. It is the Prisoner's Dilemma at scale.
“Freedom in a commons brings ruin to all.”
Repetition changes the game
A one-shot Prisoner's Dilemma is a dead end. Rational players defect and that is that. But almost none of the interactions that matter in real life are one-shot. You have to buy fish again next week. The two superpowers will still be here in five years. Your colleague sits opposite you every day.
In the 1980s the political scientist Robert Axelrod ran a famous experiment. He invited scholars from around the world to submit computer strategies to play the Prisoner's Dilemma against each other, over and over. Some entries were long and elaborate. Some tried to exploit others. Some tried to be nice.
The winner, in two consecutive tournaments, was the shortest program submitted. It was called Tit-for-Tat and had just two rules: on the first round, cooperate. On every round after that, do whatever the other player did last time.
Tit-for-Tat in action. Nice on round one, then a perfect copy of what the opponent did last time.
Axelrod distilled four properties that made the winning strategies win: be nice (never defect first), be retaliatory (punish defection so no one profits from it), be forgiving (return to cooperation the instant the other side does), and be clear (so the other side can figure you out and cooperate back). Long-lived interactions turn the Prisoner's Dilemma inside out. What was a trap becomes a mechanism for building trust.
What it teaches
The Prisoner's Dilemma is not just a puzzle. It is a lens. Almost every institution we have — contracts, courts, reputations, brands, professional licensing, treaties, unions, religions — can be read as a device for turning one-shot dilemmas into repeated ones, so that the shadow of the future weighs on today's choice. A firm that cheats a customer once and disappears has played a one-shot game. A firm with a name on the door has to worry about tomorrow's customer hearing about today's.
It also explains why cooperation is fragile. Repeated play only helps if the other player expects to see you again. Anonymity, mobility, and one-time transactions all erode the machinery. This is one reason small towns and tight professions have their own quiet enforcement: everyone will see everyone else next week. Cities and the internet, by contrast, have to invent reputation systems from scratch, and it is hard work.
And it explains why some of the biggest problems on Earth — climate, antibiotic resistance, ocean fisheries — are so genuinely hard. They are not failures of virtue or intelligence. They are Prisoner's Dilemmas with millions of players and only one round, or with rounds spaced so far apart that the shadow of the future is short. The players are behaving rationally. That is exactly the problem.
Two prisoners in two rooms. Four cells in a table. Somehow, if you keep pulling, most of civilisation is on the other end of the string.
Further reading
- Von Neumann, J. & Morgenstern, O. (1944). Theory of Games and Economic Behavior.
- Flood, M. (1958). Some Experimental Games, RAND Research Memorandum RM–789.
- Hardin, G. (1968). The Tragedy of the Commons, Science.
- Axelrod, R. (1984). The Evolution of Cooperation.
- Poundstone, W. (1992). Prisoner's Dilemma.