Skip to content
— CH. 1 · INTRODUCTION —

Civil code

~8 min read · Ch. 1 of 8
8 sections
  • Civil codes are among the oldest surviving human documents. The Code of Ur-Nammu, written around 2100-2050 BC, holds the distinction of being the earliest civil code still in existence. It predates by centuries the more famous Code of Hammurabi from Mesopotamia, dated to around 1780 BC. These ancient texts raise a question that runs through the entire history of law: why do societies feel compelled to gather their rules into a single, organized document? And when they do, whose ideas end up shaping the result?

    At its core, a civil code is a codification of private law. It covers property, family, and obligations. But behind that dry definition lies an extraordinary story of conquest, revolution, and intellectual rivalry. The Corpus Juris Civilis, compiled between 529 and 534 AD under the Byzantine emperor Justinian I, would eventually shape the legal systems of Continental Europe for over a thousand years. The Age of Enlightenment would spark a fresh wave of codification, and a single French legal document enacted in 1804 would travel across two hemispheres in the baggage of occupying armies. One country after another would adopt, copy, or borrow from it. And then a rival German approach, enacted in 1900, would quietly displace the French model across much of Asia and parts of southern Europe.

  • Religious and customary codes ran parallel to civil law long before Justinian gathered Roman law into a single body of text. The Law of Manu in Hindu tradition, Islamic Sharia law, the Mishnah in Jewish Halakha, and the Canons of the Apostles in Christian Canon law all represent traditions of written legal codification operating alongside secular codes.

    Justinian I, the Byzantine emperor, commissioned what became known as the Corpus Juris Civilis. Compiled between 529 and 534 AD, it gathered and systematized centuries of Roman legal thought. This body of work would become the foundation on which civil law legal systems in Continental Europe were built. When Enlightenment thinkers in the 18th century began arguing that all spheres of life could be organized through human reason, they were consciously drawing on this Roman inheritance. The experience of early Roman codification gave them both a model and a justification for trying again.

  • Bavaria was first. The Codex Maximilianeus bavaricus civilis, enacted in 1756, was the earliest statute to carry the name of a modern civil code. Written in Latin, it preceded by several decades the broader movement toward codification in Continental Europe.

    The other German states were not far behind. Prussia followed in 1792 with the Allgemeines Landrecht fur die Preussischen Staaten, a compilation covering civil, penal, and constitutional law, promulgated under King Frederick II the Great. Austria moved more gradually. The Codex Theresianus was compiled between 1753 and 1766 but remained incomplete. The Josephinian Code appeared in 1787. The West Galician Code was enacted in 1797 as a test, applied only in Galicia. The full Austrian Civil Code, the Allgemeines burgerliches Gesetzbuch or ABGB, was finally completed in 1811, shaped by the dissolution of the Holy Roman Empire and the upheavals of the Napoleonic Wars. Serbia, taking up the model through legal transplants, enacted its own civil code in 1844, one of the first countries to follow the German path.

  • France moved faster than any of its neighbors. The Napoleonic Code, the Code Civil, was enacted in 1804 after only a few years of preparation. It was, as one characterization holds, a child of the French Revolution, and its content strongly reflected that origin. The French approach was casuistic: it attempted to regulate every possible situation rather than laying down abstract principles.

    The code spread by force. Countries under French occupation during the Napoleonic Wars adopted it, including Italy, the Benelux countries, Spain, and Portugal. Portugal would later replace its French-influenced code with the Civil Code of 1966, which drew heavily instead from the German BGB. Latin American countries, the province of Quebec in Canada, and former French colonies also built their civil law systems on the Napoleonic foundation.

    One persistent myth is that Louisiana based its code on the Napoleonic model. The drafters of the Louisiana code were actually instructed to write based on the laws then in force, which were Spanish laws derived from Las Siete Partidas. In the Americas, the first civil code promulgated in Canada was not Quebec's but that of New Brunswick in 1804, inspired by the 1800 French project known as the Projet de l'an VIII.

  • Germany's national unification project produced the Burgerliches Gesetzbuch, the BGB, which came into force in 1900. It emerged from the School of Pandectism, which organized law from general and fundamental principles down to specific areas such as contract law, labour law, and inheritance law. Switzerland followed with its Zivilgesetzbuch in 1907.

    Where the French code tried to address every scenario directly, the German and Swiss codes worked at a higher level of abstraction. This made them more adaptable and technically sophisticated in the eyes of later reformers. Japan, Greece, Turkey, Portugal in its 1966 revision, and Macau in its 1999 Civil Code all drew substantially from the BGB model. The scholars of comparative law who developed what became known as the legal origins theory typically group Germany, Austria, Switzerland, Liechtenstein, Japan, China, Taiwan, South Korea, and Ukraine together as belonging to the German legal tradition.

    Austria's ABGB offers a telling illustration of how the two traditions interact. Austrian civil law is typically taught using the Pandect System devised by German scholars, even though the structure of the Austrian code itself does not follow that system. The intellectual framework and the legal text diverged, and the German framework won out in the classroom.

  • Portugal's Civil Code of 1868 was introduced to Portuguese overseas territories in Asia from 1870, covering Portuguese India, Macau, and Portuguese Timor. When Portuguese rule over Goa, Daman and Diu, and Dadra and Nagar Haveli ended in 1961, the 1868 code remained in force there. It is still in force in those territories today, known locally as the Goa civil code.

    Spain's 1889 civil code was enforced in the Philippines as a colony and remained in effect after Spanish rule ended. The Philippines did not enact its own Civil Code until 1950, nearly fifty years into American administration. Indonesia's situation is similarly layered: the Dutch Civil Code of 1838 has remained in force there since 1848, even after the Netherlands replaced it with a new code in 1992.

    China's Civil Code followed a long and interrupted path. Legislation began in 1954 after the first Constitution was adopted, but stopped and restarted multiple times. The current process resumed in 2014; the General Provisions were adopted in 2017. Despite the delay of the 2020 National People's Congress due to the COVID-19 pandemic, delegates gathered in Beijing on May 22 that year, passed the code on May 28, and it came into force on the 1st of January 2021. The Indian Constitution, in Article 44 of its Directive Principles of State Policy, recommends a Uniform Civil Code, but parliament has not yet enacted one.

  • Older codes such as the French, Egyptian, Austrian, and Spanish ones follow a structure derived from the Roman jurist Gaius, dividing law into three parts: the Law of Persons, the Law of Things, and issues common to both. Newer codes, including those of Germany, Switzerland, Greece, Portugal, Romania, and Catalonia, follow the Pandectist System, which separates out a general part, the Law of Obligation, the Law of Real Rights, Family Law, and the Law of Inheritance.

    Louisiana's code takes a third path, following the Institutional System but dividing into five parts: a Preliminary Title, Of Persons, Things and Different Modifications of Ownership, Of Different Modes of Acquiring the Ownership of Things, and Conflict of Laws. The Prussian Allgemeines Landrecht of 1794 is often cited as a cautionary example of the casuistic approach taken too far: it ran to 11,000 sections and was considered unsuccessful.

    The French Civil Code carries one distinctive legal feature: it prohibits judges from deciding cases by introducing a general rule, which would amount to an exercise of legislative power. As a result, there is no rule of stare decisis, or binding precedent, in French law. What exists instead is jurisprudence constante, a pattern of consistent decisions that guides interpretation without formally binding courts. The Civil Code of Catalonia, being built book by book since 2002, represents one of the more recent ongoing codification projects, with its sixth book on obligations and contracts still awaiting approval.

Common questions

What is the oldest surviving civil code in history?

The Code of Ur-Nammu, written around 2100-2050 BC, is the earliest surviving civil code. It predates the Code of Hammurabi from Mesopotamia, which dates to around 1780 BC.

What is the Napoleonic Code and which countries did it influence?

The Napoleonic Code, or Code Civil, was enacted in France in 1804 as a product of the French Revolution. It spread to Italy, the Benelux countries, Spain, Portugal, Latin American countries, Quebec in Canada, and former French colonies, all of which built their civil law systems substantially on its foundation.

How did the German BGB differ from the French Civil Code?

The German BGB, enacted in 1900, applied an abstract and systematic approach, organizing law from general principles down to specific areas. The French code used a casuistic approach, attempting to regulate every possible situation directly rather than through abstract principles.

Is the Louisiana Civil Code based on the Napoleonic Code?

No. The drafters of the Louisiana code were instructed to write a civil code based on the laws then in force, which were Spanish laws derived from Las Siete Partidas. It is a common misconception that the Louisiana code is based on the Napoleonic model.

Which Latin American civil code had the widest regional influence?

Chile's civil code of 1855, written by Andres Bello starting in 1833, was adopted in full by Ecuador in 1858, El Salvador in 1859, Nicaragua in 1867, Honduras in 1880, Colombia in 1887, and Panama after its separation from Colombia in 1903.

When did China's Civil Code come into force?

China's Civil Code was passed on the 28th of May 2020, and came into force on the 1st of January 2021. Codification efforts had begun in 1954 but were interrupted and restarted several times before the current process resumed in 2014.