Disclosure of Secrets: 2026 Guide (Phones, Emails and the Workplace)
In this article
Key Takeaways
- Prison 1-4 years
- Accessing WhatsApp
- Sexting Art. 197.7
- Sensitive data
Reading your partner's phone messages without permission may be an offence under Art. 197.1 CP, punished with one to four years in prison and a fine of twelve to twenty-four months, even if infidelity is suspected. At work, monitoring an employee's email requires prior notice. Circulating intimate images without permission (Art. 197.7 CP) carries three months to one year in prison or a fine of six to twelve months.
Need help with your case? Talk to a criminal defence lawyer at Alonso Sala.
The right to privacy is one of the most strongly protected legal interests in the digital age. The offence of discovery and disclosure of secrets (Art. 197 of the Criminal Code) punishes not only disclosure but the mere unauthorised access to another person's private sphere. As lawyers experienced in offences against privacy, we break down the red lines that must never be crossed.
Looking at Your Partner's Phone: Is It an Offence?
It can be, and it carries a prison sentence. Taking your partner's phone without their consent to read their WhatsApp messages or emails or to look at their photo gallery may constitute an offence under Art. 197.1 CP, punishable with one to four years in prison and a fine of twelve to twenty-four months. The provision requires the access to be «sin su consentimiento» (without their consent) and makes no exception for spouses or partners: neither a suspicion of infidelity nor the fact that the phone had no password amounts, on its own, to that consent.
Workplace Monitoring: An Employee's Emails
In the workplace, the employer may NOT freely access the employee's email or devices. In a Grand Chamber judgment of 5 September 2017 (application no. 61496/08), the European Court of Human Rights found a violation of Article 8 of the European Convention on Human Rights because the domestic courts had not established whether the employee had been notified in advance of the possibility, extent and nature of the monitoring. The Court requires that prior notice to be weighed together with the degree of intrusion, the employer's legitimate reasons and whether less intrusive means were available. In Spain, Article 87 of Organic Law 3/2018 on data protection requires the employer to set criteria for the use of digital devices and inform staff of them. Without that prior notice, access may breach the employee's privacy, render the evidence obtained inadmissible and, in the most serious cases, be examined under Art. 197 CP.
Circulating Images (Sexting) and "Revenge Porn"
Art. 197.7 CP (the "Sexting Act") punishes anyone who circulates intimate images obtained with the victim's consent (e.g. sent in the trust of the relationship) but shared without permission. The penalty is 3 months to 1 year in prison or a fine of 6 to 12 months. It is vital to understand that consent to RECORD or RECEIVE does not imply consent to CIRCULATE. Going viral on social media exponentially aggravates both the criminal liability and the amount of compensation.
Compensation for Non-Material Damage
In addition to criminal liability, this offence carries substantial civil liability. The courts award high compensation for non-material damage, taking into account the distress suffered by the victim, the scale of the circulation and the harm to their reputation and private life.
Critical Aggravating Factors
The penalties are imposed in their upper half (2 years and 6 months to 4 years for the basic offence, 3 years and 6 months to 5 years with dissemination) if sensitive data is revealed (health, sex life, ideology), if the victim is a minor, or if it is done for profit.
Need a criminal defence lawyer?
If you are facing a criminal matter, our team of criminal defence lawyers can help. Call us on +34 91 078 65 74 for an initial assessment of your case.
Official text: article 197 of the Spanish Criminal Code (BOE)
Frequently asked questions
Is it an offence to look at your partner's phone?
It can be. Taking your partner's phone without their consent to read their WhatsApp messages or emails or to look at their photo gallery may constitute an offence under Art. 197.1 CP, punishable with prison of one to four years and a fine of twelve to twenty-four months. The provision makes no exception for spouses or partners, and neither a suspicion of infidelity nor the fact that the phone had no password amounts on its own to consent.
Can the employer access the worker's email?
Not freely. Article 87 of Organic Law 3/2018 on data protection requires the employer to set criteria for the use of digital devices and inform staff of them, and the European Court of Human Rights (Grand Chamber judgment of 5 September 2017, application no. 61496/08) requires notice of monitoring to be given in advance. Without that notice, access may breach the employee's privacy, render the evidence inadmissible and, in the most serious cases, be a criminal offence (Art. 197 CP).
What does circulating intimate images or 'revenge porn' punish?
Art. 197.7 CP punishes with prison of three months to one year or a fine of six to twelve months anyone who circulates intimate images or recordings obtained with the person's consent (for example, sent in trust to a partner) but shared without permission. Consent to record or receive does not imply consent to circulate.
What aggravating factors raise the penalty for this offence?
The penalties are imposed in their upper half (two years and six months to four years for the basic offence, and three years and six months to five years where there is dissemination) where sensitive data such as health, sex life or ideology is revealed, where the victim is a minor, or where the conduct is carried out for profit. The offence also carries substantial civil liability for non-material damage.
Do you need criminal defence in this area?
We are criminal defence lawyers specialising in disclosure of secrets. We act urgently to protect your rights.
This page is for information purposes only and does not constitute legal advice: every case requires individual assessment. How this content is produced and verified: editorial policy.