The king and the stone
Hammurabi ruled the city of Babylon, in what is now central Iraq, from around 1792 to 1750 BC. Through war and diplomacy he united much of Mesopotamia under his control. Late in his reign he had his laws inscribed on stone monuments called stelae. The best preserved is a basalt pillar about 2.25 metres tall, now in the Louvre in Paris. At its top, a carved scene shows the king standing before Shamash, the sun god and god of justice. Below, columns of cuneiform text in the Akkadian language run around the stone, with a prologue, the laws themselves and an epilogue.
How the laws are written
The laws are not a set of general principles. They follow a pattern: if a person does something, then a certain consequence follows. For example, if someone accuses another of murder but cannot prove it, the accuser is put to death. If a builder makes a house that collapses and kills its owner, the builder is executed. The laws cover a wide range of everyday life, including theft, debt, wages, renting oxen and boats, irrigation, marriage, divorce, adoption, inheritance and medical fees. Modern scholars number them at about 282, though a section of the stone was erased in antiquity and some laws are known only from clay copies.
An eye for an eye, for some
The code is famous for retaliation in kind, but that applied only between equals. Society was divided into three main ranks: the awilum, a free person of the upper class; the mushkenum, a commoner of lower standing; and the wardum, an enslaved person. If one awilum blinded another, his own eye was to be put out. If he blinded a commoner, he paid a mina of silver instead. If he blinded an enslaved person, he paid half of that person’s value to the owner. Medical fees followed the same logic: a surgeon was paid 10 shekels for treating an awilum, 5 for a commoner and 2 for an enslaved person.
Why put laws in public?
The epilogue explains the purpose. Hammurabi says the laws were set up so that the strong should not oppress the weak, and that a wronged man should come before the stele, have the inscription read aloud and understand his case. Few people could read cuneiform, so this was partly symbolic. A public monument advertised the king as a just ruler chosen by the gods, a role Mesopotamian kings had long claimed. Stelae were probably set up in several cities. The Louvre’s stele was carried off as war booty to Susa, in south-western Iran, by an Elamite king in the twelfth century BC, where French archaeologists found it in 1901.
Not the first, and maybe not a rulebook
Hammurabi’s laws are often called the first law code, but they were not. Earlier collections survive, notably the laws of Ur-Nammu of Ur from around 2100 BC and those of Lipit-Ishtar of Isin. Hammurabi’s is simply the longest and best preserved. Historians also debate how the code was used. Thousands of legal and business documents survive from Babylonian courts, yet they rarely cite the stele’s laws directly. Many scholars think the code worked less like a modern statute book and more like a collection of model judgments, showing how a wise king would decide cases, while judges continued to rely on custom and their own discretion.
Why it still matters
The code is one of the clearest windows into daily life in ancient Mesopotamia. Its rules on loans, interest, wages and rents show a complex commercial economy. Its laws on family and inheritance reveal the position of women, who could own property and run businesses in some circumstances but were also subject to harsh penalties. The text was copied by scribes for more than a thousand years, so it became a classic of Mesopotamian literature as well as law. For modern readers, it raises lasting questions: whether law should apply equally to everyone, and why rulers so often wish to be seen as the guardians of justice.
Sources & further reading
Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.



