The Code of Hammurabi

At a glance
- Made
- c. 1754 BC, late in the reign of Hammurabi of Babylon (r. c. 1792–1750 BC, middle chronology)
- Maker
- Hammurabi, sixth king of the First Dynasty of Babylon
- Object
- A stele of black basalt, 2.25 m high, rounded at the top, with a relief above and the text in columns all around
- Contents
- A prologue, about 282 laws (the numbering is modern) and an epilogue, in about 4,000 lines
- Language and script
- Old Babylonian Akkadian, in cuneiform signs carved in an archaic monumental style
- Found
- Susa, Iran, December 1901 – January 1902, by the French mission of Jacques de Morgan
- First edition
- Jean-Vincent Scheil, Mémoires de la Délégation en Perse, vol. IV (Paris, 1902), with a French translation
- Now
- Musée du Louvre, Paris, Department of Near Eastern Antiquities, Sb 8
What is the Code of Hammurabi?
The Code of Hammurabi is a collection of laws issued by Hammurabi, king of Babylon, in the eighteenth century BC. Its fullest copy is carved on a tall pillar of black basalt now in the Louvre. The text names the king, sets out about 282 rulings on cases of ordinary life — theft, trade, farming, debt, marriage, inheritance, injury, the hire of workers and boats — and closes with a long curse on any later ruler who changes his words.
It is not the oldest law collection: the laws of Ur-Namma of Ur are some three centuries earlier, and Lipit-Ishtar of Isin and the city of Eshnunna also left laws. But it is by far the longest and best preserved, and it was copied and studied in Mesopotamia for more than a thousand years after Hammurabi’s death.
Who made it, and when?
Hammurabi ruled Babylon for about forty-two years, from about 1792 to 1750 BC. For most of his reign Babylon was one kingdom among several; in his last decade he defeated Larsa, Eshnunna and Mari and united southern Mesopotamia under one crown. The prologue lists the cities he had conquered and cared for, which dates the text to the end of his reign, about 1754 BC.
Steles with the laws were set up in temples so that, in the king’s words, any man with a case could come before his image and “read the inscription and understand his case.” The Louvre stele probably stood in the temple of the sun god Shamash at Sippar. Some six hundred years later, about 1158 BC, the Elamite king Shutruk-Nahhunte raided Babylonia and carried it to his capital, Susa, as a trophy. Several columns on its front were rubbed smooth, probably to receive his own inscription, which was never carved.
What does the stele look like?
The stone is about 2.25 metres tall and nearly two metres round at the base. At the top a relief shows the king standing with his right hand raised before a seated god — Shamash, god of the sun and of justice, with flames rising from his shoulders, holding the rod and ring that stand for rightful rule. Below, the text runs in horizontal bands around the whole pillar: the prologue and the first laws on the front, the rest and the epilogue on the back.
The signs are in an old-fashioned monumental form and read in vertical columns, as royal inscriptions of the time were laid out. About 34 laws in the erased columns are lost on the stele; scholars have restored many of them from clay tablet copies found at Nippur, Sippar, Nineveh and elsewhere.
What do the laws say?
Each law is a single case in the form “if a man does this, then that shall be done.” The first deal with false accusation and with judges who change their verdicts; then come theft and the receiving of stolen goods, soldiers and their land, fields, orchards and canals, merchants and their agents, taverns, deposits and debts, marriage, divorce, adoption and inheritance, and finally injuries, doctors, builders, boatmen, the hire of oxen and labourers, and the sale of slaves.
The most quoted are the laws of retaliation: “If a man has put out the eye of a free man, they shall put out his eye” (law 196), and “If he has broken a free man’s bone, they shall break his bone” (law 197). Punishment depended on rank: the same injury to a commoner was paid in silver, and to a slave by half his price. A builder whose house fell and killed its owner was to be put to death. Fixed wages and fees appear throughout — for a surgeon, a herdsman, a hired boat — which makes the code a source for prices and daily life as well as for law.
Was it really a law code?
Modern scholars debate what the text was for. No surviving court record of Hammurabi’s time cites it, and judges went on deciding cases by custom and royal instruction. Many specialists read it as a royal statement of justice — a model of wise verdicts set up to show the gods and later kings that Hammurabi had been, as the epilogue says, a “king of justice” who kept the strong from oppressing the weak.
Its form, though, became the standard for law in the ancient Near East. Laws of the same “if … then” type appear in later Assyrian and Hittite collections, and some cases are close to those of the Book of the Covenant in Exodus. The principle of measured retaliation — an eye for an eye — is older than the Bible and is first written down here.
How was it found and first published?
The French archaeological mission working at Susa under Jacques de Morgan found the stele on the acropolis mound in three large pieces, in December 1901 and January 1902. It was shipped to Paris and joined to stand complete in the Louvre. The Dominican Assyriologist Jean-Vincent Scheil published the cuneiform text, a transliteration and a French translation in the fourth volume of the Mémoires de la Délégation en Perse in 1902, only months after the discovery.
Translations followed at once: German by Hugo Winckler (1902), English by C. H. W. Johns (1903) and Robert Francis Harper, whose 1904 edition printed photographs of the stone. The standard modern English translation is Martha T. Roth’s, in Law Collections from Mesopotamia and Asia Minor. It belongs to the world of Chapter I of Sumeru Chess, the Age of Myths & Kings.
Where can you see it?
The stele stands in the Louvre, Paris, in the galleries of Near Eastern Antiquities (Sb 8). Fragments of at least two other steles with the same text were found at Susa and are also in the Louvre. Casts of the stone are shown in many museums and universities around the world, among them the collection of ancient Near Eastern studies at the University of Münster.




Sources and further reading
- Jean-Vincent Scheil, “Code des lois (droit privé) de Ḫammurabi, roi de Babylone, vers l’an 2000 av. J.-C.,” Mémoires de la Délégation en Perse, vol. IV (Paris: Ernest Leroux, 1902).
- Robert Francis Harper, The Code of Hammurabi, King of Babylon, about 2250 B.C. (Chicago: University of Chicago Press, 1904).
- G. R. Driver and John C. Miles, The Babylonian Laws, 2 vols. (Oxford: Clarendon Press, 1952–55).
- Martha T. Roth, Law Collections from Mesopotamia and Asia Minor, 2nd ed. (Atlanta: Scholars Press, 1997).
- Marc Van De Mieroop, King Hammurabi of Babylon: A Biography (Oxford: Blackwell, 2005).