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 545 Spanish Criminal Procedure Act: Inviolability of the Home

Article 545 of the Criminal Procedure Act states the rule from which the whole regime of searches derives: nobody may enter the home of a Spanish national or of a foreign national resident in Spain without consent, except in the cases and in the form expressly provided by law. The provision is short and absolute in form, and its practical importance lies in the consequence of breaching it: evidence obtained in an unlawful entry is excluded, and with it, ordinarily, everything derived from it. For a foreign resident whose property was searched, this is the first article to consider.

Wording of Article 545 of the Spanish Criminal Procedure Act

Nobody may enter the home of a Spanish national or of a foreign national resident in Spain without that person’s consent, except in the cases and in the form expressly provided by the laws.

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 states a prohibition rather than a penalty. Its effect is procedural: an entry made without consent, without judicial authorisation and outside the cases the law permits is unconstitutional, and the evidence obtained is void together with the evidence derived from it. Where the entry was made by a public official outside the cases permitted by law, articles 204 and 534 of the Criminal Code may also apply.

Requirements and procedure

  1. A home, understood functionally as the space in which private life is conducted, which includes hotel rooms, caravans and habitually occupied second homes, and excludes garages, commercial premises open to the public and communal areas.
  2. Absence of consent, which must be free, informed and given by a person entitled to give it. Consent obtained by presenting entry as inevitable is not consent.
  3. Absence of judicial authorisation identifying the property, the purpose and the persons authorised.
  4. Absence of a case expressly permitted by law, such as flagrant offence, the pursuit of an offender, or an imminent danger to persons.

Defence strategy

Whether the space was a home. The protection attaches to private life, not to ownership. The defence establishes the use to which the space was put through utility consumption, furniture, personal effects and the accounts of neighbours. Conversely, where the search took place in a garage, a storeroom or a business area, the protection of this article does not apply, which is equally important to know, since an argument that cannot succeed should not displace those that can.

The quality of the consent. Consent given at the door to several officers, without any warning that it could be refused and that a warrant would otherwise be required, is routinely challenged. The defence obtains the record of the entry, examines whether the consent was recorded in writing and signed, whether an interpreter was present where the occupier does not speak Spanish, and whether the occupier was already under arrest, since consent given by a person in custody requires particular scrutiny.

The scope of the judicial authorisation. Where a warrant existed, its terms limit what was lawful: the property identified, the purpose stated and the persons authorised. A search extended to a neighbouring unit, to a vehicle or to devices not covered, or carried out outside the period authorised, exceeds the warrant. The material seized beyond its scope is excluded, and the defence identifies the excess by comparing the warrant with the seizure record item by item.

Consequences of the breach. The exclusion of unlawfully obtained evidence extends to evidence derived from it, subject to the exceptions the case law recognises. The defence therefore maps the chain from the entry to each item of evidence in the file, including statements made afterwards, and raises the nullity at the earliest procedural stage rather than at trial, since an early ruling may end the proceedings altogether.

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