An employer in Spain can dismiss an employee, and the cost is set by law before the hire: severance is a fixed number of days of salary per year of service, with a cap, and it depends on the type of dismissal. Under Spain's Workers' Statute (Estatuto de los Trabajadores), an objective dismissal pays 20 days per year with 15 days' notice, an unfair dismissal 33 days per year, and a fair disciplinary dismissal or the end of a probation period pays nothing. The figures below are those of the consolidated Workers' Statute as of November 2026.
How dismissal works in Spain
Dismissal in Spain is the employer's decision to end an employment contract, and it holds as long as the employer states a cause recognised by the Workers' Statute and follows its formal steps. The employee can challenge the decision afterwards, and a court then decides whether the dismissal was fair.
The Workers' Statute recognises two main causes for an individual dismissal:
- Objective dismissal (despido objetivo): a cause related to the job or the business, such as economic, technical, organisational or production reasons (article 52).
- Disciplinary dismissal (despido disciplinario): a serious and culpable breach by the employee (article 54).
What makes the cost predictable is that the severance for each outcome is written in the law, so an employer can budget it on the day it signs the contract.
Probation period in Spain: how long it lasts and how it ends
A probation period in Spain lets either the employer or the employee end the contract at any point during the probation, without the severance rights that apply to a dismissal, according to article 14 of the Workers' Statute. It must be agreed in writing, and its maximum length depends on the employee's qualifications and the company's size.
| Employee | Maximum probation period |
|---|---|
| Qualified technician (técnico titulado), such as an engineer with a degree | 6 months |
| Other employees, company with 25 or more employees | 2 months |
| Other employees, company with fewer than 25 employees | 3 months |
| Fixed-term contract of six months or more | 1 month |
A collective agreement can justify a longer probation in specific cases, and a probation clause is void if the employee already did the same job at the company. Article 14 was rewritten by Real Decreto-ley 39/2026, in force since 19 November 2026, which sets these maximums expressly and reduces probation proportionally for fixed-term contracts shorter than six months.
Open-ended and fixed-term employment contracts in Spain
An employment contract in Spain is presumed open-ended (indefinido), according to article 15 of the Workers' Statute, in the wording in force since 30 March 2022 under Spain's 2021 labour reform (Real Decreto-ley 32/2021). A fixed-term contract is only allowed for production circumstances or to replace another employee, and the cause has to be written precisely in the contract.
For a company hiring software engineers, the open-ended contract is the normal choice, and the probation period is what gives the employer an early exit. When a fixed-term contract ends, the employee receives 12 days of salary per year of service, prorated, under article 49 of the Workers' Statute; training contracts and contracts to replace another employee are excluded.
Objective dismissal in Spain: grounds, notice and severance
An objective dismissal in Spain pays 20 days of salary per year of service, prorated by months and capped at 12 monthly salaries, with 15 days' notice, according to article 53 of the Workers' Statute. The grounds for an objective dismissal of an engineer are set out in article 52:
- Ineptitude after hiring: the employee became unable to do the job after starting it; ineptitude that already existed during the probation period cannot be alleged later.
- Failure to adapt to technical changes: the employee does not adapt to reasonable changes in the role, after the employer has offered a training course and waited at least two months.
- Economic, technical, organisational or production reasons: the business grounds of a collective dismissal, when fewer employees are affected than the collective thresholds.
During the 15 days' notice, the employee keeps their pay and has six hours a week of paid leave to look for a new job. The severance must be made available on the same day the employer hands over the written notice.
Disciplinary dismissal in Spain
A disciplinary dismissal in Spain is a dismissal for a serious and culpable breach by the employee, and when it is upheld it ends the contract without severance, according to articles 54 and 55 of the Workers' Statute. The breaches listed in article 54 include repeated and unjustified absences or lateness, disobedience, breach of good faith and abuse of trust, a continued and voluntary drop in performance, and harassment.
A disciplinary dismissal must be notified in writing, stating the facts behind it and the date it takes effect. A collective agreement can add further formal requirements, so the agreement that covers the company has to be checked before writing the letter.
Fair, unfair and void dismissals in Spain
A court that reviews a dismissal in Spain classifies it as fair (procedente), unfair (improcedente) or void (nulo), under articles 55 and 56 of the Workers' Statute. The classification decides what the employer pays:
- Fair dismissal: the cause is proven and the form was followed; a disciplinary dismissal ends without severance, and in an objective dismissal the employee keeps the 20 days per year (article 53).
- Unfair dismissal: the cause is not proven or the form was not followed. The employer chooses, within five days of being notified of the judgment, between reinstating the employee with back pay and paying 33 days of salary per year of service, capped at 24 monthly salaries.
- Void dismissal: the dismissal is discriminatory, violates fundamental rights or affects specially protected employees, such as those on birth or adoption leave. The employee is reinstated immediately, with back pay.
The employee has 20 working days from the dismissal to challenge it, and a request for conciliation before the public mediation and conciliation service interrupts that deadline, according to article 59.
Severance pay in Spain by type of dismissal (2026)
Severance pay in Spain is the days of salary per year of service set for each type of termination, multiplied by the employee's years of service and limited by a cap. Periods shorter than a year are prorated by months.
| Type of termination | Cause | Notice | Severance per year of service | Cap | Rule in the Workers' Statute |
|---|---|---|---|---|---|
| End of probation | None required | — | None | — | Article 14 |
| End of a fixed-term contract | Term expires | — | 12 days | — | Article 49 |
| Objective dismissal | Article 52 grounds, stated in writing | 15 days | 20 days | 12 monthly salaries | Articles 52 and 53 |
| Fair disciplinary dismissal | Serious, culpable breach, stated in writing | — | None | — | Articles 54 and 55 |
| Unfair dismissal | Cause not proven or form not followed | — | 33 days, or reinstatement | 24 monthly salaries | Article 56 |
| Void dismissal | Discrimination or protected employee | — | Reinstatement with back pay | — | Article 55 |
Kulturo's severance pay calculator for Spain runs the same calculation for any salary and length of service, including contracts signed before 2012.
Severance example for a senior software engineer in Spain
Take, as an example, a senior software engineer on €60,000 gross a year who is dismissed after three years, a salary within the €50,000–70,000 that a senior developer usually earns in Madrid or Barcelona in Kulturo's recent placements. Dividing the annual salary by 365 gives a daily salary of about €164.
| Outcome after three years | Days of salary | Severance |
|---|---|---|
| Objective dismissal, fair | 60 (20 × 3) | About €9,863 |
| Unfair dismissal, employer pays instead of reinstating | 99 (33 × 3) | About €16,274 |
| Fair disciplinary dismissal | 0 | €0 |
| Ended during the probation period | 0 | €0 |
The gap between the first two rows is the cost of a dismissal that a court finds unfair, which is why the form of the dismissal matters as much as the cause. The full cost of employing a software engineer in Spain puts that number next to salary and social security.