The Cobra Effect: When Trying to Fix a Problem Makes It Worse
The Cobra Effect is what happens when perverse incentives make well-intentioned solutions backfire. Here's why your fixes sometimes make things worse, and how second-order thinking helps you prevent the disaster.
The cobra effect happens when a solution creates an incentive that makes the original problem worse. It shows up reliably whenever a metric people can game becomes the official measure of success. It's named after the British colonial administration in Delhi, which offered a bounty for dead cobras and then discovered that locals were breeding them for profit. The same pattern has since recurred in healthcare, education, financial regulation, and software engineering with almost perfect consistency.
During British rule in India, Delhi had a cobra problem. The colonial administration's logical response was to pay a cash reward for every dead cobra, and at first it worked. Wild cobra numbers dropped, and the government declared success.
Then the locals started breeding cobras.
When the government finally figured out the scam, it canceled the reward program immediately. The breeders were left with hundreds of worthless, hungry cobras, so they released them into the streets.
Delhi ended up with far more wild cobras than before the intervention started.
This is the textbook example of the Cobra Effect: why solutions make problems worse. It's one of the most useful mental models for understanding why well-intentioned fixes so often backfire.
What is the Cobra Effect?
The Cobra Effect occurs when an attempted solution makes a problem worse through unintended consequences and perverse incentives.
It's a failure of second-order thinking. When we face a problem, we usually consider only the immediate, expected result of our solution (first-order thinking): "Pay for dead cobras, get fewer cobras."
We don't consider how the system, and especially the people in it, will adapt to the new rules (second-order thinking): "If we pay for dead cobras, people will breed cobras."
The Cobra Effect in the real world
The Cobra Effect happens constantly in business, government, and personal life, well beyond quirky colonial history.
1. Corporate metrics and "juking the stats"
A software company wanted fewer bugs in its code, so it paid developers a bonus for every bug they found and fixed.
The developers started secretly writing buggy code on purpose so they could "find" and fix it and collect the bonus. Software quality plummeted. They optimized for the metric and ruined the goal.
2. The Great Hanoi Rat Massacre
When the French colonized Vietnam, Hanoi had a rat problem. Like the British, they offered a bounty, and to prove a kill, rat catchers only had to hand in a severed tail.
Soon officials noticed tailless rats running around the city. The catchers were cutting off the tails for the bounty and letting the rats go so they could keep breeding.
3. Personal productivity fails
You want to read more, so you set a goal of 50 books this year. Before long you're skipping the complex, challenging books that would stretch you and reading short, easy novellas to hit the number.
You optimized for the count and lost the actual goal, intellectual growth.
Why do we keep making this mistake?
We fall for the Cobra Effect because we treat complex systems like simple machines.
Push a button on a machine and it does the same thing every time. People are adaptive and self-interested. Introduce a new rule, law, or incentive into a human system and the people in it will immediately work out how to exploit it.
We usually design solutions assuming people will behave exactly as we intend, which is naive.
How to avoid the Cobra Effect
To stop making problems worse, you have to change how you design solutions.
1. Practice second-order thinking
Don't stop at "What will this do?" Keep asking "And then what?" If you introduce this metric, how might a clever, lazy employee game it? If you set this goal, what bad behavior might you encourage by accident? Watch out for false dilemmas and binary thinking that make it look as if a problem has only one solution.
2. Don't confuse the metric with the goal
When a measure becomes a target, it stops being a good measure (Goodhart's Law). If your goal is great customer service and your metric is "call handle time," your employees will cut handle time by hanging up on customers or rushing them off the phone.
3. Run small experiments
Before rolling out a big new plan or incentive structure, test it in a small, contained setting, which makes it a reversible decision. See how people actually react before you apply it to the whole system, and watch for the breeders.
Conclusion: respect the system
The Cobra Effect, and why solutions make problems worse, teaches intellectual humility. Good intentions are rarely enough to solve complex human problems, and brute-force solutions rarely work.
Before you try to fix something, whether it's a team, a relationship, or a habit, stop and look at the incentives you're creating. Make sure you aren't paying people to breed the snakes you're trying to get rid of.
Frequently Asked Questions
What is the Cobra Effect in simple terms? The Cobra Effect is a phenomenon where a proposed solution to a problem ends up making the problem significantly worse due to perverse incentives and unintended consequences.
What is an example of the Cobra Effect in modern business? A modern example is when a company pays developers a bonus for every software bug they fix. Instead of writing cleaner code, developers might intentionally write buggy code just so they can "find" and fix the bugs to collect the payout.
How do you prevent the Cobra Effect? You prevent it by practicing second-order thinking. Never just ask "What will this solution do?" Always ask "How will the people in the system adapt or exploit this new rule for their own benefit?"
Sources
- Siebert, H. (2001). Der Kobra-Effekt: Wie man Irrwege der Wirtschaftspolitik vermeidet. Deutsche Verlags-Anstalt. Named and defined the cobra effect with the Delhi bounty example.
- Merton, R. K. (1936). The unanticipated consequences of purposive social action. American Sociological Review, 1(6), 894–904. https://doi.org/10.2307/2084615. Foundational sociological theory of unintended consequences.
- Campbell, D. T. (1979). Assessing the impact of planned social change. Evaluation and Program Planning, 2(1), 67–90. https://doi.org/10.1016/0149-7189(79)90048-X. "Campbell's Law": the more a quantitative measure is used for social decision-making, the more it distorts.
- Goodhart, C. A. E. (1975). Problems of monetary management: The UK experience. Papers in Monetary Economics, 1. Reserve Bank of Australia. Goodhart's Law: when a measure becomes a target, it ceases to be a good measure.
- Tenner, E. (1996). Why Things Bite Back: Technology and the Revenge of Unintended Consequences. Knopf. Case studies of well-intentioned interventions creating worse problems.
Try This Next
Continue Reading
All ArticlesThe Inversion Rule: Why the World's Smartest Thinkers Plan for Failure
Most people ask how to succeed. The world's sharpest thinkers ask how to fail, then make a point of avoiding those mistakes. The inversion mental model is the framework behind Charlie Munger's billions and Carl Jacobi's mathematics. Here's why forward planning leaves dangerous blind spots, and how to reverse-engineer your way out of problems that look impossible.
The One Thinking Habit That Separates the Top 1% from Everyone Else
Most people think one step ahead. The people who keep winning in business, investing, and life think two. Second-order thinking is the skill behind Jeff Bezos's long-termism, Howard Marks's investor letters, and every decision that looks obvious in hindsight. Here's how it works and how to make it automatic.
False Dilemmas: How to Escape Binary Thinking and Find the Third Option
Most hard decisions arrive framed as A or B. Here's how to spot a false dilemma, find the assumption both options share, and uncover the third option the frame left out.