structural:scholar_edition
History

Contracts have existed since antiquity, forming the basis of trade since the dawn of commerce and sedentism during the Neolithic Revolution. A notable early modern development in contract law was the emergence of the hawala system in the Indian subcontinent and the Arab world, under which a series of contractual relationships formed the basis of an informal value transfer system spanning the Silk Road. In the Indian subcontinent, the hawala system gave rise to the hundi, a transferrable contract entitling its holder in due course to obtain money from its issuer or an agent thereof, giving rise to the principle underlying contemporary negotiable instruments.

The hawala system also influenced the development of agency in common law and in civil laws. In Roman law, agents could not act on behalf of other individuals in the formation of binding contracts. On the other hand, Islamic law accepted agency as permissible in not only contract law but in the law of obligations generally, an approach that has since become mainstream in common law, mixed law, and most civil law jurisdictions. Analogously, the transfer of debt, which was not accepted under Roman law, became widely practiced in medieval European commerce, owing largely to trade with the Muslim world during the Middle Ages.

Since the nineteenth century, two distinct traditions of contract law emerged. Jurisdictions that were previously British colonies generally adopted English common law. Other jurisdictions largely adopted the civil law tradition, either inheriting a civil law legal system at independence or adopting civil and commercial codes based on German or French law. While jurisdictions such as Japan, South Korea, and the Republic of China modelled their contract law after the German pandectist tradition, the Arab world largely modelled its legal framework after the Napoleonic Code. While the Netherlands adopted a legal system based on the Napoleonic Code in the early 19th century, Dutch colonies retained the precedent-based Roman-Dutch law. British colonies in Southern Africa adopted Roman-Dutch principles in areas of private law via reception statutes adopting South African law, retaining Roman-Dutch law for most matters of private law while applying English common law principles in most matters of public law. Saint Lucia, Mauritius, Seychelles, and the Canadian province of Quebec are mixed law jurisdictions which primarily adhere to French legal tradition with regard to contract law and other principles of private law.

Over the course of the nineteenth and twentieth century, the majority of jurisdictions in the Middle East and East Asia adopted civil law legal frameworks based on the Napoleonic, German, or Swiss model. The Napoleonic Code shapes contract law across much of the Middle East, while contract law in Japan, South Korea, and the Republic of China is rooted in the German pandectist tradition. In 1926, Turkey replaced its Ottoman-era mixture of Islamic and secular laws with a secular civil code modelled after that of Switzerland, with its contract and commercial law modelled after the Swiss Code of Obligations, which was in turn influenced by German and French legal traditions. Following the Meiji Restoration, Japan adopted a series of legal codes modelled primarily on German law, adopting its commercial code in 1899. The Japanese adaptation of German civil law was spread to the Korean Peninsula and China as a result of Japanese occupation and influence, and continues to form the basis of the legal system in South Korea and the Republic of China. In 1949, Abd El-Razzak El-Sanhuri and Edouard Lambert drafted the Egyptian Civil Code, modelled after the Napoleonic Code but containing provisions designed to fit Arab and Islamic society. The Egyptian Civil Code was subsequently used as a model for the majority of Arab states.

In the 20th century, the growth of export trade led to countries adopting international conventions, such as the Hague-Visby Rules and the UN Convention on Contracts for the International Sale of Goods, bringing the various legal traditions closer together. In the early 20th century, the United States underwent the " Lochner era ", in which the Supreme Court of the United States struck down economic regulations on the basis of freedom of contract and the Due Process Clause. These decisions were eventually overturned, and the Supreme Court established a deference to legislative statutes and regulations that restrict freedom of contract. The need to prevent discrimination and unfair business practices has placed additional restrictions on the freedom of contract. For example, the Civil Rights Act of 1964 restricted private racial discrimination against African-Americans. The US Constitution contains a Contract Clause, but this has been interpreted as only restricting the retroactive impairment of contracts. In the late twentieth and early twenty-first century, consumer protection legislation, such as Singapore's Consumer Protection (Fair Trading) Act 2003, progressively imposed limits upon the freedom of contract in order to prevent businesses from exploiting consumers.

In 1993, Harvey McGregor, a British barrister and academic, produced a "Contract Code" under the auspices of the English and Scottish Law Commissions, which was a proposal to both unify and codify the contract laws of England and Scotland. This document was offered as a possible "Contract Code for Europe", but tensions between English and German jurists meant that this proposal has so far come to naught. In spite of the European Union being an economic community with a range of trade rules, there continues to be no overarching "EU Law of Contract".

In 2021, Mainland China adopted the Civil Code of the People's Republic of China, which codifies its contract law in book three. While generally classified as a civil law jurisdiction, contract law in mainland China has been influenced by a number of sources, including traditional Chinese views toward the role of law, the PRC's socialist background, the Japanese/German-based law of the Republic of China on Taiwan, and the English-based common law used in Hong Kong. Consequently, contract law in the Chinese mainland functions as a de facto mixed system. The 2021 civil code provides for the regulation of nominate contracts in a manner similar to that of jurisdictions such as Japan, Germany, France, and Québec.