← Back to Paradoxes

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

1
Problem Identified
2
Bounty Announced
3
Initial Success
4
Exploitation
5
Cancellation
6
Backfire!
Wild Population
30
Bred for Bounty
0
Bounties Paid
$0
Phase 1: The Problem
The city has a cobra infestation. Officials consider solutions.
🐍 The Cobra Effect!
The bounty program was cancelled, but breeders released their snakes.
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.

⚠️ Historical Note

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

🐀
The Great Hanoi Rat Massacre
Vietnam, 1902
Problem
Rats infesting French colonial Hanoi's new sewer system
Solution
Pay 1 cent per rat tail brought to officials
Result
People cut tails off live rats and released them to breed more. Rat farms appeared outside the city.
🐗
Fort Benning Feral Pigs
Georgia, USA, 2007-2008
Problem
Feral pigs damaging the Army base
Solution
$40 bounty for each pig tail
Result
Hunters imported pigs from other areas. Population increased during the program.
🏦
Wells Fargo Accounts
USA, 2002-2016
Goal
Increase customer engagement with bank products
Solution
Incentivize employees to open more accounts
Result
Employees opened 3.5 million fake accounts without customer consent. CEO resigned.
🌍
UN Carbon Credits
Global, 2005+
Goal
Reduce greenhouse gas emissions
Solution
Pay companies to destroy pollutant HFC-23
Result
Companies increased production of refrigerant HCFC-22 specifically to create more HFC-23 to destroy for credits.

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:

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

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.

Sources & Further Reading