Home & property in Spain

Squatters (Okupas) in Spain — The Law and How to Protect Your Home

A calm, factual guide to okupación in Spain: what the law actually says, the crucial difference between allanamiento de morada and usurpación, the 2025 fast-track reform, why acting quickly matters, and the practical steps — including insurance — that protect your home.

Few subjects generate more anxiety among foreign homeowners in Spain than squatters — okupas. The headlines are dramatic, social media is full of horror stories, and a small industry has grown up around the fear. The reality is more nuanced. Spanish law does protect homeowners, occupation of a home someone actually lives in is a criminal offence with prison penalties, and recent reforms have been aimed squarely at speeding up the response. This guide sets out what okupación actually is, what the Penal Code really says, how the legal routes to recover a property work, why the first hours and days matter so much, and the practical prevention and insurance steps that make your home a far less attractive target. No scaremongering — just the facts and what you can do about them.

What this guide covers

What "okupación" actually means — and a sense of proportion

In everyday Spanish, an okupa is someone who moves into a property they have no right to occupy. The word covers a wide range of situations that the law treats very differently: someone breaking into a family's home while they are on holiday, a group settling into a flat that has stood empty for years, an organised operation targeting bank-owned housing stock, or — often wrongly lumped in with the rest — a tenant who simply stops paying rent.

It is worth starting with a sense of proportion. The cases that make the news — a lived-in family home taken over while the owners nip to the supermarket — are the rarest kind, and they are also the kind the law deals with most severely. Most occupation cases in Spain involve properties that were standing empty, often for long periods, and frequently owned by banks or investment funds rather than private individuals. That does not make the problem trivial, especially if you own a holiday home that sits empty for months at a time. But it does mean the risk is manageable: the profile of properties that get occupied is well understood, and most of the risk factors are things an owner can influence.

It also means the single most important thing you can do is understand how Spanish law classifies your situation, because everything — police powers, court procedure, likely outcomes — flows from that classification.

The two offences: allanamiento de morada vs usurpación

Spanish criminal law does not have a single offence called "squatting". It has two distinct offences, defined in the Penal Code (Ley Orgánica 10/1995, consolidated text available on the official BOE website), and the difference between them is the difference between a serious crime carrying prison and a lesser offence punished with a fine.

Allanamiento de morada — Article 202

Allanamiento de morada is entering another person's dwelling — their morada — or remaining in it against the occupant's will. Under Article 202.1 of the Penal Code it carries a prison sentence of six months to two years. If violence or intimidation is used, Article 202.2 raises that to one to four years' imprisonment plus a fine. This is the offence that applies when the property is someone's home, and it is treated as a crime against the person's private sphere, not merely against property.

Usurpación — Article 245

Usurpación is the offence that covers what most people picture as classic squatting. Article 245.2 applies to someone who occupies, without due authorisation, a property or building that is not a dwelling — an empty flat, an unused house, commercial premises — or who remains there against the owner's will. The penalty is a fine of three to six months (a "fine" measured in months refers to Spain's day-fine system, where a daily amount is paid over that period). Where the occupation involves violence or intimidation against people, Article 245.1 applies instead, carrying one to two years' imprisonment in addition to any penalties for the violence itself.

 Allanamiento de morada (Art. 202)Usurpación (Art. 245)
What it coversEntering or remaining in someone's dwelling (morada) against the occupant's willOccupying a property that is not a dwelling, without authorisation, or remaining against the owner's will
Typical propertyMain home; a second home in genuine regular use may qualify, case by caseEmpty flat or house, long-vacant property, premises not lived in
Penalty (no violence)Prison, six months to two yearsFine of three to six months
Penalty (violence or intimidation)Prison, one to four years, plus a finePrison, one to two years, plus penalties for the violence
How it tends to be handledTreated more urgently — an offence against the home and privacyTreated as a property offence; recovery often runs through slower procedures
The heart of the matter: if the property counts as your morada — your dwelling — the law is firmly on your side and the response can be fast. If it is legally just an empty building, the offence is less serious and recovering possession usually takes longer. Everything an owner does to protect a property is really about keeping it on the right side of that line, and about being able to prove it.

Why "morada" is the key word — main homes, second homes and empty properties

The Penal Code does not attach the strong protection of Article 202 to ownership; it attaches it to the property being a morada — a dwelling where private life actually happens. Your main home, where you live day to day, is unambiguously a morada, whether you own it or rent it.

Second homes and holiday homes sit in the middle ground, and this is the part most relevant to expat owners. Spanish courts decide case by case whether a property is a morada, looking at how it is genuinely used. A holiday home that the owner uses regularly, keeps furnished, and treats as a periodic residence may be regarded as a morada, with the full protection that brings. A property that has stood empty and unused for years, with no signs of domestic life, generally will not be. There is no fixed formula, and this guide cannot tell you how a court would classify your property — but the practical lesson is clear: the more genuinely and demonstrably lived-in your Spanish property is, the stronger your legal position if anyone ever enters it.

That is why the prevention advice later in this guide is not just about locks and alarms. Regular use, visible occupancy and good records are themselves a form of legal protection.

Why speed of response matters so much

Ask any Spanish property lawyer what the biggest factor in an occupation case is and the answer is usually the same: time. There are two reasons.

First, the flagrancy window. Spanish criminal procedure gives the police their widest powers while an offence is flagrant — that is, while it is being committed or immediately afterwards, when the person is caught in the act or pursued straight after. An occupation that is discovered and reported as it happens is a flagrant offence, and the police can intervene directly. Once the occupants have established themselves inside — settled in, brought belongings, closed the door — the situation changes character. Spain's strong constitutional protection of the dwelling, which normally works in the homeowner's favour, can then require a judicial order before anyone forcibly enters, and the matter moves from a police response to a court process.

Second, evidence. Reporting immediately creates a clean record: when you last had possession, when the entry happened, and the fact that you objected from the first moment. The longer a report is delayed, the easier it is for occupants to muddy the picture — and the harder it is for the police and the duty court to treat the case as urgent.

The practical rule is simple: if you discover an occupation, report it the moment you discover it — not after the weekend, not after you have flown out to have a look. Every hour matters at the start in a way it no longer does a week later.

What to do if you find occupants in your property

If you discover that someone has entered your Spanish property without permission, a calm, fast, documented response gives you the best chance of a quick resolution:

  1. Call the police immediately. Dial 091 for the Policía Nacional or 062 for the Guardia Civil (112 works everywhere and can route you). Tell them clearly whether the property is your home or a home in regular use — the words you use shape how the case is classified from minute one.
  2. File a formal complaint (denuncia) straight away. A phone call is not a denuncia. Go to the police station — or have a lawyer or trusted representative do it — and put the facts on record: the property, the dates, when you last had possession, and that the entry is against your will.
  3. Gather your ownership and use evidence. The title deed (escritura), a fresh nota simple from the Land Registry (obtainable through the Colegio de Registradores), recent utility bills in your name, council tax (IBI) receipts, photos of the property as you keep it, and anything showing regular use — bookings, travel records, neighbours' statements.
  4. Instruct a lawyer early. An experienced Spanish lawyer will know which procedure fits your case, what the duty court in that area expects, and how to keep the case moving. If you are abroad, they can act quickly on the ground while you provide documents remotely. We work alongside an independent, English-speaking legal partner, Platinum Legal Spain, who assist international owners with exactly this kind of situation.
  5. Preserve, don't confront. Photograph any damage to locks or doors from outside, keep every receipt and report, and let the professionals do the removing.

What not to do — however tempting

Spanish law protects possession as well as ownership, and an owner who takes matters into their own hands can turn a strong case into a weak one — or worse, end up accused of an offence themselves. However frustrating the situation:

  • Do not force your way in or remove occupants physically. Confrontation risks violence, and violence changes the legal picture for everyone involved — including you.
  • Do not cut off water, electricity or gas to force people out. Deliberately cutting supplies to occupants, or changing the locks while their belongings are inside, can lead to accusations of coercion (coacciones) against the owner. It can also complicate and delay the very court process you need.
  • Be very careful with "rapid eviction" services. Companies that promise to remove occupants quickly operate in a legal grey zone at best. If their methods cross into intimidation, the legal risk lands partly on the owner who hired them. Take legal advice before engaging anyone of this kind.
  • Do not pay occupants to leave without advice. It happens, and sometimes a negotiated exit is genuinely the pragmatic choice — but do it through a lawyer, with a written agreement, so you are not simply funding the next occupation.

The legal routes to recover your property

There are two main paths, and your lawyer will choose based on how the property is classified and who owns it.

The criminal route

Where the facts fit allanamiento de morada or usurpación, the criminal courts deal with the offence — and recovering the property rides along with the criminal case. The court can order the occupants out as a precautionary measure while the case proceeds, or upon conviction. For a lived-in home, this is typically the fastest and most forceful route, particularly since the 2025 reform described below.

The civil route — the 2018 "express" possession claim

For cases that do not fit the criminal offences well — typically long-empty properties — the usual tool is a civil claim for recovery of possession. Since Ley 5/2018 reformed the Civil Procedure Act, private individuals, non-profit entities and public bodies holding social housing have had access to a streamlined possession claim with several owner-friendly features: the claim can be directed against the occupants generically even if you do not know their names; once notified, the occupants have five days to produce a legal title justifying their possession; and if they cannot, the court is to order immediate delivery of possession to the claimant, provided the claimant's own title is in order. Note that this route belongs to individual owners and non-profits — it was designed for exactly the situation of a private owner facing occupants — while companies generally use the ordinary, slower civil procedures.

We deliberately do not quote timescales for either route. How long recovery takes depends on the court, the region, the workload, whether occupants claim vulnerability (which triggers a social services report), and the specific facts. Anyone who promises you a fixed number of days is selling something. What can be said is that the legal machinery has been repeatedly reformed in the owner's favour — in 2018 on the civil side and in 2025 on the criminal side.

The 2025 fast-track reform — what actually changed

On 3 April 2025, part of Ley Orgánica 1/2025 came into force and made a significant procedural change: the offences of allanamiento de morada (Article 202) and usurpación (Article 245) were added to the list of crimes that can be dealt with through Spain's juicio rápido — the fast-track criminal trial procedure of Article 795 of the Criminal Procedure Act.

The juicio rápido concentrates the investigation and trial of straightforward cases before the duty court on a compressed schedule, instead of letting them join the general queue. Adding occupation offences to that list was a direct legislative response to the criticism that occupation cases took too long to come to trial.

Two honest caveats. First, the fast-track procedure applies when its conditions are met — broadly, cases that begin with a police report and are simple to investigate — so not every occupation case will qualify. Second, a faster trial does not automatically mean a quick removal: precautionary measures, court workload and the facts of each case still matter. But the direction of travel is clear, and it favours the homeowner: since April 2025, occupation of a dwelling is on the same procedural fast lane as offences like theft and robbery.

Non-paying tenants are not okupas — a distinction that matters

A large share of what gets called "okupación" in conversation is actually something legally different: a tenant who entered the property lawfully, under a rental contract, and later stopped paying — sometimes called inquiokupación in the Spanish press. Because the tenant's original entry was lawful, this is not allanamiento or usurpación. It is a contractual dispute, resolved through the civil eviction process for non-payment (desahucio por falta de pago), with its own rules, notice requirements and protections — particularly where the household is classed as vulnerable.

Why does this matter to you? Two reasons. If you let out your Spanish property, your risk profile is tenant default rather than break-in occupation, and the mitigations are different: careful tenant vetting, solvency checks, deposits, and — where available — rent-protection style legal cover. And if you are ever tempted by a fixed-rent arrangement that involves informal subletting, understand that losing control of who is in your property is one of the classic routes into a long dispute. Get the contract right at the start; it is far cheaper than litigation at the end.

How to protect your home — prevention that actually works

Occupation is overwhelmingly a crime of opportunity, and the opportunity is an obviously empty, poorly secured property. Most prevention is therefore unglamorous and effective:

  • Make the property look and be lived in. This is the single most powerful measure, and it also strengthens the property's claim to be a morada. Regular visits, a car occasionally in the drive, lights on timers, blinds that change position, post that does not pile up.
  • Fit a monitored alarm. An alarm connected to a central monitoring station does two jobs: it deters entry in the first place, and — crucially — it means an entry is detected and reported within minutes, while the offence is still flagrant and the police response is at its strongest. For an owner who is often abroad, detection speed is worth more than any lock.
  • Harden the entry points. A security door (puerta acorazada or blindada), quality locks, window grilles (rejas) on accessible openings, and secured terrace doors. The goal is to make entry slow, noisy and visible.
  • Recruit your neighbours and community. A neighbour with your phone number who knows the property should be empty is a better sensor than any camera. In an apartment block, make sure the comunidad president or administrator can reach you quickly.
  • Use a keyholder or property manager. If you are away for long stretches, pay someone local to check the property inside and out on a regular schedule, air it, move the post and log each visit. The log itself becomes evidence of use and possession.
  • Consider cameras — thoughtfully. Visible cameras deter, and a camera that alerts your phone the moment someone enters gives you the speed the law rewards. Bear in mind that cameras must respect Spanish data-protection rules on filming public space and neighbours, so keep them pointed at your own property.
  • Don't advertise emptiness. Be careful what you post publicly about travel dates, and avoid leaving a property listed online with photos that make its vacancy obvious for months.
  • Keep your paperwork ready. A folder — physical or digital — with the escritura, a recent nota simple, IBI receipts and utility bills in your name means that if the worst happens, you can put proof in front of the police within the first hour, not after a week of searching.

Holiday homes and second homes — the higher-risk case

Everything in this guide applies double to holiday homes, because they combine the two main risk factors: predictable empty periods and, if rarely used, a weaker claim to morada status. If you own a Spanish holiday home, it is worth treating occupation risk as one strand of a wider protection plan that also covers the more mundane (and statistically far more likely) risks: burst pipes discovered weeks late, storm damage, break-ins for theft rather than occupation.

Two insurance-specific points matter here. First, standard home policies commonly apply conditions when a property is left unoccupied beyond a set number of consecutive days — some covers, often theft or water damage, can be reduced or excluded. If your property stands empty for long stretches, you need a policy designed for that pattern of use, not a standard main-home policy quietly voiding itself every winter. Second, insurers ask about occupancy honestly expecting honest answers: describing a mostly-empty property as a main residence is a false economy that surfaces at claim time.

We cover the specifics — unoccupancy clauses, what is and isn't covered, and how to insure a property you only use part of the year — in our guides to what holiday home insurance in Spain does and doesn't cover and home insurance for holiday homes in Spain.

Where home insurance fits in

Let's be precise about what insurance can and cannot do here, because this is an area with plenty of loose marketing.

What no policy does: home insurance cannot stop someone entering your property, and no standard policy hands you a magic removal service. Recovering possession is a legal process, and it runs through the police and the courts as described above.

What many policies genuinely offer: a good Spanish home policy is more than buildings and contents cover. Many include legal-protection cover (defensa jurídica) — help with legal costs and access to legal assistance when you need to defend your interests as an owner, which can extend to disputes over your property. Policies also typically cover the damage dimension of an incident: forced locks, damaged doors and windows, theft or vandalism of contents, depending on the cover selected. And some policies available on the Spanish market now offer specific optional cover aimed at occupation situations — typically framed around legal assistance and certain associated costs. The scope varies significantly from policy to policy, so the questions to ask are concrete: Does this policy include legal defence, and up to what limit? Does it apply to occupation of the insured property? What are the unoccupancy conditions? What exactly is covered if entry is forced?

Where a broker helps: matching the policy to the property's real pattern of use. A permanently occupied villa, a holiday flat empty for eight months, and a rented-out apartment have three different risk profiles and need three different policy shapes. That matching exercise — in plain English, comparing options from the market — is exactly what we do. If you are starting from scratch, our guide to whether you need home insurance in Spain explains the basics, and you can request a home insurance quote describing how you actually use the property.

Buying a property? Check the possession position first

A final angle that catches some buyers out: properties are sometimes sold with occupants in them — occasionally disclosed openly (at a discount), occasionally not. Before you commit to any Spanish purchase, your lawyer should verify not just ownership and debts but the actual possession of the property: who is physically in it, under what claimed right, and what it would take to obtain vacant possession. A bargain with occupants inside is not a bargain unless you have priced the legal process of recovering it — with advice, not optimism.

This is one strand of the wider due diligence we describe in our guides to using a property lawyer in Spain, buying a house in Spain and the common pitfalls when buying Spanish property.

Your quick checklist

  • Know your property's status: main home, regularly used second home, or long-empty — your legal position flows from it.
  • Keep ownership and use documents ready: escritura, recent nota simple, IBI and utility bills, evidence of regular use.
  • Fit a monitored alarm and harden doors and windows; make the property look lived in between visits.
  • Line up local eyes: neighbours, community administrator, keyholder or property manager with a visit log.
  • If occupants ever enter: report immediately (091 / 062 / 112), file a denuncia, and instruct a lawyer — do not confront, cut supplies or change locks.
  • Never state or accept a promised eviction timescale; the process depends on the court and the facts.
  • Check your home policy: legal-defence cover, unoccupancy conditions, and whether occupation-related cover is included or available — get a quote that matches how you really use the property.

Frequently asked questions

Is squatting legal in Spain?

No. Occupying someone else's property without permission is an offence under the Spanish Penal Code. Entering or remaining in a dwelling against the occupant's will (allanamiento de morada, Article 202) carries six months to two years in prison, and occupying a property that is not a dwelling (usurpación, Article 245) carries a fine of three to six months. The persistent myth that squatting is "legal" in Spain comes from how long recovering possession could take in practice, not from the law itself.

What is the difference between allanamiento de morada and usurpación?

Allanamiento de morada (Article 202) is entering or remaining in someone's dwelling — a home where private life actually happens — against the occupant's will, and it is punished with prison. Usurpación (Article 245) is occupying a property that is not a dwelling, such as a long-empty flat, and is punished with a fine unless violence or intimidation is involved. Which offence applies depends on whether the property counts as a morada, which courts assess case by case.

Is there really a 48-hour rule for removing squatters in Spain?

No fixed 48-hour (or 24- or 72-hour) deadline appears in the Penal Code articles on occupation. What actually matters is flagrancy: the police have their widest powers while an offence is being committed or immediately afterwards. The sooner an entry is discovered and reported, the more scope there is for direct police intervention; once occupants are established inside, removal generally needs a judicial decision. Speed matters enormously — but as a practical reality, not as a magic number of hours.

Can the police remove okupas without a court order?

In some circumstances, yes — principally when the offence is flagrant, meaning the occupation is caught as it happens or immediately after, and in serious cases involving a dwelling. Once the occupation is established, Spain's strong legal protection of the dwelling means forced entry to remove occupants generally requires judicial authorisation, and the case proceeds through the criminal or civil courts. This is exactly why immediate reporting is so important.

What changed in Spanish squatting law in 2025?

From 3 April 2025, Ley Orgánica 1/2025 added the offences of allanamiento de morada (Article 202) and usurpación (Article 245) to the list of crimes eligible for Spain's fast-track criminal trial procedure, the juicio rápido, under Article 795 of the Criminal Procedure Act. This is designed to bring straightforward occupation cases to trial much sooner instead of joining the general court queue. Conditions apply, and it does not set a fixed eviction timescale, but it is a significant procedural improvement for owners.

How long does it take to evict squatters in Spain?

There is no reliable fixed answer, and you should be sceptical of anyone who quotes one. Duration depends on whether the case runs through the criminal or civil route, the court's workload, the region, the facts, and whether occupants raise vulnerability issues, which trigger a social services report. What can be said is that the 2018 civil reform and the 2025 fast-track criminal reform were both aimed at shortening the process, and that early reporting and good documentation consistently help.

Can I change the locks or cut off the utilities to get squatters out?

Doing this yourself while occupants are inside is strongly inadvisable. Deliberately cutting water or electricity, changing locks, or using threats to force occupants out can lead to accusations of coercion against the owner and can complicate the legal proceedings you need to win. Recovering possession runs through the police and courts. Report immediately, document everything and let a lawyer drive the process.

Is a holiday home protected like a main home against squatters?

It depends on real use. The stronger protection of allanamiento de morada applies to a dwelling, and Spanish courts decide case by case whether a second home qualifies. A holiday home in genuine regular use, furnished and visited, may be treated as a dwelling; a property left empty and unused for years generally will not be. Regular use, visible occupancy and records of visits both reduce the risk of occupation and strengthen your legal position if it happens.

Does home insurance in Spain cover squatters?

No policy prevents occupation, but insurance can help in several ways. Many Spanish home policies include legal-defence cover that helps with legal costs when defending your interests as an owner, and policies typically cover forced-entry damage, theft and vandalism depending on the cover chosen. Some policies on the market offer specific optional cover aimed at occupation situations, generally built around legal assistance. Scope varies widely by policy, so check the wording — and check the unoccupancy conditions if the property stands empty for long periods.

Do alarms actually help against okupas?

Yes, for a specific reason: speed. A monitored alarm means an entry is detected and reported within minutes, while the offence is still flagrant and the scope for direct police intervention is at its widest. It also deters the opportunistic entries that make up most occupation attempts. For owners who spend long periods away, fast detection is arguably the single most valuable physical protection, alongside making the property look genuinely lived in.

My tenant has stopped paying rent — are they a squatter?

Legally, no. A tenant who entered under a rental contract and later stopped paying is not committing allanamiento or usurpación, because the original entry was lawful. This is a civil matter resolved through the eviction process for non-payment, with its own notice rules and protections for vulnerable households. The practical mitigations are different too: tenant vetting, solvency checks, proper contracts and, where available, rent-protection style legal cover.

What documents prove the property is mine if squatters move in?

The core documents are your title deed (escritura) and an up-to-date nota simple from the Land Registry, which shows the registered owner. Supporting evidence of possession and use strengthens the case: IBI receipts, utility bills in your name, photographs of the property as you keep it, a keyholder's visit log, and anything demonstrating regular use. Keeping these in one ready folder means you can support a police report within hours rather than days.

Important: 247 Expat Insurance is an insurance broker, not a law firm, tax adviser or immigration adviser. This guide is general information about occupation law and home protection in Spain and is not legal, tax or financial advice. Rules, procedures and court practice change and vary by region and by case, and how the law applies to any property depends on its specific facts. Always take advice from a qualified Spanish lawyer about your own situation. 247 Expat Insurance is registered with the Dirección General de Seguros y Fondos de Pensiones (DGSFP).

Protect your Spanish home — with cover that matches how you use it

Whether it is your full-time home or a holiday property that stands empty part of the year, we will help you arrange Spanish home insurance in plain English — buildings, contents, legal-defence options and the right unoccupancy terms, matched to your property's real pattern of use.

Get a home insurance quote
Related reading:
Home security and burglary prevention in Spain
Nota Simple Explained - Checking a Property Before You Buy
Building Surveys and Snagging in Spain
Wildfire Risk and Home Insurance in Spain
Holiday Home Insurance Spain — What Is and Isn't Covered
Home Insurance for Holiday Homes in Spain
Do I Need Home Insurance in Spain?
Do You Need a Property Lawyer in Spain?
Buying a House in Spain: Complete Expat Guide
Common Pitfalls When Buying Property in Spain
Property Purchase Taxes and Buying Costs in Spain