Skip to content
Mental Models

The Evolution of Cooperation

Five Roads to Cooperation

Direct reciprocity needs you to meet the same partner again — but strangers cooperate too. Meet the other engines that evolve cooperation: kin selection, indirect reciprocity, network reciprocity, and the contested case of group selection, via Nowak's five rules.

15 min Updated Jul 5, 2026

Everything so far has ridden on one engine: direct reciprocity — “I help you because you’ll help me back.” It’s a beautiful engine, but look closely at what it needs to run. It needs the same two people to meet again. Tit-for-Tat only works because it can retaliate against the specific player who cheated it, next round. Cut the thread that connects today’s encounter to tomorrow’s, and the whole mechanism goes slack: if I’ll never see you again, your retaliation can never reach me, and I might as well defect.

And yet the world is soaked in cooperation between people who will never meet again. You tip a waiter in a restaurant two thousand miles from home. You post a stranger’s dropped wallet back to them. A soldier throws himself on a grenade for men he met last week. A worker ant, sterile, spends its entire life raising a queen’s eggs it will never lay itself. None of this can be direct reciprocity — there is no “back” to come back to you. So there must be more roads to cooperation than one.

The biologist Martin Nowak organised these roads into what he called the five rules for the evolution of cooperation — five distinct conditions, any one of which can let costly helping evolve. You already know one of them cold. This lesson is the tour of the other four.

Tip:

The five roads, in one breath

Cooperation can evolve through (1) kin selection — help copies of your genes in relatives; (2) direct reciprocity — help those who’ll help you back (lessons 2–4); (3) indirect reciprocity — help those with a good reputation, so others help you; (4) network / spatial reciprocity — cooperators survive by clustering together; and (5) group selection — groups of cooperators out-compete groups of defectors. They are not rivals. Real cooperation usually rides several at once.

Road 1: Indirect reciprocity — cooperation on credit

Direct reciprocity is a two-person loop: I help you, you help me. Indirect reciprocity opens the loop into a triangle: I help you, and someone who heard about it helps me. The person who repays me is not the person I helped — it’s a third party who watched, or was told, and now knows I’m the sort of agent worth helping.

The currency that makes this work is reputation — what Nowak calls an image score, a running tally of “does this individual help others?” Every act of helping is watched and remembered, and your image score rises or falls with it. When it’s your turn to be on the receiving end, potential donors check your score first. Help freely and visibly, and your score climbs; when you’re in need, that stored-up reputation is spent buying help from strangers who owe you nothing personally but everything reputationally.

A worked example

Picture a small village where everyone can see, or gossip about, everyone else. Helping a neighbour costs you 1 unit of effort but gives them 3 units of benefit. Now play it as a chain of one-off encounters — you’ll never be paired with the same partner twice, so direct reciprocity is impossible.

  • You spot a neighbour with a good reputation in trouble. You help, paying 1 so they gain 3. Your own image score ticks up: the village now files you under “helper.”
  • Tomorrow you are the one who’s stuck — and a different villager, who has never met you but has heard you’re a helper, chooses to help you. You gain 3, having paid only 1 yesterday. Net: +2, and you never once relied on the person you originally helped.
  • The defector who never helps saves their 1-unit cost each time — but their image score sinks, word spreads, and when they fall on hard times, nobody helps them. Their short-term saving becomes long-term isolation.

Being seen to help pays, because a good reputation is an asset you can later cash in with the whole community. Cooperation flows on credit, backed by reputation instead of by any single relationship.

The catch — and the reason this road is a specifically human superpower — is that indirect reciprocity requires information: someone has to observe your act and communicate it to others. That means it runs on language and gossip. No other animal tracks the reputations of dozens of individuals across thousands of interactions the way a human community does. We are, quite literally, the champions of indirect reciprocity because we can talk about who did what to whom. Gossip isn’t idle noise; it’s the machinery of a reputation economy.

Info:

You already live in a reputation economy

Modern life is indirect reciprocity industrialised. eBay and Amazon seller ratings let a stranger you’ll never meet decide whether to trust you, based on how you treated other strangers. A credit score is an image score for repaying debts. A doctor’s, plumber’s, or employer’s professional reputation buys or blocks future business from people who only heard about their past behaviour. Every one of these is a machine for turning “was seen to cooperate” into “gets cooperated with.”

Road 2: Kin selection — why blood runs thick

Here’s a puzzle direct and indirect reciprocity can’t touch. A sterile worker bee never reproduces at all — it has no future encounters to be repaid in and no offspring to inherit its behaviour. So why does it toil its whole life for the hive? Why does a ground squirrel give an alarm call that saves its neighbours but draws the predator’s attention straight to itself? Why will a parent, with no expectation of repayment, starve so a child can eat?

The answer is that natural selection doesn’t really care about the survival of the individual — it cares about the survival of genes. And a copy of your gene doesn’t only sit inside you; it sits, with some probability, inside your relatives. A gene that says “sacrifice yourself to save your kin” can spread — because the copies of that very gene, riding inside the saved relatives, go on to reproduce. This is kin selection: genes can favour helping the copies of themselves that live in your family.

Hamilton’s rule, with real numbers

The biologist W. D. Hamilton made this precise. Helping a relative evolves when the inequality rB>CrB > C holds, where:

  • r = relatedness — the probability that a gene in you is shared, by descent, with the individual you’re helping.
  • B = the benefit to the recipient (in extra offspring, or “reproductive success”).
  • C = the cost to you, the helper (in your lost offspring).

In plain words: help evolves when the benefit to your relative, discounted by how related you are to them, outweighs the cost to you. The closer the kin, the smaller the benefit needed to make the sacrifice pay — genetically.

RelationshipRelatedness rr
Identical twin1
Parent ↔ child½
Full sibling½
Grandparent ↔ grandchild¼
Half-sibling¼
Aunt/uncle ↔ niece/nephew¼
First cousin

The geneticist J. B. S. Haldane is said to have captured the whole rule in a bar-room quip: “I would lay down my life for two brothers or eight cousins.” The arithmetic is exact. Each brother shares ½ your genes, so two brothers = 1 full copy of your genome saved — a genetic break-even for sacrificing your one life. Each cousin shares ⅛, so it takes eight cousins to reach the same one-genome total. Fewer than two brothers, or fewer than eight cousins, and the sacrifice doesn’t pay; more, and it does.

This is why parents sacrifice for children (r=12r = \tfrac{1}{2}, and the benefit to a young child’s future reproduction is enormous), why sterile worker bees toil for the hive (they’re startlingly closely related to the queen’s brood, so raising sisters propagates their genes as effectively as breeding would), and why alarm calls are given most readily among kin.

A ground squirrel can give an alarm call that saves a relative from a hawk. Giving the call costs the caller C = 1 unit of reproductive success (it's more likely to be spotted). Saving the relative gives them B = 4 units. The relative is a FULL SIBLING (r = 0.5). By Hamilton's rule, does the alarm-calling behaviour evolve?

The pitfall: kin selection has a hard edge

Kin selection is powerful but narrow. It explains altruism aimed at family — and family only. As relatedness falls, the benefit needed to justify the sacrifice explodes, and past cousins (r=18r = \tfrac{1}{8}) the discount is so steep that helping barely ever pays on genetic grounds alone. So kin selection is no help at all for the deepest puzzle in this course: cooperation among unrelated strangers — the tipped waiter, the returned wallet, the traded goods between people who share no genes. For those, you need one of the other four roads. Do not stretch “blood is thick” to cover a phenomenon it was never built to explain.

Road 3: Network reciprocity — cooperators survive by huddling

Lesson 2 hinted at something the earlier tournaments quietly assumed: a well-mixed population, where everyone is equally likely to bump into anyone. In that soup, a lone cooperator surrounded by defectors is doomed — everyone it meets exploits it, and it’s selected out before it can spread. So how does cooperation ever get off the ground when it’s rare?

The answer is network (or spatial) reciprocity: cooperators survive by clustering. In the real world, interactions aren’t random — they’re local. You mostly deal with your neighbours, your network, your patch. And that changes everything. A single cooperator dropped alone into a sea of defectors really does die. But a cluster of cooperators, all touching each other, plays the rich mutual-cooperation payoff amongst themselves. The defectors at the edge can nibble the cluster’s fringe, but the cooperators in the interior are feasting on the cooperative reward, out-reproducing the defectors who can only ever exploit each other for the grim mutual-defection payoff. A tight enough cluster grows faster than the defector fringe can eat it — and cooperation spreads outward from its huddle, even while remaining globally rare.

The engine below lets you feel the deeper point first — that selection favours cooperation only when the future is long — and the clustering idea builds right on top of it.

Evolutionary tournament

Watch cooperation evolve — or collapse

A whole population of strategies plays the repeated dilemma against each other, round-robin. Each generation, strategies breed in proportion to how well they scored — that's natural selection acting on behaviour. The one dial that matters most is 'rounds per encounter': the length of the future. Set it, then evolve the population and watch who takes over.

8
  • Always Cooperate25%
  • Always Defect25%
  • Tit-for-Tat25%
  • Grudger25%

Generation 0
The population is still mixed — keep evolving.

Do the two experiments. FIRST drag rounds down to 1 (a one-shot world, no future) and evolve: Always Defect sweeps the population and cooperation goes extinct — exactly what the one-shot dilemma predicts. THEN drag rounds up high (a long future) and reset and evolve: now the reciprocators, Tit-for-Tat and Grudger, take over, because a long future lets them punish defectors and reap the cooperative reward with each other. Selection favours cooperation only when the shadow of the future is long. One caveat this model makes vivid: it assumes a WELL-MIXED population where everyone meets everyone. That's the harshest possible world for a rare cooperator — which is exactly why, in the real (local, networked) world, cooperators do even better by CLUSTERING together so they mostly meet each other.

Notice what the island assumes and what real life doesn’t. The tournament mixes everyone together uniformly — the toughest arena for cooperation. Network reciprocity says: relax that assumption, let interactions be local, let cooperators find each other and stick together, and cooperation clears an even lower bar. A hostile neighbourhood with one honest block; a corrupt industry with one guild of straight-dealers; a defector-dominated forum with one tight community of good-faith posters — in each case the cooperators survive not by converting the world but by finding each other and huddling.

Road 4: Group selection — the honest, contested one

The fifth road is the one you should handle with tongs, because it’s real, it’s useful, and it’s the single easiest idea in this entire field to abuse.

Group selection — in its modern, respectable form, called multilevel selection — says this: if a population is divided into groups, and groups of cooperators out-compete groups of defectors (a cooperative tribe out-hunts, out-defends, or out-breeds a selfish one), then cooperation can spread at the level of the group, even though it’s costly to the individual. Selection acts on two levels at once — within groups and between groups — and when the between-group advantage of cooperation is strong enough, it can win.

Here is the honest tension, and you must state it plainly: within any single group, defectors still beat cooperators. A cheat inside a cooperative tribe pays no cost and reaps every benefit, so it out-reproduces its generous neighbours inside the group. So group selection is a tug-of-war: between-group selection pulls toward cooperation, within-group selection pulls toward defection, and which wins depends on the exact numbers — how much groups vary, how little individuals migrate between them, how sharply cooperative groups out-compete selfish ones. This is why group selection is contested: it works only under fairly specific, demanding conditions, and for decades it was overclaimed so wildly that many biologists still flinch at the phrase. Present it as one road under debate, not a slam-dunk.

Warning:

This is NOT the old 'good of the species' fallacy

The naive group selection lesson 2 debunked said animals restrain themselves “for the good of the species” — voluntarily breeding less so the species won’t overpopulate. That’s wrong, because any individual that doesn’t restrain itself out-breeds the restrainers and the trait collapses from within. Modern multilevel selection is a different, more careful claim: it does NOT assume anyone acts for the group’s good; it tracks the actual arithmetic of within-group loss versus between-group gain, and it only predicts cooperation when the between-group advantage genuinely wins the tug-of-war. Same words, completely different rigour — don’t confuse them.

Sort the roads

Each of these is a real case of cooperation. Sort each one under the road that best explains why it evolved.

Place each item in the right group.

  • A stranger trusts an eBay seller purely because of their star rating
  • A cluster of honest traders thrives in one corner of a corrupt market
  • A tightly cooperative tribe out-competes a neighbouring selfish one
  • A sterile worker ant spends its life raising the queen’s brood
  • You keep a supplier honest by threatening to stop buying if they cheat you
  • You give an alarm call that warns your siblings but exposes you
  • You return a stranger’s wallet, partly because others are watching
  • Vampire bats share blood with roost-mates they’ll meet again and again

Match each of Nowak's five rules to what it actually requires.

Pick a term, then click its definition.

Recap

Big picture

Five roads to the evolution of cooperation

  • How cooperation evolves
    • Kin selection
      • Help relatives — pays when rB > C (Hamilton). Explains family altruism only, not strangers.
    • Direct reciprocity
      • Help who helps you back — needs to re-meet the SAME partner (lessons 2–4).
    • Indirect reciprocity
      • Reputation / image score — third parties who HEARD help you. Runs on language + gossip; humans are champions.
    • Network reciprocity
      • Cooperators cluster locally and out-grow the defector fringe, even when globally rare.
    • Group selection (contested)
      • Cooperative groups beat selfish groups — but defectors win WITHIN a group. NOT the old "good of the species".

When to use it

Treat the five roads as a diagnostic checklist you run whenever you see cooperation that shouldn’t exist — or whenever you want to build cooperation that doesn’t yet. Each road is a distinct condition you can look for or engineer:

  • Are the parties kin? Then expect (and can rely on) family-limited altruism — but don’t expect it to stretch to strangers.
  • Will they meet again? If yes, you can lean on direct reciprocity — lengthen the relationship, make retaliation credible. If no, this road is closed.
  • Can others observe and talk? Then build a reputation system — ratings, references, public track records — and indirect reciprocity does the rest. This is the most engineerable road in the modern world.
  • Can cooperators find each other? Let the honest cluster, protect the huddle, and network reciprocity lets a rare good practice survive in a hostile field.
  • Do cooperative groups out-compete selfish ones? Sometimes — but check the tug-of-war carefully before you bet on group selection, and never let it slide back into “for the good of the species.”

The deepest lesson is that these roads are not rivals. Real human cooperation almost always rides several at once: you help a colleague who is also a friend you’ll see again (direct), whose good word will reach others (indirect), inside a team that thrives when everyone pitches in (group). When you want to understand why cooperation holds — or make it hold — you don’t pick one road; you ask which ones are available, and you build on all of them at once.

Next up: lesson 6, Making Cooperation Win — and Where the Model Lies — the practitioner’s checklist for growing cooperation on purpose, together with the honest failure modes of the whole model: its fragility, the one-shot-versus-repeated confusion, and the seductive trap of mistaking what evolves for what is good.

Mark lesson as complete