Hammurabi's Code of Laws on Crimes, Fines Soldiers and Legal Matters

Home | Category: Babylonians and Their Contemporaries / Government and Legal System

HAMMURABI'S CODE OF LAWS


Top of stelae with Hammurabi's Code of Laws

Daniel Weiss wrote in Archaeology magazine: The best known and most influential of the Mesopotamian law codes was that of King Hammurabi of Babylonia (r. 1792–1750 B.C.). Featuring nearly 300 provisions covering topics ranging from marriage and inheritance to theft and murder, it is the most comprehensive of these codes. While it famously includes retributive, eye-for-an-eye clauses, it also takes on more complex scenarios, imposing harsh punishments for accusation without proof and for errors made by judges. [Source: Daniel Weiss, Archaeology magazine, May-June 2016]

“The code appears written in intentionally archaic cuneiform on a towering seven-and-a-half-foot-tall diorite stela that was recovered from Susa, in present-day Iran, where it was taken after being stolen in the twelfth century B.C. Featuring a relief of Hammurabi receiving divine sanction from the sun-god Shamash in its upper portion, this stela and others like it would have been publicly displayed during Hammurabi’s reign and long after. “The code was certainly set up in in city squares, in temple courtyards, in public places — where it was seen by populations,” says Martha Roth, an Assyriologist at the University of Chicago. It was also used in the training of scribes for at least 1,000 years after its composition, and several manuscripts of it were found in King Ashurbanipal’s (r. 668–627 B.C.) seventh-century B.C. library at Nineveh, in present-day Iraq.

“The precise legal function of Hammurabi’s code is unclear, as there are few references to it in legal records from his era. However, says Roth, these records do suggest that “the provisions as outlined in Hammurabi map onto the daily reality in a fairly close way.” The code was also clearly intended to establish Hammurabi as the guarantor of justice for his people. “In order that the mighty not wrong the weak, to provide just ways for the waif and the widow,” reads its epilogue, “I have inscribed my precious pronouncements upon my stela.”

“This trope of the king as protector of the downtrodden appears regularly in Mesopotamian inscriptions, but the earliest known example is found on several cone tablets known as the reforms of Urukagina (r. ca. 2350 B.C.), a king of the Sumerian city-state of Lagash, in present-day Iraq. According to the inscriptions, the king addressed a number of social inequities, including reducing the power of greedy temple overseers and abusive foremen. “There’s a consciousness about reform in it that is unique until now,” says Roth, “and in history it comes about here for the first time.”

Beginning of Hammurabi's Code of Laws

“When Anu the Sublime, King of the Anunaki, and Bel, the lord of Heaven and earth, who decreed the fate of the land, assigned to Marduk, the over-ruling son of Ea, God of righteousness, dominion over earthly man, and made him great among the Igigi, they called Babylon by his illustrious name, made it great on earth, and founded an everlasting kingdom in it, whose foundations are laid so solidly as those of heaven and earth; then Anu and Bel called by name me, Hammurabi, the exalted prince, who feared God, to bring about the rule of righteousness in the land, to destroy the wicked and the evil-doers; so that the strong should not harm the weak; so that I should rule over the black-headed people like Shamash, and enlighten the land, to further the well-being of mankind. [Source: Translated by L. W. King]


Prologue of Hammurabi's laws

Hammurabi, the prince, called of Bel am I, making riches and increase, enriching Nippur and Dur-ilu beyond compare, sublime patron of E-kur; who reestablished Eridu and purified the worship of E-apsu; who conquered the four quarters of the world, made great the name of Babylon, rejoiced the heart of Marduk, his lord who daily pays his devotions in Saggil; the royal scion whom Sin made; who enriched Ur; the humble, the reverent, who brings wealth to Gish-shir-gal; the white king, heard of Shamash, the mighty, who again laid the foundations of Sippara; who clothed the gravestones of Malkat with green; who made E-babbar great, which is like the heavens, the warrior who guarded Larsa and renewed E-babbar, with Shamash as his helper; the lord who granted new life to Uruk, who brought plenteous water to its inhabitants, raised the head of E-anna, and perfected the beauty of Anu and Nana; shield of the land, who reunited the scattered inhabitants of Isin; who richly endowed E-gal-mach; the protecting king of the city, brother of the god Zamama; who firmly founded the farms of Kish, crowned E-me-te-ursag with glory, redoubled the great holy treasures of Nana, managed the temple of Harsag-kalama; the grave of the enemy, whose help brought about the victory; who increased the power of Cuthah; made all glorious in E-shidlam, the black steer, who gored the enemy; beloved of the god Nebo, who rejoiced the inhabitants of Borsippa, the Sublime; who is indefatigable for E-zida; the divine king of the city; the White, Wise; who broadened the fields of Dilbat, who heaped up the harvests for Urash; the Mighty, the lord to whom come scepter and crown, with which he clothes himself; the Elect of Ma-ma; who fixed the temple bounds of Kesh, who made rich the holy feasts of Nin-tu; the provident, solicitous, who provided food and drink for Lagash and Girsu, who provided large sacrificial offerings for the temple of Ningirsu; who captured the enemy, the Elect of the oracle who fulfilled the prediction of Hallab, who rejoiced the heart of Anunit; the pure prince, whose prayer is accepted by Adad; who satisfied the heart of Adad, the warrior, in Karkar, who restored the vessels for worship in E-ud-gal-gal; the king who granted life to the city of Adab; the guide of E-mach; the princely king of the city, the irresistible warrior, who granted life to the inhabitants of Mashkanshabri, and brought abundance to the temple of Shidlam; the White, Potent, who penetrated the secret cave of the bandits, saved the inhabitants of Malka from misfortune, and fixed their home fast in wealth; who established pure sacrificial gifts for Ea and Dam-gal-nun-na, who made his kingdom everlastingly great; the princely king of the city, who subjected the districts on the Ud-kib-nun-na Canal to the sway of Dagon, his Creator; who spared the inhabitants of Mera and Tutul; the sublime prince, who makes the face of Ninni shine; who presents holy meals to the divinity of Nin-a-zu, who cared for its inhabitants in their need, provided a portion for them in Babylon in peace; the shepherd of the oppressed and of the slaves; whose deeds find favor before Anunit, who provided for Anunit in the temple of Dumash in the suburb of Agade; who recognizes the right, who rules by law; who gave back to the city of Ashur its protecting god; who let the name of Ishtar of Nineveh remain in E-mish-mish; the Sublime, who humbles himself before the great gods; successor of Sumula-il; the mighty son of Sin-muballit; the royal scion of Eternity; the mighty monarch, the sun of Babylon, whose rays shed light over the land of Sumer and Akkad; the king, obeyed by the four quarters of the world; Beloved of Ninni, am I.

When Marduk sent me to rule over men, to give the protection of right to the land, I did right and righteousness in . . . , and brought about the well-being of the oppressed.

Hammurabi's Code of Laws: 1-8: Basic Legal Stuff

1) If any one ensnare another, putting a ban upon him, but he can not prove it, then he that ensnared him shall be put to death. [Source: Translated by L. W. King]

2) If any one bring an accusation against a man, and the accused go to the river and leap into the river, if he sink in the river his accuser shall take possession of his house. But if the river prove that the accused is not guilty, and he escape unhurt, then he who had brought the accusation shall be put to death, while he who leaped into the river shall take possession of the house that had belonged to his accuser.

3) If any one bring an accusation of any crime before the elders, and does not prove what he has charged, he shall, if it be a capital offense charged, be put to death. 4) If he satisfy the elders to impose a fine of grain or money, he shall receive the fine that the action produces.

5) If a judge try a case, reach a decision, and present his judgment in writing; if later error shall appear in his decision, and it be through his own fault, then he shall pay twelve times the fine set by him in the case, and he shall be publicly removed from the judge's bench, and never again shall he sit there to render judgement.

6) If any one steal the property of a temple or of the court, he shall be put to death, and also the one who receives the stolen thing from him shall be put to death.

7) If any one buy from the son or the slave of another man, without witnesses or a contract, silver or gold, a male or female slave, an ox or a sheep, an ass or anything, or if he take it in charge, he is considered a thief and shall be put to death.

8) If any one steal cattle or sheep, or an ass, or a pig or a goat, if it belong to a god or to the court, the thief shall pay thirtyfold therefor; if they belonged to a freed man of the king he shall pay tenfold; if the thief has nothing with which to pay he shall be put to death.

Hammurabi's Code of Laws: 9-12: Witnesses

9) If any one lose an article, and find it in the possession of another: if the person in whose possession the thing is found say "A merchant sold it to me, I paid for it before witnesses," and if the owner of the thing say, "I will bring witnesses who know my property," then shall the purchaser bring the merchant who sold it to him, and the witnesses before whom he bought it, and the owner shall bring witnesses who can identify his property. The judge shall examine their testimony — both of the witnesses before whom the price was paid, and of the witnesses who identify the lost article on oath. The merchant is then proved to be a thief and shall be put to death. The owner of the lost article receives his property, and he who bought it receives the money he paid from the estate of the merchant. [Source: Translated by L. W. King]

10) If the purchaser does not bring the merchant and the witnesses before whom he bought the article, but its owner bring witnesses who identify it, then the buyer is the thief and shall be put to death, and the owner receives the lost article.

11) If the owner do not bring witnesses to identify the lost article, he is an evil-doer, he has traduced, and shall be put to death.

12) If the witnesses be not at hand, then shall the judge set a limit, at the expiration of six months) If his witnesses have not appeared within the six months, he is an evil-doer, and shall bear the fine of the pending case. [editor's note: there is no 13th law in the code, 13 being considered and unlucky and evil number]

Hammurabi's Code of Laws: 21-25: Theft and Fire


Assyrian soldiers with booty

21) If any one break a hole into a house (break in to steal), he shall be put to death before that hole and be buried. [Source: Translated by L. W. King]

22) If any one is committing a robbery and is caught, then he shall be put to death.

23) If the robber is not caught, then shall he who was robbed claim under oath the amount of his loss; then shall the community, and . . . on whose ground and territory and in whose domain it was compensate him for the goods stolen.

24) If persons are stolen, then shall the community and . . . pay one mina of silver to their relatives.

25) If fire break out in a house, and some one who comes to put it out cast his eye upon the property of the owner of the house, and take the property of the master of the house, he shall be thrown into that self-same fire.

Hammurabi's Code of Laws: 26-39: Chieftains and Soldiers

26) If a chieftain or a man (common soldier), who has been ordered to go upon the king's highway for war does not go, but hires a mercenary, if he withholds the compensation, then shall this officer or man be put to death, and he who represented him shall take possession of his house. [Source: Translated by L. W. King]

27) If a chieftain or man be caught in the misfortune of the king (captured in battle), and if his fields and garden be given to another and he take possession, if he return and reaches his place, his field and garden shall be returned to him, he shall take it over again.

28) If a chieftain or a man be caught in the misfortune of a king, if his son is able to enter into possession, then the field and garden shall be given to him, he shall take over the fee of his father.

29) If his son is still young, and can not take possession, a third of the field and garden shall be given to his mother, and she shall bring him up.

30) If a chieftain or a man leave his house, garden, and field and hires it out, and some one else takes possession of his house, garden, and field and uses it for three years: if the first owner return and claims his house, garden, and field, it shall not be given to him, but he who has taken possession of it and used it shall continue to use it.

31) If he hire it out for one year and then return, the house, garden, and field shall be given back to him, and he shall take it over again.

32) If a chieftain or a man is captured on the "Way of the King" (in war), and a merchant buy him free, and bring him back to his place; if he have the means in his house to buy his freedom, he shall buy himself free: if he have nothing in his house with which to buy himself free, he shall be bought free by the temple of his community; if there be nothing in the temple with which to buy him free, the court shall buy his freedom. His field, garden, and house shall not be given for the purchase of his freedom.

33) If a . . . or a . . . enter himself as withdrawn from the "Way of the King," and send a mercenary as substitute, but withdraw him, then the . . . or . . . shall be put to death.

34) If a . . . or a . . . harm the property of a captain, injure the captain, or take away from the captain a gift presented to him by the king, then the . . . or . . . shall be put to death.

35) If any one buy the cattle or sheep which the king has given to chieftains from him, he loses his money.

36) The field, garden, and house of a chieftain, of a man, or of one subject to quit-rent, can not be sold.

37) If any one buy the field, garden, and house of a chieftain, man, or one subject to quit-rent, his contract tablet of sale shall be broken (declared invalid) and he loses his money. The field, garden, and house return to their owners.

  1. A chieftain, man, or one subject to quit-rent can not assign his tenure of field, house, and garden to his wife or daughter, nor can he assign it for a debt.

  2. He may, however, assign a field, garden, or house which he has bought, and holds as property, to his wife or daughter or give it for debt.

Hammurabi's Code of Laws: 133-136: Prisoners of War

133) If a man is taken prisoner in war, and there is a sustenance in his house, but his wife leave house and court, and go to another house: because this wife did not keep her court, and went to another house, she shall be judicially condemned and thrown into the water.

134) If any one be captured in war and there is not sustenance in his house, if then his wife go to another house this woman shall be held blameless.

135) If a man be taken prisoner in war and there be no sustenance in his house and his wife go to another house and bear children; and if later her husband return and come to his home: then this wife shall return to her husband, but the children follow their father.

Hammurabi's Code of Laws: 195-214: Eye-for-an-Eye Justice and Fines

195) If a son strike his father, his hands shall be hewn off. [Source: Translated by L. W. King]

196) If a man put out the eye of another man, his eye shall be put out. [ An eye for an eye ]

197) If he break another man's bone, his bone shall be broken.


198) If he put out the eye of a freed man, or break the bone of a freed man, he shall pay one gold mina.

199) If he put out the eye of a man's slave, or break the bone of a man's slave, he shall pay one-half of its value.

200) If a man knock out the teeth of his equal, his teeth shall be knocked out. [ A tooth for a tooth ]

201) If he knock out the teeth of a freed man, he shall pay one-third of a gold mina.

202) If any one strike the body of a man higher in rank than he, he shall receive sixty blows with an ox-whip in public.

203) If a free-born man strike the body of another free-born man or equal rank, he shall pay one gold mina.

204) If a freed man strike the body of another freed man, he shall pay ten shekels in money.

205) If the slave of a freed man strike the body of a freed man, his ear shall be cut off.

206) If during a quarrel one man strike another and wound him, then he shall swear, "I did not injure him wittingly," and pay the physicians.

207) If the man die of his wound, he shall swear similarly, and if he (the deceased) was a free-born man, he shall pay half a mina in money.

208) If he was a freed man, he shall pay one-third of a mina.

209) If a man strike a free-born woman so that she lose her unborn child, he shall pay ten shekels for her loss.

210) If the woman die, his daughter shall be put to death.

211) If a woman of the free class lose her child by a blow, he shall pay five shekels in money.

212) If this woman die, he shall pay half a mina.

213) If he strike the maid-servant of a man, and she lose her child, he shall pay two shekels in money.

214) If this maid-servant die, he shall pay one-third of a mina.

Hammurabi's Code of Laws: Epilogue

LAWS of justice which Hammurabi, the wise king, established. A righteous law, and pious statute did he teach the land. Hammurabi, the protecting king am I. I have not withdrawn myself from the men, whom Bel gave to me, the rule over whom Marduk gave to me, I was not negligent, but I made them a peaceful abiding-place. I expounded all great difficulties, I made the light shine upon them. With the mighty weapons which Zamama and Ishtar entrusted to me, with the keen vision with which Ea endowed me, with the wisdom that Marduk gave me, I have uprooted the enemy above and below (in north and south), subdued the earth, brought prosperity to the land, guaranteed security to the inhabitants in their homes; a disturber was not permitted. The great gods have called me, I am the salvation-bearing shepherd, whose staff is straight, the good shadow that is spread over my city; on my breast I cherish the inhabitants of the land of Sumer and Akkad; in my shelter I have let them repose in peace; in my deep wisdom have I enclosed them. That the strong might not injure the weak, in order to protect the widows and orphans, I have in Babylon the city where Anu and Bel raise high their head, in E-Sagil, the Temple, whose foundations stand firm as heaven and earth, in order to bespeak justice in the land, to settle all disputes, and heal all injuries, set up these my precious words, written upon my memorial stone, before the image of me, as king of righteousness. [Source: Translated by L. W. King]


The king who ruleth among the kings of the cities am I. My words are well considered; there is no wisdom like unto mine. By the command of Shamash, the great judge of heaven and earth, let righteousness go forth in the land: by the order of Marduk, my lord, let no destruction befall my monument. In E-Sagil, which I love, let my name be ever repeated; let the oppressed, who has a case at law, come and stand before this my image as king of righteousness; let him read the inscription, and understand my precious words: the inscription will explain his case to him; he will find out what is just, and his heart will be glad, so that he will say:

"Hammurabi is a ruler, who is as a father to his subjects, who holds the words of Marduk in reverence, who has achieved conquest for Marduk over the north and south, who rejoices the heart of Marduk, his lord, who has bestowed benefits for ever and ever on his subjects, and has established order in the land."

When he reads the record, let him pray with full heart to Marduk, my lord, and Zarpanit, my lady; and then shall the protecting deities and the gods, who frequent E-Sagil, graciously grant the desires daily presented before Marduk, my lord, and Zarpanit, my lady.

In future time, through all coming generations, let the king, who may be in the land, observe the words of righteousness which I have written on my monument; let him not alter the law of the land which I have given, the edicts which I have enacted; my monument let him not mar. If such a ruler have wisdom, and be able to keep his land in order, he shall observe the words which I have written in this inscription; the rule, statute, and law of the land which I have given; the decisions which I have made will this inscription show him; let him rule his subjects accordingly, speak justice to them, give right decisions, root out the miscreants and criminals from this land, and grant prosperity to his subjects.

Hammurabi, the king of righteousness, on whom Shamash has conferred right (or law) am I. My words are well considered; my deeds are not equaled; to bring low those that were high; to humble the proud, to expel insolence. If a succeeding ruler considers my words, which I have written in this my inscription, if he do not annul my law, nor corrupt my words, nor change my monument, then may Shamash lengthen that king's reign, as he has that of me, the king of righteousness, that he may reign in righteousness over his subjects. If this ruler do not esteem my words, which I have written in my inscription, if he despise my curses, and fear not the curse of God, if he destroy the law which I have given, corrupt my words, change my monument, efface my name, write his name there, or on account of the curses commission another so to do, that man, whether king or ruler, patesi, or commoner, no matter what he be, may the great God (Anu), the Father of the gods, who has ordered my rule, withdraw from him the glory of royalty, break his scepter, curse his destiny. May Bel, the lord, who fixeth destiny, whose command can not be altered, who has made my kingdom great, order a rebellion which his hand can not control; may he let the wind of the overthrow of his habitation blow, may he ordain the years of his rule in groaning, years of scarcity, years of famine, darkness without light, death with seeing eyes be fated to him; may he (Bel) order with his potent mouth the destruction of his city, the dispersion of his subjects, the cutting off of his rule, the removal of his name and memory from the land. May Belit, the great Mother, whose command is potent in E-Kur (the Babylonian Olympus), the Mistress, who harkens graciously to my petitions, in the seat of judgment and decision (where Bel fixes destiny), turn his affairs evil before Bel, and put the devastation of his land, the destruction of his subjects, the pouring out of his life like water into the mouth of King Bel. May Ea, the great ruler, whose fated decrees come to pass, the thinker of the gods, the omniscient, who maketh long the days of my life, withdraw understanding and wisdom from him, lead him to forgetfulness, shut up his rivers at their sources, and not allow corn or sustenance for man to grow in his land. May Shamash, the great Judge of heaven and earth, who supporteth all means of livelihood, Lord of life-courage, shatter his dominion, annul his law, destroy his way, make vain the march of his troops, send him in his visions forecasts of the uprooting of the foundations of his throne and of the destruction of his land. May the condemnation of Shamash overtake him forthwith; may he be deprived of water above among the living, and his spirit below in the earth. May Sin (the Moon-god), the Lord of Heaven, the divine father, whose crescent gives light among the gods, take away the crown and regal throne from him; may he put upon him heavy guilt, great decay, that nothing may be lower than he. May he destine him as fated, days, months and years of dominion filled with sighing and tears, increase of the burden of dominion, a life that is like unto death. May Adad, the lord of fruitfulness, ruler of heaven and earth, my helper, withhold from him rain from heaven, and the flood of water from the springs, destroying his land by famine and want; may he rage mightily over his city, and make his land into flood-hills (heaps of ruined cities). May Zamama, the great warrior, the first-born son of E-Kur, who goeth at my right hand, shatter his weapons on the field of battle, turn day into night for him, and let his foe triumph over him. May Ishtar, the goddess of fighting and war, who unfetters my weapons, my gracious protecting spirit, who loveth my dominion, curse his kingdom in her angry heart; in her great wrath, change his grace into evil, and shatter his weapons on the place of fighting and war. May she create disorder and sedition for him, strike down his warriors, that the earth may drink their blood, and throw down the piles of corpses of his warriors on the field; may she not grant him a life of mercy, deliver him into the hands of his enemies, and imprison him in the land of his enemies. May Nergal, the might among the gods, whose contest is irresistible, who grants me victory, in his great might burn up his subjects like a slender reedstalk, cut off his limbs with his mighty weapons, and shatter him like an earthen image. May Nin-tu, the sublime mistress of the lands, the fruitful mother, deny him a son, vouchsafe him no name, give him no successor among men. May Nin-karak, the daughter of Anu, who adjudges grace to me, cause to come upon his members in E-kur high fever, severe wounds, that can not be healed, whose nature the physician does not understand, which he can not treat with dressing, which, like the bite of death, can not be removed, until they have sapped away his life.


Code of Hammurabi


May he lament the loss of his life-power, and may the great gods of heaven and earth, the Anunaki, altogether inflict a curse and evil upon the confines of the temple, the walls of this E-barra (the Sun temple of Sippara), upon his dominion, his land, his warriors, his subjects, and his troops. May Bel curse him with the potent curses of his mouth that can not be altered, and may they come upon him forthwith.

Image Sources: Wikimedia Commons

Text Sources: Internet Ancient History Sourcebook: Mesopotamia sourcebooks.fordham.edu , National Geographic, Smithsonian magazine, especially Merle Severy, National Geographic, May 1991 and Marion Steinmann, Smithsonian, December 1988, New York Times, Washington Post, Los Angeles Times, Discover magazine, Times of London, Natural History magazine, Archaeology magazine, The New Yorker, BBC, Encyclopædia Britannica, Metropolitan Museum of Art, Time, Newsweek, Wikipedia, Reuters, Associated Press, The Guardian, AFP, Lonely Planet Guides, “World Religions” edited by Geoffrey Parrinder (Facts on File Publications, New York); “History of Warfare” by John Keegan (Vintage Books); “History of Art” by H.W. Janson Prentice Hall, Englewood Cliffs, N.J.), Compton’s Encyclopedia and various books and other publications.

Last updated July 2024


This site contains copyrighted material the use of which has not always been authorized by the copyright owner. Such material is made available in an effort to advance understanding of country or topic discussed in the article. This constitutes 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit. If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner. If you are the copyright owner and would like this content removed from factsanddetails.com, please contact me.