Friday, November 27, 2026Fri, Nov 27 Updated

Barcelona, Spain and the world. News in English.

Squatting Law in Spain: Allanamiento, Usurpación and Fast Trials

Spanish law treats squatting in someone's home very differently from occupying an empty flat, and both differently from a tenant who stops paying. This is the legal map, without the myths.

Detailed view of a door lock and keys emphasizing security and access.
Photo: George Becker / Pexels

In Spain, entering or staying in someone’s home without consent is the crime of allanamiento de morada, punished with six months to two years in prison. Occupying an empty property that is nobody’s home is usurpación, usually punished with a fine. Since 3 April 2025, both can go to fast-track trials, as of November 2026.

What is the difference between allanamiento and usurpación?

The key question is whether the property is someone’s morada, the place where a person actually lives.

Allanamiento de morada (art. 202 Penal Code) Usurpación (art. 245 Penal Code)
What it covers Entering or staying in another person’s home against the will of the person who lives there Occupying a property, home or building that is not anyone’s dwelling, or staying in it against the owner’s will
Penalty Six months to two years in prison; one to four years plus a fine with violence or intimidation A fine of three to six months without violence; one to two years in prison with violence or intimidation
Typical case Your flat is occupied while you are away A bank-owned or long-empty flat is occupied

The penalties come from the consolidated Penal Code. Whether a particular second home counts as a morada depends on how it is used and is decided case by case, so a lawyer should assess it.

What can the police do straight away?

When the police catch an occupation as it happens or right after it, it counts as a flagrant offense. In Barcelona, call 112 or the Mossos d’Esquadra (Catalonia’s police). They can identify the people inside, act in a flagrant case and file the police report (atestado) that starts the criminal case.

If time has passed and the occupiers are settled, officers usually need a court order to remove them. Owners should not change locks, cut off utilities or use force on their own; that may expose them to criminal charges of their own, such as coacciones (coercion).

What changed with the fast-track trials in 2025?

Organic Law 1/2025, on the efficiency of the justice system, added allanamiento and usurpación to the list of offenses that can be handled as juicios rápidos (fast-track trials) under article 795 of the Criminal Procedure Act. The change took effect on 3 April 2025.

A fast trial needs a police report and a suspect who has been detained or summoned before the duty court, and the case must be simple to investigate. The law does not fix a removal date, but the procedure is much shorter than an ordinary criminal case.

What is the civil route for owners?

Owners can also sue in a civil court to recover possession, which is often faster to start. Under article 250.1.4 of the Civil Procedure Act, individuals who own or lawfully possess the home, non-profit bodies and public owners of social housing can ask for the immediate return of a home taken without consent.

  1. The court notifies whoever is living there, with police help to identify them if needed.
  2. The occupiers have five days to show a valid title, such as a lease.
  3. If they cannot, the judge orders eviction by court order (auto), with no appeal against it.

Since 2025 most civil claims require a prior attempt at negotiation, but Organic Law 1/2025 exempts this summary action to recover possession. Companies that own property, such as banks and funds, cannot use this fast civil track and go through ordinary procedures.

Is a tenant who stops paying a squatter?

No. A tenant with a contract who stops paying rent, or stays after the contract ends, is not committing allanamiento or usurpación. The owner must go to a civil court for an eviction for non-payment (desahucio por falta de pago). In that case the tenant can only argue that they paid or that they can stop the eviction by paying in full where the law allows it. The same is true of someone who was allowed in free of charge (precario).

For tenants, this also works the other way: a landlord cannot remove you without a court order. Our guide to Spanish rental contracts explains lease terms and notice.

Bottom line

If you see your home being occupied, call the police at once, because a flagrant case opens the fastest route. Keep the deeds, utility bills in your name and padrón records ready to prove the property is your home, and get a lawyer to choose between the criminal fast trial and the civil five-day procedure.

FAQ

Is there a 48-hour rule?

No such deadline appears in the Penal Code or the Criminal Procedure Act. What matters is whether the police catch a flagrant offense and whether the property is someone’s home.

Can I report an occupation online?

For an occupation in progress, call 112. For later reports, file a denuncia with the Mossos d’Esquadra; our guide to reporting a crime in Barcelona explains the options.

Does insurance cover squatting?

Some home insurance policies include legal defense or cover for occupation. Check the wording of your own policy.

Do these rules apply to tourist flats?

Yes. The same Penal Code and civil rules apply; whether a flat counts as a morada depends on its use.