All Object Lessons
Law & Governance

The Code of Hammurabi: Law Carved in Stone

⏱ 45 minutes 🎓 Primary & Secondary 📚 history, citizenship, ethics, literature
Core question If you wanted everyone in your country to know the rules — and to know they were the same for the king as for the village — how would you do it?
The stele of the Code of Hammurabi. The king Hammurabi stands before the god Shamash at the top. Below them, around 280 laws are carved in cuneiform writing, in columns that wrap around the whole stone. Photo: Mbzt / Wikimedia Commons / CC BY 3.0
Introduction

In the city of Babylon, in what is now Iraq, almost 3,800 years ago, a king named Hammurabi did something unusual. He took 282 of the rules of his kingdom and had them carved onto a tall pillar of hard black stone. The pillar was placed in a public space, where people could see it. At the top, a carved scene shows Hammurabi receiving the rules from the sun god, Shamash. Below the scene, the laws are written in tiny, wedge-shaped marks called cuneiform. The pillar still stands today, almost complete. It is in a museum in Paris. The Code of Hammurabi is famous as one of the oldest sets of written laws we still have. People often say it shows the rule of 'an eye for an eye'. This is partly true. But when you read the laws carefully, something else becomes clear: the same crime had different punishments, depending on who you were. A free man was not equal to a slave. A man was not equal to a woman. The Code is a window into how a real society organised itself almost 4,000 years ago — and into the ways its idea of fairness was very different from ours. This object can teach us where written law comes from, who it has served, and what it took to put rules in stone.

The object
Origin
Babylon, in southern Mesopotamia (modern-day Iraq). Found in 1901 at Susa, in modern Iran, where it had been taken as war loot.
Period
About 1754 BCE — almost 3,800 years old
Made of
Diorite, a hard, dark volcanic stone
Size
About 2.25 metres tall and 60 cm wide at the base
Number of objects
One main stele in the Louvre. Several copies on clay tablets have also been found.
Where it is now
The Louvre Museum in Paris, France, since 1901
Before you teach this — reflect

Questions for you

  1. Before this lesson, did you think 'an eye for an eye' meant the same punishment for the same crime, no matter who was involved? Be ready for the Code to show otherwise.
  2. The Code is from Iraq, was found in Iran, and is now in France. How will you talk about this with your class without making it feel like one country's heroes and another's villains?
  3. Some of the laws in the Code are about women, slaves, and family. They are not always easy to read today. How will you handle students' surprise or anger?

Common student difficulties — tick any you have noticed

Discovery sequence
1
Imagine you are the king of a country with one million people. You make a new rule: 'If a builder builds a house badly and it falls down on the owner, the builder must die.' You tell this rule to your servants. They tell other servants. By the time the rule reaches the far villages, it has changed shape. Some people hear it as 'the builder must pay'. Some hear it as 'the builder must build a new house'. Some have not heard the rule at all. What could you do to make sure the rule stays exactly the same for everyone?
Points to consider (for the teacher)

Most students will say 'write it down'. Push them: where do you write it? On a piece of paper that can be lost? In a book that few people can read? On a stone in the middle of the city, where everyone can see it and where it cannot be changed? This is exactly what Hammurabi did. The Code is not just a set of laws — it is a clever piece of design. By carving the laws in hard stone in a public place, Hammurabi made them harder to forget, harder to change, and harder to lie about. This is the moment law becomes 'public': the rules belong to everyone, not only to the king and his ministers. Students should see that the choice to put law in stone is itself a kind of law-making.

2
Here are three of Hammurabi's laws, in plain English: Law 196: 'If a man puts out the eye of another man, his own eye shall be put out.' Law 198: 'If he puts out the eye of a freed man, or breaks the bone of a freed man, he shall pay one mina of silver.' Law 199: 'If he puts out the eye of a man's slave, or breaks the bone of a man's slave, he shall pay one-half of the slave's price.' Three people lose an eye. Three different punishments. What does this tell us about Babylon?
Points to consider (for the teacher)

This is the most important moment in the lesson. The famous phrase 'an eye for an eye' is real — but it only applied if both people were the same kind of person. If a higher-status man hurt a lower-status man, he just paid money. If he hurt a slave, he paid the slave's owner — not the slave. The slave got nothing. This is a 'graded' or 'tiered' society. Babylonian law worked on three groups: free people of higher rank (awilum), free people of lower rank (mushkenum), and slaves (wardum). Same crime, different price. Students may feel angry. That is the right reaction. But also notice: the laws are at least clear and public, which means even a poor person knows what to expect. In many places before written law, the powerful could simply do as they liked. The Code is a step forward — and at the same time, far from what we would call fair today. Both things are true.

3
The Code of Hammurabi was carved in Babylon, which is now in Iraq. It was found in 1901 — but not in Iraq. It was found in a place called Susa, in what is now Iran. About 600 years after Hammurabi, an Elamite king (from the area that is now western Iran) attacked Babylon and carried the stele away as war loot. It then sat in Susa for 3,000 years. In 1901, French archaeologists found it. They took it to Paris. It has been in the Louvre ever since. Who does the Code belong to today?
Points to consider (for the teacher)

This is a richer puzzle than the Standard of Ur. The Code has had three homes: Babylon (Iraq), Susa (Iran), and Paris (France). Each home claims something. Iraq says: it was made here, by our cultural ancestors, in our language. Iran says: it was found here. France says: we have cared for it for over 100 years and millions of visitors see it. There is no easy answer. Some students may say 'it belongs to humanity'. That is a real argument too. The point is not to pick a winner but to see that this object's story is also a story about who gets to keep history. Students can also ask: who is missing from this conversation? Iraqi voices, Iranian voices, and the people of Babylon themselves are not represented in the museum that holds their object.

4
Look at the top of the stele. A man stands on the left. A god sits on the right, holding out a ring and a rod. The standing man is Hammurabi. The seated god is Shamash, the sun god, who was also the god of justice. Why did Hammurabi want this picture above the laws?
Points to consider (for the teacher)

This carving is doing political work. It says: 'These are not Hammurabi's laws. They are the gods' laws. I am only the king. I am giving you what the gods gave me.' This is a very old, very common move by powerful people: claim that your power comes from above, so it cannot be questioned. Students should see this clearly. It is the same move kings, emperors, and even some modern leaders have made for thousands of years. It is also worth asking: why did Hammurabi need to make this claim? Probably because, without it, people might say: 'Why should I follow your rules and not someone else's?' By tying the laws to the gods, Hammurabi makes them harder to argue with. Modern democracies do the opposite — they say laws come from the people, not from gods. Both ideas are about where law's power comes from.

What this object teaches

The Code of Hammurabi is a tall stone pillar carved with 282 laws by King Hammurabi of Babylon, almost 3,800 years ago. The laws cover marriage, debt, building, theft, and many other parts of daily life. They are famous for the rule of 'an eye for an eye', but a closer look shows the punishments depended on the social rank of both the victim and the criminal. The Code is one of the oldest sets of written laws we still have, but it was not the first — the Code of Ur-Nammu came earlier. The pillar was made in Iraq, taken as war loot to Iran, and dug up in 1901 by French archaeologists who took it to Paris. The Code teaches us where the idea of public, written law comes from — and how that idea can hold both fairness and unfairness at the same time.

QuestionCode of HammurabiModern law
Where are the rules?Carved on a stone pillar in a public placeWritten in books and online; updated regularly
Who do the rules apply to?Different rules for free people, freed people, and slavesIn most countries, the same rules for everyone (in theory)
Where do the rules come from?From the gods, given through the kingFrom the people, through elected lawmakers (in democracies)
What if you break a rule?Often physical punishment, sometimes a fineUsually a fine or prison; physical punishment is rare
Can you appeal?Only to the kingTo higher courts, with a lawyer
Key words
Stele
A tall stone slab or pillar carved with writing or pictures. Steles were used in many ancient societies to mark important things — laws, victories, or graves.
Example: The Code of Hammurabi is carved on a black diorite stele almost 2.25 metres tall.
Cuneiform
One of the oldest forms of writing. It uses small wedge-shaped marks pressed into clay or stone with a reed stick. It was used across Mesopotamia for thousands of years.
Example: The 282 laws on the Code of Hammurabi are written in Akkadian cuneiform.
Code
A collection of laws gathered together in one place, in order. A code is meant to be complete enough that judges can use it without making up new rules.
Example: The Code of Hammurabi is one of the oldest law codes we still have. The Code of Ur-Nammu, from about 300 years earlier, is older.
Lex talionis
A Latin phrase meaning 'law of retaliation'. It is the idea that the punishment should match the crime — for example, an eye for an eye, a tooth for a tooth.
Example: Some laws in the Code of Hammurabi follow lex talionis, but only when both people are of the same social rank.
Social rank
The position of a person in a society's order. People of different ranks were treated differently by the law in many ancient societies.
Example: In Babylon, the Code recognised three ranks: awilum (higher-status free people), mushkenum (lower-status free people), and wardum (slaves).
Prologue
The opening part of a long piece of writing. The Code of Hammurabi has a long prologue in which the king praises himself and explains why he is fit to make laws.
Example: In the prologue, Hammurabi calls himself 'the shepherd of the people' and says the gods chose him to bring justice to Babylon.
Use this in other subjects
  • History: Place the Code on a timeline. It is about 3,800 years old — older than the Standard of Ur is younger than. Compare it with later law codes: Roman law (about 450 BCE), Magna Carta (1215 CE), and any modern constitution students may know.
  • Citizenship: Read three of Hammurabi's laws aloud and ask: would this law be fair today? Why or why not? What would have to change for it to be fair? This connects ancient law to the work of writing rules in any community — a school, a club, a class.
  • Ethics: The Code treats people of different social ranks differently. Discuss: is it ever fair to have different rules for different people? What about laws that treat children differently from adults? What is the difference between a fair difference and an unfair one?
  • Literature: The Code begins with a long introduction (the prologue) where Hammurabi praises himself and describes his goodness as a ruler. Read a short part. What do students notice? How do leaders today still write about themselves in this way?
  • Mathematics: The Code uses set fines: '60 grains of silver' for one crime, 'one mina of silver' for another (a mina was about 500 grams). Convert one mina into modern money based on the price of silver today. Compare with what a modern court might fine for a similar offence.
  • Geography: The Code travelled: made in Babylon (Iraq), carried to Susa (Iran), found and taken to Paris (France). Trace the journey on a map. Why might one object move so far in 3,800 years? What other objects in this lesson series have travelled in similar ways?
Common misconceptions
Wrong

The Code of Hammurabi is the first written law in history.

Right

It is one of the oldest we still have, but the Code of Ur-Nammu, also from Mesopotamia, is about 300 years older. There may have been even older codes that have been lost.

Why

People often want a 'first' to point at. The truth is that written law grew slowly, in many places, over hundreds of years.

Wrong

'An eye for an eye' meant the same punishment for everyone, no matter who they were.

Right

In the Code of Hammurabi, the same crime had very different punishments depending on the social rank of the people involved. A free person who hurt a slave paid a fine to the slave's owner. A free person who hurt another free person of the same rank could lose their own eye.

Why

'An eye for an eye' is often used today to mean fair, equal punishment. In its original setting, it was nothing of the kind.

Wrong

Ancient law was simple. Modern law is much more complex.

Right

The Code of Hammurabi already covers contracts, marriage, divorce, building safety, debt, false witnesses, and theft. Many of the same questions our laws answer were being answered 3,800 years ago.

Why

We often think of the past as simple. In fact, ancient societies dealt with complex legal questions, sometimes in more detail than students might expect.

Wrong

The Code of Hammurabi belongs in the Louvre because France discovered it.

Right

This is one view, but it is not the only one. The Code was made in Babylon (Iraq) and was taken to Susa (Iran) more than 600 years before any French person saw it. The question of where it should be today is a real and live one.

Why

'We found it' is not the same as 'it is ours'. Students should see that the story of how an object reaches a museum is itself part of the lesson.

Teaching this with care

This object touches three modern countries — Iraq, Iran, and France — and a teacher should not let any of them become a hero or a villain. The Code was made in Babylon (Iraq), taken as war loot in ancient times to Susa (Iran), found by French archaeologists in 1901, and is now in Paris; each step of that journey involved real people making real choices, and any of them could be the focus of fair criticism. Treat this honestly without picking a winner. Do not call ancient Babylon 'primitive' or its laws 'simple' — they are detailed and thoughtful, even when their values differ from ours. The most important sensitivity is the laws themselves: the Code includes provisions about women, slaves, and rank that many students will find unfair. Do not soften them; read them out plainly, then talk about why they were that way and what has changed. Some Babylonian laws also gave women rights that surprised modern readers — for example, women could own property, run businesses, and bring legal cases — and this is worth saying. Finally, when discussing 'an eye for an eye', do not let the popular phrase do the work. Use the actual laws (196, 198, 199) so students see what the Code really says.

Check what students have understood

Answer each question in one or two sentences. Use what you have learned about the Code of Hammurabi.

  1. What is the Code of Hammurabi made of, and how old is it?

    It is carved on a tall pillar of black diorite stone, called a stele. It is about 3,800 years old, made around 1754 BCE.
    Marking note: Award full marks for any answer that names the material as stone (or diorite) and gives an age between 3,500 and 4,000 years.
  2. Why is it not quite right to say 'the Code of Hammurabi gave the same punishment for the same crime'?

    Because the Code gave different punishments depending on the social rank of the people involved. A free person who hurt another free person could lose an eye, but a free person who hurt a slave just paid a fine.
    Marking note: Strong answers will mention social rank, status, or the difference between free people and slaves. Accept any answer that shows the student understands punishments were not equal.
  3. What does the carving at the top of the stele show, and why is it important?

    It shows King Hammurabi receiving the laws from Shamash, the sun god of justice. This is important because it tells people the laws came from the gods, not just from the king.
    Marking note: Full marks for any answer that names both figures (Hammurabi and a god) and explains that the carving links the laws to divine authority.
  4. How did the Code travel from Iraq to Paris?

    It was made in Babylon, in modern Iraq. About 600 years later, an Elamite king attacked Babylon and took it as war loot to Susa, in modern Iran. In 1901, French archaeologists found it there and took it to the Louvre in Paris.
    Marking note: Award marks for any answer that mentions all three places (Iraq, Iran, France) and the basic story of how the stele moved between them.
  5. Give one way the Code of Hammurabi was a step forward in its time, and one way it was unfair by our standards today.

    Step forward: the laws were public and written down, so the powerful could not just do as they liked. Unfair today: the laws gave different punishments to people of different ranks, and slaves had almost no protection.
    Marking note: Full marks only if the student gives both sides — one good thing and one bad thing. The key idea is that something can be a real improvement and still be very far from what we now call fair.
Discuss together

These questions have no single right answer. Talk in pairs or small groups, then share your ideas with the class.

  1. Should the Code of Hammurabi go back to Iraq, or to Iran, or stay in France? Or does it belong to all of humanity?

    This is a harder question than the Standard of Ur because three modern countries can all claim a real connection. Strong answers will see the difference between origin (Iraq), find-spot (Iran), and current home (France), and weigh each carefully. Some students may say 'humanity' — that is a real argument too, but it usually means 'wherever it is now', which can hide who actually benefits. Push students past 'I just feel...' to specific reasons. There is no right answer. End by reminding the class that real conversations between Iraq, France, and the Louvre have happened and continue.
  2. If you were carving a code of laws for your school today, what three rules would you put first? Why?

    Students will pick rules about kindness, fairness, honesty, work, or safety. Push them to think about: who decides? Who is left out? What if two rules disagree? Strong answers will see that any short list of rules leaves something important out, and that the order matters too — what comes first usually matters most. This is a useful exercise because it makes the work of law-making real.
  3. Hammurabi said his laws came from the gods. Modern laws come from elected lawmakers. Which makes a law more powerful — believing it comes from above, or knowing it comes from the people?

    There is no right answer. Some students will say divine law is more powerful because it cannot be argued with. Others will say law from the people is more powerful because it can change as the people change. The deeper point is that every legal system has to answer the question: 'Why should I obey?' Different societies have given different answers, and this question is still alive today.
Teaching sequence
  1. THE HOOK (5 min)
    Without saying anything about Hammurabi, ask the class: 'If you wanted everyone in your village to know exactly the same rules — the king, the farmer, the child — how would you do it?' Take three or four answers. Most students will say 'write them down'. Push them: where? On what? Where would you put it? Tell the class: 'A king did exactly this almost 4,000 years ago. We are going to look at his answer.'
  2. INTRODUCE THE OBJECT (10 min)
    Describe the stele in detail — a tall pillar of dark stone, taller than a person, with a carved scene at the top showing a king and a god, and 282 laws written below in cuneiform. Tell the story of where it was made (Babylon, in modern Iraq), where it was found (Susa, in modern Iran), and where it lives today (the Louvre, in Paris). Pause and ask: 'Why might a king put his laws on a stone in a public place, instead of keeping them in a book?' Take answers.
  3. READ THE LAWS (15 min)
    Write three laws on the board, in plain language: Law 196 (eye for eye, free person), Law 198 (paid fine for freed person), Law 199 (paid fine to owner for a slave). Read them aloud. Ask: 'How is this different from what you expected? Is this fair?' Sit with the discomfort. Then read one or two laws that are clearly thoughtful: Law 128 (no marriage without a contract), Law 195 (a son who hits his father has his hand cut off — but only after a court hearing), or Law 5 (a judge who changes a verdict pays 12 times the value of the case and is removed from the bench). Ask: 'What does this mix tell us about Babylon?'
  4. THE THREE COUNTRIES (10 min)
    On the board, draw three columns: Iraq (where it was made), Iran (where it was found), France (where it is now). Briefly fill each column with the relevant facts. Ask: 'Where should it be today?' Split the class in three groups, one for each country, plus a fourth group arguing for 'humanity'. Each group has three minutes to think, then shares one strong argument. Do not vote. End by saying: 'There are no easy answers when an object has lived in many places.'
  5. CLOSING (5 min)
    Ask each student to write or say one sentence: 'A good law should...'. Take five or six. Compare them with what Hammurabi did. End by saying: 'Hammurabi was trying to answer the same question you just answered. He got some things very right, and some things very wrong. So will every law-maker who comes after him.'
Classroom materials
Read Like a Babylonian — The Three Punishments Activity
Instructions: On the board, write three short scenarios involving the same crime (for example, a broken bone). For each scenario, the people involved have a different rank: both free, free person harming a freed person, and free person harming a slave. Ask the class to imagine the punishment for each. Write their answers down. Then read out Hammurabi's actual rulings. Discuss: how close were the class's instincts to Babylonian law? Where did they differ?
Example: Scenario 1: Asha, a free woman, breaks the arm of Ben, also a free man of the same rank. The class might say 'a fine' or 'a few weeks' work for him'. Hammurabi: Asha's arm is broken in return. Scenario 2: Asha breaks the arm of Carlos, a freed man (lower rank). Class: 'a fine'. Hammurabi: one mina of silver. Scenario 3: Asha breaks the arm of Daud, who is enslaved. Class: 'the same fine'. Hammurabi: half the price of the slave is paid — to his owner. Asha is the same person, the crime is the same, the broken arm is the same. The Code is not the same. This is the lesson.
Carve Your Own Code
Instructions: In small groups, students draft five laws for an imagined small community (a village, an island, a school). They must answer: (1) Who is the law for? (2) What is the punishment? (3) Who decides? (4) What if the law is broken by the law-maker? Each group writes their five laws on a long strip of paper or chalk on a wall — a simple version of a stele. They share with the class.
Example: One group's code: 'Law 1: Everyone must eat together once a week. Law 2: If you take food without asking, you give it back twice. Law 3: Children may speak in any meeting. Law 4: A judge is chosen by lot, not by rank. Law 5: If the chief breaks a law, the chief is judged like everyone else.' The teacher points out: this last law is something Hammurabi did not include. He was the king, and the gods backed him up. What changes when the law-maker is also under the law? This is the heart of modern democracy.
The Stele Walk
Instructions: Take the class outside or to a wall. Ask each student to write one rule of their own life on the wall in chalk (or on paper pinned to it). Rules can be from school, family, sport, or imagination. The 'stele' fills up with student rules. Discuss: are any of these rules contradictory? What if two rules say opposite things? Who decides which wins? This makes the problem of law-making real before we read more of Hammurabi.
Example: Student rules might include: 'Always tell the truth.' 'Help your little brother.' 'Do not take what is not yours.' 'If you break it, say sorry.' Two students might write opposite things: 'Always be on time' / 'Be patient with people who are late.' Discuss: a real law code has to answer questions like these. Hammurabi had 282 laws because real life is full of questions, and a short list cannot answer them all.
Where to go next
  • Try a lesson on the Standard of Ur to see another Mesopotamian object that travelled from Iraq to a foreign museum. Together they show the long story of how ancient Iraq's heritage has spread across the world.
  • Try a lesson on cuneiform writing — the script used on the Code of Hammurabi. With cuneiform, the Standard of Ur, and the Code, you have a Mesopotamian trio that covers art, writing, and law.
  • Try a lesson on Magna Carta (1215). It is much later, but it answers the same question: what happens when even the king must obey a written law?
  • Try a lesson on the Twelve Tables of Roman law (about 450 BCE). Like the Code of Hammurabi, they were written down so that ordinary people could see them — a step that changed Rome.
  • Connect this lesson to citizenship by looking at a piece of modern law in any country students know. How is it the same as Hammurabi's? How is it different?
  • Connect this lesson to ethics with the question: what makes a law fair? Use the three eye-laws as a starting point, then move to modern examples — laws about voting, work, or speech.
Key takeaways
  • The Code of Hammurabi is a tall stone pillar carved with 282 laws, made by King Hammurabi of Babylon almost 3,800 years ago. It is one of the oldest written law codes we still have.
  • The famous rule of 'an eye for an eye' was real but only applied between people of the same social rank. The Code gave very different punishments to free people, freed people, and slaves.
  • The Code begins with a carving of Hammurabi receiving the laws from the sun god Shamash. This linked the laws to divine authority — a move kings and rulers have used for thousands of years.
  • The Code was made in Iraq, taken to Iran as war loot in ancient times, and is now in France. Like the Standard of Ur and the moai, it raises the question of where ancient objects belong today.
  • Even though the Code is unfair by our standards, it was a step forward in its time: the laws were public and written, which limited the power of the strong to do as they liked.
  • Babylonian women had some legal rights — they could own property, run businesses, and bring cases to court — even though the Code did not treat them as equal to men.
Sources
  • The Code of Hammurabi (translation) — Robert Francis Harper (1904) [primary]
  • The Code of Hammurabi (museum object page) — Musée du Louvre (2024) [museum]
  • Hammurabi's Laws: Text, Translation and Glossary — M. E. J. Richardson (2000) [academic]
  • Reading the Hammurabi Prize Inscription — Marc Van De Mieroop (2016) [academic]
  • A History of the Ancient Near East ca. 3000–323 BC — Marc Van De Mieroop (2015) [academic]