What foreign property owners in Spain need to know about occupation risk
- Spanish law distinguishes between squatters in Spain who occupy a habitual residence (allanamiento de morada, Article 202 Penal Code) and those who occupy an empty second home or investment property (usurpación, Article 245).
- Allanamiento de morada carries penalties of 6 months to 2 years in prison and typically permits rapid police intervention.
- Usurpación is a lesser offence with lower penalties, and empty-property recovery typically requires civil eviction, taking 4 to 18 months.
- The 2018 fast-track procedure (Ley 5/2018) shortened civil eviction to 20 to 40 days in straightforward cases where the owner is a natural person.
- The 2023 Housing Law (Ley 12/2023) introduced protections for vulnerable occupiers but did not weaken the underlying eviction pathways for lawful owners.
How the squatter problem actually works under Spanish law
Media coverage of squatters in Spain often blurs two very different legal situations that carry entirely different remedies.
Understanding which regime applies to a given occupation is the single most important decision a property owner or their lawyer will make, because it determines whether the recovery route runs through the criminal courts, the civil courts, or both.
This guide sets out the current legal framework, the fast-track civil procedure, the prevention strategies our Valencia office recommends to non-resident property owners, and what to do in the critical first 48 hours after discovering an occupation.
The two criminal offences: allanamiento vs usurpación
Allanamiento de morada (Article 202 Penal Code)
Occupation of a dwelling used as a habitual residence (morada), including a second home in habitual seasonal use.
Penalties: 6 months to 2 years imprisonment (or up to 4 years if aggravated).
Police may intervene without a court order to restore possession, on the basis that a criminal offence is in progress.
Usurpación (Article 245 Penal Code)
Occupation of a property (or of the right to it) that is not the owner’s habitual residence.
Penalties: fine of 3 to 6 months (typically €300 to €1,500).
Police intervention is not automatic; recovery generally requires either a criminal complaint (denuncia) followed by court order, or parallel civil eviction.
| Feature | Allanamiento de morada | Usurpación |
|---|---|---|
| Property type | Habitual residence | Empty property or second home |
| Legal source | Article 202 Penal Code | Article 245 Penal Code |
| Maximum penalty | 4 years’ imprisonment | Fine (typically €300 to €1,500) |
| Immediate police intervention | Yes, on discovery | No, requires denuncia + court order |
| Typical recovery time | Days to weeks | 4 to 18 months |
Spanish courts recorded approximately 15,000 formal squatter-related complaints in 2024, with occupation concentrated in Catalonia (over 40% of national cases), Andalusia and the Valencian Community.
The fast-track civil eviction (Ley 5/2018)
For usurpación cases (empty properties and second homes), Ley 5/2018 introduced an accelerated civil procedure designed to overcome the historic 12-to-24-month timelines.
Who can use it
Natural persons who own the property.
Non-profit organisations.
Public bodies holding social housing stock.
Ley 5/2018 does not extend the fast-track to investment funds or SL/SA companies that own multiple properties, which must use ordinary civil procedure.
How the fast-track works
Owner files a civil claim (juicio verbal) proving title.
The court gives occupiers 5 days to prove any legal title.
If no title is proven, the court issues an eviction order.
Eviction typically executed within 20 to 40 days from filing.
The vulnerability layer
Since Ley 12/2023 (Housing Law), courts must communicate the eviction to social services, and vulnerable occupiers (families with dependants, elderly, disabled) may qualify for a temporary rehousing suspension of up to 2 to 4 months.
The eviction itself is not blocked; only the physical execution timeline may be extended.
How to prevent squatters in Spain: practical measures
| Step | Prevention measure | Typical cost |
|---|---|---|
| 1 | Reinforced anti-squat door and lock system | €600 to €2,500 |
| 2 | Home alarm monitored by AENOR-certified security company | €30 to €60 per month |
| 3 | Anti-occupation insurance rider | €150 to €400 per year |
| 4 | Trusted local keyholder or property manager | €40 to €120 per month |
| 5 | Visible occupancy signals (timed lights, mail collection) | Minimal |
Anti-occupation insurance riders now typically include the legal costs of a fast-track eviction (up to €3,000 to €6,000) alongside standard property cover, and are widely available from Mapfre, AXA and Zurich in Spain.
What to do in the first 48 hours after discovering squatters in Spain
Do not confront the occupiers directly
Verbal or physical confrontation exposes the owner to counter-claims and can prejudice the eviction case.
Call the police immediately
If the occupation is in progress or within 24 to 48 hours of the last confirmed lawful possession, police can intervene under the flagrante delito exception without requiring a court order.
File a formal denuncia
At the nearest Guardia Civil or Policía Nacional station, with proof of title (escritura, IBI, utility bills, empadronamiento).
Contact a Spanish property lawyer immediately
Time is decisive: the sooner the eviction procedure begins, the faster the outcome, and the lower the risk of the occupation crystallising into a longer-term legal problem.
Document everything
Photographs, video, witness statements, and any communication with the occupiers or their representatives.
Non-resident property owners should also review our overviews of buying property in Spain and renting property in Spain, both of which cover the wider ownership and rental framework in which occupation risk sits.
Regional differences in squatter enforcement
Catalonia
Highest concentration of cases nationally.
Autonomous rental protection framework interacts with national procedure, creating additional layers.
Andalusia and Valencian Community
High concentrations in coastal tourist areas with high vacant-second-home populations.
Both regions have specific police units trained on the fast-track procedure.
Madrid
High enforcement culture; police intervention on flagrante delito is generally rapid.
Municipal courts specialise in fast-track civil eviction, keeping typical timelines within the statutory 20 to 40-day window.
Squatters in Spain and rental fraud (inquiokupación)
A rising subcategory is inquiokupación, where an occupier initially enters lawfully as a tenant and then stops paying rent.
Legal treatment differs materially: rental non-payment cannot be treated as usurpación, and the owner must use the specific civil eviction for non-payment (juicio de desahucio por falta de pago), which follows its own procedural timeline.
Vulnerability protections under Ley 12/2023 apply particularly heavily to this category.
Rental defaulters who refuse to leave (inquiokupas) now represent an estimated one in three formal occupation cases in Spain’s coastal regions, blurring the line between traditional squatting and civil rental disputes.
The strategic choice: criminal, civil, or both?
Owners typically face a tactical choice between filing a criminal denuncia (which may be dismissed quickly for usurpación, since the offence is a fine-only misdemeanour and courts prioritise more serious cases) and filing the civil fast-track (which produces a definitive eviction order but requires proof of ownership and standing).
Best practice for most non-resident owners is to file both simultaneously: the criminal denuncia to create the police record and pressure the occupiers, and the civil claim to secure the physical eviction.
British property owners should also read our overview of British expats settling in Spain after Brexit and, where applicable, our post on legalising unregistered property in Spain, both of which cover recurring situations for non-resident owners.
External official reference
The Ministerio del Interior publishes annual data on occupation cases through its Portal Estadístico de Criminalidad, giving reliable region-by-region baselines.
Common mistakes to avoid
Confronting occupiers directly, giving them cause to lodge counter-complaints.
Delaying beyond the 24 to 48-hour flagrante window and losing the option of immediate police intervention.
Assuming an SL-owned property qualifies for the Ley 5/2018 fast-track: it does not; only natural persons and non-profits benefit.
Cutting off utilities, changing locks or otherwise attempting self-help remedies: these are criminal offences in Spain (coacciones) that seriously prejudice the eviction case.
Failing to keep annual property visits documented (empadronamiento, IBI receipts, dated photographs) that later support the habitual-use classification for allanamiento purposes.
Talk to our team if squatters are affecting your Spanish property
Our Valencia office acts for property owners in occupation situations, coordinating criminal denuncias, fast-track civil eviction, insurance claims and post-eviction property recovery.
We work in English, French, Spanish and Russian.
Email: felix.delaguia@delaguialuzon.com
Phone: +34 963 74 16 57
Avinguda Regne de Valencia 6, 1º-2º, 46005 Valencia.
Frequently asked questions on squatters in Spain
Are squatters in Spain protected by law?
Not automatically. Occupation without title is a criminal offence, either allanamiento de morada (habitual residence) or usurpación (empty property). Vulnerable occupiers under Ley 12/2023 may qualify for a temporary rehousing suspension of eviction but not for permanent protection.
How long does it take to evict squatters in Spain?
Days to weeks for allanamiento cases where police can intervene under flagrante delito. 20 to 40 days for the Ley 5/2018 fast-track civil procedure. 4 to 18 months for ordinary civil eviction or where the owner is a company.
Can I use the fast-track procedure if my Spanish company owns the property?
No. Ley 5/2018 restricts the fast-track to natural persons, non-profits and public housing bodies. Property owned through an SL must use ordinary civil eviction.
Should I change the locks or cut off utilities?
No. These are criminal offences in Spain (coacciones under Article 172 Penal Code) and seriously prejudice the eviction case. All action must go through the courts or the police.
What is inquiokupación?
A former tenant who stops paying rent and refuses to leave. Legally treated as civil rental non-payment (juicio de desahucio por falta de pago) rather than as usurpación, following a specific procedural pathway.
Does insurance cover the cost of evicting squatters?
Anti-occupation insurance riders are widely available from Mapfre, AXA, Zurich and other Spanish insurers, typically covering the legal costs of eviction (€3,000 to €6,000) and sometimes lost rent.
How can I prevent occupation of my Spanish second home?</h3
Reinforced doors, monitored alarms, insurance riders, a trusted local keyholder, and visible occupancy signals (timed lights, mail collection). Regular documented visits also strengthen any future allanamiento classification.
Can the police enter and remove squatters immediately?
Yes for allanamiento de morada in progress or within 24 to 48 hours (flagrante delito). No for usurpación cases outside that window, which require a court order first.
Do the 2023 housing law reforms make eviction harder?
Ley 12/2023 added social-services notification requirements and temporary rehousing suspension for vulnerable occupiers, but did not weaken the underlying eviction pathways for lawful owners.
Are foreign owners at higher risk?
Non-resident owners of second homes are statistically more exposed, since prolonged absence reduces detection speed and eliminates flagrante delito eligibility. Local keyholders, alarms and insurance materially reduce the risk.
