Re-Quest Search

HISHistory and Geography

The Code of Hammurabi: Text, Translations and Teaching Sources

What the Code of Hammurabi says, how its stele was found at Susa in 1901, which free translations to use, and how to teach it beyond 'an eye for an eye.'

Published 6 min readBy Re-Quest

Top of the black basalt Hammurabi stele, carved with a seated god facing a standing king above cuneiform text
The Code of Hammurabi stele (Louvre, Sb 8), photographed at the Musée du Louvre in Paris. Image: Fred Romero from Paris, France, CC BY 2.0

Most students meet the Code of Hammurabi as a single slogan: "an eye for an eye." Suppose your class is asked to decide whether the code was fair. If all you have is the slogan, the answer seems easy. Read a few dozen of the laws themselves and the question gets far more interesting, because the punishment for the same injury depended on who was hurt and who did the hurting.

This page explains what the code is, how its most famous copy was found, which free translations you can read today and how they differ, and how teachers can use the text to build historical thinking rather than repeat a cliché.

What the code is

Hammurabi ruled Babylon in southern Mesopotamia, in present-day Iraq, from about 1792 to 1750 BCE (the dates the Louvre uses). Over his reign he turned Babylon from a minor city into the center of a large kingdom. Late in that reign he had a collection of laws inscribed on stone monuments, written in the Akkadian language in cuneiform script.

The text has three parts:

  • A prologue, in which Hammurabi lists the gods who chose him and the cities he cared for, presenting himself as a king appointed to bring justice so that the strong would not oppress the weak.
  • The laws, about 282 of them as numbered by modern editors, each in the form "if someone does this, then this follows." They cover false accusation, theft, property, trade and debt, farming and irrigation, marriage, divorce and inheritance, adoption, assault, medical and building work, wages and the hire of animals.
  • An epilogue, which praises the king's justice and calls down curses on any future ruler who alters or destroys the monument.

Hammurabi's laws were not the first. Earlier Sumerian collections such as the Laws of Ur-Nammu and the Laws of Lipit-Ishtar follow a similar pattern of prologue, laws and epilogue. What makes Hammurabi's code famous is its length and the survival of an almost complete monument.

The stele: how it was found

The best-known copy is a polished basalt stele about 2.25 meters (just over 7 feet) tall, now in the Louvre in Paris. At the top, a carved relief shows Hammurabi standing before Shamash, the sun god and god of justice. Below, the laws run in columns around the stone.

The stele was not found in Babylon. A French archaeological expedition led by Jacques de Morgan uncovered it in 1901 and 1902 at Susa, in what is now southwestern Iran. Scholars believe it was carried there as war booty, probably by an Elamite king in the twelfth century BCE, centuries after Hammurabi's death. Several columns on the front were deliberately erased in antiquity, perhaps to make room for an inscription that was never carved. Many clay-tablet copies of the laws, some made long after Hammurabi's time, have since filled in much of the missing text, a sign that scribes kept copying the code as a model of legal writing for generations.

Reading it: free translations compared

The code has been translated many times. Older translations are free online; newer scholarly ones are usually in print.

TranslationWhere to read itThings to know
L. W. King (1910)Avalon Project at Yale; Fordham's Ancient History Sourcebook; World History CommonsThe most widely reproduced free English text. King's numbering skips laws 66 to 99, the erased section, and his wording reflects early twentieth-century scholarship.
Robert Francis Harper (1904)Internet Archive scan; Wikisource transcriptionIncludes the cuneiform text, transliteration and a glossary. Its title dates Hammurabi to "about 2250 B.C.," an estimate later revised by centuries.
Modern scholarly translationsUniversity and public librariesRecent translations use current readings of the Akkadian and fill gaps from tablet copies. Ask a librarian for a recent edition if you need precise wording.

Comparing two versions of the same law is a useful exercise in itself. King renders one social class as "freed man"; many modern translators use "commoner" for the same Akkadian term. The difference matters when you are deciding what the laws say about society.

Tip: Fordham's Sourcebook page also reproduces commentary from 1910 and 1915. Read it as a historical document about how early twentieth-century writers saw Babylon, not as current scholarship.

Teaching beyond "an eye for an eye"

In King's translation, law 196 reads: "If a man put out the eye of another man, his eye shall be put out." The next laws change the picture. If the victim was a member of a lower class, the penalty was a payment in silver or gold; if the victim was someone's slave, the offender paid part of the slave's value to the owner. The famous principle of retaliation applied among social equals, and the code as a whole sorts people into ranks with different protections.

A few other features that make good discussion material:

  • Professional liability. A builder whose house collapses and kills the owner faces death; a surgeon's fees and penalties depend on the patient's status.
  • Economic detail. Many laws fix wages, prices and rental rates, including compensation for injuring a hired ox, valued as a fraction of the animal's worth.
  • Procedure and evidence. The code opens with laws against false accusation and requires witnesses and written contracts in many transactions.
  • Real practice versus ideal. Historians debate how far courts actually applied these laws. Surviving court records seldom cite the code, which suggests it may have been as much a royal statement of justice as a working rulebook.

Try it: Read laws 195 to 214 in two translations. Make a table with three columns: the offense, the victim's status, and the penalty. Then write two sentences answering: was the code "fair," and fair by whose standards?

The Digital Inquiry Group's free lesson uses the code to examine religious, economic and social life in Babylonia, and it pairs well with the Louvre's object record and an image of the stele. For a wider survey of early legal texts, see ancient law codes from Ur-Nammu to Justinian and our guide to teaching with primary sources. The primary, secondary and tertiary sources guide explains how a translation fits into that scheme.

Sources

  1. Code de Hammurabi (SB 8), Musée du Louvre
  2. The Code of Hammurabi, translated by L. W. King, The Avalon Project, Yale Law School
  3. Ancient History Sourcebook: Code of Hammurabi, c. 1780 BCE, Internet History Sourcebooks Project, Fordham University
  4. Hammurabi's Code (lesson plan), Digital Inquiry Group
  5. The Code of Hammurabi, King of Babylon (Harper, 1904), Internet Archive (University of Toronto copy)