Changing the lock with people inside, cutting off the utilities or forcing your way in can end with the owner being reported for coercion or even for trespass. The safe route is to call the police straight away, prove that the property is your home and ask for removal of the occupiers in the same complaint.
What home trespass is under Spanish law (Art. 202 CP)
Article 202.1 of the Spanish Criminal Code (Código Penal, CP) punishes a private individual who, not living there, enters someone else's dwelling or remains in it against the will of the occupant. There are therefore two ways of committing it: entering without permission and staying when the person who lives there has asked you to leave. The second is more common than people think: a guest, an ex-partner or a relative who came in with consent and refuses to go.
What is protected is the privacy and inviolability of the home guaranteed by Article 18.2 of the Spanish Constitution. That is why the person whose right is protected is the occupant (morador), not the owner. A tenant can refuse entry to the landlord, and an owner who enters a let flat without the tenant's permission commits trespass even if the tenancy has ended or rent is unpaid.
The occupant's objection can be express or inferred from the circumstances: a locked door or a fence already shows that entry is not allowed. Nothing has to be forced; if a lock or window is also broken, an offence of criminal damage is added.
What counts as a dwelling: main home, holiday home, hotel room
A dwelling is an enclosed, or partly open, space that a person uses for their private life to the exclusion of others. The courts include:
- The main home, whether owned, rented or lent.
- A second home or holiday house, even if empty at the time, provided it is furnished and used periodically.
- Areas attached to the house with internal access (garage, terrace, enclosed garden), with nuances depending on the case.
- A hotel or guesthouse room, a caravan, a tent and a cabin on a boat while they are being used as accommodation.
By contrast, an empty flat for sale, a bank's unsold new-build development, premises with no activity or a building plot are not dwellings. Occupying them may be a crime, but the crime is unlawful occupation.
What you do in the next few hours is decisive. Call us before making any statement.
Penalties for trespass to homes and business premises in Spain
| Conduct | Article | Penalty |
|---|---|---|
| Entering or remaining in someone else's dwelling | 202.1 | Six months to two years in prison |
| With violence or intimidation | 202.2 | One to four years in prison and a fine of six to twelve months |
| Entering the registered premises of a company, a professional office, an office or business premises outside opening hours | 203.1 | Six months to one year in prison and a fine of six to ten months |
| Remaining in those places outside opening hours against the will of the holder | 203.2 | Fine of one to three months |
| Either of the above with violence or intimidation | 203.3 | Six months to three years in prison |
| Committed by an authority or public official outside the cases permitted by law | 204 | Penalty in its upper half and absolute disqualification from public office for six to twelve years |
The time limit for prosecution is five years. Where the trespass is the means of committing another offence (bodily injury, threats, breach of a restraining order), both are punished under the rules on multiple offences. If the purpose of entering is to take property, it is usually classified as burglary of an inhabited dwelling, which already includes that aggravation.
Home trespass or squatting: the difference that decides eviction
This is the question we are asked most often, and the penalty and the speed of eviction both depend on it.
| Trespass to a dwelling | Unlawful occupation | |
|---|---|---|
| Property | A home that is someone's dwelling (main residence or second home in use) | Property that is not a dwelling: empty, unoccupied, unfurnished and unused |
| Interest protected | Privacy of the home | Real estate as an asset |
| Basic penalty | Six months to two years in prison | Fine of three to six months (without violence) |
| Police action | Offence caught in the act: immediate entry and removal | Usually requires a court decision, which can be sought as an interim measure |
The classification does not depend on what the complaint says, but on what is proved about the use of the property. We explain the other offence on our page on squatting and unlawful occupation, and the civil route on the page on evicting squatters.
We review your case without obligation and explain your real options.
Intruders in your home in Spain: what to do now (no 48-hour rule)
- Call the National Police (Policía Nacional) or the Civil Guard (Guardia Civil) as soon as you find out. Because it is a dwelling, officers can act without a court order, as the offence is being committed at that very moment. There is no legal 48-hour limit after which they lose that power: that is a widespread myth.
- Prove that it is your home. Title deeds or tenancy agreement, municipal registration (empadronamiento), electricity, water or internet bills showing consumption, photographs of the furnished interior, statements from neighbours. For a second home, utility bills and recent stays are the best evidence.
- Report it and ask for interim removal. If the police do not remove the occupiers on the spot, the duty court (juzgado de guardia) can order them out as a measure to protect the victim (Arts. 13 and 544 bis of the Criminal Procedure Act, Ley de Enjuiciamiento Criminal).
- Do not negotiate payments or use force. It can damage the proceedings and expose you to a complaint for coercion.
Where the intruder is an ex-partner or someone who is harassing you, it is advisable to apply for a restraining order at the same time.
Trespass cases in Mallorca courts and owners living abroad
The complaint is handled by the investigating court (Juzgado de Instrucción, today a section of the Court of First Instance, Tribunal de Instancia) of the judicial district where the property is located: Palma, Inca, Manacor, Eivissa, Maó or Ciutadella. Organic Law 1/2025 added trespass to a dwelling to the list of offences that can follow the fast-track trial procedure (juicio rápido), in order to speed up the judicial response. Traditionally this offence was tried by a jury (Tribunal del Jurado), so the specific procedure has to be checked in each case according to the date of the events and the classification.
The reality of the islands gives these cases a profile of their own. There are many second homes, often belonging to owners who live outside Spain and spend months without visiting. For them it is decisive to be able to prove from a distance that the house is in use: maintenance, gardening or pool contracts, an alarm, active utilities and a contact person on the island. A power of attorney (poder notarial) allows us to act on your behalf without you having to travel. Disputes in seasonal lets and between landlord and tenant are also common, and there the person who enters without permission is often the owner.
Accused of home trespass: when there is no offence
Not every entry into another person's house is a crime. When we defend someone under investigation, these are the points we examine:
- Whether the place really was a dwelling. If the property was empty and unused, the charge should be reduced to unlawful occupation, which is a minor offence when there is no violence.
- Whether the accused lived there. Someone who shares the home (partner, relative, flatmate) does not commit trespass by entering their own home, even if the contract is in someone else's name, as long as there is no court order prohibiting access.
- Whether the occupant's objection was clear. Consent, even tacit or given by another member of the household, rules out the offence.
- Mistake or necessity. Entering the wrong home by mistake, entering to help someone or to prevent a greater harm.
- Whether there was violence or intimidation. The difference between the basic and the aggravated offence means going from a penalty that can readily be suspended to one of up to four years.
If you have been arrested, you have the right to a lawyer from the very first moment: our assistance for arrested persons is available 24 hours a day. You are also entitled to an interpreter and to have your consulate informed.
Your English-speaking trespass lawyer in Palma
For the occupant, we prepare the complaint with evidence that the property is in use, apply for interim removal and act as private prosecutor (acusación particular), including the claim for damage and expenses. For the accused, we assist at the police station and in court, challenge the classification and look for the least damaging outcome. We see clients at our office in Palma, by phone or by video call, in Spanish, Catalan, English and German, with a free first consultation and a written quote.
Free first consultation without obligation, in Palma or by video call.
Frequently asked questions
Is there a 48-hour rule for removing squatters from a home in Spain?
No. No law sets that time limit. As long as someone remains in a dwelling against the will of the person who lives there, the offence is still being committed and is caught in the act, so the police can intervene. What does happen is that the more time passes, the harder it is to prove on the spot who the occupant is, and officers may prefer to leave the decision to a judge.
Does my holiday home in Mallorca count as a dwelling?
As a general rule, yes, if it is furnished, has utilities connected and you use it for periods of the year. The courts consider a second home to be a dwelling even if the owner is not inside when the entry takes place. Keep bills, photographs and a local contact who can confirm its use close to hand.
Can a landlord in Spain enter a let flat without the tenant's permission?
Not without the tenant's permission. For as long as the tenant is in possession, the property is their dwelling, and a landlord who lets themselves in with a spare key can be convicted of trespass. If rent is unpaid or the tenancy has expired, the route is a court eviction (desahucio), not entering on your own initiative.
My ex-partner refuses to leave my home. Is that trespass?
It depends on whether it was also their home. If you lived together, as long as there is no court order allocating use of the home or prohibiting access, there is usually no trespass. If they did not live there, came in as a visitor and refuse to leave after being clearly asked to, it may be. In situations of violence there are immediate protective measures.
Can you go to prison for home trespass in Spain?
For the basic offence the maximum penalty is two years, so a person with no criminal record can ask for the sentence to be suspended if certain conditions are met. With violence or intimidation the penalty reaches four years and the risk of actually going to prison is real. Previous convictions and compensation for the harm caused have a great deal of influence.