The courts consistently hold that privacy survives within a couple and within the family. Unlocking your partner's phone to look for evidence of infidelity and then producing it in divorce proceedings can lead to criminal charges against the person who produced it, and the evidence itself being thrown out.
What counts as a privacy offence in Spain (Article 197)
The offence of discovery and disclosure of secrets (descubrimiento y revelación de secretos) protects privacy and each person's control over their own data and communications. What is uncovered need not be a "secret" in the strict sense: it is enough that it belongs to the private sphere that the person has not chosen to open up to others. The Article covers several different acts, with penalties ranging from a fine to seven years' imprisonment.
Reading someone's messages or emails and intercepting calls
Paragraph 1 punishes anyone who, in order to discover another person's secrets or invade their privacy, and without their consent, takes their papers, letters, emails or other documents or personal effects, intercepts their telecommunications, or uses devices to listen to, transmit or record sound or images. The offence is complete once access has been gained: there is no need to tell anyone afterwards or to cause any further harm.
Looking up confidential data: medical, bank and official records
Paragraph 2 imposes the same penalty on anyone who, without authorisation and to the detriment of a third party, accesses, takes, uses or alters confidential personal or family data held in public or private files or records. This is the offence committed by the health worker who looks up an acquaintance's medical history, the bank employee who checks a former partner's accounts, or the civil servant who searches for a neighbour in a database with no professional reason.
Passing on what was uncovered: a higher sentence
If the data, facts or images obtained are disseminated, disclosed or passed on to others, the penalty rises to two to five years' imprisonment. A person who took no part in obtaining the material but spreads it knowing it was obtained unlawfully faces one to three years' imprisonment and a fine.
Penalties for privacy offences in Spain by type of conduct
| Conduct | Provision | Penalty |
|---|---|---|
| Taking messages or documents, intercepting or recording | Art. 197.1 | 1 to 4 years' imprisonment and a 12 to 24-month fine |
| Accessing or using confidential data held in files | Art. 197.2 | 1 to 4 years' imprisonment and a 12 to 24-month fine |
| Disclosing what was uncovered | Art. 197.3 | 2 to 5 years' imprisonment |
| Disclosing it knowing of its unlawful origin, without having taken part | Art. 197.3 | 1 to 3 years' imprisonment and a 12 to 24-month fine |
| Acts committed by the person responsible for the file, or using the victim's personal data without permission | Art. 197.4 | 3 to 5 years' imprisonment |
| Sharing intimate images obtained with consent | Art. 197.7 | 3 months to 1 year's imprisonment or a 6 to 12-month fine |
| Forwarding such images after receiving them | Art. 197.7 | 1 to 3-month fine |
| Unauthorised access to a computer system | Art. 197 bis | 6 months to 2 years' imprisonment |
Spanish fines are set in daily units (días-multa) over a period of months, with the daily amount fixed according to the offender's means. Penalties are imposed in their upper half when the data reveal ideology, religion, beliefs, health, racial origin or sex life, or when the victim is a minor or a person with a disability in need of special protection. The same applies when the offender acts for profit; if the profit relates to those especially sensitive data, the sentence is four to seven years' imprisonment. A public authority or official who commits these acts by abusing their position is also barred from all public office for six to twelve years (Art. 198 CP).
What you do in the next few hours is decisive. Call us before making any statement.
Revenge porn: sharing intimate images without consent (Art. 197.7)
This is the situation we are asked about most. Here the image or video was not stolen: the person recorded it or sent it voluntarily, in a private setting, and the recipient later shares it without their permission. It is an offence when the disclosure seriously undermines the person's privacy. The Supreme Court (Tribunal Supremo) has held that the offence exists even where the victim took the photo and sent it themselves, and that showing or sending it to a single person is enough.
The penalty is imposed in its upper half if the offender is or was the victim's spouse or partner, if the victim is a minor or a person with a disability, or if the offender acted for money. Since the 2022 reform, anyone who receives the images from someone else and forwards them also commits an offence, punishable by a fine. In messaging groups this covers every person who shares them again.
Where sharing goes hand in hand with demands ("if you don't come back to me, I'll post it"), there may also be coercion or threats, and if it is part of persistent pursuit, an offence of stalking and harassment. If the offender and victim are or were a couple and the victim is a woman, the case goes to the specialised court for violence against women.
Is it illegal to check your partner's phone or record a conversation?
- Checking your partner's phone or email: an offence, even if you know the password or you pay for the handset.
- Installing spyware or tracking apps on another adult's phone: an offence under Article 197.1 and, depending on the case, under Article 197 bis.
- Recording a conversation you take part in: as a general rule this is not an offence, because you are not intercepting someone else's communication. Publishing it afterwards is a different matter.
- Recording other people's conversations that you are not part of: an offence.
- Parents and children under 18: the duty to protect a child may justify some access where there is a serious risk, but not blanket monitoring. Each case has to be assessed on its facts.
- Employers and work email: an employer may monitor work tools if it has explained the rules of use in advance and acts proportionately. Reading an employee's personal email or private messages without those safeguards may be a criminal offence.
- Simply accessing accounts or devices: getting into someone else's system by getting round its security measures is punishable even if nothing private is seen. We cover this on our page on cybercrime.
Breach of professional or workplace confidentiality (Art. 199)
Article 199 punishes anyone who discloses another person's secrets learned through their job or employment relationship (one to three years' imprisonment and a fine) and, more severely and with a two to six-year professional disqualification, professionals bound by a duty of confidentiality: doctors, lawyers, psychologists, advisers.
We review your case without obligation and explain your real options.
Reporting a privacy offence: complaint, pardon and time limits
These offences can only be prosecuted if the victim or their legal representative files a complaint (denuncia). That requirement does not apply when the offender is an official abusing their position, or when the acts affect the general interest or a large number of people. The victim's pardon (perdón del ofendido) ends the criminal proceedings, which opens the door to settlement and compensation before trial; if the victim is a minor or a person in need of special protection, the judge may refuse to accept the pardon.
Limitation periods depend on the penalty: five years for most forms of the offence, ten for the most serious, and one year for simply forwarding images, which carries only a minor fine. It is unwise to wait: service providers keep traffic data for a limited time, and once that period has passed identifying the offender becomes harder.
How the case runs in the courts of Mallorca, Ibiza and Menorca
A complaint can be filed with the National Police (Policía Nacional), the Civil Guard (Guardia Civil) or directly at the duty court (juzgado de guardia). The investigating court of the place where the acts occurred (Palma, Inca, Manacor, Ibiza, Maó or Ciutadella) handles the pre-trial investigation and, as a rule, the trial is held before a criminal court (juzgado de lo penal) in Palma, Ibiza or Maó; forms of the offence carrying more than five years are tried by the Provincial Court (Audiencia Provincial). If the suspect is under 18, the Juvenile Prosecutor's Office takes charge under the rules of juvenile criminal law, which is common where images are shared among school classmates.
The evidence is mainly technical: extraction and analysis of the device, reports from specialised police units, court orders to telecoms operators and platforms and, often, an independent IT expert instructed by the party. Plain screenshots can be challenged, so it is better to keep the original device and, if the content is online, have its existence formally certified before asking for it to be taken down. If you do not speak Spanish, you are entitled to an interpreter when making a statement, whether as victim or as suspect.
Accused of a privacy offence in Spain: lines of defence
- Consent or authorisation: an account shared by agreement, or access covered by the person's professional role.
- Lack of the required purpose: Article 197.1 requires acting in order to discover secrets or invade privacy; accidental access is not enough.
- Authorship not proven: an IP address or a device identifies a line or a handset, not necessarily the person who acted.
- Inadmissible evidence obtained without a court order or with a broken chain of custody.
- No serious harm to privacy in an Article 197.7 case.
- Making amends and pardon: removing the content, paying compensation and reaching an agreement can end the proceedings or substantially reduce the sentence.
Victim of spying or image sharing in Mallorca: what to do
- Preserve the evidence: messages, links, usernames, dates and the people who received the material.
- Report it as soon as possible and ask the court, as an interim measure, to order the content to be removed and prohibit further sharing.
- Ask the platform to take it down and, if the content is sexual or violent, use the priority channel of the Spanish Data Protection Agency (Agencia Española de Protección de Datos).
- Join the proceedings as a private prosecutor (acusación particular) to seek a sentence and compensation for non-material damage.
If offensive statements or false allegations have also been published, a private criminal complaint for defamation (insult or slander) can be brought alongside.
How our privacy offences lawyer in Palma handles your case
At Castell Abogados, Carlos Castell first examines which form of Article 197 really fits the facts, because the difference between them can mean years in prison. If you are under investigation, we are with you from your first statement, scrutinise how the digital evidence was obtained and consider whether early reparation makes sense. If you are the victim, we prepare the complaint with the evidence properly organised, apply for urgent removal orders and pursue the prosecution through to trial. Your first consultation is free and you receive a written quote. We work in Spanish, Catalan, English and German.
Free first consultation without obligation, in Palma or by video call.
Frequently asked questions
Is it illegal in Spain to look at my partner's phone?
Yes, if you do it without their consent in order to find out about their private life. Marriage or living together does not remove the right to privacy. The penalty is one to four years' imprisonment and a fine, and it is higher if what you found is then shared. Evidence obtained this way is also usually rejected in family proceedings.
My ex has shared an intimate photo I sent them: can I report it?
Yes. Having sent it voluntarily does not give anyone permission to share it. Article 197.7 punishes that conduct with three months to one year in prison or a fine, imposed in its upper half if the offender was your partner. Anyone who receives it and shares it again is also liable. Keep the evidence and report it quickly so that you can ask for it to be removed.
Is it legal in Spain to record a conversation I am part of?
As a general rule, yes: recording what is said to you is not intercepting someone else's communication, and such recordings are usually admitted as evidence. What may lead to liability is publishing the recording when it contains details from the other person's private life. Before using it in court, have a lawyer assess its content.
Does withdrawing a privacy complaint end the criminal case?
For these offences the victim's pardon ends the criminal proceedings, provided it is given before judgment. That is not the case when the offender is an official who abused their position or when many people are affected, and if the victim is a minor the judge may refuse to accept it.
How long do I have to report a privacy offence?
Most forms of the offence become time-barred after five years, but forwarding images, which carries only a minor fine, is time-barred after one year. In practice a different deadline matters more: the technical data needed to identify the offender are kept only for a limited time, so the sensible course is to report as soon as you learn what has happened.
Can my employer in Spain read my work email?
Only within limits. The employer must have explained beforehand that work email is a business tool subject to monitoring, and must act with justification and proportionately. If it reads personal messages without those conditions, the evidence may be excluded and the person responsible may be committing an offence.