Spain's 2 Year Rule for Employment. When Temporary Contracts Turn Permanent
If you employ people in Spain, or you are about to, "the 2 year rule" probably does not mean what the first search result tells you. Most pages on that phrase are about citizenship. This one is about your obligations as an employer. Under Spain's Workers' Statute, the Estatuto de los Trabajadores, successive temporary contracts convert automatically into a permanent one once a worker has been engaged for long enough. Since the 2021 labour reform, that point arrives sooner than most hiring plans assume.
This guide is written for the people who carry the decision: heads of people, HR directors, finance leads, and in-house legal at companies with staff in Spain. It covers the rule, the exact thresholds, what changed in 2022, and what it means for how you structure a Spanish hire. It is general information, not legal advice. Teamed is an Employer of Record, not a law firm.
The rule in numbers
- 18 months
- Accumulated time on temporary contracts after which a worker becomes permanent.
- 24 months
- The rolling reference window that the 18 months is measured against.
- 6 months
- Standard maximum for a "production circumstances" temporary contract, up to 12 months by sector collective agreement.
- Automatic
- Crossing the threshold makes the worker permanent (indefinido) by operation of law, not by employer choice.
- €1,000 to €10,000
- Penalty range per affected worker for misusing temporary contracts.
Sources: Estatuto de los Trabajadores, art. 15; Real Decreto-ley 32/2021. Current at June 2026.
What the rule actually says
Spanish law calls it encadenamiento de contratos, the chaining or concatenation of contracts. Article 15 of the Workers' Statute sets the limit. A worker who, within a 24 month period, has been engaged for more than 18 months under two or more "production circumstances" temporary contracts, for the same or a different role, with the same company or group of companies, acquires permanent status. It counts whether the contracts run back to back or with gaps between them.
Permanent status is automatic. The employer does not decide to grant it, and the worker does not have to win it in court first. Once the threshold is met, the law treats the person as a permanent employee. The company also has to give the worker written confirmation of their new permanent status within ten days.
Why the threshold moved in 2022
If you have older guidance on file, check the numbers. The previous rule was 24 months of temporary work within a 30 month window. The 2021 labour reform, Real Decreto-ley 32/2021, in force for employment contracts from 30 March 2022, cut it to 18 months within 24. Same mechanism, shorter runway.
The reform went further than the threshold. It made the permanent contract the default and temporary contracts the exception that has to be justified. The old obra o servicio (project or service) contract was abolished. A temporary hire now has to fit one of a small set of grounds, mainly a genuine, generally unforeseeable surge in activity ("production circumstances") or covering a named absent employee ("substitution"). A temporary contract that does not fit a lawful ground, or whose stated reason does not match the real work, is treated as permanent from the start.
| Contract type | What it is for | Maximum duration |
|---|---|---|
| Production circumstances, unforeseeable | Occasional, unexpected peaks in activity | 6 months, up to 12 by sector collective agreement |
| Production circumstances, foreseeable | Predictable, occasional short-term peaks | Up to 90 days per calendar year, not consecutive |
| Substitution | Covering a named absent employee, for example parental or sick leave | For the duration of the absence |
The project ("obra o servicio") contract no longer exists. Genuinely seasonal or intermittent work is now handled through a permanent fijo-discontinuo (permanent-seasonal) contract, not a temporary one.
How the clock works
A company hires a customer-support agent in Madrid on a six month production-circumstances contract in January. Demand stays high, so it signs a second six month contract in August for a similar role. Over the following year it brings the same person back on two more short contracts to cover seasonal peaks. Once the accumulated temporary time passes 18 months inside any 24 month window, the agent is a permanent employee by law, whether or not anyone updated the paperwork. The different role titles and the gaps between contracts do not stop the clock.
The detail that catches employers out is that the count follows the person, not the contract. Different job titles, gaps between engagements, and even hours supplied through a temporary work agency all add to the same total when it is the same worker and the same company or group.
What it costs to get wrong
Two things happen, and they are separate. First, the worker is permanent, with the notice and severance that comes with permanent status. Second, the labour inspectorate can fine the misuse of temporary contracts. Since the reform, the penalty is assessed per affected worker rather than once per inspection, and runs from €1,000 to €10,000 each. A pattern of short contracts across a team can add up quickly.
None of this is a reason to avoid hiring in Spain. It is a reason to decide, up front, whether a role is genuinely temporary or simply being run on temporary paper. If the work is ongoing, a permanent contract from day one is cleaner, cheaper to administer, and removes the reclassification risk entirely.
What this means for how you structure a Spanish hire
The 2 year rule is really a question about structure. If you employ in Spain through an Employer of Record, the EOR is the legal employer and carries the contract type, the threshold tracking, and the conversion mechanics. A good provider flags the 18 month point before it arrives, not after. If you run your own Spanish entity, that tracking sits with you.
For most companies with a handful of people in Spain, an EOR is the right structure while headcount is still small. As a country becomes a durable cost centre, the economics shift towards your own entity. That crossover, not the contract label, is the decision worth modelling. Our guide to hiring in Spain and our comparison of EOR providers in Spain are good starting points.
For employers hiring in Spain
See what a permanent Spanish hire actually costs
Model the full employer cost of an employee in Spain, social security and statutory on-costs included, before you commit. Then talk to a specialist about the right structure for your headcount.
Common questions
What is Spain's 2 year rule for employment?
When does a temporary contract become permanent in Spain?
What is encadenamiento, or concatenation of contracts?
How did the 2021 labour reform change temporary contracts?
What happens if an employer breaks the rule?
Related reading for Spain employers
Figures verified against the Boletín Oficial del Estado text of the Estatuto de los Trabajadores (art. 15) and Real Decreto-ley 32/2021, current at June 2026. Sector collective agreements can vary the detail, and Spanish labour law changes. This guide is general information, not legal advice. For a specific situation, take qualified Spanish legal advice or speak to Teamed.