Skip to content
Follow news from Spain, covering criminal investigations, police reports, prosecutions and court cases.
4 min read

Spanish law on illegal home occupation before the 29 November election

With a general election set for 29 November, Spain's criminal and civil rules on unlawful occupation of homes are again at the centre of political debate.

Newsroom

Illegal occupation of homes is again at the centre of political debate in Spain. The approach of the general election on 29 November has reopened discussion of owners' rights, court procedures and how quickly the authorities can act when someone enters a property without permission.

At a pre-campaign event in Seville, Popular Party president Alberto Núñez Feijóo said he intends to approve new rules against unlawful occupation if he forms the government. His proposal would require illegal occupants to leave homes within a maximum of 48 hours. He defended the measure with the message "Fuera en 48 horas, sí o sí".

Spanish law already provides tools for these situations. The Criminal Code, the Civil Procedure Act and reforms introduced in recent years regulate the available mechanisms. Not every occupation has the same legal consequences, and not every case can be resolved by the same procedure.

Two offences are central. Allanamiento de morada is set out in Article 202 of the Criminal Code and occurs when someone enters another person's home, or remains inside it, against the will of the occupants. The conduct directly affects privacy and the inviolability of the home.

Protection is not limited to a habitual residence. A second home can also be treated as a dwelling when the owner uses it as a private space, even if only for certain periods of the year. The penalty ranges from six months to two years in prison. Where there is violence or intimidation, the punishment rises to between one and four years in prison, plus a fine of six to twelve months.

Usurpation is regulated by Article 245 and applies to properties that are not anyone's home. It can arise when someone occupies an uninhabited dwelling without the owner's permission. Without violence or intimidation, the law provides a fine of three to six months. If violence or intimidation is used against people, a prison sentence of one to two years may be imposed, without prejudice to other criminal liability.

A widespread belief is that the police have only 48 hours in which to intervene directly. Spanish law does not set that period as a general limit on action. Officers may intervene without judicial authorisation when the legal requirements of a flagrant offence are met, meaning circumstances that allow the commission of the offence to be appreciated immediately and justify police action.

If a person discovers that strangers have just entered their home, they can alert the security forces. Officers assess the facts and may intervene directly if the legal conditions are met. When there is doubt about the legal situation of the property or about the circumstances of entry, a judicial decision may be necessary. In 2020 the Interior Ministry approved a protocol to improve the police response, with particular attention to identifying the offences and protecting those affected.

Organic Law 1/2025, which entered into force on 3 April 2025, introduced changes to speed up the judicial handling of certain offences. Among them is the possibility of applying the fast-track trial procedure to some cases of allanamiento de morada and usurpation, provided the requirements of the Criminal Procedure Act are met.

That does not mean every complaint ends automatically in an immediate eviction. The complexity of the case, the available evidence and the circumstances of those involved can affect how long the procedure lasts. There is also a civil route for recovering certain illegally occupied homes. Law 5/2018 introduced a mechanism that allows individual owners, non-profit entities and certain public administrations to ask a court to recover possession.

Under that procedure, occupants may be required to present, within five days, a document that legally justifies their stay. If they do not provide a valid title and the statutory requirements are met, the court may order the property to be handed over to its legitimate possessor. Those five days are not necessarily the total time until the eviction is carried out.

A different situation is that of so-called inquiokupas, a colloquial term for people who enter a home legally under a lease and later stop paying or refuse to leave. These disputes are not automatically the crime of usurpation, because the initial entry took place with authorisation.

In general, the owner must use the civil courts to claim the sums owed and seek eviction for non-payment or for the end of the contract. Paying electricity, water or gas bills does not automatically confer rights over a home. Those documents do not replace a valid contract and do not by themselves prove the owner's authorisation.

illegal occupation Spain · allanamiento de morada · property usurpation · Feijóo 48 hours · fast-track criminal trials · Law 5/2018 possession