Here's a story that sounds like a parable but actually happened. During British colonial rule in Delhi, the government had a cobra problem. Too many venomous snakes slithering through the city. The solution seemed elegant: offer a bounty for every dead cobra brought in. Simple incentive. Rational actors. Economics 101.
It worked beautifully — at first. People hunted cobras. Dead snakes piled up. Bounties were paid. Then something shifted.
Enterprising residents realized it was easier to breed cobras than to hunt them. Why stumble through alleys at night when you could raise snakes at home and harvest them like a cash crop? A cottage industry of cobra farming quietly emerged. When the British caught on and scrapped the bounty program, the now-worthless farmed cobras were released into the streets.
Delhi ended up with more cobras than it started with.
Economists call this the cobra effect: when an incentive designed to solve a problem accidentally makes it worse. And it happens with almost eerie regularity.
Hanoi under French colonial rule tried the same trick with rats, offering a bounty per rat tail. People started cutting off tails and releasing the rats alive — so they could breed and produce more tails. In Mexico City, a program to reduce driving by banning cars one day per week based on license plate numbers led families to buy second cars, often older, dirtier ones. Emissions went up.
The pattern is always the same. A policymaker looks at a system and sees a simple lever. Pull it, and the desired outcome follows. But systems aren't levers. They're ecosystems. They adapt. The people inside them are creative, resourceful, and — this is the important part — responding rationally to the incentive as designed, not as intended.
There's a lesson here that goes well beyond government policy. It shows up in business all the time. Reward salespeople purely on new accounts, and they'll neglect existing customers. Measure developers by lines of code written, and you'll get bloated, unmaintainable software. Grade schools on standardized test scores, and watch curricula narrow to the width of a scantron sheet.
Charles Goodhart, a British economist, formalized this in 1975: "When a measure becomes a target, it ceases to be a good measure." The act of optimizing for a metric distorts the very thing the metric was supposed to capture.
The cobra effect isn't really about cobras. It's about the gap between a system's rules and its goals. Rules are what you write down. Goals are what you actually want. And humans — wonderfully, maddeningly — will always optimize for the rules.
So the next time you design an incentive — a bonus structure, a grading rubric, a household chore chart — ask yourself the cobra question: If someone were trying to game this, what would they do?
Because they will.