Privacy · Data · Throughout Spain

Disclosure of secrets and privacy offences

Reading messages, sharing intimate images, accessing data: privacy has a criminal shield.

Intercepting communications, accessing devices or data, disclosing intimate images, unlawful use of personal data: Articles 197 to 201 of the Spanish Criminal Code protect privacy and the confidentiality of data. The unlawful access, consent and the digital chain of evidence are central to the defence.

In brief. the offences of discovery and disclosure of secrets (Arts. 197-201 CP) punish intercepting communications, accessing devices or data, and disclosing personal information or intimate images without consent. Article 197 bis covers unlawful access to systems (hacking). Penalties rise with disclosure, profit and sensitive data. Unlawful access and consent are decisive.

Key facts

197
Accessing or disclosing another’s data or communications without consent.
197.7
Disclosing intimate images obtained with consent: specific offence.
24h
English-speaking lawyer, defence and protection throughout Spain.

What the law protects

Privacy is criminally protected. Article 197 punishes seizing messages, intercepting communications or accessing personal data without consent to discover another’s secrets or invade their privacy.

Intimate images have their own text. Article 197.7 punishes disclosing images or recordings obtained with consent in a private setting, where their spread seriously harms the person — even without hacking.

Access to systems is covered. Article 197 bis criminalises unlawful access to information systems (hacking); Articles 198-199 aggravate for public officials and breach of professional secrecy.

What we defend

Privacy and data offences

Art. 197.1 CP

Discovery of secrets

Seizing messages or intercepting communications without consent: one to four years.
Art. 197.2 CP

Unlawful use of data

Accessing, using or altering personal data held in files or records.
Art. 197.7 CP

Disclosing intimate images

Spreading images obtained with consent that seriously harm the person.
Art. 197 bis CP

Unlawful access (hacking)

Accessing an information system without authorisation.
Art. 197 ter CP

Tools for access

Producing or facilitating tools to commit the above offences.
Art. 198 CP

Public official

Aggravation where committed by an authority or public officer.

Professional secrecy

Disclosing secrets known by reason of one’s office or profession.
Art. 200 CP

Legal entities’ data

Application to data of legal entities.
Art. 201 CP

Prosecution on complaint

In principle requires the complaint of the aggrieved party.
Penalty framework

Indicative overview

Offence Article Penalty framework Key aggravating factor
Discovery of secrets 197.1 1 – 4 years Disclosure to third parties
Unlawful use of data 197.2 1 – 4 years Sensitive data
Disclosing intimate images 197.7 3 months – 1 year Spouse or ex-partner
Unlawful access (hacking) 197 bis 6 months – 2 years Protected systems
Access tools 197 ter 6 months – 2 years Widespread distribution
Public official 198 Upper half + ban Abuse of office
Professional secrecy 199 1 – 4 years + ban Position of trust
Profit motive 197.6 Aggravated penalty Commercial exploitation

Indicative figures based on the Spanish Criminal Code. The penalty depends on the disclosure, the data and the circumstances. This table does not replace a lawyer’s analysis.

Our difference

Consent and lawful access are the battleground

Not every access is unlawful. Consent, shared devices, a legitimate interest or the absence of a real invasion of privacy can rule out the offence. Context and the way the material was obtained are decisive.

We verify the digital chain of evidence. How the messages or images were obtained, their authenticity and the regularity of any search or seizure often determine whether the evidence — and the charge — stand.

01

Analysis of consent and lawful access

02

Verification of the digital chain of evidence

03

Distinguishing a real invasion of privacy from a conflict

04

Defence of the accused or protection of the victim

How we act

A structured defence at every stage

Phase 01

Analysis of how the data was obtained

Phase 02

Complaint or investigation

Phase 03

Digital expertise and challenge to the evidence

Phase 04

Trial and reparation

Who we represent

Very different situations

D

People under investigation

People accused of accessing data or disclosing private material.

V

Victims

People whose privacy or intimate images have been invaded or spread.

E

Businesses

Companies facing data-access or professional-secrecy disputes.

P

Professionals

People bound by professional secrecy facing a disclosure charge.

FAQ

What you should know

Is reading someone’s messages a crime?
It may be. Article 197 punishes seizing messages or intercepting communications without consent to discover another’s secrets.
Is sharing intimate images punished?
Yes. Article 197.7 punishes spreading images obtained with consent in a private setting where their disclosure seriously harms the person.
Does consent rule out the offence?
Consent to access is a key element of defence; but consent to obtain an image does not authorise its later disclosure.
Is unlawful access to a system a crime?
Yes. Article 197 bis punishes hacking — accessing an information system without authorisation.
How are these cases prosecuted?
In principle on the complaint of the aggrieved party (Art. 201), which allows room for settlement.
What should I do?
Preserve the material and its context, and contact the firm, available 24/7 throughout Spain.

Speak to a criminal lawyer

In a fast-track case, the days you have are the case.

Criminal defence in English before the courts of Alicante and the rest of Spain, for residents and for visitors who have flown home.

Logotipos-abogacia-scje
Paseo De La Castellana 216 8º 28046 Madrid
Alicante – Playa de San Juan Av. Ansaldo 31, local 16, 03540 Alicante
London: 20 Wenlock Road, N1 7GU, United Kingdom
Paris: 72 Faubourg St Honoré, 75008, France
info@societejuridique.com

Société de Conseil Juridique et Expert is a law firm with offices in Madrid, Alicante, London and Paris, specialising in criminal law, technology law and economic and corporate crime. We provide strategic guidance in complex criminal proceedings, intellectual property and technological resources for legal decision-making with advanced forensic analysis. Our multidisciplinary team combines legal experience, legal intelligence and personal attention to deliver effective solutions adapted to each case. Legal assistance available 24 hours a day and online consultations.

Copyright © 2026 Société de Conseil Juridique et Expert S.L.

EspanolEnglishFrancaisРусскийItalianoDeutsch
WhatsApp · Urgencias 24h