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 204 Spanish Criminal Code: unlawful entry by officials

Article 204 of the Spanish Criminal Code aggravates unlawful entry into dwellings and premises when committed by an authority or public official outside the cases allowed by law and without a criminal-law ground: it imposes the penalty of Articles 202 or 203 in its upper half plus absolute disqualification of six to twelve years.

Wording of Article 204 of the Spanish Criminal Code

The authority or public official who, outside the cases permitted by law and without a legal ground based on an offence, commits any of the acts described in the two preceding articles shall be punished with the penalty respectively provided for in them, in its upper half, and absolute disqualification for six to twelve years.

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: Organic Law 10/1995 of 23 November, the Spanish Criminal Code.

Sentencing range. The penalty of the corresponding unlawful entry in its upper half, plus absolute disqualification for six to twelve years.

Elements of the offence

  1. The status of authority or public official, acting as such.
  2. Conduct defined in Articles 202 or 203: entry or remaining against the owner’s will.
  3. Action outside the cases permitted by law.
  4. Absence of a criminal-law ground authorising the entry, such as flagrancy or a judicial warrant.

Defence strategy

Establishing legal authorisation. Valid consent of the owner, flagrant crime or a judicial warrant exclude the offence. The official’s defence turns on documenting the enabling ground for the entry.

Examining urgency. Necessity and rescue situations decriminalise the entry; they are assessed as matters stood at the moment of acting, not with hindsight.

Separating disciplinary faults. An administrative irregularity does not equal the criminal intent to enter outside permitted cases; mistake as to the authorisation falls under Article 14.

Linking to unlawful evidence. For the person investigated in the underlying case, an illegal entry taints the evidence obtained; the official’s liability and the nullity of the search reinforce each other.

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