The Code of Hammurabi and Codified Law

College Depth 13 in the knowledge graph I know this Set as goal
Unlocks 6 downstream topics
Babylon law justice Hammurabi

Core Idea

The Code of Hammurabi (1754 BCE) was one of the first written legal codes, containing 282 laws governing everything from commerce to family relations. It established the principle that laws should be publicly known and consistently enforced, and famously introduced proportional justice ('an eye for an eye'). However, it also codified social inequality—punishments varied by social class.

Explainer

From your study of Mesopotamia, you know that Babylon under Hammurabi (r. 1792–1750 BCE) was a complex administrative state managing trade networks, agricultural revenues, and a diverse, multi-ethnic population across a large territory. Governing such a society required something that earlier palace administrations had managed informally: a predictable, consistent framework for resolving disputes. The Code of Hammurabi was the answer, and understanding it requires reading it as a political and administrative document as much as a moral one.

The most significant innovation was publicity. The code was inscribed on a large stone stele (nearly 2.5 meters tall), topped by a carving of Hammurabi receiving the laws from the sun god Shamash — the divine sanction made visible in stone. Copies were placed in temples throughout Babylon's territory. The purpose was to make the law knowable: merchants traveling to Babylon, provincial judges deciding disputes, citizens asserting claims could all, in principle, appeal to the same written standard. This was a direct assault on the problem that had plagued earlier systems — that justice was administered at the discretion of local officials who might rule inconsistently or corruptly. By writing the law down and displaying it publicly, Hammurabi claimed to limit that discretion. Whether this worked in practice is a different question; enforcement still depended on local judges, and literacy was limited. But the symbolic and administrative aspiration was real.

The famous lex talionis — "an eye for an eye, a tooth for a tooth" — is often misread as barbaric. In its historical context, it was a principle of *proportionality* designed to prevent escalation. If I blind you, you (or the state on your behalf) may blind me in return — but you may not kill me or destroy my property in excess of what I did to you. Before proportional retaliation norms, blood feuds between families could escalate without limit. The code's formulation restrained revenge within a calibrated bound. But the proportionality was stratified: the same injury inflicted by or upon different social classes carried different penalties. If a free man blinded another free man, his eye was taken. If he blinded a freed slave (a mushkenum), he paid a fine. If he blinded a slave, he compensated the slave's owner monetarily. The law was proportional within each class tier — but acknowledged and enforced inequality between tiers. This is the code's central contradiction: it aspired to consistent, predictable justice while simultaneously embedding the social hierarchy into the penalty structure.

Beyond the famous lex talionis passages, the code's 282 laws covered an impressive breadth of social life: contractual obligations between merchants and agents, liability for construction defects (a builder whose house collapses and kills the owner is put to death), marriage and divorce, adoption, inheritance, medical malpractice, and agricultural rentals. Reading the code as a whole reveals a society wrestling seriously with the problems that accompany complex economic life — how to enforce contracts at a distance, how to assign liability for accidents, how to protect the vulnerable (widows, orphans appear explicitly). Earlier law codes exist (the Laws of Ur-Nammu predate Hammurabi by over three centuries), but Hammurabi's code's size, preservation, and influence on subsequent Near Eastern legal tradition make it the clearest window into the legal ambitions of early state societies. It represents not the invention of law, but the systematic codification of it — the recognition that stable governance requires publicly stated, consistently applied rules rather than purely discretionary authority.

What did you take from this?

Topics in reflective domains aren't scored by quiz answers. Read, reflect, and mark when you've thought it through.

Quiz me anyway →

Prerequisite Chain

Longest path: 14 steps · 26 total prerequisite topics

Prerequisites (2)

Leads To (2)