Understand in about 5 minutes

The Code of Hammurabi

by King Hammurabi, translated by C. H. W. Johns

A Babylonian king sets down a long list of case laws, fixing penalties for theft, assault, trade, marriage, and professional failure, and so leaves one of the earliest written attempts to bind a whole society to a single public standard of right.

HistoryLeadershipConflictEconomicsCharacter

Idea map

The book in 4 ideas

The Code of Hammurabi A king's attempt to bind a whole society to one fixed, public, written standard of justice.
  • Law Made Public

    The Code carves judgments into stone so the standard of right stands outside ruler and judge.
    • Proof and Ordeal The law cares who can prove what.
    • Binding the Judge Even the judge is bound by the rule.
  • Persons and Bodies

    Rulings on assault and injury, answering harm with a matched or priced penalty.
    • An Eye for an Eye Like for like among equals.
    • Liability of Trades Workers answer for their results.
  • Property and Trade

    The bulk of the Code: rules for land, water, loans, wages, and goods.
    • Theft and Restitution Stolen goods repaid many times over.
    • Land and Water Negligence with water carries a price.
  • Rank and Household

    Family law and the layered order of gentleman, poor man, and slave.
    • Three Standings The same act, three different prices.
    • Marriage and Family The household governed by written rule.

Mental models

3 ways of thinking you can use

The If-Then Ruling

Treat a hard situation as a case with a stated condition and a stated consequence, the way each section of the Code does, instead of arguing it from scratch each time.

How it helps

It turns disputes into lookups against a known rule, making outcomes more predictable and harder to bend to the will of whoever holds power at the moment.

The Price of an Act

Every wrong in the Code carries a named cost, whether a multiple of the goods, a sum of silver, or a bodily penalty. The act is weighed by what it must repay.

How it helps

It frames responsibility as a balance to be settled rather than a feeling, clarifying in advance what a given choice will exact.

Judged by Results

The Code holds workers to outcomes. The builder whose house falls and kills is punished for the death, regardless of how the work was meant.

How it helps

It is a stark reminder that in many roles others are protected by consequences, not excuses, and that competence is a duty the law can enforce.

Summary

The essence in plain English

The Code of Hammurabi is a collection of laws set down by a king who ruled Babylonia, over the land between the Tigris and Euphrates, in the early second millennium B.C. In Johns's translation it survives as a sequence of nearly three hundred numbered rulings, each a short statement of a case and the penalty that follows. The introduction explains that the laws were carved on a tall block of black diorite, topped by a carving of the king receiving his laws from the sun-god, and were recovered not in Babylonia but at Susa, where a conqueror had carried the stone away.

The body of the Code reads as a long string of conditions. Most rulings open with 'If a man' and then name an act and its result. The early sections deal with false accusation, witchcraft tested by the river ordeal, theft from temple and palace, and the receiving of stolen goods. A man who cannot prove his charge may die in place of the accused, and a judge who alters a sealed verdict is fined many times over and driven from his seat. The standard is procedural as much as moral: the law cares who can prove what.

Much of the Code governs ordinary economic life. It sets rules for hired fields and orchards, for canals and the floods a careless owner may loose on a neighbour, for loans, deposits, wages, and the price of an ox or a boat. Trade and tenancy are written out in detail because most disputes in this society were about land, grain, silver, and labor. The laws treat property carefully and assign loss to whoever caused it.

Family and rank run through the whole document. There are laws on marriage contracts, dowries, adoption, inheritance, and the standing of wives, children, and slaves. The penalties are openly unequal: an offense against a gentleman, a poor man, or a slave is priced differently, and the famous talion rulings, an eye for an eye and a limb for a limb, apply between equals while the same harm to a lesser person is paid in metal. The Code preserves a layered order and writes that order into its sentences.

What makes the Code matter is less any single law than the fact of the whole. Here a ruler tries to gather the judgments of his age into one fixed, public, written standard, binding professionals to their results and matching consequences to acts. The penalties are harsh and the world unequal, but the underlying ambition, that justice should rest on a known rule rather than on the will of the moment, is one of the oldest and most consequential ideas in the record of human government.

Key concepts

Terms to know

Case Law in If-Then Form
Nearly every ruling states a specific situation and then the penalty it draws, rather than stating a general principle. The Code teaches by enumerated cases, not by abstract rules.
Why it matters: It shows an early way of making law concrete and predictable: a person could look up the kind of act in question and learn its consequence in advance.
Penalties Graded by Rank
The cost of an offense depends on the social standing of the victim. The same injury is answered in kind for a gentleman, in silver for a poor man, and by a fraction of his value for a slave.
Why it matters: It records, in plain legal terms, a stratified society and shows how law can encode inequality while still claiming to deliver justice.
Liability for One's Work
Builders, doctors, boatmen, and herdsmen answer for the results of their labor. A collapsed house or a fatal operation carries a fixed and serious penalty on the worker.
Why it matters: It is an early form of accountability for competence and safety, tying a trade's rewards to responsibility for the harm it can cause.

Selected Quotes

Short passages from the source

If a builder has built a house for a man and has not made strong his work, and the house he built has fallen, and he has caused the death of the owner of the house, that builder shall be put to death.
King Hammurabi, The Code of Hammurabi
If a man has caused the loss of a gentleman's eye, his eye one shall cause to be lost.
King Hammurabi, The Code of Hammurabi
If he has caused a poor man to lose his eye or shattered a poor man's limb, he shall pay one mina of silver.
King Hammurabi, The Code of Hammurabi

Source

Text used for this page

Source text: Project Gutenberg edition of The Oldest Code of Laws in the World, translated by C. H. W. Johns.

HTML text: https://www.gutenberg.org/cache/epub/17150/pg17150.txt

Project Gutenberg states that this ebook is for the use of anyone anywhere in the United States and most other parts of the world at no cost and with almost no restrictions whatsoever.

The Babylonian code dates from the early second millennium B.C.; this translation by C. H. W. Johns was published in 1903 from the 1903 T. & T. Clark edition.