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

Redes Sociales:

Digital Evidence in Spanish Criminal Proceedings · Alicante · Madrid · All Spain

Digital Evidence in Spanish Criminal Proceedings

WhatsApp messages, device images, IP logs and cloud data now decide most contested criminal cases in Spain.

Their admissibility depends on rules that are frequently breached.

In brief. WhatsApp messages, device images and IP logs in Spanish criminal proceedings: articles 588 bis and following, chain of custody and exclusion of evidence.

At a glance

24/7
Response to a detention
6
Working languages
10+
Years defending international clients

The statutory framework introduced in 2015

Act 13/2015 inserted a complete regime for technological investigation measures into the Criminal Procedure Act, in articles 588 bis a) to 588 octies. It applies to the interception of telephone and electronic communications, the capture of oral communications, the use of tracking devices, the recording of images in public places, the remote search of computer equipment and the examination of mass storage devices.

The regime is built on principles that the judicial authorisation must expressly satisfy: speciality, meaning the measure must relate to a specific offence and not to a general fishing exercise; suitability; exceptionality and necessity; and proportionality. The order must identify the measure, its scope, its duration, the persons affected and the officers responsible, and it must state reasons rather than reproduce a template.

Two provisions matter in almost every case. Article 588 sexies requires a specific judicial authorisation to examine the contents of a seized computer or mobile phone, separate from the authorisation to seize it. And article 588 septies allows remote searches only for a closed list of serious offences.

Defence

Chain of custody and the technical challenges that work

The evidential value of a device image depends on the integrity of the process. In practice the defence examines whether the seizure was documented with the device state recorded, whether a forensic image was taken with write-blocking, whether hash values were calculated at acquisition and verified before analysis, whether those values match in the expert report, whether the analysis was carried out on the copy rather than the original, and whether the defence was given access to the copy so that its own expert could replicate the work.

For messaging applications the questions are different. A screenshot is manipulable, an export can be edited, and a message can be attributed to an account rather than to a person. Spanish case law requires particular caution where a conversation is produced by one party in extract, and the Supreme Court has repeatedly said that when authenticity is contested the party relying on the message must prove it, typically through a forensic report on the device or through the metadata.

Where an irregularity is established, article 11.1 of the Judiciary Act excludes unlawfully obtained evidence and, subject to the connection of unlawfulness doctrine, the evidence derived from it.

Defence

Using digital evidence as the accusing party

Victims and companies frequently hold the key evidence and destroy its value by handling it badly. The practical rules are to stop using the device or account concerned, to avoid deleting or reorganising anything, to obtain a forensic image before any internal review, to record the acquisition process, and to have the report prepared by an expert who can defend it under cross-examination.

For content hosted by third parties, such as an exchange, a platform or a mail provider, preservation requests and judicial orders are time-critical because retention periods are short. Where the provider is outside Spain, the route runs through the European Investigation Order within the EU or through mutual legal assistance elsewhere, and the request has to be drafted so that it is capable of being executed.

Framework

The legal framework for digital evidence

Digital evidence in Spain is governed both by the substantive provisions that protect data and communications, in article 197 and following of the Criminal Code, and by the procedural rules on the search of electronic devices introduced into the Criminal Procedure Act. As a rule, access to the content of a phone, computer or account requires a reasoned judicial authorisation and must respect the principle of proportionality.

These safeguards exist because a modern device holds a comprehensive picture of a person’s private life. When they are not observed, the resulting evidence is exposed to challenge, and in serious cases to exclusion from the proceedings.

Integrity

Chain of custody and the integrity of the data

The evidential value of digital material depends on being able to prove that what is presented to the court is identical to what was seized. This is done through the chain of custody and, technically, through hashing and other methods that demonstrate the data has not been altered.

A break in that chain, or the absence of a reliable record of how the data was captured and preserved, is one of the most effective lines of challenge, because it goes to the authenticity of the evidence rather than merely its interpretation.

Challenge

Challenging searches of devices and cloud data

We examine whether the search of a device or of remotely stored data was covered by a specific and reasoned judicial authorisation, whether its scope was respected, and whether the measure was proportionate to the offence under investigation. Remote searches in particular are subject to strict conditions.

Where the authorisation is generic, retrospective or exceeded in practice, the material obtained may be unusable, which can be decisive in cases that rest largely on electronic evidence.

Method

Working with forensic experts

We instruct independent forensic experts to review how the evidence was acquired and analysed, to test the attribution of activity to a particular person, and to identify technical weaknesses in the prosecution’s material.

This combination of legal and technical scrutiny is essential in matters where a conviction is built on metadata, logs or recovered files, none of which speaks for itself without a sound methodology behind it.

Messaging

Chat messages, screenshots and their weight

Messages and screenshots are among the most common forms of digital evidence, and also among the easiest to manipulate. Their evidential weight depends on being able to demonstrate their authenticity, ideally from the original device or account rather than from an isolated image.

We test whether the material presented is complete and unaltered, since a selective or edited exchange can convey a very different meaning from the full conversation.

Attribution

Location data, IP addresses and attribution

Prosecutions often rely on an IP address, a login or location data to place a person at the centre of events. None of these, on its own, proves that a particular individual carried out the conduct, especially where devices or connections are shared.

We examine the strength of the link between the data and the accused, because the gap between a device and a person is frequently where these cases are decided.

Privacy

Evidence obtained by private parties and its limits

Not all evidence is admissible simply because it exists. Material obtained in breach of fundamental rights, whether by the authorities or by a private party, may be excluded, and evidence derived from it can be tainted as well.

Where a recording or a message has been obtained unlawfully, we raise its inadmissibility, since the exclusion of key evidence can be decisive for the outcome of the case.

FAQ

What clients ask us most

Are WhatsApp messages valid evidence in Spain
They can be, but their weight depends on how they were obtained and whether authenticity is contested. Uncontested, they are commonly admitted. Contested, they require corroboration such as a forensic report, metadata or a notarial record.
Can the police look through my phone after arresting me
Seizure and examination are different things. Examining the contents requires a specific judicial authorisation under article 588 sexies, and consent given at the police station without advice is a frequent and challengeable shortcut.
Can I record a conversation I take part in
Recording a conversation in which you participate is generally lawful and admissible, since there is no interception of the communications of others. Recording a conversation between third parties is not.
My case rests on an expert report I do not understand
You are entitled to the report, to the underlying data and to instruct your own expert. In technical cases a counter-report is often the difference between a conviction and an acquittal.

Speak to a criminal lawyer

The earlier we see the file, the more can be done with it.

Criminal defence in English before the courts of Alicante, Madrid and the whole of Spain. Tell us what has happened and we will tell you what the real exposure is.


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