IP & CONTRACTS 8 min read

Protecting Your IP When Hiring in Spain

When your new hire in Spain will touch code, designs, client data or inventions, ownership needs to be clear from the start. Here is how Spanish law treats employee IP, and what to put in the contract.

The essentials

What Spanish law says about the IP your team creates.

The defaults are mostly employer-friendly, but a clear contract turns defaults into certainty.
Employer
Owns job-related inventions
Inventions made as part of the role belong to the company under the Patent Act
Software
Rights presumed employer’s
Code written in the course of duties is presumed to belong to the employer
2019
Trade Secrets Act
Ley 1/2019 protects confidential business information
2 yrs
Max non-compete
For technicians, and only with adequate financial compensation

If your Spanish hire will write code, design products, invent, or handle confidential information, you want ownership and confidentiality nailed down from day one. Spanish law gives employers a reasonable set of defaults, but the safe approach is to make them explicit in the contract. This guide covers how the law treats employee IP and what to include.

Section 1 / 6

Why IP needs attention

When you employ someone in a different country, you cannot assume your home-country IP terms carry across. Spain has its own rules on who owns inventions, software and creative works made by employees, and its own limits on clauses like non-compete. Rely on assumptions and you can end up with a gap between what you think you own and what you actually do.

The good news is that the Spanish defaults are largely sensible for employers. The work is in translating them into clear contract terms, which is exactly where a compliant Spanish employment contract earns its place.

Section 2 / 6

Employee inventions

Spain’s Patent Act sorts employee inventions into three broad categories. If an invention is made as part of research or inventive duties the employee was hired and paid to perform, it belongs to the employer. If it has nothing to do with the job and did not draw on company resources, it belongs to the employee. In between sits a category where the employee’s work substantially used the company’s means or knowledge; the employer can claim these, usually with fair compensation to the employee.

For most technical hires the first category covers the important cases, but the distinctions matter, and a clear IP assignment clause in the contract removes the ambiguity about which bucket a given piece of work falls into.

Section 3 / 6

Software and copyright

Software gets special treatment under Spanish intellectual property law. Where an employee writes software in the course of their duties, the economic rights are presumed to pass to the employer unless the parties agree otherwise. That default is helpful, but presumptions can be argued, so confirming ownership expressly in the contract is the sensible course.

Other copyright works, such as designs, written materials and marketing content, are best handled with an explicit assignment of economic rights in the contract, since the general copyright rules are less automatically employer-favouring than the software provision.

Section 4 / 6

Trade secrets and confidentiality

Spain has a dedicated Trade Secrets Act, Ley 1/2019, which protects confidential business information that has commercial value and is kept secret through reasonable measures. Employees owe a duty of good faith and confidentiality during and after employment, and the law gives you remedies if a trade secret is misused.

To rely on it, you need to actually treat the information as secret: a clear confidentiality clause in the contract, plus practical controls such as limiting who can access sensitive data and systems. Protection follows the effort you put into keeping something confidential.

Section 5 / 6

Non-compete clauses

A post-contractual non-compete, the pacto de no competencia, can be valid in Spain, but only within strict limits. It cannot last more than two years for qualified technicians, or six months for other employees. The employer must have a genuine commercial or industrial interest to protect, and, crucially, the employee must receive adequate financial compensation for agreeing to it.

That compensation requirement is the one companies from other countries most often miss. A non-compete with no real payment behind it is generally unenforceable in Spain, so it needs to be designed properly or it protects nothing.

Section 6 / 6

Getting it into the contract

All of this comes together in the employment contract. A well-drafted Spanish contract for a role that touches valuable IP should cover the assignment of inventions and IP, ownership of software and other works, a confidentiality clause aligned with the Trade Secrets Act, and, where justified, a properly compensated non-compete.

  • Assignment of inventions and intellectual property to the company.
  • Express ownership of software and copyright works created in the role.
  • A confidentiality clause backed by practical access controls.
  • A non-compete only where justified, and with the required compensation.

Building these terms into a compliant contract, correctly for Spanish law, is part of what an EOR service in Spain handles, so your IP is protected from the first day of employment.

Q & A

Frequently asked

Q01Who owns inventions made by an employee in Spain?
A.Under the Patent Act, inventions made as part of research or inventive duties the employee was hired for belong to the employer. Inventions with no connection to the job belong to the employee. A middle category, where the employee draws significantly on company resources, can belong to the employer if it claims them, usually with fair compensation.
Q02Does the company own software written by an employee?
A.Generally yes. Under Spanish IP law, where an employee creates software in the course of their duties, the economic rights are presumed to belong to the employer unless agreed otherwise. It is still good practice to confirm this expressly in the contract.
Q03How are trade secrets protected in Spain?
A.Spain has a Trade Secrets Act (Ley 1/2019) protecting confidential business information that has commercial value and is kept secret through reasonable measures. Employees owe a duty of confidentiality, and a clear confidentiality clause plus practical safeguards strengthen the protection.
Q04Are non-compete clauses enforceable?
A.They can be, within strict limits. They cannot exceed two years for qualified technicians (or six months for others), the employer must have a genuine interest to protect, and the employee must receive adequate financial compensation. Without proper compensation, the clause is generally void.
Q05How do I make sure IP is protected when hiring?
A.Put clear provisions in the contract: assignment of IP and inventions, ownership of software and works, confidentiality, and any non-compete with the required compensation. Combine that with practical controls over access to sensitive information. An EOR can build these clauses into a compliant Spanish contract for you.
HIRING INTO A ROLE THAT TOUCHES YOUR IP? PROTECT IT PROPERLY.

Your IP, secured in a compliant Spanish contract.

We draft the IP assignment, software and copyright ownership, confidentiality, and any non-compete into a proper Spanish employment contract, correctly under Spanish law, so what your team creates belongs to you.