Hammurabi's Code: The 3,800-Year-Old Skin in the Game Rule

Hammurabi was king of Babylon. His code, carved into stone around 1750 BC, is one of the oldest known legal documents.

Most of it is what you'd expect: rules about theft, property disputes, compensation for injury. But one rule is extraordinary because it solves a problem we think is modern:

"If a builder builds a house for someone and does not construct it properly, and the house collapses and causes the death of the owner, then the builder shall be put to death."

That's it. No building inspectors. No safety codes. No licensing board. No regulatory agency. One rule: the builder bears the consequence of their own work.

The elegance is total. The builder cannot hide behind credentials. They cannot distribute blame across subcontractors and inspectors. They cannot claim the regulation was too strict or the standard was ambiguous. They know, with absolute clarity, that their life depends on the building's integrity.

The result: the building gets built right.


The Logic

Here's why this works:

A builder has information that no inspector can see. They know whether the foundation is solid. They know whether corners are being cut. They know whether the materials are good.

An external inspector can check things. But an inspector working 8 hours cannot see what the builder knows from months of immersion in the work.

Hammurabi's solution: make the builder's safety the guarantee. The builder's attention to quality is now enforced by something more powerful than any rule: self-interest.

The builder will not use substandard materials because those materials might kill them. They will not take shortcuts because those shortcuts might collapse. They will not distribute responsibility because there is nowhere to distribute it.

This is skin in the game as a complete system.


The Roman Extension

The Romans built on this principle when building infrastructure.

Engineers who designed bridges were required to stand under them with their families when the first military formations crossed. The stakes were maximum. The engineer's family stood with them — meaning the engineer's children were at risk.

Does this produce careful engineering? Yes. Roman bridges still stand, 2,000 years later. Some are still used as roads.

Modern bridges built by engineers with no personal stake sometimes fail. When they do, the engineer is protected by liability insurance, corporate structure, and the diffusion of responsibility across committees.

The evidence is stark: when the engineer bears the consequence, the bridge is built right.


Why Modern Systems Removed This

Modern civilization rejected Hammurabi's approach because it seems harsh. Putting a builder to death for a construction failure feels medieval. Why not instead use safety codes, inspections, and lawsuits?

Because those systems are worse.

Here's why they fail:

Regulation creates adversarial relationships. The builder and the inspector are opposed. The builder wants to minimize cost; the inspector wants to maximize compliance. They're fighting. This produces either under-enforcement (when the inspector is corrupted) or over-building (when the code is written by people maximizing their own authority).

Regulation shifts focus to compliance, not quality. The builder's job is now to comply with the code, not to build well. If the code misses something, the building is built wrongly but the builder is compliant.

Liability insurance severs the connection. When liability can be transferred to an insurance company, the builder no longer bears the consequence. The builder is incentivized to transfer risk rather than eliminate it.

Responsibility gets diffused. Multiple inspectors, multiple departments, multiple sign-offs. Who was responsible? Everyone and no one.

Hammurabi's system had none of these problems. The builder was responsible for one thing: the building. And the consequences were unambiguous.


The Modern Problem This Reveals

We think we've replaced Hammurabi's approach with something better: sophisticated regulation, professional licensing, liability frameworks, insurance.

But we've actually replaced a system that enforced accountability with a system that distributes it.

The builder under Hammurabi had maximum accountability. The modern builder has minimum accountability — they're in compliance with code, they have insurance, and the inspectors approved it. If something goes wrong, it's not the builder's fault. It's the inspector's fault or the code's fault or the insurance company's fault.

Nobody is responsible. Everyone is safe. And the actual quality of what gets built is worse.

The same problem appears everywhere we've replaced skin-in-the-game with regulation:

Banks: Before deposit insurance, bankers had to be extremely careful because their own capital was at risk. After deposit insurance, bankers could take risks because the government backed their deposits. The risk-taking increased and the financial crisis followed.

Medicine: Before malpractice insurance, doctors bore the consequence of errors. After insurance, the consequence became an insurance claim rather than personal responsibility. The incentive to be careful decreased.

Government policy: Politicians who propose policies don't live with the consequences. They're immune to the harm they cause. A policy that seems good on paper but produces suffering doesn't cost the politician anything.


The Deeper Point

The Hammurabi principle is more powerful than any regulation because it doesn't require external enforcement. The builder doesn't need to be watched. They're not going to cut corners because cutting corners might kill them.

This is self-regulation through alignment of incentive.

Modern regulation is based on the assumption that people need external oversight to do the right thing. So we create rules, inspectors, penalties. But the rules are always one step behind — they regulate yesterday's problems, not tomorrow's innovations.

Hammurabi's system is based on the assumption that when the consequence is clear, people will naturally do the right thing.

And the historical record suggests he was right.


What This Means

You can't apply the death penalty to modern builders. But you can apply the principle: the person who makes decisions about quality should bear the consequences of those decisions.

The doctor should live with the medications they prescribe. The policy maker should live with the policies they propose. The banker should risk their own capital on the investments they recommend.

When these conditions are met, the quality of work improves without any regulatory oversight. When they're violated, quality deteriorates no matter how much regulation exists.

Hammurabi understood this 3,800 years ago. Modern systems forgot it. The question isn't how to create better regulations. It's how to restructure incentives so that regulations aren't necessary.