Property crimes
In short
“Squatting” (okupación) is not a legal term. Depending on the type of property, the Criminal Code (Código Penal) punishes it as one of these offences:
The distinction is decisive for both the owner and the accused, because it changes the penalty and the urgency of the response. On the Costa Blanca, with many second homes and properties that stay closed for months, there is often debate over whether an empty home was someone’s dwelling or not. The answer depends on the facts: actual use, furniture, utilities, periodic stays.
If the occupant moved in under a tenancy agreement and then stopped paying, it is not unlawful occupation: the problem is resolved through an eviction in the civil courts.
| Offence | Penalty | Article |
|---|---|---|
| Unlawful occupation of a property that is not a dwelling | A fine of 3 to 6 months | 245.2 |
| Unlawful occupation with violence or intimidation | 1 to 2 years in prison, plus the penalty for the violence | 245.1 |
| Trespass to a dwelling | 6 months to 2 years in prison | 202.1 |
| Trespass with violence or intimidation | 1 to 4 years in prison and a fine of 6 to 12 months | 202.2 |
| Entering an office, practice or business premises outside opening hours against the owner’s wishes | 6 months to 1 year in prison and a fine of 6 to 10 months | 203.1 |
If doors or locks are broken on entry, or damage is caused, a charge of criminal damage may be added. Illegally connecting to the electricity or water supply is another offence, punished with a fine of three to twelve months (article 255).
Alongside the criminal route, there are civil procedures for recovering possession. We study your case to decide which is quicker and more reliable.
Organic Law 1/2025 on measures for the efficiency of the Public Justice Service (Ley Orgánica 1/2025, de medidas en materia de eficiencia del Servicio Público de Justicia) added trespass to a dwelling (article 202) and unlawful occupation (article 245) to the list of offences dealt with through a speedy trial (juicio rápido), with effect from 3 April 2025 (article 795.1.2.ª of the Criminal Procedure Act, Ley de Enjuiciamiento Criminal). This requires a police report and for the person to have been arrested or summoned to the duty court.
In practice, this shortens time frames considerably: the investigation is carried out by the duty investigating section (Sección de Instrucción) of the Court of First Instance (Tribunal de Instancia), formerly the investigating court, and the trial can be held within a few days. If the accused admits the facts at the duty court, the sentence is reduced by one third (article 801). That is why it is important for the owner to have the documentation ready from the very first moment.
Being accused of unlawful occupation or trespass does not mean you are guilty. We go through the following with you:
If you are arrested, ask for a lawyer and do not make a statement without one. We assist you immediately: read more on our page on 24-hour lawyer for people under arrest. Leaving the property voluntarily and repairing the damage before trial can reduce the sentence (article 21.5).
Unlawful occupation is punished with a fine, but if it is not paid it is converted into one day’s deprivation of liberty for every two unpaid daily amounts, which can be served through community service if the convicted person agrees (article 53). Any conviction gives rise to a criminal record. In trespass cases, if the prison sentence does not exceed two years and it is your first offence, the judge may suspend it, normally on condition that compensation is paid (article 80).
Every case is different; once we have studied yours, we will give you a personalised written quote.
Trespass affects a person’s dwelling, the place where they live even if they are away, and is punished with six months to two years in prison (article 202). Unlawful occupation affects properties that are nobody’s dwelling, such as empty homes, and is punished with a fine of three to six months (article 245.2).
It depends on the case. Since April 2025, unlawful occupation and trespass can be dealt with through a speedy trial if there is a police report and the occupant has been arrested or summoned to the duty court. In addition, the judge can be asked to order eviction as an interim measure. Acting quickly and with complete documentation shortens time frames considerably.
It can be, if the home is your dwelling even though you do not use it all year round: furniture, utilities, periodic stays. In that case the penalty is six months to two years in prison (article 202). If not, it would be unlawful occupation. It is advisable to gather evidence of your actual use of the home.
It is not advisable. Forcing your way in, changing the locks with the occupants inside or cutting off utilities yourself may be considered an offence of coercion and harm your position. The right approach is to report it and ask the court for interim measures, including eviction.
If the home is nobody’s dwelling, occupying it without authorisation is the offence of unlawful occupation, punished with a fine of three to six months (article 245.2 of the Criminal Code). If violence or intimidation is used, the penalty is one to two years in prison. Charges of criminal damage or theft of utilities may be added.
When a property is occupied with violence or intimidation against people, article 245.1 of the Spanish Criminal Code punishes it with one to two years in prison, set according to the benefit obtained and the damage caused, in addition to the penalties for the violence used. The same penalty applies to anyone who usurps someone else’s real property right in this way. Without violence or intimidation, the lighter form in paragraph 2 applies.
Non-violent occupation of a property that is not a dwelling, punishable by a fine of three to six months under article 245.2 of the Spanish Criminal Code, is a minor offence (delito leve). The reason is that this penalty can be considered both minor (a fine of up to three months) and less serious (more than three months), and in that case article 13.4 requires the offence to be treated as minor. This affects the procedure, the competent court, the possibility of arrest and the limitation period.
It can be. Article 795 of the Spanish Criminal Procedure Act (LECrim) expressly includes squatting offences (usurpación) under article 245 of the Spanish Criminal Code among those that can be handled as a fast-track trial, provided the proceedings start with a police report and the person reported has been arrested or summoned before the duty court. When the acts are a minor offence, an immediate trial at the duty court is also possible (article 964). The specific route depends on how the acts are classified.
Yes. Article 245.2 of the Spanish Criminal Code is not limited to homes: it punishes anyone who occupies without authorisation someone else’s property, home or building that is not a dwelling, or remains there against the owner’s will. Business premises, an industrial warehouse or a plot of land are property for these purposes. If the place is someone’s dwelling, the acts may constitute breaking into a dwelling (allanamiento de morada), which carries a higher penalty.
While they are still inside, that is unlikely. Squatting under article 245.2, as a minor offence, becomes time-barred after one year (article 131 of the Spanish Criminal Code), but article 132 establishes that for continuing offences (delitos permanentes) the period is counted from when the unlawful situation ended. As occupation continues over time, it is usually considered a continuing offence, so the period does not normally start to run while it continues. The form with violence or intimidation in paragraph 1 becomes time-barred after five years.
The person who rented it to you may have committed the fraud in article 251.1.º of the Spanish Criminal Code, which punishes with one to four years in prison anyone who, falsely claiming a power of disposal they do not have, sells, encumbers or rents out movable or immovable property to the detriment of another. Your position as occupant will depend on whether or not you knew they were not the owner, which you should be able to show with the contract, the payments and the conversations you had.
That is not normally the right route. Article 245.2 of the Spanish Criminal Code punishes occupying a property without due authorisation or remaining there against the owner’s will, whereas the tenant entered with a contract. To recover the property for non-payment of rent or because the term has ended, the Spanish Civil Procedure Act (Ley de Enjuiciamiento Civil) provides for summary eviction proceedings (juicio verbal de desahucio, article 250.1.1.º), in which the amounts owed can also be claimed. Each case should be studied with the contract in hand.
Call the police as soon as possible and report it, providing the title deeds, utility bills and evidence of how you use the property. If it is your dwelling, even a second home in use, it may be breaking into a dwelling (allanamiento de morada), punishable by prison (art. 202 of the Spanish Criminal Code); if it is empty, it is unlawful occupation (usurpación) (art. 245.2). In both cases, if there is a police report and the occupants are arrested or summoned before the duty court, a fast-track trial is possible (art. 795 of the Spanish Criminal Procedure Act, LECrim). Do not try to evict them yourself.
Yes. Anyone convicted of an offence is also liable for the damage and losses they caused (arts. 109 and 116 of the Spanish Criminal Code), and you can claim this in the same criminal proceedings. If they connected to the electricity, water or gas supply illegally, there may also be an offence of fraudulent use of utilities, with a fine of three to twelve months, or one to three if it does not exceed 400 euros (art. 255). The destruction may be an offence of criminal damage (art. 263).
It depends on how the occupation took place. If it is non-violent squatting under article 245.2 of the Spanish Criminal Code, which is a minor offence, article 495 of the Spanish Criminal Procedure Act (LECrim) prevents arrest for minor offences unless the person has no known address and does not provide sufficient bail. If there was violence or intimidation, or it is actually a case of breaking into a dwelling, arrest is possible under the general rules. Every person arrested has the right to be assisted by a lawyer (article 520).
Do you need help now?
On this page
Related services
Areas we cover
We handle criminal cases throughout the province of Alicante, wherever you live and whichever court is handling your case. These are some of the towns where we work most often:
AlicanteElcheSan Vicente del RaspeigSant Joan d’AlacantEl CampelloMutxamelBenidormTorreviejaAlcoyDeniaCalpeAnd any other town in the province