Fired for using AI at work in Spain: court backs dismissal
A Spanish court upheld the firing of a programmer who used AI while the company banned it. The AI was only part of the story, though, and the rest matters.
Can you be fired for using AI at work without permission? A Spanish court has just backed a company that did exactly that, but the ruling is less simple than the headlines suggest.
The High Court of Justice of Castilla y León, in a ruling dated 25 May 2026, confirmed the disciplinary dismissal of a computer programmer. He had used AI tools while the company forbade them. He had also done several other things the court took more seriously.
What did the programmer actually do?
In June 2023, the company told all staff that AI was off limits. That lasted until June 2025, when it became allowed on express request. The employee used AI between January and May 2025, inside the ban.
But the court put more weight on other conduct. He worked on projects for third parties using his employer's equipment during working hours. He made personal purchases on company time. He also broke IT security rules, and the court describes a systematic failure to do his job.
The ruling does not say what would have happened if AI use had been the only problem. That is the key caveat.
Could the company check his browser history?
After a delay in his work, the company looked at the browsing history on the company laptop. The employee argued this violated his privacy. The court rejected that argument.
What law was used?
The legal basis is article 54.2.d) of Spain's Workers' Statute, which covers breach of contractual good faith and abuse of trust. The court saw the breaches as serious and continuous. It dismissed the worker's appeal and upheld the first-instance decision.
For workers, the practical lesson is about the rules where you work. Spanish companies have already restricted tools like ChatGPT, and this case shows that ignoring such a rule can be counted against you. On its own, though, it is not a ruling that AI use alone justifies dismissal.
Apps worth a look
Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.
Talk to an AI conversation partner; every sentence comes back corrected and explained in your language. 9 languages, A1 to C2.
Open EDIFACT and X12 messages, see every segment explained, convert to JSON/XML, export PDF and Excel. Runs locally, no upload.
Pick who it is for, the occasion and their personality. The search engine reads product descriptions from local shops and ranks what fits. Free, no sign-up.