Was the Mosaic law borrowed from Hammurabi?


By BibleAsk Team

The question of whether the Mosaic Law, as outlined in the Old Testament of the Bible, was borrowed from the Code of Hammurabi, a set of laws from ancient Mesopotamia, is an interesting topic. While some similarities exist between the two legal codes, a thorough examination of the historical, cultural, and textual evidence suggests that the Mosaic Law is distinct in its origins, content, and theological significance. By exploring the contexts in which these legal codes emerged, analyzing their contents, and considering their theological implications, we can gain a deeper understanding of their unique characteristics and significance within their respective cultural and religious contexts.

Historical Context of Hammurabi

Ancient Mesopotamia

The Code of Hammurabi dates back to the 18th century BCE and was promulgated by Hammurabi, the sixth king of the First Babylonian Dynasty. It is one of the oldest known legal codes in human history and provides insights into the legal and social norms of ancient Mesopotamia, particularly in the region of Babylonia.

Ancient Israel

In contrast, the Mosaic Law, also known as the Law of Moses or the Torah, was given to the Israelites by God through the prophet Moses during their wilderness journey after the exodus from Egypt. The exact dating of the Mosaic Law is a subject of debate among scholars, but it is generally believed to have been codified during the second millennium BCE.

Comparative Analysis

Legal Content

While there are some similarities between the Code of Hammurabi and the Mosaic Law in terms of legal provisions and principles, there are also significant differences that distinguish them from one another:

  1. Source of Authority: The Code of Hammurabi is attributed to Hammurabi himself and reflects his role as a ruler and lawmaker. In contrast, the Mosaic Law is presented as divinely revealed to Moses by God on Mount Sinai, emphasizing its divine origin and authority.
  2. Scope of Application: The Code of Hammurabi primarily addresses civil and criminal matters within the Babylonian society, focusing on issues such as property rights, marriage, and punishment for crimes. The Mosaic Law, on the other hand, encompasses a broader range of topics, including religious rituals, moral injunctions, and social welfare provisions, reflecting its comprehensive nature as a covenantal document governing every aspect of Israelite life.
  3. Ethical Standards: While both legal codes include provisions related to justice, fairness, and social order, the Mosaic Law places a greater emphasis on ethical principles derived from Israel’s covenant relationship with God. It contains moral imperatives and theological teachings aimed at shaping the religious identity and ethical conduct of the Israelite community.

Theological Significance

One of the key distinctions between the Mosaic Law and the Code of Hammurabi lies in their theological underpinnings and religious implications:

  1. Monotheistic Faith: The Mosaic Law is grounded in the monotheistic faith of ancient Israel, which emphasized the exclusive worship of Yahweh, the God of Israel. The legal provisions of the Mosaic Law are inseparable from Israel’s religious beliefs and covenant relationship with God, reflecting a distinct theological worldview.
  2. Covenantal Framework: The Mosaic Law is part of the covenantal relationship established between God and the people of Israel, as articulated in the Pentateuch (the first five books of the Bible). It serves as the legal and moral foundation of Israel’s identity as a chosen people, outlining their obligations to God and to one another within the framework of the covenant.
  3. Redemptive Purpose: Unlike the Code of Hammurabi, which primarily served to maintain social order and preserve the authority of the king, the Mosaic Law had a broader redemptive purpose. It provided a means for reconciliation, atonement, and restoration through rituals such as sacrifice and purification, foreshadowing the ultimate redemption accomplished through Jesus Christ in Christian theology.

Scholarly Perspectives

While some scholars have suggested possible influences or parallels between the Code of Hammurabi and certain aspects of the Mosaic Law, such as legal formulas or casuistic laws, the majority view among biblical scholars is that the similarities are largely superficial and do not imply direct borrowing or dependence.

Scholars employ various methods of comparative analysis, including textual criticism, historical linguistics, and archaeology, to assess the relationship between ancient legal codes such as the Code of Hammurabi and the Mosaic Law. While these methods can highlight shared cultural influences and legal traditions within the ancient Near East, they also recognize the distinctiveness of the Mosaic Law within its religious and historical context.

Theological Perspective

Critical scholars claim that the Mosaic laws came into existence after the Jews contacted the Babylonians during the first millennium B.C. And that it was borrowed from the code of Hammurabi. But this is incorrect because Moses received the laws from God at Mt. Sinai in the middle of the second millennium B.C. Therefore, the best explanation to the critics’ claims is that both laws had the same origin.

Humans knew God’s laws from the very beginning of time. The Scriptures tell us that Abraham observed all of Gods’ laws, principles, and commandments four centuries before the Exodus (Genesis 26:5). The laws that were given on Mt. Sinai were merely a repetition of God’s commands that had been given to humans at creation.

Like Abraham, the Mesopotamian people were taught these laws and they in turn passed them on from generation to generation, orally and later in writing. But as the heathen influences slowly crept in the belief systems, they tainted these pure moral and legal principles, corrupted them, and made them less humane.

People believed for many years that the Code of Hammurabi was the oldest law. But recently, several much older laws were discovered. Such law is the Code of Lipit-Isthar which came from Nippur and was published in 1948. This law was written in Sumerian language around one or two centuries before the Code of Hammurabi and is very similar to it.

Also, the Code of King Bilalama of Eshnunna was discovered in Harmal near Baghdad in the 1948 and was also published. This law was given by people who ruled some 300 years before Hammurabi. This code existed before the laws of Lipit-Ishtar and Hammurabi.

And in 1954, another law the code of Ur-Nammu was discovered, even older than the rest, and was published. This law includes laws far more humane and just than the ones that were discovered before it.

These discoveries prove that the closer in time a law to have existed to God’s original law, the more it reflected the character of the real lawgiver. For the Creator’s laws resembled His nature of love and justice.

Theological Implications

The question of the relationship between the Mosaic Law and the Code of Hammurabi has theological implications for understanding the nature of divine revelation, the character of God, and the interpretation of biblical texts:

  1. Divine Revelation: The Mosaic Law is understood within the biblical tradition as a product of divine revelation, given by God to Moses for the guidance and instruction of the Israelite community. Its theological significance lies in its role as a covenantal document that establishes the terms of Israel’s relationship with God.
  2. Cultural Context: While the Mosaic Law reflects the cultural and historical context of ancient Israel, its theological teachings and moral principles transcend cultural boundaries and remain relevant to believers today. It serves as a source of ethical guidance and spiritual insight within the Judeo-Christian tradition.
  3. Redemptive History: The Mosaic Law is situated within the broader narrative of redemptive history, culminating in the person and work of Jesus Christ in Christian theology. While the Mosaic Law provided temporary provisions for atonement and reconciliation, its ultimate fulfillment is found in the sacrificial death and resurrection of Jesus, who inaugurated a new covenant based on grace and faith.


In conclusion, while similarities exist between the Code of Hammurabi and the Mosaic Law in terms of legal content and cultural context, a comprehensive analysis reveals significant differences in their origins, theological foundations, and purposes. While the Code of Hammurabi reflects the legal and social norms of ancient Mesopotamia, the Mosaic Law is distinguished by its divine origin, covenantal framework, and redemptive significance within the biblical tradition.

While scholarly inquiry continues to explore the relationship between these ancient legal codes, the theological significance of the Mosaic Law remains foundational to the Judeo-Christian faith tradition, serving as a source of moral guidance, spiritual insight, and theological reflection for believers throughout history.

Categories Law

We'd love your feedback, so leave a comment!

If you feel an answer is not 100% Bible based, then leave a comment, and we'll be sure to review it.
Our aim is to share the Word and be true to it.