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:

Criminal procedure guide · Spain

Entry and search of the home in Spain: requirements, nullities and defence strategy

Updated to LO 1/2026 and LO 1/2025 · Reviewed July 2026 · Author: Francisco Javier Martín Porras, criminal lawyer and court expert · SCJE team

The inviolability of the home only yields to consent, flagrante delicto or a reasoned court order. The entry and search is the proceeding that sustains the most convictions (drugs, weapons, devices) and also the one that generates the most nullities: stereotyped orders, searches without the court clerk or the interested party, unauthorised extensions. We comment on the complete regime, including company premises.

In brief. In brief. Without consent, flagrante delicto or a court order, the entry is null and drags down what was found. The order must state specific indications: generic templates fall in subsequent review. The search requires the presence of the interested party and of the court clerk. What is found by chance (casual finding) has its own validity rules.

Practical keys

Arts. 545-578
LECrim: legal regime of entry and search
Art. 588 sexies
LECrim: specific authorisation required for seized devices
3 vías
only consent, flagrante delicto or a reasoned court order legitimise the entry

When the home may be entered and why so many searches are annulled

The inviolability of the home only yields to three titles: valid consent, flagrante delicto or a reasoned court order notified to the interested party. It is the proceeding that sustains the most convictions in drugs, weapons and device cases, and at the same time the one that generates the most nullities: stereotyped orders that reproduce the police request without the judge’s own analysis, searches carried out without the court clerk or without the interested party who was detained and available, and extensions not covered by the order.

Our defence work covers the entire cycle: challenge of the enabling order (indications, proportionality, delimitation of places), control of the practice of the search (time, presence, record and chain of custody of what was seized), invalidation of consent given while detained and without a lawyer, and company searches with delimitation of protected spaces and third-party data.

Provision by provision

The regime of entry and search, article by article

Arts. 545 and 550 LECrim

General rule: inviolability of the home

No one may enter the home of a Spaniard or resident foreigner without their consent, save in the cases and forms provided by law: a reasoned court order notified to the interested party is required. The home protects the sphere of privacy, including hotel rooms and inhabited second residences.
In practice

What counts as a home

The concept of home is broad (hotel rooms, inhabited caravans, annexed storage rooms with living use) but not infinite: open commercial premises and vehicles are not homes, and their search follows other rules. The first question of any defence is whether the searched space was constitutionally a home: it changes the entire standard.
Art. 546 LECrim

The entry order

The judge may order the entry and search by day (and by night only if urgency so requires and the order authorises it) when there are indications that the investigated person or effects of the offence are in the place. The reasoning is the Achilles heel: it must state the objective indications (not mere suspicions or uncorroborated anonymous tips), the purpose and the specific spaces.
In practice

Stereotyped orders fall

Stereotyped orders that reproduce the police request without the judge’s own analysis fall: reasoning by reference is only valid if the police request contains objective and verifiable indications (not uncorroborated anonymous tips, reiterated doctrine since the Supreme Court plenary ruling on informants). We compare the police request and the order word by word: when they match down to the commas, there is a nullity to explore.
Art. 553 LECrim

Flagrante delicto and exceptions

Entry without an order is possible in flagrante delicto, in immediate pursuit of an offender who takes refuge, or in exceptional urgency in terrorism cases with immediate notice to the judge. Flagrancy requires direct perception of the offence being committed: arriving “at the smell of marijuana” alone rarely sustains it. We reconstruct with cameras and timings what the officers actually saw before entering: flagrancy narrated after the fact usually collapses.
Arts. 566 to 572 LECrim

Practice of the search

The search is carried out in the presence of the interested party or a person representing them, two witnesses failing that, and of the court clerk who documents the record. The absence of the interested party who was detained and available is a classic ground of nullity; the record must reflect findings, places and objections.
In practice

The most frequent nullity

The absence of the interested party who was detained and available is the most frequent nullity: if they were in the police car and were not brought up to the search, what was found is in jeopardy. The record must be read under a magnifying glass: rooms not authorised, safes opened without cover, effects not listed. Every excess is a front for the defence.
Arts. 569 and 578 LECrim

Books, papers and correspondence; devices

The search of books and papers (arts. 573 et seq.) and the detention of correspondence also require a reasoned decision, with the specialty that correspondence is opened in the presence of the interested party. Electronic devices found have their own regime: searching a mobile phone or computer requires the specific authorisation of article 588 sexies; the entry order is not enough. The golden modern rule: the entry order does NOT authorise the imaging of the devices found; their content requires the specific authorisation of art. 588 sexies (STS 489/2018 and many later rulings). If the phone analysis was made under cover of the search order, the nullity drags down chats, photos and geolocation data: it is the star ground of the decade.
Casual findings

Evidence of a different offence

If during a search for one offence evidence of a different one appears, the proceeding is valid as notitia criminis, but investigating the new offence requires extending the judicial cover. The casual-finding doctrine is often invoked wrongly, and that is where the litigation lies. The casual finding legitimises the notitia criminis but not an inertial investigation: the judge must be informed and an extension obtained (certified copy of proceedings or a new order). When the police systematically “find” what they were not looking for, we reconstruct whether the search was in reality exploratory: the specialty principle also governs here.
Requirements at a glance

Summary table: requirement, legal basis and effect of its breach

RequirementLegal basisContentEffect of breach
Enabling titleArts. 545 and 550 LECrimConsent, flagrante delicto or a reasoned court orderNull entry; what was found is dragged down
Reasoned orderArt. 546 LECrimObjective indications, purpose and specific spaces; by day save authorised urgencyStereotyped or template orders fall in review
Real flagrancyArt. 553 LECrimDirect perception of the offence being committedFlagrancy narrated after the fact collapses; entry null
Presence of the interested partyArts. 566 to 572 LECrimInterested party or representative, two witnesses failing thatClassic nullity if detained and available but absent
Court clerkArts. 566 to 572 LECrimDocuments the record: findings, places and objectionsSearch without the clerk lacks evidentiary guarantee
Valid consentArts. 545 et seq. LECrimFree, informed and, if detained, given with a lawyer; unequivocal recordConsent under pressure or without counsel is null
Devices foundArt. 588 sexies LECrimSpecific judicial authorisation for phone or computer contentImaging under the entry order alone is null (STS 489/2018)
Casual findingsCase-law doctrineValid as notitia criminis; extension of cover requiredExploratory searches and excesses over the order are annulled

Summary drawn from the Spanish source page for orientation purposes. The applicable provisions are those in force at the relevant time; each case requires individual analysis by a criminal lawyer.

How we use it in your defence

Four fronts of challenge in every search

Original commentary by the firm, checked against the reference work in our library: Ley de Enjuiciamiento Criminal Comentada, Lefebvre-El Derecho, 13th edition, May 2026. The nullity of the entry drags down what was found and its derivatives: we compare police request and order word by word, reconstruct what the officers actually perceived before entering and audit the record of the search line by line.

01

Challenge of the enabling order: indications, proportionality, delimitation of places

02

Control of the practice: time, presence, record and chain of custody of what was seized

03

Vitiated consent: given while detained and without a lawyer, it is not valid

04

Company searches: delimitation of protected spaces and third-party data

Timeline

The search, from the order to the courtroom

Phase 01

Enabling title: consent, flagrante delicto or a reasoned court order under arts. 545, 546 and 553 LECrim, with objective indications and specific spaces

Phase 02

Practice of the search: presence of the interested party or representative, two witnesses failing that, and the court clerk documenting the record (arts. 566 to 572 LECrim)

Phase 03

Seized devices: specific authorisation of art. 588 sexies LECrim for the content of phones and computers; the entry order alone is not enough

Phase 04

Subsequent review: challenge of the order, of the practice and of casual findings; the nullity of the entry drags down the evidence derived from it (art. 11.1 LOPJ)

Who this guide is for

Situations where the search regime decides the outcome

🏠

Persons whose home has been searched

The first question is whether the searched space was constitutionally a home and whether the enabling title was valid: a stereotyped order or an entry under narrated flagrancy opens the path to nullity.

📱

Persons whose devices were seized

The entry order does not authorise the imaging of phones or computers: their content requires the specific authorisation of art. 588 sexies LECrim. Without it, chats, photos and geolocation data fall.

🏢

Companies facing a search of premises

Company searches require delimitation of constitutionally protected spaces (management offices, mail) and of third-party data. We cover the regime in our dawn-raid guide.

Persons who “let the police in”

Consent must be free, informed and, if detained, given with the assistance of a lawyer, and it must be recorded unequivocally. A “come in” under police pressure on the doorstep is not valid consent: it is successfully challenged.

FAQ

Frequently asked questions on entry and search

The police knocked on my door and I “let them in”. Is that search valid?
Consent must be free, informed and, if you are detained, given with the assistance of a lawyer; otherwise it is null and what was found is unusable. It must also be recorded unequivocally (ideally in writing). A “come in” under police pressure on the doorstep is not valid consent: it is successfully challenged.
Can they search my mobile phone if they find it during the house search?
Not with the same order: access to the content of devices requires a specific judicial authorisation (art. 588 sexies LECrim) with its own weighing, because the phone concentrates more privacy than the entire dwelling, in the words of the Supreme Court. Imaging without that authorisation is null and drags down the derived evidence.
What happens if they find something related to a different offence?
The casual finding serves to open a new investigation, but it does not authorise continuing to search for that new offence without extending the authorisation. The defence reviews what was being sought, what was found and under what cover: excesses over the perimeter of the order are annulled.

Speak to a criminal lawyer

In a fast-track case, the days you have are the case.

Criminal defence in English before the courts of Alicante and the rest of Spain, for residents and for visitors who have flown home.

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