info@societejuridique.com
Madrid: Paseo de la Castellana 216 8 ª Planta
Alicante: Av. Ansaldo Nº31, local 16
24h emergencies: 669 30 21 13

Social media:

Harassment · stalking · Article 172 ter CP

Harassment and stalking: prosecution and defence

Criminal defence throughout Spain · offices in Madrid and Alicante

Article 172 ter punishes whoever, insistently and repeatedly and without legitimate authorisation, watches, pursues or seeks physical proximity, contacts by any means, misuses personal data or attacks the liberty or property of the victim. The decisive element is not annoyance, but the serious alteration of daily life.

In brief. Harassment is not a sensation: it is defined conduct. What decides these cases is the pattern, its proof and its accredited impact. We act both for the private prosecution and for the defence where the accusation arises from a break-up, a neighbourhood dispute or a badly reconstructed workplace situation. The work begins in the same place in both cases: fixing the facts with technical support before the account becomes contaminated.

Why it is different

172 ter
The autonomous stalking offence.
3m-2y
The imprisonment range of the basic offence.
24h
The critical window to preserve the digital evidence.

Harassment is not a sensation: it is defined conduct

Article 172 ter of the Criminal Code punishes whoever harasses a person by carrying out, insistently and repeatedly and without legitimate authorisation, surveillance, pursuit or the seeking of physical proximity, contact through any means, the improper use of their personal data, or an attack on their liberty or property. The decisive element is not the annoyance but the serious alteration of the victim’s daily life. That legal requirement turns every case into a problem of proof of pattern.

We act on both sides: for the private prosecution of victims, and for the defence where the imputation arises from a break-up, a neighbour conflict or a poorly reconstructed employment situation. In both positions the work starts at the same point: fixing the facts with technical support before the narrative becomes contaminated.

The framework

The conduct of Article 172 ter and its neighbouring offences

Art. 172 ter.1.1ª CP

Surveillance and pursuit

Following the victim, watching their routines or seeking physical proximity insistently and repeatedly, without legitimate authorisation, to the point of seriously altering their daily life. Imprisonment of three months to two years or a fine of six to twenty-four months.
Art. 172 ter.1.2ª CP

Insistent contact

Establishing or attempting contact by telephone, messaging, social networks or through third parties, despite the victim’s express or unequivocal refusal to communicate. The same penalty range.
Art. 172 ter.1.3ª CP

Misuse of personal data

Improperly using the victim’s personal data to acquire products, contract services or cause third parties to contact them, including false profiles and advertisements published in their name. The same penalty range.
Art. 172 ter.1.4ª CP

Attacks on liberty or property

Attacking the liberty or property of the victim or of someone close to them, with damage to the vehicle, the home or companion animals used as continued pressure. The same penalty range.
Art. 172 ter.2 CP

Stalking of a partner or ex-partner

Where the victim is or was a spouse or analogous partner, or is especially vulnerable by age, illness or situation, the criminal response hardens automatically: the penalty in its upper half.
Art. 173.1 CP

Workplace harassment

Repeated hostile or humiliating acts within an employment or public-service relationship, by someone taking advantage of a position of superiority, amounting to serious harassment. Imprisonment of six months to two years.
Art. 173.1 CP

Property harassment

Hostile conduct aimed at preventing the lawful enjoyment of a dwelling: cutting utilities, harassing works, intimidating visits and sustained pressure to force abandonment of the property. Imprisonment of six months to two years.
Arts. 169–172 CP

Threats and coercion

Announcing future harm against the victim or their circle, or violently imposing conduct they do not wish to carry out. They frequently concur with the harassment and change the applicable framework entirely.
Art. 197.7 CP

Dissemination of intimate images

Disclosing without authorisation images obtained with the victim’s consent in a private setting, where disclosure seriously harms their privacy. Imprisonment of three months to one year or a fine.
Penalties at a glance

Penalty framework and the factors that move it

OffenceArticlePenalty frameworkKey factor
Stalking (basic offence)172 ter.13 months – 2 years or fine 6 – 24 monthsProven repetition and serious alteration of daily life
Stalking of a partner or ex-partner172 ter.2Upper half of the basic penaltyPresent or past affective bond, or special vulnerability
Workplace harassment173.16 months – 2 yearsPosition of superiority and repetition of the hostile acts
Property harassment173.16 months – 2 yearsProven aim of forcing abandonment of the dwelling
Threats169 – 171According to the formGravity and credibility of the harm announced
Coercion1726 months – 3 years or fineViolence used and intensity of the conduct
Dissemination of intimate images197.73 months – 1 year or fineRelationship with the victim, profit motive and reach
Breach of measures468.26 months – 1 yearA restraining measure or penalty in force; frequent concurrence with stalking

Indicative frameworks under the Criminal Code in force. They do not constitute legal advice; classification and penalty require individualised analysis of the case.

Our differentiator

We do not defend with narratives: we defend with forensic analysis

A harassment case is won or lost on technical ground. Before drafting a single pleading we reconstruct the complete sequence of contacts, cross-reference times, locations and devices, and detect what is missing from the police report. Digital evidence is not simply filed: it is prepared, authenticated and explained to the court. That prior work sustains both a private prosecution and a defence against an instrumental complaint. Our internal method is LIWARD, Legal Intelligence Warfare for Defense.

Four errors ruin these cases. Complaining without a chronology: Article 172 ter requires insistence and repetition, and without an ordered timeline of every contact the court sees isolated incidents and dismisses. Destroying the metadata: forwarding screenshots or pasting them into a document removes traceability; export the full conversation, keep the original terminal and document the chain of custody. Replying to the harasser: answering to clear things up creates a two-way thread the defence will use to deny any refusal to communicate; the correct course is to cut contact, preserve and document. And breaching or tolerating breaches of measures: a restraining measure is not deactivated by consent, and the protected person’s agreement is irrelevant, while the investigated person adds an autonomous offence under Article 468.2.

01

Legal intelligence

02

Case-law analytics

03

Digital evidence · e-forensic

04

Procedural strategy

How we intervene

A strategy sustained through every phase

Phase 01

Chronology and preservation of the pattern

Phase 02

Complaint or defence with technical support

Phase 03

Protection measures and interim relief

Phase 04

Trial and appeals

Who we represent

Each profile demands a distinct defence

V

Victims of stalking

Persons watched, pursued or contacted insistently: chronology, preservation, protection order and private prosecution.

I

Persons under investigation

Those accused after a break-up or dispute: reconstruction of who initiated each contact and in what context, and challenge of the pattern.

T

Workers and employers

Workplace harassment from either side: documentation of the hostile acts and coordination with the employment jurisdiction.

P

Owners and tenants

Property harassment: utilities, works and pressure to force abandonment, defending and prosecuting.

FAQ

What to know before the first consultation

How many messages are needed for a stalking offence to exist?
The Criminal Code sets no number. Article 172 ter requires the conduct to be insistent and repeated and to seriously alter the victim’s daily life. Ten intimidating messages in one day may suffice; fifty anodyne messages spread over a year may not. What is decisive is the pattern of conduct and its proven impact.
Can I complain if I did not report the earlier episodes?
Yes. The Article 172 ter offence is prosecutable upon the complaint of the aggrieved person or their legal representative, save where the victim is a minor, a protected disabled person, or the partner or ex-partner subtype applies. Episodes not reported at the time can be contributed as part of the harassment sequence.
What evidential value does a screenshot have?
It has value, but it is challengeable. If the defence questions its authenticity, the court will need the original conversation on the device, a forensic extraction or an expert report establishing integrity and origin. Export the complete chat, keep the terminal, delete nothing and document how each file was obtained.
Can I request protection the same day I complain?
Yes. Together with the complaint, a protection order under Article 544 ter LECrim or interim measures under Article 544 bis may be requested, with prohibitions of approach and communication. The court convenes an urgent hearing with the parties and the prosecutor and rules within a very short period.
I am accused of stalking after a break-up. What do I do first?
Stop all communication with the complainant, including indirect contact through relatives or friends, and delete nothing from the phone: erasing messages destroys exculpatory evidence and is read against you. Then reconstruct with your lawyer the real sequence of contacts, who initiated each one and in what context it occurred.
Do you handle cases outside Alicante?
Yes. We operate from Madrid and Alicante and act throughout Spain, including urgent assistance to detainees and proceedings with an international dimension.
What is the LIWARD methodology?
It is our own methodology, Legal Intelligence Warfare for Defense, which integrates legal intelligence, case-law analytics and digital forensic evidence into a single procedural strategy.

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
Londres: 20 Wenlock Road, N1 7GU, Reino Unido
París: 72 Faubourg St Honoré, 75008, Francia
info@societejuridique.com

Société de Conseil Juridique et Expert es un despacho de abogados con sedes en Madrid, Alicante, Londres y París, especializado en defensa y acusación penal, delitos económicos y corporativos y derecho tecnológico. Trabajamos con orientación estratégica en procedimientos penales complejos, propiedad intelectual y análisis forense avanzado, y prestamos consultoría jurídica, compliance y escudos de protección a particulares y empresas. Atendemos desde Alicante y Madrid, con consulta online en toda España y asistencia al detenido 24 horas. Resuelva sus dudas en las preguntas frecuentes o solicite una primera consulta.

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

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