The Code of Hammurabi: What Ancient Babylon’s Famous Laws Really Said
Nearly 3,800 years ago, a Babylonian king ordered hundreds of legal judgments carved onto a towering black stone monument.
The text dealt with debts, marriages, wages, theft, farming, property disputes, medical errors, slavery, business contracts and violent crime.
Some punishments were financial.
Others were horrifyingly physical.
A builder whose badly constructed house killed its owner could be put to death. A surgeon who caused catastrophic harm to a high-status patient could lose his hands. Injuring another person could sometimes result in the same injury being inflicted on the offender.
From this world came one of history's most famous legal principles:
“An eye for an eye.”
The monument is known today as the Code of Hammurabi, named for Hammurabi, king of Babylon.
It is one of the best-preserved and most important legal texts from the ancient Near East.
But almost everything commonly repeated about it needs some qualification.
It was not humanity's first law code.
Its laws did not apply equally to everyone.
“An eye for an eye” was not simply a license for revenge.
And many historians hesitate even to call the text a “code” in the modern sense.
The Louvre, where the famous stele is displayed today, describes it instead as an extensive collection of legal judgments or jurisprudence covering major areas of Babylonian society. It contains 282 surviving legal decisions and was engraved around 1750 BCE.
What makes the Code of Hammurabi extraordinary is not that it invented law.
It is that it allows us to hear, with unusual clarity, how one of the world's earliest complex urban civilizations thought about justice, authority, family, property and punishment.
And what it reveals is a society both surprisingly sophisticated and profoundly unequal.
Who Was Hammurabi?
Hammurabi was the sixth king of the First Dynasty of Babylon.
Using the conventional Middle Chronology, his reign is usually dated to approximately 1792–1750 BCE.
When Hammurabi inherited the throne, Babylon was important but not yet the overwhelmingly dominant power later generations would associate with the name.
Mesopotamia was divided among competing kingdoms and city-states.
Over the course of his reign, Hammurabi used diplomacy, alliances and warfare to expand his power across much of southern and central Mesopotamia.
His authority eventually extended over major cities that had long histories of their own.
But conquering territory created another problem.
How could one king present himself as the legitimate ruler of populations with different local traditions?
Military strength could seize cities.
It could not by itself create stable government.
Hammurabi's public identity therefore emphasized something beyond conquest:
justice.
The famous stele presented him not merely as a warrior king, but as a ruler authorized by the gods to maintain order and protect society.
What Exactly Is the Code of Hammurabi?
The phrase “Code of Hammurabi” makes the object sound like an ancient equivalent of a modern criminal or civil code.
That can be misleading.
The Louvre explicitly cautions that the monument is not a legal code in the modern sense. It is better understood as a large collection of legal decisions or model judgments covering recurring disputes.
The surviving text contains 282 legal provisions.
They generally follow an “if…then…” structure.
A hypothetical situation is described.
Then a judgment or consequence follows.
For example:
If a person does a certain thing, then a specified penalty applies.
This style is known as casuistic law.
Rather than beginning with abstract principles such as “everyone has a right to property,” the laws tend to address concrete scenarios.
A stolen animal.
A failed commercial transaction.
A damaged field.
An injured person.
A marriage dispute.
A collapsed house.
The collection therefore reads partly like a vast catalogue of legal problems that an ancient Babylonian court might encounter.
What Was Written on the Stele?
The famous monument contains much more than 282 numbered laws.
It has three major components.
First comes a long prologue.
Here Hammurabi describes his divine legitimacy, political achievements and mission as a just ruler.
Then comes the large body of legal judgments.
Finally comes an extensive epilogue, in which Hammurabi presents himself as a king who established justice, protected vulnerable people and created legal order.
The Yale Avalon translation preserves Hammurabi's claim that his purpose was to prevent the strong from injuring the weak and to provide justice for vulnerable people such as widows and orphans.
That language is striking.
But it should not make us imagine Babylon as an egalitarian society.
The same body of law explicitly assigned different values and punishments depending on social status.
Hammurabi could sincerely present himself as protector of the weak while governing a deeply hierarchical civilization.
The Stone Is More Than Seven Feet Tall
The best-known copy of Hammurabi's laws is monumental.
The Louvre records the stele as approximately:
225 centimeters high, 79 centimeters wide and 47 centimeters thick.
That makes it well over seven feet tall.
It was carved from dark stone, traditionally described as black basalt.
The physical scale mattered.
This was not a private legal notebook.
The monument communicated authority visually before anyone even read the inscription.
A person standing before it would encounter a massive royal object covered in tightly arranged cuneiform writing and crowned by an image connecting Hammurabi directly with divine justice.
Law was being turned into political theater.
Who Is the God Sitting Above Hammurabi?
At the top of the stele is one of the most famous images from ancient Mesopotamia.
Hammurabi stands before a seated deity.
That deity is Shamash, the Mesopotamian sun god and god associated with justice.
The Louvre identifies him through features including rays or flames emerging from his shoulders and the mountainous footrest beneath him.
Shamash presents Hammurabi with symbols of royal authority.
The Metropolitan Museum of Art describes the scene as a public declaration of Hammurabi's divinely sanctioned judicial authority.
The message is unmistakable.
Hammurabi is not claiming that justice is merely his personal preference.
His right to judge comes from the divine order.
For an ancient audience, politics, religion and law were not neatly separated institutions.
The king's authority to rule and his responsibility to administer justice belonged to the same sacred framework.
Was the Code of Hammurabi the First Law Code?
No.
This is probably the most common myth about Hammurabi.
Earlier Mesopotamian legal collections existed centuries before his reign.
The best-known example is the Code of Ur-Nammu, dating to roughly 2100–2050 BCE, several centuries before Hammurabi.
Other earlier legal traditions include the Laws of Lipit-Ishtar and the Laws of Eshnunna.
So why is Hammurabi so famous?
Several reasons.
His collection is unusually extensive.
It survives in exceptionally impressive monumental form.
Its subject matter is broad.
And the stele was rediscovered in remarkably good condition compared with many other ancient legal texts.
The Code of Hammurabi is therefore not the beginning of written law.
It is one of the most extraordinary surviving monuments from a much older Mesopotamian legal tradition.
What Does “An Eye for an Eye” Actually Mean?
Law 196 is the most famous provision in the collection.
It declares, in essence, that if one man destroys the eye of another man of comparable status, his own eye should be destroyed.
This principle is called lex talionis, or the law of retaliation.
The phrase is often interpreted as evidence of primitive brutality.
But the Louvre points out that the underlying logic was also one of proportionality.
The punishment was supposed to correspond to the injury rather than escalating without limit.
Imagine two families involved in a violent dispute.
Without a recognized legal limit, one injury could lead to revenge, then counter-revenge, and eventually a blood feud.
A rule establishing equivalent punishment could restrain escalation.
The principle was therefore harsh by modern standards while still representing an attempt to regulate retaliation.
But there is another crucial detail.
The retaliation was not applied equally across Babylonian society.
“An Eye for an Eye” Depended on Who Lost the Eye
Hammurabi's society was divided by legal status.
A severe injury inflicted on a person of equal high status could trigger equivalent physical retaliation.
But if the victim belonged to a lower social category, the punishment could instead become a financial payment.
And if the victim was an enslaved person, compensation could be calculated partly in terms of the enslaved person's economic value.
This means one of history's most famous legal principles was never a universal declaration that all people possessed equal rights.
It worked inside a hierarchical system.
The body of a socially powerful man was valued differently from the body of a lower-status person or slave.
That distinction is essential to understanding Hammurabi.
The collection attempted to create order.
It did not create equality before the law in the modern democratic sense.
Babylonian Justice Was Built Around Social Class
Scholars commonly identify several legal-status categories appearing in the laws.
The terminology and exact social meaning remain subjects of scholarly discussion, but the provisions clearly distinguish among higher-status free men, other dependent or lower-status free people, and enslaved people.
Those distinctions affected compensation and punishment.
The same physical act could therefore produce different legal consequences depending on the victim and offender.
This may feel fundamentally unjust to a modern reader.
To Hammurabi's society, however, hierarchy was part of the social order the law was designed to regulate.
The laws were not intended to overthrow the class system.
They were intended to make that system predictable.
The Code Covered Far More Than Violent Crime
The most sensational punishments receive the most attention, but much of Hammurabi's collection concerns ordinary economic and social life.
Its provisions address matters including:
- property, farming and irrigation;
- commerce, debts and loans;
- wages and professional fees;
- marriage, divorce and inheritance;
- slavery and dependent labor;
- theft, fraud and false accusations;
- bodily injury and professional negligence.
The breadth tells us something important.
Babylon was not a small tribal settlement where disputes could always be resolved informally.
It was part of a literate, urban civilization with agriculture, merchants, contracts, land ownership, skilled professions and courts.
Law had to manage an economy.
Agriculture Needed Detailed Laws
Ancient Mesopotamia depended heavily on irrigation.
The rivers of Mesopotamia made large-scale agriculture possible, but water management required canals, embankments and collective responsibility.
Carelessness could ruin not only one person's land but neighboring fields.
Hammurabi's laws therefore addressed failures to maintain irrigation infrastructure and damage caused when water flooded another person's crops.
This is a revealing example of how law develops around material conditions.
A society dependent on irrigation needs rules about irrigation.
Legal systems are shaped by the risks people actually encounter.
Debt Was a Serious Social Problem
Debt appears repeatedly in ancient Mesopotamian records.
Farmers could borrow grain or silver and then face disaster after crop failure, warfare or economic hardship.
One of the notable provisions traditionally numbered Law 117 allowed a debtor to place family members into debt service but limited that service to three years; they were to be released in the fourth.
By modern standards, allowing relatives to enter debt servitude is shocking.
Yet the time limitation also shows law intervening to restrict how long that condition could continue.
The Code repeatedly displays this strange combination:
Institutions we would consider fundamentally unjust coexist with rules designed to prevent those institutions from becoming completely unlimited.
Slavery Was Normalized, Not Abolished
Slavery was an accepted institution in Hammurabi's Babylon.
The laws regulate enslaved people as part of the social and economic system.
They address issues including:
ownership;
escape;
purchase;
injury;
marriage;
compensation.
Some provisions gave enslaved people limited legal recognition in specific circumstances.
That should not be confused with modern civil rights.
The fundamental institution remained ownership of human beings.
Hammurabi's laws tell historians much about slavery precisely because they do not question whether slavery should exist.
They assume it does.
Marriage Was Both Personal and Economic
Marriage in ancient Babylon involved family structure, property, inheritance and legal obligations.
The Code includes extensive provisions concerning:
marriage agreements;
dowries;
divorce;
adultery;
widowhood;
children;
inheritance.
Marriage was therefore not simply viewed as a private emotional relationship between two adults.
It was also an economic and legal arrangement between households.
Some laws provided protections for wives in particular situations.
Others imposed severe restrictions and punishments, especially concerning sexuality and fidelity.
The result is neither simply “women had rights” nor “women had none.”
Babylonian women could possess meaningful legal and economic interests in some circumstances while still living under strongly patriarchal structures.
Adultery Could Carry the Death Penalty
Some of Hammurabi's family laws are extraordinarily harsh by modern standards.
Adultery could result in death, including drowning, although circumstances and the decisions of husbands or rulers could affect outcomes.
Sexual behavior was treated not merely as private morality but as an issue involving household legitimacy, inheritance and social order.
Understanding that context explains the legal concern.
It does not make the punishments humane by modern standards.
The Code reminds us that sophisticated administration and brutal punishment can coexist in the same civilization.
Medical Malpractice Could Cost a Surgeon His Hands
Some of the most memorable provisions concern physicians.
If a surgeon performed a major operation on a high-status man and caused death or destroyed the patient's eye, the punishment could include cutting off the surgeon's hands.
Other cases involving lower-status victims could result in financial compensation instead.
Again, social status changed the legal outcome.
The broader principle is fascinating.
Professional work carried legal responsibility.
A physician could not simply fail catastrophically without consequence.
Modern malpractice law obviously does not amputate surgeons' hands, but the underlying question remains familiar:
What should happen when a professional's error causes serious harm?
That question was already being formally addressed nearly four millennia ago.
Builders Faced Terrifying Liability
The laws governing construction are equally famous.
If a builder constructed a house badly and it collapsed, killing the owner, the builder could be put to death.
Even more disturbing to a modern reader, if the collapse killed the owner's son, the builder's son could be killed.
This reflects a form of retaliatory justice very different from modern individual criminal responsibility.
A modern legal system generally rejects punishing a child for a parent's negligence.
But the ancient rule shows how ideas of household responsibility and equivalence could extend beyond the individual offender.
It is one of the clearest examples of why the Code should not be romanticized as a modern rights document.
False Accusations Could Be Deadly
The opening laws demonstrate how seriously Babylonian courts treated accusations and testimony.
Certain unproven accusations could lead to severe punishment for the accuser.
Perjury in serious cases could also bring death.
The Yale translation shows that the collection begins with rules concerning accusations, proof and judicial decisions.
This reveals a legal system concerned with evidence and procedure.
But it does not mean Babylon had a modern presumption of innocence or modern evidentiary protections.
One early provision even invokes an ordeal by river in certain accusations.
The accused might be required to enter the river, leaving divine judgment to determine guilt.
For Mesopotamians, supernatural justice and courtroom justice were not separate categories.
Judges Could Be Punished Too
One of the most striking laws concerns judges.
According to the traditional translation, if a judge issued a written judgment and later changed that decision because of his own fault, he could be fined heavily and permanently removed from judicial office.
That is remarkable because the law does not merely regulate ordinary subjects.
It regulates the people applying the law.
The idea that judges themselves should face consequences for misconduct is deeply recognizable today.
The specific procedure was ancient.
The institutional concern remains familiar.
Why Were So Many Punishments So Harsh?
The Code includes death, mutilation and other severe physical penalties.
Modern readers naturally interpret this as evidence of extreme cruelty.
There is no reason to sanitize that reality.
The punishments were often brutal.
But historians also ask another question:
Were all of these punishments routinely carried out exactly as written?
That is harder to answer.
The Louvre's description of the text as jurisprudence rather than a modern statutory code matters here.
The collection may have functioned partly as a monument to ideal royal justice, a set of model decisions and a display of Hammurabi's wisdom.
Thousands of surviving Mesopotamian legal and commercial documents show that actual legal practice was complex. The relation between monumental legal collections and everyday court decisions was not necessarily identical to how a modern statute book operates.
So we should not assume that every dispute automatically produced the most dramatic penalty carved on the stele.
Was the Code Displayed So Everyone Could Read the Law?
Older popular accounts often describe Hammurabi as publishing the laws so ordinary citizens could read and know their rights.
That interpretation sounds very modern.
Literacy in ancient Mesopotamia, however, was specialized.
Cuneiform writing required extensive training, and professional scribes formed an important educated class.
The monument could certainly be public without being practically readable by every passerby.
Its presence communicated something even to those unable to decipher the text:
The king was a source of justice.
The law was permanent.
The judgments were backed by divine authority.
In that sense, the stele was both legal text and political propaganda.
Hammurabi Wanted Future Kings to See Him as the Model of Justice
The epilogue is extraordinarily revealing.
Hammurabi presents himself as a righteous ruler whose decisions should guide later generations.
He invites a person with a legal grievance to encounter the monument and understand justice.
He also warns future rulers not to alter his words or damage his monument.
Then the text becomes dramatically threatening.
It invokes divine curses against anyone who destroys or corrupts the monument.
The future king who disrespects Hammurabi's legal legacy is threatened with rebellion, famine, political ruin and divine punishment.
The message is clear:
Hammurabi was not merely solving contemporary disputes.
He was constructing his legacy.
Where Was the Code of Hammurabi Found?
Surprisingly, the famous stele was not discovered in Babylon.
French archaeologists found it at Susa, in what is now Iran, during excavations in 1901–1902.
That created an obvious archaeological mystery.
Why was a Babylonian legal monument hundreds of kilometers away in an Elamite capital?
The answer is conquest.
The Stele Was Taken as War Booty
Centuries after Hammurabi's death, the stele was transported to Susa as a trophy.
The Louvre attributes its removal to the Elamite king Shutruk-Nahhunte, who reigned around 1185–1160 BCE.
This was probably not unusual behavior for ancient conquerors.
Victorious kings carried away prestigious monuments, statues and sacred objects from defeated territories.
Taking such objects was both material plunder and political symbolism.
A monument that once proclaimed Babylonian royal authority could now demonstrate that another king had conquered the people who made it.
Ironically, this act of imperial theft may have helped preserve the stele for modern archaeology.
Why Are Some Parts Missing?
Part of the inscription was erased in antiquity.
It has often been suggested that the Elamite conqueror intended to place his own inscription in the cleared space.
However, the famous monument is not our only source for Hammurabi's laws.
Other copies and fragments of the legal text have been found, helping scholars reconstruct portions missing from the Louvre stele.
The Louvre itself holds fragments of additional copies, some of which are on long-term loan to the Iraq Museum.
This tells us that Hammurabi's collection existed in more than one physical copy.
The monumental stele was part of a broader scribal tradition.
When Was the Code Rediscovered?
The Louvre collection records the major stele's discovery at Susa during 1901–1902, during French archaeological excavations associated with Jacques de Morgan's mission.
Its discovery caused enormous scholarly excitement.
Here was an extensive legal text from nearly two millennia before the Roman Empire reached its height.
The monument quickly became central to modern study of ancient Mesopotamian law.
It has been displayed at the Louvre since 1904.
Today it is one of the museum's most famous ancient Near Eastern objects.
What Language Is the Code Written In?
The inscription is written in Old Babylonian Akkadian using cuneiform script.
The Louvre identifies the language as Paleo-Babylonian and the writing system as cuneiform.
Cuneiform began centuries earlier in Mesopotamia and was written by pressing or carving wedge-shaped marks.
By Hammurabi's time, scribes used it for:
administrative records;
letters;
contracts;
literature;
royal inscriptions;
legal texts.
The Code therefore belongs to one of humanity's longest and richest written traditions.
Did Hammurabi Personally Write the Laws?
Probably not in the sense of physically composing and carving every line himself.
Ancient royal inscriptions routinely speak in the king's voice even though trained scribes and officials produced the texts.
Hammurabi is presented as the source of legal authority.
But producing such a long and technically sophisticated inscription required scribal expertise.
The text also belongs to a legal tradition older than Hammurabi.
Many underlying principles and customary practices clearly did not suddenly appear because one king invented them.
The monument should therefore be understood as Hammurabi's royal presentation and organization of Babylonian justice, not as one man's spontaneous invention of law.
Did Hammurabi Invent “An Eye for an Eye”?
No.
The idea of proportionate retaliation belongs to broader ancient Near Eastern legal traditions.
Hammurabi's monument provides one of its most famous early expressions, but the concept cannot safely be credited as his personal invention.
Similar retaliatory formulas later appear in biblical legal texts.
This has prompted enormous discussion over possible relationships among ancient Near Eastern legal traditions.
But similarities do not automatically prove that one text was directly copied from another.
Ancient societies across the region interacted over long periods, and legal concepts could emerge, circulate and change through complicated channels.
Is the Code Connected to Biblical Law?
There are notable similarities between some provisions of Hammurabi's collection and laws found in the Hebrew Bible, especially legal material in Exodus.
Both traditions include forms of proportional retaliation and laws concerning property, injury and social relationships.
Because Hammurabi's text is considerably older than the surviving biblical texts, scholars have long compared them.
But saying “the Bible copied Hammurabi” is too simplistic.
Legal traditions can share regional cultural backgrounds without one document being a line-by-line source for another.
There are also substantial differences in theology, social context and legal reasoning.
The responsible historical approach is comparison, not sensational claims of direct plagiarism.
Did Hammurabi Create Equality Before the Law?
Absolutely not.
This is another major misconception.
The Code created rules.
That is not the same as equal rules for every person.
Penalties depended on factors including:
social class;
gender;
free or enslaved status;
the status of the victim.
Modern legal ideals generally claim that equivalent crimes should receive equivalent treatment regardless of social rank.
Hammurabi's system did not operate according to that principle.
It formalized hierarchy.
Did the Code Protect Women?
The answer is complicated.
Some provisions gave women recognized economic and family protections.
Marriage agreements, dowries, inheritance and divorce could be legally regulated.
A wife could have enforceable interests in property under certain circumstances.
Widows and children appear as groups deserving royal protection in Hammurabi's rhetoric.
At the same time, women lived within a patriarchal system in which husbands and fathers possessed enormous authority, and sexual offenses could carry extremely severe consequences.
So describing Hammurabi as either a pioneer of women's rights or a system in which women had no legal standing would both be inaccurate.
Women possessed legal status.
They did not possess modern equality.
Was Hammurabi a Human Rights Reformer?
Not in any modern sense.
Hammurabi's prologue and epilogue use language about protecting the weak and establishing justice.
That can sound surprisingly humane.
But the legal provisions themselves permit:
slavery;
corporal punishment;
execution;
class-based penalties;
patriarchal authority;
punishment practices modern human-rights law would reject completely.
Calling Hammurabi a human-rights reformer imposes modern categories onto an ancient monarchy.
It is more accurate to describe him as a ruler who made justice and legal order central to royal legitimacy.
That was historically important even though his idea of justice was radically different from ours.
Why Is the Code So Important to Legal History?
The Code of Hammurabi matters because it reveals several ideas that remain foundational to organized legal systems.
Disputes should be adjudicated according to recognized principles.
Contracts and property relationships need predictable rules.
Professionals can be held responsible for harmful work.
Judges themselves must follow standards.
Penalties can be linked to defined offenses.
Government has a role in resolving private disputes.
Written legal reasoning can outlive the ruler who issued it.
None of these principles began uniquely with Hammurabi.
But the stele preserves them on a scale that is extraordinarily vivid.
It demonstrates how deeply legal administration had developed in Mesopotamia by the early second millennium BCE.
The Code Is Also a Window Into Ordinary Life
The greatest historical value of Hammurabi's laws may have little to do with famous punishments.
The cases reveal what people worried about.
Fields could flood.
Livestock could be stolen.
Merchants could argue.
Debtors could default.
Marriages could collapse.
Children inherited property.
Workers expected wages.
Doctors made mistakes.
Builders cut corners.
Judges could act improperly.
People lied.
People fought.
People borrowed money.
People tried to protect their families.
Nearly four thousand years separate us from Hammurabi's Babylon.
Yet many of the disputes feel strangely recognizable.
The punishments may belong to another world.
The conflicts often do not.
The Code Shows Why Writing Changed Civilization
Before writing, rules can exist through custom and oral tradition.
Writing does something different.
It allows rules to become durable objects.
They can be copied.
Studied.
Referenced.
Carried elsewhere.
Preserved after a ruler dies.
The stele transformed legal authority into a physical monument.
Anyone attempting to alter Hammurabi's legacy had to confront words carved into stone.
There is profound symbolism in that.
The king died.
The kingdom changed.
Babylonian dynasties disappeared.
The stele was stolen.
The civilization that created it eventually vanished.
The words survived.
It Was Law, Religion and Propaganda at the Same Time
Modern societies often separate legal documents from religious monuments and political advertising.
The Code of Hammurabi refuses those divisions.
It was legal.
It was religious.
It was royal propaganda.
It was art.
It was a monument to political power.
The image of Hammurabi before Shamash established divine legitimacy.
The prologue celebrated the king.
The judgments displayed wisdom.
The epilogue instructed future generations to admire and preserve his work.
The curses threatened anyone who challenged it.
The entire object communicated one argument:
Hammurabi rules because he is the king who brings justice.
How Fair Was Hammurabi’s Justice?
The answer depends entirely on what we mean by fair.
If fairness means equal treatment regardless of wealth, gender or social position, the Code fails badly.
If fairness means replacing unpredictable private revenge with recognized rules, it represents a significant form of legal order.
If fairness means protecting everyone from cruel punishment, it again fails by modern standards.
If fairness means making obligations more predictable in a complicated urban society, it achieved something substantial.
History becomes distorted when ancient legal systems are judged only as primitive versions of modern ones.
Hammurabi was not trying to build a twenty-first-century constitutional democracy.
He was governing an ancient Mesopotamian monarchy.
Understanding that world on its own terms helps explain both the achievements and brutality of its law.
Why “Code” Can Be Misleading
Modern legal codes attempt to define comprehensive statutory law.
The Hammurabi stele does not work exactly that way.
The Louvre's description of it as a collection of jurisprudence is therefore significant.
Many conceivable situations are absent.
We have no reason to assume Babylonian judges were forbidden from considering customary practices not written on the stele.
Nor should every surviving court case be expected to match one engraved provision mechanically.
The monument may have functioned partly as a set of exemplary judgments demonstrating what justice under Hammurabi looked like.
Calling it a code remains convenient and traditional.
But “Hammurabi's collection of legal judgments” may be historically more precise.
Did Ordinary Babylonians Have Lawyers?
Ancient Mesopotamia had highly developed legal and administrative procedures, though not lawyers in exactly the modern professional sense.
Scribes drafted:
contracts;
sales;
loans;
marriage agreements;
inheritance documents;
court records.
Witnesses could play important roles.
Judges and elders participated in adjudication.
Thousands of surviving legal tablets demonstrate that people used written agreements extensively in ordinary economic life.
The Code therefore did not emerge in a society just discovering law.
It belonged to a civilization already immersed in legal documentation.
Could a Poor Person Really Appeal to Hammurabi’s Monument?
The epilogue imagines an oppressed person coming before the monument and learning what justice required.
Whether that describes an ordinary practical procedure is uncertain.
Many Babylonians would not have possessed advanced cuneiform literacy.
The passage may be as much ideological as procedural.
But ideology matters.
The king wanted to be remembered as a ruler whose justice was accessible even to someone suffering oppression.
That tells us what qualities Hammurabi believed a good king should publicly claim.
What Happened to Hammurabi’s Empire?
Hammurabi's political achievements did not remain intact indefinitely.
His successors struggled to hold the extensive territories he had conquered.
Babylon remained enormously important in Mesopotamian history, but political power shifted repeatedly over the following centuries.
This makes the stele's survival especially ironic.
Hammurabi's empire was temporary.
His monument to law became nearly immortal.
More people know Hammurabi today because of a legal inscription than because of the battles that built his kingdom.
The king who conquered cities ultimately became famous for rules.
Where Is the Code of Hammurabi Today?
The great stele is displayed in the Musée du Louvre in Paris, in the Department of Near Eastern Antiquities.
The Louvre lists it as inventory number SB 8 and places it in Room 227 of the Richelieu wing.
It has been exhibited there since 1904.
Visitors today can stand only a few feet from a monument carved around 1750 BCE.
They can see Hammurabi facing Shamash.
Below them run columns of cuneiform containing disputes involving people who lived almost four millennia ago.
It is one of those rare artifacts where political history, art, religion and everyday life survive together.
The Most Important Myths About the Code
Several popular claims should be corrected.
The Code of Hammurabi was not the first written law code; Ur-Nammu and other Mesopotamian legal collections came earlier.
It did not create equal justice; social status directly affected punishments.
It did not consist solely of brutal criminal penalties; much of it concerns contracts, property, family and economic regulation.
“An eye for an eye” was not simply a demand for unlimited revenge; it expressed proportional retaliation within particular social classes.
And the stele was not found in Babylon; archaeologists found it at Susa in modern Iran after it had been carried there as war booty centuries earlier.
Correcting those myths makes the artifact more interesting, not less.
Why the Code Still Fascinates Us
Part of its attraction comes from distance.
The punishments feel alien.
The gods are unfamiliar.
The social hierarchy can seem brutal.
Yet underneath the differences are recognizable questions.
How should society respond to injury?
Who is responsible when a professional causes harm?
What makes a contract valid?
How should inheritance work?
What happens when someone lies in court?
What responsibilities do builders have?
What should judges do?
How should the strong be prevented from exploiting the weak?
Human beings are still arguing about versions of those questions.
The answers have changed dramatically.
The need to ask them has not.
The Bottom Line
The Code of Hammurabi is one of the most important surviving legal monuments of the ancient world.
Created during the reign of the Babylonian king Hammurabi, approximately 1792–1750 BCE, its famous monumental version contains 282 legal judgments dealing with property, business, agriculture, family, professional responsibility, bodily injury, slavery and other aspects of Babylonian life.
The stele stands about 2.25 meters tall and is carved in Old Babylonian Akkadian cuneiform. At its summit, Hammurabi appears before Shamash, god of justice, visually connecting royal law with divine authority.
Its most famous rule—“an eye for an eye”—expressed a principle of proportional retaliation.
But that principle did not apply equally.
Babylonian society was hierarchical, and penalties varied according to social status.
The Code regulated slavery rather than abolishing it, imposed brutal physical punishments and allowed forms of collective retaliation that modern legal systems would reject.
At the same time, it demonstrates an extraordinarily developed concern with contracts, professional responsibility, judicial conduct and predictable dispute resolution.
And contrary to one of its most persistent myths, Hammurabi did not invent written law.
The Code of Ur-Nammu and other Mesopotamian legal collections preceded him by centuries.
What Hammurabi created was something different:
one of the most ambitious surviving monuments to the idea that a king's greatness could be demonstrated through justice.
Centuries later, the stele was seized as war booty by the Elamite king Shutruk-Nahhunte and carried to Susa. French archaeologists rediscovered it there in 1901–1902, and it has been displayed at the Louvre since 1904.
The empire Hammurabi built did not last.
The political system that produced his laws disappeared.
The languages, gods and cities of his world changed beyond recognition.
But the monument survived.
Nearly 3,800 years later, we can still read a Babylonian king explaining why society needs law:
so power has limits,
so disputes have answers,
and, at least according to Hammurabi's own royal ideal,
so the strong cannot simply crush the weak.
Frequently Asked Questions
What was the Code of Hammurabi?
The Code of Hammurabi was a collection of 282 legal judgments associated with Hammurabi, king of Babylon. The Louvre describes it as jurisprudence or case law rather than a legal code in the modern statutory sense.
When was the Code of Hammurabi written?
The monumental text was engraved around 1750 BCE, near the end of Hammurabi's reign.
Who was Hammurabi?
Hammurabi was the sixth king of Babylon's First Dynasty. His reign is conventionally dated to approximately 1792–1750 BCE.
How many laws are in the Code of Hammurabi?
The surviving collection traditionally contains 282 laws or legal judgments.
Was Hammurabi's code the first law code?
No. Earlier Mesopotamian legal collections existed, including the Code of Ur-Nammu from roughly 2100–2050 BCE.
What is the oldest known Mesopotamian law code?
The Code of Ur-Nammu is generally regarded as the earliest surviving substantial Mesopotamian law collection, predating Hammurabi by several centuries.
What is the most famous law in the Code of Hammurabi?
Law 196 is famous for the principle commonly summarized as “an eye for an eye.” The Louvre explains that the principle represents proportional retaliation.
What does “an eye for an eye” mean?
It means that, in certain circumstances, the punishment should correspond to the injury inflicted. However, Hammurabi's laws applied this principle differently depending on social status.
Did an eye for an eye apply to everyone equally?
No. Penalties varied according to the social status of the offender and victim. Physical retaliation could apply among people of comparable status, while injury to lower-status people could produce financial compensation instead.
Did Hammurabi believe everyone was equal before the law?
No. Babylonian law formally recognized social hierarchy, and the legal value attached to injuries differed among social groups.
What crimes were punishable by death?
Various offenses could carry death sentences, including certain forms of theft, false accusation, adultery and other serious offenses, depending on circumstances.
Did Hammurabi's laws involve mutilation?
Yes. Some offenses could result in bodily punishments such as the removal of an eye or, in certain medical-malpractice cases involving high-status patients, cutting off a surgeon's hands.
What happened if a Babylonian builder constructed a house that collapsed?
One famous provision states that if a poorly built house collapsed and killed its owner, the builder could be put to death.
Did the Code punish doctors for malpractice?
Yes. Physicians could face severe penalties for disastrous surgical outcomes, with punishment varying according to the patient's social status.
Did the Code regulate judges?
Yes. One provision states that a judge who improperly changed a written decision could face a heavy fine and permanent removal from judicial office.
Did the Code of Hammurabi regulate slavery?
Yes. Slavery was an accepted part of Babylonian society, and the laws addressed ownership, escape, purchase, injury and other issues involving enslaved people.
Did the Code abolish slavery?
No.
Did women have rights under Hammurabi's laws?
Women could possess certain legal and economic protections involving marriage, dowries, inheritance and property. However, Babylonian society remained deeply patriarchal, and women did not enjoy modern legal equality.
Did adultery carry the death penalty?
Under some circumstances, yes. Babylonian family law could impose extremely severe penalties for adultery.
What subjects did Hammurabi's laws cover?
They addressed criminal accusations, property, agriculture, irrigation, trade, debts, wages, marriage, divorce, inheritance, slavery, professional responsibility and bodily injury.
What language was the Code written in?
The stele is written in Old Babylonian Akkadian using cuneiform script.
What is cuneiform?
Cuneiform is an ancient writing system characterized by wedge-shaped signs. It was used for numerous Mesopotamian languages and for everything from administrative records to literature and royal inscriptions.
How tall is the Code of Hammurabi stele?
The Louvre records it as 225 centimeters, or a little over 7 feet 4 inches, tall.
What is the stele made from?
The monumental stele is a dark stone traditionally described as black basalt. The Louvre classifies the material as basalt.
Who is shown at the top of the Code of Hammurabi?
The relief depicts King Hammurabi standing before Shamash, the Mesopotamian sun god associated with justice.
Why is Shamash important?
Shamash was closely associated with justice and judgment. His presence visually legitimizes Hammurabi's authority to administer justice.
Did the gods supposedly give Hammurabi the laws?
The imagery and text connect Hammurabi's rule with divine authority, but the scene should not simply be read as Shamash dictating every individual provision. It presents Hammurabi's justice as divinely sanctioned.
Where was the Code of Hammurabi discovered?
The famous stele was discovered at Susa, in modern Iran.
Why was a Babylonian monument found in Iran?
The Elamite king Shutruk-Nahhunte carried it to Susa as war booty centuries after Hammurabi's reign.
When was the stele discovered?
French archaeologists discovered it during excavations in 1901–1902.
Where is the Code of Hammurabi now?
The famous stele is displayed in the Louvre Museum in Paris, in its Department of Near Eastern Antiquities.
How long has it been at the Louvre?
The Louvre says the stele has been displayed there since 1904.
Are parts of the inscription missing?
Yes. Part of the monumental inscription was erased in antiquity, although other copies and fragments help scholars reconstruct portions of the text.
Did more than one copy of Hammurabi's laws exist?
Yes. Archaeologists have discovered additional fragments and copies, demonstrating that the text circulated beyond the single famous Louvre monument.
Could everyone in Babylon read the stele?
Probably not. Cuneiform literacy required specialist training, and scribes represented a relatively educated professional group. The monument's political and symbolic function therefore extended beyond literal public reading.
Was the Code a constitution?
No. It did not define government powers or individual rights in the way a modern constitution does.
Was it a criminal code?
Only partly. Many provisions concern what we would now call civil, commercial, family or property law.
Did the Code create the idea of law?
No. Legal institutions and written legal traditions existed long before Hammurabi.
Was Hammurabi a democratic ruler?
No. He was an ancient monarch whose authority was represented as divinely sanctioned.
Did Hammurabi protect poor people?
The prologue and epilogue portray the king as a protector of vulnerable people and claim his justice prevents the strong from harming the weak.
Was the legal system actually fair to poor people?
Not by modern standards of equality. Social rank significantly influenced legal penalties and compensation.
Is the Code directly responsible for modern law?
There is no simple direct line from Hammurabi to modern legal systems. Its importance lies in demonstrating the sophistication and antiquity of written legal reasoning.
Did the Code influence biblical law?
There are notable similarities between Hammurabi's legal collection and some biblical legal traditions, but the exact historical relationship is complex and should not be reduced to a simple claim of direct copying.
Was “an eye for an eye” invented by Hammurabi?
Hammurabi provides one of the best-known ancient examples, but the general principle belongs to broader ancient Near Eastern traditions.
Why is the Code of Hammurabi important today?
It provides an exceptionally detailed window into ancient law, social hierarchy, economics, family life, political ideology and concepts of justice nearly 3,800 years ago.
What is the biggest misconception about Hammurabi's Code?
Probably that it was the world's first law code.
It was not.
Its real importance is that it is one of the longest, best-preserved and most influential surviving legal monuments from the ancient Near East.
What is the main lesson of the Code of Hammurabi?
The Code demonstrates that people were already wrestling with problems of justice, evidence, professional responsibility, property and social order thousands of years ago.
Its solutions can appear shockingly brutal and unequal today.
But the questions behind them remain recognizable.
That combination—an alien legal world addressing deeply familiar human conflicts—is why Hammurabi's monument still fascinates us nearly four millennia after it was carved.