Imagine the police find a DNA sample from the suspect at the crime scene, but when it reaches the laboratory the packaging is open and there is no record of who collected it or how it was transported. Does that sample have evidentiary value? The answer of modern criminal proceedings is: it depends, and in many cases it does not.
The chain of custody is the set of procedures guaranteeing that a piece of evidence is the same one collected at the scene and that it has not been altered, contaminated, substituted, or manipulated between its acquisition and its presentation at trial. It is, in essence, the guarantee of the integrity of physical and digital evidence. It is not a bureaucratic formality: it is a substantial guarantee of the right to effective judicial protection and of the presumption of innocence, because evidence whose chain of custody cannot be established cannot be assessed with the certainty needed to convict.
A correct chain of custody must document several elements. The initial collection: who collected the evidence, when, where, in what state, and with what preservation measures; errors at this stage, such as collecting DNA without gloves or handling a weapon without protection, are difficult to remedy. Transport: each transfer must be recorded, with its conditions, because biological samples can degrade at inappropriate temperatures. Storage: under conditions that prevent degradation and with restricted, recorded access. Analyses: each expert manipulation must be documented, indicating methodology, results, and the amount of sample consumed. And the presentation at trial, where it must be verified that what is presented is what was collected.
Digital evidence poses particular challenges: files are highly sensitive to modifications, and any access can alter their metadata. The standard is the use of cryptographic hash functions, which produce a digital fingerprint of the file that changes detectably if the content is modified. In addition, analyses must be carried out on forensic images, that is, exact copies, and not on the original.
Breaking the chain of custody has consequences, although not automatic ones: case law requires that the irregularity has generated a reasonable and real doubt, not merely a theoretical one, about the integrity of the evidence. If that doubt exists, the consequences may be the exclusion of the evidence, the reduction of its evidentiary value, or the application of in dubio pro reo.
For the defence, the chain of custody is a valuable and under-explored tool. The lawyer must request access to all the custody documentation for each piece of evidence, analyse it with the help of an expert who detects the technical irregularities, and articulate those irregularities as grounds for challenge in a technically sound manner, identifying which specific link fails.
The particularities vary according to the type of evidence: in biological samples the risk is contamination and degradation; in narcotic substances, establishing that the one analysed is the one seized; in weapons and objects, preserving fingerprints and traces; and in digital evidence, the technical integrity mechanisms. In Spain there is no single rule on the chain of custody, but rather a regulation dispersed among the Criminal Procedure Act, forensic protocols, and the case law of the Supreme Court.