
Workers' Statute
Spain's main employment law, which lists the economic, technical, organisational and production grounds for dismissal.
A Madrid appeals court ruled in a judgment dated 8 October 2026, made public in early November, that bringing in AI is not a fifth ground for dismissal under Spain's Workers' Statute.
Last refreshed: 6 November 2026 · Appears in 1 active topic
Can a Spanish employer sack staff simply because AI now does the work?
Timeline for Workers' Statute
Supplied the four dismissal causes the court applied
AI: Jobs, Power & Money: Madrid court: AI is no ground to dismissBackground
The Workers' Statute (Estatuto de los Trabajadores) is Spain's main employment law, setting the rules on contracts, working time and dismissal. The current text is Royal Legislative Decree 2/2015 of 23 October, in force since 13 November 2015 and administered by the Ministry of Labour and Social Economy.
Article 51 governs collective dismissals and Article 52.c individual dismissals on objective grounds. Both rest on the same four causes. A collective redundancy (an ERE) runs through a formal procedure that obliges the employer to justify the cuts, so the stated reason becomes a matter of record that workers can challenge.
Spanish courts now test automated decisions against the statute. In July 2026 the Audiencia Nacional sanctioned an employer for concealing how a scheduling algorithm worked.
AI is no fifth dismissal ground
The statute's Article 51 lists four grounds for collective dismissal: economic, technical, organisational and production. In judgment 864/2026, dated 8 October 2026, the High Court of Justice of Madrid held that introducing AI adds no fifth. An employer that cites AI must prove its effect through one of the four, and the Court upheld a finding that one dismissal in a video-game studio's collective redundancy was unfair, because the company had not shown the AI tool took over that worker's tasks.
The ruling binds that case only; Spain's Tribunal Supremo alone can set national doctrine. It raises the bar of evidence without barring AI-linked layoffs, of which the Union confederation UGT counts 10 large collective dismissals affecting at least 6,711 people.
What is Spain's Workers' Statute?
What are the legal grounds for collective dismissal in Spain?
Can a company in Spain fire workers because of AI?
Written with AI from Lowdown's published reporting. Not individually reviewed by an editor. Updated 6 November 2026. Editorial standards.