Hammurabi's Code
Hammurabi's Code is an ancient Babylonian legal code from around 1754 BCE. In World History Before 1500, it shows how early states used written laws to organize society, punish crimes, and rank people by status.
What is Hammurabi's Code?
Hammurabi's Code is one of the best-known law codes from ancient Mesopotamia. It was created under the Babylonian king Hammurabi around 1754 BCE and set out 282 laws covering trade, family life, labor, property, and punishment. In a World History Before 1500 class, you usually meet it as an example of how early states used law to manage growing cities and complex social relationships.
The code was carved on a large stone stele and displayed publicly. That matters because the laws were not meant to stay hidden in a palace archive. They were meant to be seen, which made law look fixed, official, and connected to royal authority. If you were a merchant, farmer, or household head in Babylon, the code told you what kinds of disputes the state claimed to regulate.
A big idea behind the code is lex talionis, often summarized as "an eye for an eye." That does not mean every law was identical revenge in every situation, but it does show a system where punishment matched the offense. The catch is that the punishment often changed depending on social class. A crime against a person of higher status could bring a harsher penalty than the same offense against someone of lower status.
The code also reveals how patriarchal Babylonian society was organized. Men usually held more legal power in family matters, inheritance, and household authority. Laws about marriage, divorce, adultery, and children show that the family was treated as a legal and economic unit, not just a private space. That makes the code useful evidence for how ancient states tried to regulate daily life, not just major crimes.
The code was not a modern constitution, and it did not apply equally to everyone. It was a royal claim about justice and order in a society where rank mattered. When you study it, you are really looking at how Babylon used law to define authority, protect property, and reinforce hierarchy.
Why Hammurabi's Code matters in World History – Before 1500
Hammurabi's Code matters because it gives you a clear window into how early civilizations turned power into law. In World History Before 1500, this is one of the clearest examples of a state trying to make rules public, consistent, and tied to the ruler's authority.
It also helps you see that law was not neutral in ancient Mesopotamia. The code draws sharp lines between social classes, and that tells you a lot about how Babylonian society worked. When a question asks how early states preserved order, you can point to the code as evidence that rulers used formal rules, public punishment, and strict record keeping to control behavior.
The code is also a strong source for reading social structure. Because it includes family law, property law, labor rules, and class-based penalties, it tells you what Babylonians worried about most: land, debt, injury, marriage, and rank. That makes it useful for comparing Mesopotamia with other early Mediterranean peoples, where law, kingship, and social hierarchy also shaped daily life.
If you are working with a passage, an image of the stele, or a short-answer prompt, the code gives you concrete evidence. You can use it to support claims about centralized government, patriarchal order, and the connection between religion, kingship, and justice in the ancient world.
Keep studying World History – Before 1500 Unit 6
Official unit cheatsheet
open one-pagerHow Hammurabi's Code connects across the course
Lex Talionis
Hammurabi's Code is one of the clearest early examples of lex talionis, or punishment that mirrors the offense. The phrase is useful, but the code shows that equal retaliation was not always equal across social classes. A crime against a wealthy or high-status person could bring a harsher penalty than the same act against someone lower in status.
Mesopotamia
The code comes from Mesopotamia, where city-states and later empires needed ways to manage trade, land, labor, and conflict. Looking at the code in this setting helps you see law as part of broader state formation, not just a list of punishments. It reflects the same river-valley world that produced writing, bureaucracy, and kingship.
Babylon
Babylon was the political center behind the code, so the laws are also a statement about royal power. Hammurabi used law to show that his rule was orderly and legitimate. When you connect the code to Babylon, you can explain how kings used written rules to strengthen control over a large and diverse population.
Bronze Age
Hammurabi's Code belongs to the Bronze Age world, when early states were becoming more organized and more hierarchical. Law codes like this one fit the broader shift toward centralized authority, permanent records, and formal social roles. It is a good example of how Bronze Age societies tried to make government more predictable.
Is Hammurabi's Code on the World History – Before 1500 exam?
A quiz or short-answer question might give you a law from the code and ask what it reveals about Babylonian society. Your job is to identify the idea behind the rule, not just restate the punishment. For example, a law about injury or property can show class hierarchy, patriarchal family structure, or the government's interest in protecting economic order.
If you see a source analysis prompt with the stele or a translated law, connect it to public authority and social control. If the question asks about early legal systems, use Hammurabi's Code as evidence that written laws helped rulers standardize justice and reinforce status differences. In an essay, it works well as a specific example of how early states built legitimacy through law.
Hammurabi's Code vs Lex Talionis
Lex talionis is the principle of retaliation, while Hammurabi's Code is the full Babylonian law code that includes that principle along with many other rules. If a question asks about the whole system, use Hammurabi's Code. If it asks about the punishment idea itself, lex talionis is the better term.
Key things to remember about Hammurabi's Code
Hammurabi's Code is a Babylonian law code from around 1754 BCE that organized rules for everyday life, crime, and property.
It was publicly carved on a stele, which shows that law was meant to be visible and tied to royal authority.
The code used different punishments for different social classes, so it reflects a sharply ranked society.
Many of its laws focus on family, labor, and property, which tells you what ancient Babylonian officials wanted to control.
In World History Before 1500, the code is a classic example of how early states used written law to enforce order.
Frequently asked questions about Hammurabi's Code
What is Hammurabi's Code in World History Before 1500?
Hammurabi's Code is a Babylonian set of 282 laws written around 1754 BCE. In World History Before 1500, it is used to show how early Mesopotamian rulers used written law to manage society, protect property, and punish crimes according to status.
Why was Hammurabi's Code carved on stone?
Carving the laws on a stone stele made them public and permanent. That helped show that the king's laws were official and could be seen by everyone, not just by officials in the palace or temple.
Is Hammurabi's Code the same as lex talionis?
No. Lex talionis is the idea of punishment that matches the offense, often summed up as "an eye for an eye." Hammurabi's Code is the larger Babylonian law code that includes that principle, along with many other rules about family, property, and labor.
What does Hammurabi's Code reveal about Babylonian society?
It shows a society with strong social hierarchy and patriarchal family structure. The laws also show that the government cared about property, trade, debt, and maintaining order, which are all signs of a complex state.