Also cited as: chain of custody · break in the chain of custody · cadena de custodia · identity of the sample · traceability of evidence.
Spanish law contains no unified regulation of the chain of custody. Its basis is drawn from scattered provisions of the Criminal Procedure Act on the collection and preservation of the corpus delicti, supplemented by administrative protocols of the health authorities and forensic police. Case law has settled its nature clearly: it is not an autonomous formal requirement but the instrument that establishes identity between what was seized and what was analysed. The defence must therefore direct its challenge to reliability rather than lawfulness, a frequent error that leads to the ground being dismissed.
Article 282 of the Criminal Procedure Act: the Judicial Police shall investigate public offences committed in their territory, carry out the steps necessary to verify them and identify the offenders, and collect all effects, instruments or evidence of the offence at risk of disappearing, placing them at the disposal of the judicial authority.
Article 326 of the Criminal Procedure Act: where the offence prosecuted has left traces or material evidence of its commission, the investigating judge shall order that these be collected and preserved for the trial if possible, carrying out for that purpose an inspection of the scene and a description of everything that may bear on the existence and nature of the act.
Article 338 of the Criminal Procedure Act: the instruments, weapons and effects referred to in article 334 shall be sealed, and their retention, preservation or dispatch to the appropriate body for storage shall be ordered.
Statutory texts cited from the consolidated versions published by the Spanish Official State Gazette. Unofficial English rendering; the Spanish text is the authentic one.
| Nature | Guarantee of identity between what was seized and what was analysed, not an autonomous formal requirement |
|---|---|
| Legal basis | Scattered provisions of articles 282, 326, 334 and 338 of the Criminal Procedure Act and administrative protocols |
| Effect of a break | Loss of reliability and evidential weight, not unlawfulness under article 11.1 of the Judiciary Organic Act |
| Burden of raising it | On the party invoking it, specifying the particular defect |
| Time to challenge | Written defence, with a request for the attendance of those involved |
| Usual field | Narcotic substances, biological samples, electronic devices and weapons |
| Counter-analysis | Contradictory analysis on the reserved sample, where one exists |
Request the complete custody file. The seizure record, the storage register, the dispatch note to the laboratory and the full expert report, not merely its conclusions, should be sought.
Challenge in the written defence. A reasoned challenge compels the attendance of the officers involved and of the expert, and deprives the report of its status as documentary evidence in abbreviated proceedings.
Compare weight, number and description. The contrast between the record and the report is the core of the challenge. It is best set out as a comparative table in the written submission.
Verify the reserved sample. If no sufficient sample was preserved for counter-analysis, expert contradiction has been prevented, which strengthens the doubt as to reliability.
For digital evidence, demand the hash value. The absence of a hash at the time of cloning makes it impossible to establish that the copy analysed matches the original, and should be expressly pleaded.
Are you under investigation or facing charges in Spain? Société Juridique acts for foreign nationals throughout Spain, with offices in Alicante and Madrid and a 24-hour custody line. +34 669 30 21 13 or enquire online.
This page is provided for information only and does not constitute legal advice. The application of any provision depends on the circumstances of the case and requires review of the file by a lawyer. The English rendering of the legal text is unofficial.
Last reviewed: 21 September 2026.
Not automatically. Case law treats the irregularity as affecting reliability rather than lawfulness, so the exclusionary rule of article 11.1 of the Judiciary Organic Act does not apply; the result simply carries less weight.
Discrepancies in weight, number of packages or description between the seizure record and the laboratory report, the absence of sealing and, in digital evidence, the lack of a recorded hash value.
In the written defence. A reasoned and timely challenge compels the officers and the expert to attend; a late one is usually rejected.
No. The specific defective link must be identified and it must be explained why it raises a reasonable doubt as to the identity between what was seized and what was analysed.
Yes, provided a sufficient sample was reserved. If none was preserved, it may be argued that expert contradiction has been prevented.