Squatting and Illegal Occupation · Alicante · Madrid · All Spain
Your Spanish property has been occupied.
Spanish law gives you real remedies, but which one applies depends on a distinction most owners have never heard of.
In brief. Recover an occupied Spanish property: article 202 and 245.2, the express procedure of Act 5/2018 and what owners must never do themselves.
At a glance
Spanish criminal law treats the occupation of a dwelling differently depending on what the property is to the occupier and to the owner:
That distinction decides everything, because the first is a serious offence that allows immediate police intervention while the occupation is in progress, and the second is a minor offence that usually has to be resolved through a civil eviction. Establishing that the property was in actual use as a dwelling, with evidence such as utility consumption, furniture, recent stays, alarm records and neighbour statements, is therefore the first task and not an afterthought.
Where the entry is recent and ongoing, the priority is immediate police intervention as a flagrant offence, which avoids months of procedure. Where that moment has passed, there are three practical routes.
The criminal route, through a complaint under article 202 or 245.2, with an application for the precautionary restitution of the property under article 13 of the Criminal Procedure Act. The express civil route created by Act 5/2018, available to individuals, non-profit entities and public bodies, which allows the immediate recovery of possession where the occupier cannot produce a title, with a five-day deadline to do so. And the ordinary civil action for recovery of possession, slower but available in every situation.
Choosing between them is a tactical decision that depends on the evidence available, on whether the occupiers include minors or vulnerable persons, which triggers social services involvement and delays enforcement, and on whether utilities have been fraudulently reconnected, which adds an offence of electricity or water theft under article 255.
The temptation to solve the problem directly is understandable and it is a trap. Cutting off water or electricity to force the occupiers out can constitute coercion under article 172, changing the locks or entering while they are absent can constitute the same offence or even article 202 in reverse, and hiring a company to remove them physically exposes the owner and the company to criminal liability.
Owners who take those steps routinely find that they become defendants in a parallel file, which weakens their own recovery claim. The correct approach is documenting everything, filing quickly, and pressing the court for precautionary restitution rather than acting alone.
Spanish law treats the occupation of property differently according to what is occupied. Entering or remaining in another person’s dwelling that serves as their home is the offence of allanamiento de morada under article 202 of the Criminal Code, punishable with imprisonment. Occupying property that is not a dwelling, against the owner’s will, is the offence of usurpación under article 245, punishable with a fine.
The distinction matters a great deal, because it determines both the seriousness of the proceedings and the fastest route to recovering the property. Identifying the correct category at the outset shapes the whole strategy.
Alongside the criminal route, the law provides expedited civil procedures to recover possession, including the summary process introduced for cases of unlawful occupation. Which route is most effective depends on the nature of the property, the situation of the occupants and how urgently recovery is needed.
We assess both avenues together, because in many cases the civil procedure recovers the property more quickly, while the criminal complaint addresses the conduct itself. Coordinating the two prevents the delays that arise when they are pursued in isolation.
Where occupants include minors or persons in a situation of vulnerability, the courts must weigh their protection, which can affect the timing of an eviction and requires the involvement of social services. This is one of the factors that most often lengthens these proceedings.
We anticipate these questions from the outset, so that the owner understands the realistic timescale and so that, on the other side, the rights of vulnerable occupants are properly raised and respected.
For owners, we prepare the complaint or the civil claim, pursue interim measures for the recovery of the property and coordinate the criminal and civil aspects of the case. Speed of action is often decisive in these matters.
For those accused of unlawful occupation, we examine the title relied on, any good faith and the circumstances of entry, since the line between a housing dispute and a criminal offence is not always where the complaint places it.
It is essential to distinguish the unlawful occupation of property from the situation of a tenant who has a contract but stops paying. The latter is not squatting: it is resolved through the civil eviction procedure (desahucio), not through the offences of usurpación or allanamiento.
Confusing the two leads to the wrong procedure and to delay. We identify the correct category at once, which is what determines the fastest lawful route to recovering the property.
Occupations frequently involve related offences, such as the fraudulent use of electricity, gas or water, punishable under article 255 of the Criminal Code, and criminal damage to the property. These can be relevant both to the seriousness of the case and to the claim for compensation.
We document this harm properly, because it strengthens the owner’s position and can be recovered alongside possession of the property.
Prevention is far more effective than recovery. Owners of property left empty benefit from basic measures: securing access, acting within the first hours of any occupation, and keeping documentary proof of ownership and of the property’s status readily available.
We advise owners on these steps and on how to react immediately if an occupation begins, since speed is the single factor that most affects the outcome.
FAQ
Speak to a criminal lawyer
Criminal defence in English before the courts of Alicante, Madrid and the whole of Spain. Tell us what has happened and we will tell you what the real exposure is.