
Squatting & Property Occupation Lawyers
Comprehensive legal assistance in squatting: owner defense, express eviction and criminal defense. Art. 245 CP
Last updated:
Squatting: Concept, Types, Penalties and Solutions (Arts. 202 and 245 CP)
Squatting is one of the most urgent and socially sensitive legal problems in Spain. The criminal system protects real estate ownership through two distinct criminal types: trespass (Art. 202 CP), which protects the inviolability of the home (Art. 18.2 SC) when the dwelling is inhabited or constitutes a habitual residence, and usurpation of real estate (Art. 245 CP), which protects real estate patrimony when the property is empty or does not constitute a dwelling. Supreme Court doctrine has consolidated the technical criteria of delimitation: the dwelling requires real and effective use as a residence; empty properties, second homes not used or premises fall under usurpation.
The commission modalities present relevant nuances. Trespass (Art. 202 CP) sanctions whoever, without inhabiting it, enters another's dwelling or remains in it against the inhabitant's will, without need of violence or intimidation; with violence or intimidation (Art. 202.2 CP) the penalty is aggravated. Usurpation with violence or intimidation (Art. 245.1 CP) is the serious type: occupying another's property without title with violence/intimidation. Peaceful usurpation (Art. 245.2 CP) is the minor type: non-violent occupation of uninhabited property. Paradigmatic cases are organized squattings (social movements with internal transfers), squattings of bank or investment fund properties, squattings after mortgage foreclosures, squattings of second residences, extinguished precarious situations with resistance to eviction and squatting with utility fraud (Art. 255 CP), which can concur.
The statutory penalties are notable and modulated by type. Simple trespass (Art. 202.1 CP) carries 6 months to 2 years' prison; with violence or intimidation (Art. 202.2 CP), 1 to 4 years' prison. Usurpation with violence (Art. 245.1 CP), 1 to 2 years' prison. Peaceful usurpation (Art. 245.2 CP), 3 to 6 months' fine. Utility fraud (Art. 255 CP) concurs with additional fine or prison. There is also the civil route (precarious eviction, eviction by term expiration) and the express route introduced by Act 5/2018 that modified the Civil Procedure Act: it allows individual property owners or non-profit entities to recover the property in 15-30 days through an agile summary procedure when the squatting is peaceful. The process becomes significantly more complicated when minors, vulnerable persons or social services are involved.
The technical defense is built on two perspectives. In favor of the owner: immediate action (first 48 critical hours), urgent complaint for trespass (when applicable) or usurpation, request for express eviction under Act 5/2018, expert evidence on habitability and ownership, notarial certification of the property and, where appropriate, criminal complaint with appearance as private prosecution. In defense of the squatting accused: invocation of state of necessity (Art. 20.5 CP) in documented extreme vulnerability cases (families with minors, without housing alternative); proof of precarious title or consent of the holder (even verbal); questioning the character of inhabited property or dwelling (key to choose between trespass and peaceful usurpation); and effective abandonment of the property (Article 245 CP requires another's property, which requires proof of ownership and use). Supreme Court doctrine excludes usurpation when the property is abandoned de facto.
In current forensic practice we observe a progressive hardening of the criminal and civil response. Act 5/2018 introduced express eviction; the Instruction 1/2020 of the General State Attorney's Office on squatting established more agile action guidelines; Royal Decree-Law 11/2020 and subsequent COVID-19 moratoriums have generated interpretative tensions. Organic Law 1/2025 on Justice Service Efficiency, Act 12/2023 on the Right to Housing and consolidated case-law configure a dual regulatory framework where the owner's rights and the protection of persons in vulnerable housing situations confront each other. At Alonso Sala, with more than 15 years of experience, we intervene both defending owners (criminal complaint, express, civil and coordinated administrative eviction) and defending those accused of squatting (proof of title, state of necessity, absence of violence), always articulating a strategy adapted to the case's circumstances and the property's nature.
Owner's Guide: Immediate Steps
🚨 The first 48 hours are critical
- File an immediate police report for intervention
- Do not attempt forceful eviction (risk of coercion/assault charges)
- Contact a criminal lawyer to file trespass or usurpation charges
- Request express eviction if you are an individual property owner (Law 5/2018)
- Gather evidence: photos, videos, witnesses, registration certificates
Defense of the Squatting Accused
Not every case of occupation constitutes a crime. There are circumstances that can exempt or mitigate liability: prior verbal contracts, extreme necessity situations, de facto abandoned properties, or disputes about the real ownership of the property. Our defense analyzes each case to determine the best procedural strategy.
Guide to Property Crimes in Spain: Defense Strategies
Property crimes (Crimes Against Assets) are regulated in Title XIII of the Spanish Criminal Code (Art. 234-304). These offenses range from petty theft to complex economic fraud, with penalties varying greatly depending on the amount involved, the method used, and any aggravating circumstances.
Key Distinctions: Theft, Robbery, and Fraud
| Offense | Article | Key Element | Basic Penalty |
|---|---|---|---|
| Minor Theft (Hurto leve) | Art. 234.2 | <400€, no force | Fine 1-3 months |
| Theft (Hurto) | Art. 234.1 | >400€, no force | 6 months – 18 months |
| Aggravated Theft (Art. 235) | Art. 235 | Special items/multi-recidivist | 1 – 3 years |
| Robbery with Force | Art. 240 | Breaking in/tools | 1 – 3 years |
| Robbery with Violence | Art. 242 | Direct threat/intimidation | 2 – 5 years |
| Fraud (Estafa) | Art. 249 | Deception + financial harm | 6 months – 3 years |
Main Defense Strategies in Property Crimes
Challenge the Animus Lucrandi
Demonstrate that the accused had no intent to profit — a valid defense in alleged theft cases.
Contest Valuation
Dispute how the value of the stolen item was assessed. Below €400 = minor offense with much lower penalties.
Prior Consent or Ownership Claim
In disputes between acquaintances, prove the accused believed they had a right to the item.
Recidivism Analysis
Many aggravated theft charges rely on prior criminal record. Challenge the computation of prior offenses.
Chain of Custody (Receiving Stolen Goods)
Challenge the prosecution's evidence that the accused knew the items were stolen.
Error of Type Defense (Fraud)
In commercial fraud cases, demonstrate that the accused genuinely believed their representations were true.
Critical: Time Limits for Evidence
In property crimes, digital evidence (CCTV footage, mobile location data) is often deleted within 30 days. Contacting a specialist lawyer immediately after arrest or charge is essential to preserve exculpatory evidence.
Advanced Criminal Defense
Our firm approaches each procedure with rigorous evidentiary analysis and proactive defense strategy.
Do you need specialised legal assistance?
The judicial system is complex. We have the criminal-law specialisation and technical resources required to take on the defence.