The Spanish Civil Code is the cornerstone of private law in Spain. Enacted in 1889, it governs the relationships between natural and legal persons in everything that lacks a special rule: property, contracts, inheritance, family, civil liability. For any Spanish company, knowing its fundamental provisions is not an academic exercise: it is a risk management tool. The majority of civil and commercial disputes find their basis in the Civil Code.
This guide analyses the Civil Code as it stands in 2026, following the Ley 8/2021 reform and with the most recent Supreme Court case law.
What is the Spanish Civil Code and what is its origin
The Royal Decree of 24 July 1889, which enacted the Civil Code, was the result of decades of failed attempts to codify Spanish civil law. The codification process began with the Constitution of Cádiz in 1812 and saw several unsuccessful drafts (1836, 1851) before the system of Foral Compilations and the Civil Code of 1889 found an equilibrium between common Castilian law and the foral laws of Catalonia, Aragon, Navarre, the Basque Country, Galicia and the Balearic Islands.
The Civil Code of 1889 remains in force in its essentials, albeit with profound reforms. The most relevant have been: the family law reform of 1981 (divorce, shared parental authority), Ley 40/1999 on names and surnames, Ley 13/2005 introducing same-sex marriage, and the 2021 reform on the legal capacity of persons with disabilities.
Structure of the Civil Code: four books
The Civil Code is structured in four books and a Preliminary Title:
Preliminary Title (arts. 1-16). Contains rules on sources of law, efficacy of legal rules, application and interpretation, and private international law. Art. 1 CC establishes the hierarchy of sources of the Spanish legal order: statute, custom and general principles of law.
Book I: Persons (arts. 17-332). Governs nationality and civil status, domicile, birth and extinction of legal personality, legal capacity, emancipation, incapacitation (now largely replaced by the 2021 support system), absence, marriage, matrimonial property regime, parentage and parental authority.
Book II: Property, ownership and its modifications (arts. 333-608). Classifies assets (movables and immovables), governs ownership (acquisition, conservation and loss), community of property, usufruct, use and habitation, easements and the Land Registry.
Book III: Different modes of acquiring ownership (arts. 609-1087). Governs occupation, donation and succession. On succession, it establishes wills, forced heirs, the legítima, the mejora and intestate succession.
Book IV: Obligations and contracts (arts. 1088-1975). This is the book with the greatest practical impact for companies. It governs the sources of obligations, their modalities, transfer and extinction; contracts in general (formation, effects, interpretation, invalidity); and specific named contracts (sale, barter, tenancy, mandate, loan, deposit, civil partnership, settlement). It also includes extra-contractual liability (arts. 1902-1910) and limitation of actions (arts. 1961-1975).
Extra-contractual liability: arts. 1902-1910 CC
Art. 1902 and Aquilian liability
Art. 1902 CC is one of the most invoked provisions in Spanish civil litigation. It establishes the obligation to compensate anyone whose damage was caused by another’s fault or negligence. Its elements are:
Action or omission. This may be a positive act (negligent driving, defective installation) or an omission where there was a duty to act (doctor who fails to take preventive measures, company that fails to protect personal data).
Damage. Must be certain, economically assessable and causally linked to the conduct. Courts distinguish between damnum emergens (actual loss), lucrum cessans (frustrated profit) and moral damage (suffering, loss of opportunities not materially assessable).
Causal link. Spanish doctrine applies adequate causation: a conduct is a cause of damage if it regularly and foreseeably tends to produce that result. Liability is excluded where damage is caused by force majeure or the exclusive fault of the victim.
Fault or negligence. The standard is that of a ‘good head of household’ (art. 1104 CC): a person who fails to show the diligence required in the circumstances is negligent. For professional activities, the standard rises to that of the average professional diligence in the sector.
Liability for the acts of others (art. 1903 CC)
Art. 1903 CC extends liability to those who have others or their property in their care:
- Parents for damage caused by minor children living in their care.
- Guardians for minors in their care.
- Educational establishments for damage caused by their pupils during school hours.
- Employers for damage caused by their employees in the course of their functions.
Employer liability for employees (art. 1903.4 CC) is one of the most widely used bases in commercial litigation: when a commercial agent, executive or employee causes damage to a third party in the exercise of their functions, the company is jointly and severally liable, even if it had no direct fault. It is released only by proving it employed all the diligence of a good head of household to prevent the damage (reversal of the burden of proof).
The contract regime: Book IV of the CC
Formation and elements of the contract (arts. 1258-1270 CC)
Art. 1258 CC provides that contracts are formed by mere consent, and from then on oblige parties to fulfil what is expressly agreed and all consequences that according to their nature are consistent with good faith, usage and law. This provision is the basis of the binding force of contracts (pacta sunt servanda) and their integration with trade usages and good faith.
For a contract to be valid, the three elements of art. 1261 CC are required: consent, object and cause. Defects in consent (art. 1265 CC: error, violence, intimidation, fraud) and lack of object or cause determine the voidability or nullity of the contract.
Breach and termination (art. 1124 CC)
Art. 1124 CC is the most litigated provision in Spanish contract law. It provides that in bilateral contracts, if one party fails to perform, the other may choose between demanding performance or terminating the contract, always with damages. Termination may be exercised directly by declaration to the debtor (Supreme Court case law since 1966), without needing to go to court, although the debtor may challenge it judicially.
The Supreme Court requires the breach to be essential and serious to admit termination: not any partial non-performance justifies terminating the contract. The criteria are the frustration of the economic purpose of the contract, the importance of the unperformed obligation and the debtor’s manifest intention not to perform.
Named contracts: sale, tenancy and mandate
Sale (arts. 1445-1537 CC) is the most common contract in civil commerce. The seller is obliged to deliver the thing and to give warranty against eviction (art. 1474 CC) and hidden defects (art. 1484 CC). The redhibitory action for hidden defects prescribes in 6 months from delivery (art. 1490 CC), a very short period that generates abundant litigation.
Tenancy (arts. 1542-1582 CC) in its civil form governs the lease of things (residential tenancies are governed by the Urban Tenancies Act), works contracts and service contracts. Works or service contracts are largely governed by the Civil Code where labour legislation does not apply.
Mandate (arts. 1709-1739 CC) is the legal basis of representation and powers of attorney. The mandatary acts on behalf of and for the account of the mandator; their acts bind the mandator against third parties if they acted within the limits of the mandate. Excess of power does not bind the mandator, but may generate personal liability for the representative.
Succession: forced shares, wills and intestate succession
The forced share of children (art. 808 CC)
The legítima is the intangible part of the inheritance that the law reserves for certain forced heirs. For descendants (children and grandchildren), two thirds of the hereditary estate constitute the overall legítima: one third of strict legítima (to be divided equally among all children) and another third of mejora (which the testator may distribute freely among descendants). Only the remaining third is freely disposable.
Ley 8/2021 introduced modifications to ensure persons with disabilities can receive the necessary patrimonial support. It also strengthened the obligations of a disabled heir to preserve the assets of the legítima.
The will (arts. 662-743 CC)
A will is the act by which a person disposes of their assets after death (art. 667 CC). The most common form is the open will before a notary (arts. 694-705 CC), which is protocolised and kept in the General Register of Last Wishes. The holographic will (art. 678 CC), written, dated and hand-signed by the testator, does not require a notary but must be judicially verified to be effective.
Intestate succession (arts. 912-958 CC)
Where there is no will, or where the will does not cover all assets, the inheritance devolves according to the rules of legal succession in art. 913 CC: first descendants, then ascendants, then the surviving spouse, then collateral relatives up to the fourth degree, and finally the State.
Private international law in the Civil Code (arts. 9-16)
The Preliminary Title of the CC contains Spain’s internal PIL system, although largely displaced by European Regulations (Rome I for contracts, Rome II for extra-contractual obligations, EU Succession Regulation 650/2012).
Art. 9 CC (personal status). A person’s personal law is that of their nationality. It applies to capacity, civil status, family rights and duties, and succession. For nationals of countries without unified civil law, the law of the territorial unit with which the individual has the closest connection applies.
Art. 10 CC (property). Possession, ownership and other rights over immovables are governed by the law of the place where they are situated (lex rei sitae). Movables in transit are governed by the law of the place of origin.
Art. 11 CC (forms and formalities). The forms and formalities of contracts, wills and other legal acts are governed by the law of the country in which they are executed. However, acts executed in the forms and formalities required by the law applicable to their content are also valid.
Art. 16 CC (internal conflicts of civil law). Where the conflict is between the CC and the foral or special civil laws of autonomous communities with their own civil law, the CC applies as subsidiary law and civil status determines which of the Spanish civil systems applies to each person.
The Ley 8/2021 reform: legal capacity and disability
Ley 8/2021, of 2 June, constituted a historic reform of the Civil Code. Its guiding principle is that persons with disabilities have full legal capacity; what may require support is the exercise of that capacity. The previous model of judicial incapacitation, which removed a person’s legal capacity to act, was replaced by a model of graduated supports.
The reformed institutions are:
Trusteeship (curatela). Adult trusteeship changed from being a complementary institution of guardianship to the central institution. It may be assistive trusteeship (the trustee assists the person, who continues to decide) or representative trusteeship (only for acts in which the judge expressly authorises it, as an exception).
Preventive powers of attorney. Art. 259 CC allows notarial powers to be granted that are activated or maintained if the grantor subsequently becomes disabled. These are the preferred planning tool for persons who wish to organise their succession and care in the event of future disability.
Self-trusteeship. A person may designate in a public document the trustee who will assist them if they need support in the future.
Implications for companies: liability and contracts
For a Spanish company, the Civil Code has direct implications in:
Liability for employees. Art. 1903.4 CC makes the company liable for damage caused by its employees in the exercise of their functions. An adequate training and supervision policy reduces the risk of conviction but does not eliminate it: the employer’s liability is objective from a probatory standpoint.
Commercial contracts with civil foundations. Although commercial contracts (sale between traders, banking contracts, insurance) have their own regulation, the Civil Code acts as a subsidiary rule in everything not provided for. The rules on defects in consent, contractual interpretation and termination for breach in the CC apply directly.
Limitation of actions. The general 5-year period in art. 1964 CC and the 1-year period in art. 1968.2 CC for extra-contractual liability are short periods that companies must actively monitor. A reliable extrajudicial demand interrupts limitation (art. 1973 CC).
Succession in family companies. The CC legítima limits the freedom of the founder of a family business to pass their company to whoever they wish without restrictions. Succession planning — wills, donations with reserved usufruct, succession agreements in foral territories where permitted — is essential to ensure business continuity.
Conclusion and BMC guidance
The Spanish Civil Code is a living statute: its 137 years have not diminished its relevance, and its permanence attests to the solidity of its foundations. The 2021 reform on legal capacity, reforms in contracts and Supreme Court case law on the rebus sic stantibus doctrine in times of economic crisis confirm it as a statute in constant evolution.
At BMC we accompany companies and individuals in all matters grounded in the Civil Code: contract drafting and review, extra-contractual civil liability claims, succession planning and family business protocols. Raúl Herrera García (ICAM) leads our team in this area with particular expertise in the implications of civil law for companies and entrepreneurs.