The Cobra Effect
When solutions become the problem
The Paradox
You want to solve a problem, so you offer a reward. Logical, right?
But what if the reward incentivizes people to create more of the problem? What if your solution makes things worse than doing nothing at all?
This phenomenon—where an attempted solution backfires spectacularly—is called a perverse incentive. The most famous example comes from colonial India, giving us the term "Cobra Effect."
🐍 Bounty Program Simulator
Experience how well-intentioned rewards can backfire
Final population: MORE than when you started!
The Original Story
According to legend, during British colonial rule in India, the government became concerned about the number of venomous cobras in Delhi. Their solution seemed logical: offer a bounty for every dead cobra.
At first, the program worked. Hunters killed cobras and collected rewards. But then something unexpected happened: enterprising locals began breeding cobras to collect more bounties.
When the government discovered the scheme and cancelled the program, the cobra breeders—now with worthless snakes—simply released them into the wild. The cobra population ended up larger than before.
Recent scholarship questions whether the cobra story actually happened. A 2025 investigation found no contemporary records of cobra breeding operations in British India. The story may be apocryphal—but the documented Hanoi rat case proves the principle is real.
Documented Cases
Why Does This Happen?
The Incentive Trap
When you offer a reward for solving a problem, you create an incentive. But if people can create more of the problem to collect more rewards, some will do exactly that—especially if:
- Verification is difficult — How do you tell a bred cobra from a wild one?
- The reward exceeds costs — Breeding rats is cheaper than the bounty
- Enforcement is weak — Colonial administrators couldn't monitor everything
- Exit is easy — When caught, just release the evidence
Goodhart's Law
Economist Charles Goodhart captured this principle: "When a measure becomes a target, it ceases to be a good measure."
Dead cobras were a reasonable measure of cobra reduction. But once dead cobras became the target for payment, people optimized for dead cobras—not for reducing the wild population.
Campbell's Law
Sociologist Donald Campbell went further: "The more any quantitative social indicator is used for social decision-making, the more subject it will be to corruption pressures."
How to Avoid It
- Measure outcomes, not proxies — Pay for reduced infestation, not dead bodies
- Consider gaming — Ask: "How would I exploit this reward?"
- Randomize and audit — Unpredictable enforcement deters schemes
- Align incentives with goals — The reward should only flow from genuine solutions
- Watch for unintended production — Can people manufacture what you're paying for?
The Cobra Effect is a reminder that humans are ingenious optimizers. Any system of rewards will be gamed—the question is whether the gaming produces the outcomes you actually want.