Code of Hammurabi
The Code of Hammurabi is a Babylonian royal inscription of 282 surviving legal judgments, produced near the end of King Hammurabi's reign in the 18th century BCE. Engraved on a monumental stone stele, its conditional rulings cover matters such as family, property, trade and labor. The monument combined legal examples with a statement of royal responsibility for justice; it is among the best-preserved sources for ancient Mesopotamian law, but was not the region's first law collection or a modern statute book.
A Babylonian royal inscription
Hammurabi ruled Babylon from about 1792 to 1750 BCE, according to the chronology commonly used in modern reference works. Toward the end of his reign, legal decisions associated with his rule were gathered and inscribed on a large stone stele, probably around 1750 BCE. The monument was set up in Babylon's temple of Marduk, the city's chief god. Its text preserves 282 judgments arranged as cases rather than a modern, exhaustive statute book. Earlier Mesopotamian law collections existed: the Code of Ur-Nammu, for example, predates Hammurabi by several centuries.
Justice and kingship
A carved scene at the top of the stele shows Hammurabi before Shamash, the sun god associated with justice. The image and the inscription present justice as a royal duty grounded in divine authority. The text's prologue and epilogue frame the rulings as part of Hammurabi's account of his kingship, not simply as a neutral handbook for judges. Yale Assyriologist Kathryn E. Slanski has argued that the monument's words and imagery also served a public and commemorative purpose: they made a visible claim about the king's commitment to just rule. What the stele meant to different audiences, and how directly its judgments were applied in individual cases, remain matters for historical interpretation.
Removal to Susa and rediscovery
Centuries after it was made, the stele was taken from Babylonia to Susa, in present-day Iran, as war booty by the Elamite king Shutruk-Nahhunte. French excavations found it at Susa at the beginning of the 20th century. Sources differ on the exact year of discovery: the Louvre gives 1902, while Britannica and other histories give 1901. The Louvre has displayed the stele since 1904. Because it preserves a substantial collection of legal judgments alongside royal imagery, it remains a central source for studying Babylonian law and ideas about kingship—not proof that its rules were the first laws or the only laws used in daily life.
Key facts
- Ruler
- Hammurabi, king of Babylon, whose reign is commonly dated to about 1792–1750 BCE.
- Contents
- The stele preserves 282 legal judgments on topics including family, property, trade and labor.
- Form
- Conditional case rulings inscribed on a monumental stone stele; not a modern comprehensive statute book.
- Earlier legal collections
- The Code of Ur-Nammu predates Hammurabi's collection by several centuries.
- Current location
- The stele has been displayed at the Louvre in Paris since 1904.
Timeline
About 1750 BCE
Near the end of Hammurabi's reign, his legal decisions are collected and inscribed on a stele.
About the 12th century BCE
Elamite ruler Shutruk-Nahhunte carries the stele to Susa as war booty.
1901–1902
French excavations uncover the stele at Susa; sources differ on whether the discovery occurred in 1901 or 1902.
1904
The stele goes on display at the Louvre in Paris.
Ask about this article
Answers use only “Code of Hammurabi” and its references, with citations.
References
- 1.The Code of Hammurabi
Musée du Louvre · other · reliability: high · retrieved 19 October 2026
Supports: Museum account of the stele, its 282 surviving judgments, themes, imagery, removal to Susa and display in Paris.
- 2.Code of Hammurabi Summary & History
Encyclopaedia Britannica · other · reliability: high · retrieved 19 October 2026
Supports: Overview of Hammurabi's reign, the collection of 282 case laws, legal subjects, status-dependent penalties, and the stele's discovery and location.
- 3.The Code of Hammurabi
The Avalon Project, Lillian Goldman Law Library, Yale Law School · other · reliability: high · retrieved 19 October 2026
Supports: A searchable English translation of the inscription, translated by L. W. King, including its prologue, rulings and epilogue.
- 4.The Law of Hammurabi and Its Audience
Yale Law School Open Scholarship Repository · other · reliability: high · retrieved 19 October 2026
Supports: Academic study by Assyriologist Kathryn E. Slanski interpreting the stele's public, visual and commemorative functions.
- 5.Code of Hammurabi: The Most Influential Law Code of the Ancient World
World History Encyclopedia · other · reliability: high · retrieved 19 October 2026
Supports: Historical overview noting that Hammurabi's collection was not the first Mesopotamian law code and describing the Code of Ur-Nammu as an earlier example.
References are suggested by the research engine and may be incomplete. Unverified URLs are omitted rather than guessed.
Article history
- Version 119 October 2026 · EditorCreated by Zapia