How the Code of Hammurabi Influenced Modern Legal Systems The collection of laws and regulations carved into stone thousands of years ago carries principles and ideas that are still applied today.
How the Code of Hammurabi Influenced Modern Legal Systems The collection of laws and regulations carved into stone thousands of years ago carries principles and ideas that are still applied today.

How the Code of Hammurabi Influenced Modern Legal Systems The collection of laws and regulations carved into stone thousands of years ago carries principles and ideas that are still applied today.

History Logo

HomeTopicsAncient Middle EastHow the Code of Hammurabi Influenced Modern Legal Systems
How the Code of Hammurabi Influenced Modern Legal Systems
The collection of laws and regulations carved into stone thousands of years ago carries principles and ideas that are still applied today.


copy page link

A close-up of the text of the Code of Hammurabi.
It’s been nearly 3,800 years since Hammurabi extended his rule across ancient Mesopotamia, a region that between the Tigris and Euphrates rivers that includes what is now Iraq, as well as portions of Kuwait, Turkey and Syria. But the Babylonian king, whose likeness is among the pantheon of ancient lawgivers carved into the south wall of the U.S. Supreme Court chamber, has an influence that’s still felt today.

That’s because of the Code of Hammurabi, a collection of 282 laws and regulations written in cuneiform script on the surface of a seven-foot, four-inch stone monument, which was discovered by French researcher Jacques de Morgan in 1901 and today is part of the collection at the Louvre in Paris.

Historians describe the Hammurabi code as a surviving symbol of an ancient Mesopotamian system for solving disputes, punishing crimes and regulating business practices, which was an early influence upon the development over many centuries of the systems of laws and courts that govern the U.S. and other modern societies.

The code “represents a well-preserved and detailed ancient inscription about law and order during the First Dynasty of Babylon,” explains Kelly-Anne Diamond, an assistant teaching professor of history at Villanova University.

‘Innocent Until Proven Guilty’ Established
As Diamond notes, some of Hammurabi’s laws might seem excessively harsh, and even barbaric today—selling stolen property and building a defective house that collapsed were both punishable by death, for example, and the penalty for a slave who denied a master’s authority was to have an ear amputated. “But there are others that suggest care and responsibility for marginalized groups,” she says. “For example, we see in Hammurabi’s code what could be considered the earliest alimony payments.”

The code also depicts an ancient Mesopotamian legal system with principles that are still followed in American courtrooms. The code mandates, for example, that in order to find someone guilty of a crime, evidence needs to be gathered and proof established, Diamond says. ”The ‘innocent until proven guilty’ theme resonates with us,” she says.

The Hammurabi stele is topped by a carving that depicts the king receiving the laws from Shamash, the Mesopotamian sun deity, who also served as the judge of both gods and men. That origin story may have helped to promote Hammurabi’s image as a ruler whose power was derived from the gods, but scholars say that in reality, his code evolved from existing laws and previous court cases.

King Hammurabi receiving the law (Code of Hammurabi) from the hand of the sun deity Shamash.
“The earliest known law collection, put together by King Ur-Namma 300 years before Hammurabi, included proportionally fewer physical punishments and more monetary fines than we see in Hammurabi’s laws,” explains Amanda H. Podany, a professor emeritus of history at California State Polytechnic University, Pomona, and author of the book Weavers, Scribes and Kings: A New History of the Ancient Near East. “But in Hammurabi’s time most punishments were actually fines, no matter what the laws said. So the judicial system probably worked in much the same way across those centuries.”

Hammurabi’s Code vs. Actual Mesopotamian Law
Hammurabi’s code “differs from earlier Mesopotamian law codes as it is more detailed, giving us more insights into the laws and rules of the day, social structure, and how laws were applied to different groups of people,” explains Dawn McCormack, associate dean of the College of Graduate Studies at Middle Tennessee State University, and a historian whose expertise includes Egypt and the Near East. “As the population diversified, the law codes adapted to meet the new circumstances.”

But how much practical importance Hammurabi’s code had in its time is unclear. As historians point out, it’s not a comprehensive collection of laws. While the code contains detailed regulations on matters ranging from doctors’ fees for setting broken bones to the cost of renting an ox for threshing grain, there also are conspicuous gaps, such as the absence of a basic law against murder. “Hammurabi made no attempt to cover all possible infractions, or to come up with any organizing principles behind them,” Podany says.

And even though Hammurabi made a big deal out of carving his laws into a stone monument, Podany says that surviving Mesopotamian court records don’t indicate that judges even consulted the king’s code in making their rulings.

Hammurabi’s collection of laws also may have been as much about appearance as actual governance. He promulgated them near the end of his 43-year reign, at a time when he may have been thinking a lot about how he would be remembered by future generations. “They do show that Hammurabi cared a lot about being viewed as a fair and just king, both in his own time and in future,” Podany says. “He emphasized this in the prologue and epilogue to the laws.”

“There is little doubt that Hammurabi wanted to be perceived as a just ruler who protected his citizens, in addition to a surrogate for the gods on earth, war leader, builder, and final judge,” Diamond says.

Code Symbolizes Fair and Impartial Justice

The scales of justice.
It may be more important to see the Code of Hammurabi as a symbol of the existing Mesopotamian legal system of his time, whose innovations exerted a lasting influence.

“The Mesopotamians had a system that put a lot of emphasis on getting to the truth of a case, through the use of witnesses, oral testimony, and written evidence, and by having individuals swear oaths that they were telling the truth,” Podany explains. “Oaths were particularly effective because of the people’s profound belief that the gods would punish them if they lied under oath. A panel of judges heard a case and scribes often recorded the events that took place during a trial. They show that the system was effective and trusted. It provided a way to avoid vigilante justice.”

The code is also significant because it promoted the notion that justice ought to be fair and impartial. Through the codes, Hammurabi conveyed that he was a king who wanted to ensure that anyone—not just the rich and powerful, but even the poor—could obtain justice, Podany says. It’s an idea that modern justice still strives to achieve, even if it doesn’t always succeed.


Patrick J. Kiger has written for GQ, the Los Angeles Times, National Geographic, PBS NewsHour and Military History Quarterly. He’s the co-author (with Martin J. Smith) of Poplorica: A Popular History of the Fads, Mavericks, Inventions, and Lore that Shaped Modern America.

Citation Information
Article TitleHow the Code of Hammurabi Influenced Modern Legal Systems
AuthorPatrick J. Kiger
Website NameHISTORY
Date AccessedJune 5, 2023
PublisherA&E Television Networks
Last UpdatedSeptember 28, 2022
Original Published DateSeptember 28, 2022
Fact Check
We strive for accuracy and fairness. But if you see something that doesn’t look right, click here to contact us! HISTORY reviews and updates its content regularly to ensure it is complete and accurate.


Sign up for Inside History
Get HISTORY’s most fascinating stories delivered to your inbox three times a week.

More on this Topic | Ancient Middle East
Shadowy black and white print showing the back of a kneeling woman reaching up toward a tall robed god, with a dead man lying on the ground beside her
6 Ancient Resurrection Stories
Jesus wasn’t the only one believed to have risen from the dead. The concept of resurrection appears in ancient cultures around the world.

Read more
Head of a high priestess with inlaid eyes Mesopotamia, Akkadian, Ur (modern Tell el-Muqayyar), area EH, south of gipar Akkadian period (ca. 2334–2154 BC) Alabaster, shell, lapis lazuli, and bitumen; 9.5 × 8 × 8.5 cm. University of Pennsylvania Museum of Archaeology and Anthropology, Philadelphia, USA, excavated 1926; B16228
The Earliest Known Author Was a Woman from Mesopotamia
A priestess named Enheduanna claimed authorship to poetry and other texts—sometimes in first-person—more than a millennium before Homer.

Read more
Circa 548 BC: Cyrus the Great, the founder of the Persian empire. By 548 BC, he was King of Persia.
How Cyrus the Great Turned Ancient Persia Into a Superpower
A largely tolerant and merciful ruler, Persian king Cyrus the Great established one of the largest empires in world history.

Read more
How Mesopotamia Became the Cradle of Civilization
How Mesopotamia Became the Cradle of Civilization
Environmental factors helped agriculture, architecture and eventually a social order emerge for the first time in ancient Mesopotamia.

Read more
How Hammurabi Transformed Babylon into a Powerful City-State
How Hammurabi Transformed Babylon Into a Powerful City-State
The ancient Babylonian king ruled with military and diplomatic finesse—and he also knew a thing or two about self-promotion.

Read more

8 Things You May Not Know About Hammurabi’s Code
Find out more about the fascinating history behind one of antiquity’s most important legal codes.

Read more
A+E Networks
Contact Us
Copyright Policy
Privacy Policy
Terms of Use
Ad Choices
Accessibility Support
© 2023, A&E Television Networks, LLC. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *