Legal guide · Updated November 2026

Is employee monitoring legal in Spain and the EU?

What a company may monitor on its employees' computers, what it may not, and how to do it right: the law, what the courts have said and a checklist.

The short answer

Yes, an employer may monitor activity on the devices it provides in order to check that work obligations are met. But only legitimately: with a clear purpose, informing staff in advance, using proportionate measures and respecting privacy. What is not legal is monitoring in secret, collecting more data than needed or using it for purposes other than those communicated.

What the law says

Spanish Workers' Statute, art. 20.3
Employers may adopt monitoring and control measures to verify that work obligations are met, with due regard for the worker's dignity.
Spanish Workers' Statute, art. 20 bis
Recognises the right to privacy when using digital devices provided by the employer, the right to digital disconnection and privacy against video surveillance and geolocation, as set out in the LOPDGDD.
LOPDGDD, art. 87
Employers may access what is generated on the digital devices they provide only to check compliance with work obligations and protect the devices' integrity. They must set usage criteria, with the participation of employee representatives, and inform staff about them.
LOPDGDD, arts. 88 and 90
Right to digital disconnection outside working hours. If geolocation is used, staff must be informed beforehand, expressly, clearly and unambiguously.
GDPR, arts. 5, 6 and 13
Data must be processed for specific purposes, limited to what is necessary and kept only as long as needed. A legal basis is required, and people must be told what is collected, why, who accesses it and for how long.
GDPR, arts. 30 and 35
The processing must be recorded in the record of processing activities. Systematic monitoring may require a data protection impact assessment before starting.
Spanish Remote Work Act 10/2021
For remote work, employers keep their monitoring powers, including by telematic means, within the same limits of dignity, privacy and data protection.

What the courts have said

The key reference is Bărbulescu v. Romania, from the European Court of Human Rights (Grand Chamber, 2017). To judge whether monitoring is legitimate, it asks: whether the employee was told in advance about the possibility and extent of monitoring; how intrusive it was; whether there was a legitimate reason; whether less intrusive measures were available; what the consequences were; and what safeguards applied.

In López Ribalda v. Spain (Grand Chamber, 2019), the same court accepted covert monitoring only because there were well-founded suspicions of serious misconduct, and for a limited time. Spanish courts apply these criteria: covert monitoring is the exception, never standard practice.

What you can and can't do

PracticeGeneral assessmentConditions
Measuring active and idle time and apps used on company devicesAcceptableWith a defined purpose, prior information and restricted access to the data.
Recording the web domains visitedAcceptable with safeguardsWith prior usage criteria. Store only the domain, not the full URL or page content.
Periodic screenshotsHigh riskThey can capture personal and third-party data. They need strong justification and a proportionality assessment.
Recording keystrokes (keylogger)Very hard to justifyCaptures passwords, personal messages and third-party data. Usually disproportionate.
Reading personal emails or messagesNot as a ruleOnly with very clear prior usage criteria and in specific cases.
Monitoring without telling staffExceptionalOnly with well-founded suspicion of serious misconduct, limited in time and as a last resort.
Turning on the device camera or microphoneNot as a ruleHighly intrusive and hard to justify as activity monitoring.
Geolocating devicesAcceptable with safeguardsWith express prior information (art. 90 LOPDGDD) and only during working hours.

General assessment based on the legislation and case law cited. Each case depends on its circumstances.

Checklist before you start

  1. Write down the purpose: why you measure and what decisions you will make with the data.
  2. Choose the legal basis. At work, consent is rarely valid because of the imbalance between the parties; legitimate interest or performance of the contract is the usual basis.
  3. Set device usage criteria, with employee representatives if there are any.
  4. Inform staff in writing before starting: what is collected, why, who sees it, how long it is kept and how to exercise their rights.
  5. Collect the minimum: avoid screenshots, keystroke logging and message content unless strictly necessary.
  6. Limit access: each manager sees only their team, and each person sees their own data.
  7. Define a retention period and delete what you no longer need.
  8. Add the processing to your record of processing activities and check whether you need an impact assessment.
  9. In Spain, working-time recording (art. 34.9 of the Workers' Statute) is a separate obligation.
  10. Review the measure regularly: if it is no longer needed, stop it.

Where ThePulseTracker fits

ThePulseTracker is designed to make that checklist easy: it measures apps and active and idle time, stores only the browser domain, takes no screenshots and records no keystrokes, limits access by role, and each person sees their own data. Even so, no tool guarantees compliance on its own: the purpose, informing staff and the usage criteria are up to your company.

Frequently asked questions

Do I need employee consent to monitor staff?
Generally it is not the right legal basis: in an employment relationship consent is not considered freely given because of the imbalance between the parties. Legitimate interest or performance of the contract is the usual basis. What is essential is informing staff beforehand.
Can I monitor an employee without telling them?
Only exceptionally: with well-founded suspicion of serious misconduct, for a limited time and as a last resort. As standard practice, staff must know about the monitoring.
Can remote work be monitored?
Yes. In Spain, the Remote Work Act 10/2021 keeps the employer's monitoring powers, including by telematic means, within the same limits of dignity, privacy and data protection.
What are the penalties for getting it wrong?
The GDPR provides for fines of up to €20 million or 4% of global annual turnover. In addition, evidence obtained by violating fundamental rights may be inadmissible in employment proceedings.

This guide is for information only and is not legal advice. For a specific case, consult your data protection officer or an employment lawyer.