Which law applies when there are parties from different countries: key aspects of Spanish Private International Law
Spanish Private International Law relies on a clear hierarchical system to resolve the key question of any dispute with a foreign element: which law applies.
In matters of contractual and non-contractual obligations, the Rome I and Rome II Regulations are the primary reference points., which unify and modernize conflict rules in the European Union.
In all these cases, an essential preliminary question arises: which law will be applicable to the substance of the matter before the Spanish courts.
This article offers a systematic and understandable view of Spanish Private International Law regarding the determination of the applicable law , explaining the role of the European Regulations Rome I and Rome II, Law 29/2015, of July 30, on International Legal Cooperation in civil matters and the Spanish Civil Code , and how the connecting factors (habitual residence, place of celebration, place of damage, nationality) are used to choose the substantive rule that will decide the dispute.
Determination of the applicable law in conflicts with foreign elements in Spain
When a Spanish judge hears a case with a foreign element, the first technical decision is not who is right, but which legal system should be applied.
This selection of law is not discretionary, but is governed by a tiered system of conflict rules.
The aim of the system is to provide legal certainty and predictability , so that the parties can anticipate, with the appropriate advice, which law will govern their international contracts, their liability for damages, their cross-border family relationships or their corporate operations with partners from other countries.
Which rules apply first according to Spanish Private International Law
The order of sources used by a Spanish court to decide the applicable law can be summarized in three levels:
- European Union regulations
In civil and commercial matters, the central instruments are:
Both Regulations unify conflict rules in most of the EU regarding contractual and non-contractual obligations (they are applicable in all Member States except Denmark) and are applied universally: the designated law may be that of a Member State or that of a third country.
- International treaties and agreements
If there is an international convention in force for Spain that regulates a specific matter (for example, certain aspects of family or inheritance law), it will take precedence over domestic law, in accordance with the 29 / 2015, which recognizes the primacy of European and conventional regulations. - Spanish internal regulations
In the absence of an applicable European regulation or treaty, recourse is made to the conflict-of-laws rules of the Civil Code, especially articles 8 to 12 of Chapter IV (“Private International Law Rules”), where criteria such as nationality, habitual residence, place of conclusion of the contract or place of the damaging event are regulated.
Law applicable to international contracts: criteria of the Rome I Regulation
In international contracts (sales, provision of services, financing, distribution, partnership agreements, technology agreements, etc.), the point of reference is the Rome I Regulation.
This Regulation establishes a system that is structured around two ideas: the freedom of choice of the parties and, failing that, the application of objective criteria.
Freedom to choose the applicable law
Rome I allows the parties to expressly choose the law applicable to the contract.
That choice may be set out in a specific clause or be clearly deduced from the provisions of the contract and the circumstances of the case.
This provision is essential for complex operations, because the chosen law determines aspects such as:
- The scope of each party's obligations.
- The non-compliance and resolution regime.
- The limits to responsibility.
- The validity of certain contractual clauses.
However, this freedom is not absolute: in certain sectors, the Regulation protects the party considered to be the weaker party.
Limits on contracts with consumers and workers
In consumer contracts , the choice of a foreign law cannot deprive the consumer of the minimum protection provided by the law of the country in which he or she has his or her habitual residence, when the business directs its activity there or orients it towards that market.
In the field of employment contracts , Rome I allows the parties to choose the applicable law, but with one condition: that choice cannot mean that the worker loses the protection that would be guaranteed by the law of the country in which he or she usually carries out his or her work, or with which the contract has a closer link.
Absence of choice of law and escape clause
When there is no applicable law clause, Rome I sets predetermined criteria: the law of the country of habitual residence of the seller in the sale of goods, of the service provider in service contracts, and specific rules for certain contracts (franchise, distribution, insurance, etc.).
Furthermore, it incorporates the so-called "escape clause" : if, from the set of circumstances, it turns out that the contract is manifestly more linked with a country other than the one indicated by the general rules, the judge may apply the law of that other country, thus reinforcing the more real and effective connection with the legal relationship.
Law applicable to damages and international civil liability: Rome II Regulation
When the dispute does not arise from a contract, but from damage or a wrongful act (for example, civil liability, economic damages, unlawful activity in foreign markets, incidents linked to the digital environment, etc.), the applicable law is determined by the Rome II Regulation.
The general rule of Rome II is that the law of the country in which the damage occurs applies , regardless of where the conduct that caused it took place.
This criterion, known as lex loci damni , aims to link responsibility with the place where the damage materializes.
The Regulation also provides for special rules for certain cases (liability for defective products, unfair competition, environmental damage, infringement of intellectual property rights, among others), as well as a closer link clause similar to that of Rome I: if it is clear from the case that the non-contractual obligation is more connected with another country, the law of that country will apply.
When is the Spanish Civil Code still relevant?
Although in practice many conflicts are covered by Rome I and Rome II, the Civil Code continues to play an important role where there is no specific European regulation or applicable convention.
Articles 8 to 12 contain the general rules of Private International Law , which determine, for example:
- The personal law of natural persons (traditionally linked to nationality, with an increasing role of habitual residence).
- The law applicable to certain civil status and family matters.
- Certain aspects of contractual and non-contractual obligations not covered by Rome I or Rome II.
In parallel, Law 29/2015 has a markedly subsidiary character: it applies when there is no applicable European Union regulation, international agreement or specific internal sectoral rule , and it regulates aspects such as proof of foreign law, cooperation between authorities, or the recognition and enforcement of foreign resolutions in Spain.
Connection criteria that usually decide which law applies
The so-called connecting criteria are the points of connection that the judge uses to "tie" a case to a specific legal system when there is no valid choice of law.
Among the most relevant are:
- Habitual residence: key in consumer contracts, international labor and many civil and commercial relationships.
- Place of conclusion or performance of the contract: relevant in contracts without a common habitual residence of the parties or outside the scope of European Regulations.
- Location of the damage: fundamental element in international civil responsibility under Rome II.
- Nationality or personal law: especially important in matters of civil status, matrimonial property regime and succession, in cases where there is no specific applicable European regulation.
These criteria allow the court to select the law with the closest and most reasonable links to the legal situation, balancing legal certainty and flexibility.
Practical importance of correctly establishing the applicable law
Determining the applicable law is not merely a technical matter: it conditions the outcome of the litigation. The following depend on it:
- The scope of the rights and obligations of the parties.
- The interpretation of contractual clauses.
- The existence or non-existence of limitations on liability.
- The limitation periods.
- The validity of certain legal structures or transactions.
Therefore, in operations and relationships with foreign elements, it is essential to incorporate precisely drafted applicable law and jurisdiction clauses , review their compatibility with consumer and worker protection regulations, and analyze, before the conflict, which legal system offers greater coherence with the legitimate interests of the parties.


