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.

Also cited as: article 545 Spanish Criminal Procedure Act · art. 545 LECrim · LECrim article 545 · artículo 545 de la Ley de Enjuiciamiento Criminal.

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.

Defence in this area

If you or your company are facing proceedings in this area, the firm provides defence and prosecution in Alicante and Madrid, with 24-hour assistance to detained persons.

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.

Frequently asked questions

What effect does the application of Article 545 of the Spanish Criminal Procedure Act produce?

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.

What requirements and procedure does Article 545 of the Spanish Criminal Procedure Act lay down?

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. 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. Absence of judicial authorisation identifying the property, the purpose and the persons authorised. Absence of a case expressly permitted by law, such as flagrant offence, the pursuit of an offender, or an imminent danger to persons.

How does the defence make use of Article 545 of the Spanish Criminal Procedure Act?

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.

Is the English text of Article 545 of the Spanish Criminal Procedure Act official?

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.

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