Spain9 min read

The Spanish okupa law explained — a 2026 guide for foreign property buyers

Okupas, updated for Spain's 2025 anti-okupa law (Ley Orgánica 1/2025): the new 48-hour police removal route, the 15-20 day fast-track trial, which neighbourhoods stay highest-risk, and exactly how a foreign owner protects a property now that speed of detection is what matters.

Last updated:

TOBy The Outpost desk·Reviewed

Almost every foreign buyer's empty Spanish property falls under usurpación (Penal Code Art. 245) — slower eviction than allanamiento de morada.

The short answer (updated for the 2025 anti-okupa law)

Since April 2025, Spain’s anti-okupa law (Ley Orgánica 1/2025) lets police remove recent illegal occupants within roughly 48 hours of a reported break-in, and routes cases that miss that window into a fast-track criminal trial that can resolve in about 15–20 days — down from a pre-reform average of over 23 months. The old “your empty Spanish flat is a one-to-two-year legal hostage” story is no longer accurate for occupations caught early. The risk is now mostly about speed of detection, not the courts.

What changed: the pandemic-era eviction moratorium ended in February 2026, and Ley Orgánica 1/2025 added an express police-removal route plus an accelerated trial track (juicio rápido) for unlawful occupation.

Okupación vs allanamiento — the distinction that decides everything

Spanish law splits unlawful occupation into two categories, and which one applies decides how fast you can act.

  • Allanamiento de morada — breaking into an inhabited dwelling (your actual home or a home in active use). A clear criminal offence; police can act immediately.
  • Usurpación (Penal Code Art. 245) — occupying a property that isn’t someone’s primary residence (an empty second home or investment flat). Still the category most foreign buyers fall under — but under the 2025 reform it is now handled far faster than before.

The new eviction timeline

Realistic timelines under Ley Orgánica 1/2025:

  • ~48 hours — if the break-in is recent and reported promptly, police can remove occupants without waiting for a full court order (treated as a flagrant offence).
  • ~15–20 days — for cases past the immediate window, via the fast-track criminal trial introduced by the reform.
  • Longer — only where occupiers are formally assessed as “vulnerable” (e.g. families with minors): courts notify social services, who get a defined period (typically 1–3 months) to arrange alternative housing before eviction proceeds.
The catch that remains: the fast 48-hour route depends on detecting and reporting the occupation quickly. An absentee foreign owner who only discovers the problem weeks later loses the express option and lands in the (still much faster) court track.

Where the 2023 Housing Law still matters

The 2023 Housing Law (Ley 12/2023) is separate from the 2025 anti-okupa reform. It mainly governs tenants — people with a contract — by extending protections for vulnerable renters and adding steps before their eviction. It does not shield criminal occupiers, and the 2025 law was specifically designed to close the perception that squatters were untouchable. Keep the two straight: tenant disputes (Ley 12/2023) are slow; criminal occupation (Ley Orgánica 1/2025) is now fast.

How to protect a property you’ve just bought

Because the new law rewards speed, prevention and fast detection matter more than ever:

  • Monitored alarm with rapid private-security response — your early-warning system for the 48-hour window.
  • Local manager visiting twice weekly so an occupation is caught in days, not weeks.
  • Make it look lived-in — lights, shutters, post collection.
  • Anti-okupa insurance — €200–500/yr, covers legal costs and sometimes lost rent if it still goes to court.
  • Report immediately — the express removal route hinges on a prompt police report.

The bottom line for foreign buyers

The okupa risk in Spain has fallen sharply since April 2025. For a property you monitor, an occupation is now a days-to-weeks problem, not a years-long one. Price in monitoring and insurance, never leave a property visibly empty for long stretches, and react fast — and the risk is manageable.

Sources: Ley Orgánica 1/2025 (in force April 2025); idealista/news and Spanish legal commentary on the express eviction procedure and juicio rápido timelines, reviewed June 2026.

Frequently asked

Can I evict an okupa myself?

No — never change the locks, cut utilities, or enter forcibly. Spanish courts treat this as coacción (coercion) and the criminal charge falls on you, not the occupant. Always go through the formal route.

How fast can the police evict an okupa?

Under Ley Orgánica 1/2025 (in force April 2025), if you report a recent occupation promptly the police can remove occupants within roughly 48 hours as a flagrant offence. Cases past that window go to a fast-track criminal trial that typically resolves in about 15-20 days — far faster than the old 6-24 month civil route.

Does anti-okupa insurance actually pay out?

Reputable insurers (Mutua Madrileña, MAPFRE, AXA, Servihabitat) cover legal costs and lost rent up to a cap (typically €10,000-30,000). Read the exclusion list — many policies require you to have proven the property was secured and visited regularly.

Is the okupa risk lower for new-build properties?

Yes, materially. New-build units in gated developments with concierges, monitored entry and active comunidades see far less okupa activity than ground-floor older stock in dense urban areas.

Does the 2023 Housing Law slow okupa eviction?

Not for criminal occupiers. The 2023 Housing Law (Ley 12/2023) governs tenants with contracts, not squatters. The 2025 anti-okupa law (Ley Orgánica 1/2025) is what applies to okupas, and it speeds eviction up. Only where occupiers are formally assessed as 'vulnerable' do social-services steps extend the timeline.

Your next steps

  1. 01Analyse a propertyRun every risk in this article against a specific address — free Quick Check, 60 seconds.
  2. 02Open the calculatorGet your ITP by autonomous region with non-resident logic.
  3. 03Talk to a local solicitorFirst introduction is free — we don't take referral fees, just verify the firm.
  4. 04Track price + regulationGet an alert when a property's price moves or its country changes the rules.

Keep reading

Run it on your property

Want this depth — applied to a specific address?

Outpost runs every risk named in this article against the property you’re considering. Free Quick Check. €49 for the full dossier. We don’t list, broker or commission — our only revenue is from you.

← Back to all field notes