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:

Article 302 Spanish Criminal Procedure Act: Secrecy of the Investigation

Article 302 of the Criminal Procedure Act states the rule and its exception. The rule is that parties who have appeared may examine the file and take part in every step of the procedure. The exception is that, in public offences, the investigating judge may declare the file wholly or partly secret for all parties, by a reasoned decision, for no more than one month, and only where necessary to avoid a serious risk to a person’s life, liberty or physical integrity, or to prevent a situation seriously compromising the investigation. Secrecy must be lifted at least ten days before the investigation is closed.

Wording of Article 302 of the Spanish Criminal Procedure Act

Parties who have appeared may take cognisance of the proceedings and take part in all the steps of the procedure.

Nevertheless, if the offence is a public one, the investigating judge may, on the proposal of the Public Prosecution Service, of any of the parties who have appeared, or of his own motion, declare it, by a reasoned decision, wholly or partly secret for all the parties who have appeared, for a period not exceeding one month, where necessary in order to:

a) avoid a serious risk to the life, liberty or physical integrity of another person; or

b) prevent a situation that may seriously compromise the outcome of the investigation or of the proceedings.

The secrecy of the investigation must necessarily be lifted at least ten days before the conclusion of the investigation.

The provisions of this article are without prejudice to the second paragraph of article 505(3).

Working translation prepared by Société Juridique from the consolidated Spanish text published by the Official State Gazette. It has no official status: the only authoritative version is the Spanish original, available at the Official State Gazette and reproduced verbatim in our Spanish-language entry for this provision. Source: Royal Decree of 14 September 1882 approving the Spanish Criminal Procedure Act.

Effect. The article imposes no penalty. Its effect is to suspend, for a maximum of one month, the right of the parties to examine the file and to take part in the steps of the investigation. Steps taken during that period are valid, but the defence must be given the opportunity to contest them once secrecy is lifted, and the ten-day rule exists to make that opportunity real.

Requirements and procedure

  1. A public offence, since the exception is unavailable in offences prosecutable only on complaint.
  2. A reasoned decision identifying which of the two grounds applies and why, and stating whether the secrecy is total or partial.
  3. A maximum duration of one month for each declaration, which the case law admits may be extended by successive reasoned decisions while the ground subsists.
  4. The lifting of secrecy at least ten days before the investigation is concluded.

Defence strategy

Scrutiny of the reasons and of the scope. Secrecy is an exception and must be justified by reference to the concrete situation, not by the classification of the offence. A decision that recites the statutory formula, or that declares the whole file secret where only one line of enquiry required protection, is challengeable. The defence requests the decision at once and, where it is defective, appeals, because everything that follows is conducted without the defence being able to intervene.

The ten-day rule. The lifting of secrecy at least ten days before the conclusion of the investigation is a guarantee with teeth: it is what allows the defence to examine what was done and to request further steps before the file is closed. Where secrecy was lifted later, or where the closure followed immediately, the defence applies for the reopening of the period and records the objection, since this defect affects the right to a defence and is reviewable.

Contesting the steps taken during secrecy. Once secrecy is lifted, the defence has a real but brief opportunity: to examine each step taken, to challenge those carried out without the safeguards, and to request the evidence that the secrecy prevented it from seeking. That work must be done immediately, because objections not raised at that moment are treated as waived at trial.

Secrecy and the custody hearing. The final paragraph preserves article 505(3), and article 527(1)(d) preserves access to the material essential to challenge a deprivation of liberty. Secrecy therefore never justifies refusing the defence the material needed to contest pre-trial detention, and where that access is denied the objection is recorded at the hearing itself.

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 entry is provided for information only and does not constitute legal advice. The application of any provision depends on the circumstances of the individual case and requires examination of the case file by a qualified lawyer.

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