In the late 1800s, colonial Delhi had a venomous problem. Cobras were multiplying across the city, and British administrators wanted them gone. Their solution looked simple on paper: pay a bounty for every dead cobra handed in.More kills, they assumed, meant fewer snakes and a safer city.
At first, the logic seemed sound. Incentives drive behavior – that part of the plan worked exactly as intended. Residents began turning in dead cobras for cash, and officials had every reason to believe the problem was shrinking.
It wasn’t.
When the Market Gets Smarter Than the Policy
Enterprising Delhi residents quickly noticed something the British hadn’t accounted for: hunting wild cobras was slow, dangerous work, but breeding them was not. Instead of tracking snakes through the streets, locals built cobra farms and bred the animals by the thousands, killing them on demand to collect the reward.
As one account from The Juggernaut puts it, savvy Indians built cobra farms so they could have a constant supply of snakes to kill and redeem for money. Dead snakes became a steady income stream, and what looked like pest control quietly turned into a small industry. Medium
The Collapse
Eventually, British officials caught on. Bounty payouts were climbing far faster than made sense for a shrinking wild population, and an investigation revealed the farms. Furious at being outmaneuvered, the administration scrapped the program immediately.
That’s when the real damage happened. With the bounty gone, the farmed cobras were suddenly worthless – and expensive to keep. Breeders did the only thing that made economic sense: they released every snake they owned onto the streets of Delhi. The city reportedly ended up with far more cobras than before the program ever began.
“The government wasted tons of cash, only to end up with a much bigger problem,” notes entrepreneur and author Josh Linkner, summarizing the episode’s central irony.
Fact or Folklore?
Here’s the twist most retellings leave out: historians increasingly question whether this exact story is true. The phrase “Cobra Effect” itself wasn’t coined until 2001, by German economist Horst Siebert, and researchers at the Friends of Snakes Society have dug into colonial-era Bengal bounty records that tell a messier, less dramatic story – one where reward programs mostly just failed to attract participants, rather than triggering a cobra-farming boom.
Whether the Delhi version happened exactly as told or not, it survived because it captures something real and observable: badly designed incentives don’t just fail quietly, they can actively make the underlying problem worse.
A Pattern With a Name
Decades later, economist Charles Goodhart described the same phenomenon in modern terms: when a measure becomes a target, it stops being a good measure. Call it Goodhart’s Law, and you’ll start seeing the cobra pattern everywhere in 2026:
- Call centers that pay managers by call volume get calls placed, but customers left unhelped
- Programmers paid per line of code write longer code, not better code
- Schools graded on test scores end up teaching the test, not the subject
- Hospitals measured on protocol compliance can end up treating the paperwork instead of the patient
Even ancient Rome ran into it. Late Roman emperors paid barbarian mercenaries to guard imperial borders – and those same mercenaries later opened the gates to whichever invader offered more gold. Loyalty bought with money evaporates the moment a better offer shows up.
The Real Lesson
The cobra story, real in its details or not, endures because it forces an uncomfortable question onto anyone designing a reward system – a manager, a policymaker, a parent, a platform. You can measure behavior. You can pay for outcomes. But every system built purely on external rewards eventually gets reverse-engineered by the people inside it.
The question worth asking before launching the next incentive program isn’t “will this work?” It’s this: am I rewarding the outcome I actually want, or just paying people to be clever about gaming the number?