The protected witness in Spanish criminal proceedings

Quick answerOrganic Act 19/1994 allows the identity and personal details of witnesses and experts to be withheld where the court reasonably finds a serious danger to their person, liberty or property, or to that of their close relatives. The protection is not absolute: article 4.3 requires the court to disclose the name and surnames where any party so requests, with reasons, in its statement of case, indictment or defence statement.

Also cited as: protected witness · anonymous witness · witness and expert protection · Organic Act 19/1994 · witness identified by code number

The status of the protected witness embodies a permanent tension between the safety of the person testifying and the defendant’s right to a defence. The Act resolves that tension in two stages: during the investigation, confidentiality of identity prevails; once the intermediate stage is reached, a party who so requests with reasons is entitled to know the witness’s name in order to challenge the testimony.

Legal framework

Article 1 of Organic Act 19/1994: the measures apply to those intervening as witnesses or experts in criminal proceedings, and require the judicial authority to find reasonably a serious danger to the person, liberty or property of the person seeking protection, of their spouse or a person linked by an analogous relationship of affection, or of their ascendants, descendants or siblings.

Article 2 of Organic Act 19/1994: the investigating judge shall order, with reasons, of its own motion or at the request of a party, and without prejudice to the right of confrontation available to the defence, that the identifying details do not appear in the record, being replaced by a number or code; that the witness appear by any procedure preventing normal visual identification; and that the seat of the court be designated as the address for service.

Article 3 of Organic Act 19/1994: prohibition on taking the witness’s image, police protection at the request of the public prosecutor and, in exceptional cases, documents under a new identity and financial means to change residence or place of work.

Article 4.1 of Organic Act 19/1994: on receipt of the file, the trial court shall rule with reasons on whether the measures are to be maintained, modified or lifted, after weighing the constitutionally protected interests, the competing fundamental rights and the circumstances of the case.

Article 4.3 of Organic Act 19/1994: if any party so requests with reasons in its statement of case, indictment or defence statement, the court must supply the name and surnames of the witnesses and experts proposed, in the same order in which it rules the evidence admissible.

Article 4.5 of Organic Act 19/1994: statements or reports given under protection during the investigation may only have evidential value if ratified at trial; where they are considered impossible to reproduce for the purposes of article 730 of the Criminal Procedure Act, they must be ratified by literal reading so as to allow confrontation.

Statutory texts cited from the consolidated versions published by the Spanish Official State Gazette. Unofficial English rendering; the Spanish text is the authentic one.

Key rule. Confidentiality of identity is an investigative measure, not a definitive regime. Where the defence requests disclosure with reasons in its provisional submissions, revealing the name and surnames is not discretionary for the court but mandatory.

Key facts

Governing statute Organic Act 19/1994 of 23 December
Personal scope Witnesses and experts intervening in criminal proceedings
Condition Serious danger to the person, liberty or property of the witness or close relatives
Competent body at the investigation stage Investigating judge, by reasoned order
Typical measures Code number, appearance without visual identification and address at the court
Exceptional measures Police protection, new identity documents and means to relocate
Review at trial Reasoned order of the trial court, article 4.1
Right to know the identity On reasoned request in the statement of case, indictment or defence, article 4.3
Time limit to object to experts From notification of the identity, article 662 of the Criminal Procedure Act
Evidential value Only if ratified at trial, article 4.5

Elements and scope

  1. A reasoned judicial decision. Adoption requires an order; neither a simple direction nor a police decision suffices, and it must express the specific finding of danger under article 1.2.
  2. Serious and reasonably assessed danger. Neither the gravity of the offence under investigation nor the witness’s generic fear is enough: the Act requires a risk assessment referring to the person, liberty or property.
  3. Proportionality of the measure chosen. The code number, visual concealment and procedural address are graduated measures to be selected according to the real risk.
  4. Mandatory review when the trial stage opens. Article 4.1 requires a fresh reasoned ruling, so that automatic continuation of the confidentiality is contrary to the Act.
  5. Effective confrontation at trial. Article 4.5 makes evidential value conditional on ratification at trial, and the Act allows further evidence on the witness’s credibility within five days of the identity becoming known.

Points of application

Anonymity and conviction. The European Court of Human Rights and the Spanish Supreme Court agree that a conviction may not rest exclusively or decisively on the testimony of a witness whose identity has been withheld from the defence.
Anonymous witness distinguished from concealed witness. A concealed witness testifies without being seen by the defendant but with an identity known to the parties; an anonymous witness keeps that identity confidential. The latter requires reinforced justification and counterbalancing measures.
Late request. The right under article 4.3 is exercised in the statement of case, indictment or defence statement. Where the request is made at the hearing itself, the courts treat it as out of time, so it should be brought forward.
Reasons for refusal. A refusal to disclose the identity must be individually reasoned; a generic reference to the gravity of the offence or to membership of an organisation does not satisfy the balancing exercise of article 4.1.
Police officers. Officers testifying by their professional badge number are not, properly speaking, protected witnesses, and this does not prevent their identification for the purposes of objection or of evidence as to credibility.

Defence strategy

Request the identity in the defence statement, always and with reasons. The article 4.3 request must be in writing and reasoned, explaining what the information is needed for: objection to an expert, evidence as to credibility or proof of prior enmity.

Insist on the reasoned review required by article 4.1. Once the trial stage opens, the court should be asked to rule expressly on whether the measures are to continue, weighing the competing rights.

Propose evidence as to credibility within five days. Once the identity is known, the Act allows five days to propose evidence tending to establish circumstances affecting the weight of the testimony.

Challenge a conviction resting decisively on an anonymous witness. Where the protected testimony is the only significant evidence for the prosecution, breach of the right to a defence and insufficiency of evidence should be raised.

Monitor ratification at trial. Without ratification at trial, a statement given under protection has no evidential value; if article 730 is relied on, literal reading and confrontation must be insisted upon.

Verify the real identity once disclosed. Once the name is supplied, it is advisable to check the record, any relationship with the parties and possible grounds of subjective unreliability before the hearing.

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: 23 September 2026.

Frequently asked questions

May the defence learn the name of a protected witness?

Yes. Article 4.3 of Organic Act 19/1994 requires the court to supply the name and surnames where any party so requests, with reasons, in its statement of case, indictment or defence statement.

Is the gravity of the offence enough to order protection?

No. Article 1.2 requires the judicial authority to find reasonably a serious danger to the person, liberty or property of the witness or of close relatives.

Can a conviction rest on the testimony of an anonymous witness alone?

European case law and that of the Spanish Supreme Court reject a conviction founded exclusively or decisively on testimony whose source the defence has been unable to challenge.

What is the value of a statement given under protection during the investigation?

It has evidential value only if ratified at trial. Where it is considered impossible to reproduce under article 730 of the Criminal Procedure Act, it must be read literally so as to allow confrontation.

Is there an appeal against the protective measures?

Yes. Article 4.2 expressly provides for an appeal for reconsideration or for review against the measures adopted.

Logotipos-abogacia-scje
Paseo De La Castellana 216 8º 28046 Madrid
Alicante – Playa de San Juan Av. Ansaldo 31, local 16, 03540 Alicante
London: 20 Wenlock Road, N1 7GU, United Kingdom
Paris: 72 Faubourg St Honoré, 75008, France
info@societejuridique.com

Société de Conseil Juridique et Expert is a law firm with offices in Madrid, Alicante, London and Paris, specialising in criminal law, technology law and economic and corporate crime. We provide strategic guidance in complex criminal proceedings, intellectual property and technological resources for legal decision-making with advanced forensic analysis. Our multidisciplinary team combines legal experience, legal intelligence and personal attention to deliver effective solutions adapted to each case. Legal assistance available 24 hours a day and online consultations.

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

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