Crimes against persons
In short
The offence of trespass in a dwelling (allanamiento de morada) is committed by a private individual who, without living there, enters another person’s dwelling or remains in it against the will of the person who lives there (article 202 of the Criminal Code). What is protected is not property but privacy: the space where a person lives their private life.
That is why the key lies in the concept of dwelling (morada). It is the person’s usual home, but the courts have also treated as a dwelling other spaces where someone lives, even temporarily, such as a second home in use or an occupied hotel room. Each case has to be analysed in detail.
Common situations in which this charge arises:
If the person entering is the partner or former partner of the person who lives in the home, the case may involve gender-based violence; we handle that situation in our section on gender violence.
They are not the same. If the occupied property is not anyone’s dwelling (an empty home, commercial premises, a building), the offence is unlawful occupation (usurpación), punishable by a fine of three to six months (art. 245.2). If it is a home where someone lives, it is trespass in a dwelling, punishable by prison. We explain this in depth on our page on squatting and unlawful occupation.
| Conduct | Article | Penalty provided |
|---|---|---|
| Entering or remaining in another person’s dwelling against the occupant’s will | 202.1 | Prison from 6 months to 2 years |
| The above with violence or intimidation | 202.2 | Prison from 1 to 4 years and a fine of 6 to 12 months |
| Entering the premises of a company, professional practice, office or establishment open to the public outside opening hours | 203.1 | Prison from 6 months to 1 year and a fine of 6 to 10 months |
| Remaining in those places, outside opening hours, against the will of the owner | 203.2 | Fine of 1 to 3 months |
| Entering or remaining in those places with violence or intimidation | 203.3 | Prison from 6 months to 3 years |
| Acts committed by an authority or public official outside the cases permitted by law | 204 | Penalty for the offence in its upper half and absolute disqualification for 6 to 12 years |
In addition, the judge may impose a ban on approaching the victim or their home (art. 57), and the person convicted must compensate the harm caused. If a door was broken or something was taken on entry, the offences of criminal damage or robbery are added.
Since 3 April 2025, Organic Law 1/2025 allows trespass in a dwelling under article 202 to be dealt with through the speedy trial procedure (juicio rápido) where there is a police report and the person is arrested or summoned before the duty court (art. 795 of the Criminal Procedure Act, Ley de Enjuiciamiento Criminal). This means the case can be resolved within days before the Investigation Section of the Court of First Instance, formerly the investigating court.
For the accused, everything speeds up: the decision whether or not to accept a plea agreement (conformidad), which reduces the sentence sought by one third when the legal requirements are met, has to be taken within hours and with good advice. For the occupant, it means a much swifter judicial response.
With sentences of up to two years and no criminal record, the prison term can be suspended if it is your first offence and civil liability is satisfied (art. 80).
If someone is inside your home right now, call the police immediately: it is an offence in progress. Do not confront the person unless absolutely necessary. The law treats unlawful entry into a dwelling as unlawful aggression for the purposes of self-defence (art. 20.4), but the response must be proportionate.
Afterwards, report it, keep evidence (cameras, witnesses, photos of the lock or the damage) and join the proceedings as a private prosecutor. We represent you to seek a conviction, a restraining order and the compensation you are entitled to.
Do not let time pass. Trespass in a dwelling becomes time-barred after five years (art. 131), but camera footage is deleted within a few days and witnesses forget details. If the person keeps entering or harasses you afterwards, tell us: other offences may be involved and protective measures can be requested during the proceedings.
Entering or remaining in another person’s home against their will is punishable by six months to two years in prison (art. 202.1 of the Spanish Criminal Code). If done with violence or intimidation, the penalty is one to four years in prison and a fine of six to twelve months. With no criminal record, a sentence of up to two years can be suspended.
It can be. What counts is whether the home is another person’s dwelling and whether you entered against their will, even if they are a relative. If you also lived there, had keys or were in the habit of entering freely, the situation changes. The specific facts, the messages and the relationship between the parties must be examined.
If the home where someone lives is occupied, even if it is a second home in use, it is trespass in a dwelling and is punishable by prison. If a property that is not anyone’s dwelling is occupied, such as an empty home or commercial premises, it is unlawful occupation, punishable by a fine of three to six months (art. 245.2 of the Criminal Code).
Yes. While the tenant lives in the property, it is their dwelling, and the landlord cannot enter without their consent even though they own it. If the tenant does not pay or the contract has ended, the route is eviction through the courts, not entering on your own initiative or changing the locks, which could also amount to the offence of coercion.
It can be. Since 3 April 2025, trespass in a dwelling under article 202 of the Criminal Code has been included among the offences that can be dealt with as a speedy trial, when the police arrest or summon the accused before the duty court. The case can be resolved within a few days, so it is advisable to have a lawyer from the very first moment.
It can be. Article 202.1 of the Spanish Criminal Code punishes anyone who, not living there, enters another person’s dwelling against the will of the occupant; it does not require forcing the door or breaking anything. What matters is whether there was consent, express or implied, from the person who lives there. The door being open does not amount to permission, although the specific circumstances may be relevant to the defence.
Yes, it can be even if you entered with permission. Article 202.1 of the Spanish Criminal Code punishes both anyone who enters another person’s dwelling and anyone who remains there against the occupant’s will, with six months to two years in prison. If you are clearly asked to leave and refuse, remaining there may be enough to commit the offence.
Yes, although with its own penalties. Article 203.1 of the Spanish Criminal Code punishes with six months to one year in prison and a fine of six to ten months anyone who enters, against the will of the holder, the registered address of a company or organisation, a professional office, an office or premises open to the public outside opening hours. If done with violence or intimidation, the prison term is six months to three years (art. 203.3).
If you are convicted, yes. Breaking into a dwelling (allanamiento de morada) without violence is punishable by six months to two years in prison (art. 202 of the Spanish Criminal Code), and that conviction is recorded even if the sentence is suspended. Provided you do not reoffend, the record is cancelled after two years if the penalty does not exceed twelve months, or after three if it is longer, counted from when the penalty is extinguished (art. 136). That is why it is important to argue from the start whether there was consent or whether it really was someone else’s dwelling.
Call the police immediately (112 or 091) and avoid a confrontation unless it is essential. While that person remains inside, the offence is being committed: officers can enter and arrest them without a court order because it is an offence caught in the act (art. 553 of the Spanish Criminal Procedure Act, LECrim), and the case can be dealt with as a fast-track trial (art. 795). Gather evidence that it is your habitual home. If the property is not your dwelling, see the page on squatting and unlawful occupation.
It is no longer just breaking into a dwelling. Robbery, that is, with force on things or with violence or intimidation, committed in an inhabited house is punishable by two to five years in prison under article 241.1 of the Spanish Criminal Code, and any shelter that is someone’s dwelling is considered an inhabited house, even if they are absent at the time (art. 241.2). In particularly serious cases, the penalty can reach six years (art. 241.4).
After five years. Breaking into a dwelling carries a maximum penalty of two years in prison, or four if there was violence or intimidation (art. 202 of the Spanish Criminal Code), and article 131.1 establishes that offences with a maximum penalty of up to five years become time-barred after five. The period is interrupted when proceedings are brought against a specific person (art. 132.2).
Not necessarily. The Spanish Criminal Code does not make prosecution for breaking into a dwelling conditional on a complaint by the victim, and article 130.1.5 only gives forgiveness an extinguishing effect in minor offences prosecuted at the request of the injured party or where the law so provides. Therefore, the public prosecutor can continue to prosecute. The occupant’s position may, however, be relevant in assessing whether there was consent.
Yes, within certain limits. Article 20.4 of the Spanish Criminal Code considers unlawful entry into a dwelling or its outbuildings to be an unlawful aggression, which allows self-defence. But it also requires reasonable necessity of the means used to prevent or repel it and lack of provocation on your part. If the reaction is disproportionate, it may not fully exempt you, although it may reduce the penalty (art. 21.1).
Yes. In offences against the inviolability of the home, article 57 of the Spanish Criminal Code allows the judge to impose in the judgment prohibitions such as not approaching the victim or their home, not communicating with them or not going to the place of the offence (art. 48). If you are sentenced to prison, the prohibition lasts between one and five years longer than the sentence, as it is a less serious offence. And if the victim is your partner, ex-partner or a close family member, the restraining order is mandatory (art. 57.2).
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