
Criminal Defence Lawyers in Illegal Occupation (Okupas)
Defence of owners against illegal occupations and criminal defence in usurpation proceedings.
Usurpation of real property (Art. 245 of the Spanish Criminal Code (CP)) punishes occupying another person's property without the owner's authorisation, with two forms of very different severity: occupation with violence or intimidation against persons (Art. 245.1 CP), punished with imprisonment of 1 to 2 years, and peaceful occupation of a property that is not a dwelling (Art. 245.2 CP), punished only with a fine of 3 to 6 months. It is a continuing offence — it goes on being committed for as long as the occupation lasts — and its boundary with trespass to dwelling, which carries much higher penalties, depends on whether the property was inhabited. With more than 15 years of experience in property offences, we defend both owners and those accused of occupation before any court in Spain.
The offences of usurpation, governed by Articles 245 to 247 of the Criminal Code, punish the occupation of another's immovable property without the owner's authorisation, as well as the alteration of boundaries and the diversion of watercourses. They are one of the most topical groups of offences, especially in the form of the peaceful occupation of property, and they call for a technical defence that distinguishes precisely between the different applicable types and their procedural regimes.
You have been reported for occupying a property: what it means and what happens next
Spanish law distinguishes two very different situations that are routinely confused. Breaking into an inhabited dwelling is trespass of a home; occupying a property that is not somebody's dwelling, without violence or intimidation, is the far less serious offence of usurpation. Which of the two applies depends on the use of the property and on how entry took place, and it changes both the penalty and the procedural route entirely.
What to do (and what not to do) before making a statement
- Do not make a statement without a lawyer of your own choosing. Articles 118 and 520 of the Criminal Procedure Act (LECrim) give you the right to remain silent, not to incriminate yourself and to speak with your lawyer in private before the statement. What is said in the first appearance conditions the whole case.
- Gather anything that documents how you entered and on what basis: a rental contract, even an irregular one, payments, messages with whoever gave you access, and the date of entry. A colourable title changes the classification.
- Do not contact the complainant, the witnesses or the officers to explain or resolve it. Those conversations end up in the case file and are read as pressure on the evidence.
- Do not delete messages, files or records. Deletion is read as an indication of guilt and, in a forensic image, it is almost always recoverable.
Legal Framework: Arts. 245-247 CP
Chapter V of the Criminal Code governs the offences of usurpation. Article 245.1 CP punishes with imprisonment of 1 to 2 years whoever, with violence or intimidation against persons, occupies immovable property or usurps a real right over property belonging to another. Article 245.2 CP punishes with a fine of 3 to 6 months whoever occupies, without due authorisation, immovable property, a dwelling or a building belonging to another that does not constitute a dwelling, or remains in it against the owner's will. Article 246 CP punishes the alteration of boundaries and Article 247 CP the diversion of watercourses.
Trespassing vs Usurpation (Art. 202 CP)
A technically essential distinction is the boundary between the offence of usurpation (Art. 245 CP) and trespass to dwelling (Art. 202 CP). Trespass protects the inviolability of the home (Art. 18.2 of the Constitution) and applies where the occupied property constitutes a dwelling of a natural person (an inhabited home, a second residence in effective use). Usurpation applies where the property does not constitute a dwelling (premises, warehouses, unoccupied buildings, uninhabited homes). The penalties differ substantially: trespass carries imprisonment of 6 months to 2 years (1 to 4 years and a fine where there is violence or intimidation, Art. 202.2 CP), whereas peaceful usurpation is a mere fine.
The Legal Concept of Dwelling
Case law has consolidated a broad concept of "dwelling" that includes not only the permanent home but also the second residence in effective use and any space where a person carries out aspects of their private life. The defence must carefully analyse whether the occupied property was a dwelling at the time of the events, whether there was effective and current use, and whether there were personal belongings and signs of habitability. The classification as usurpation or trespass can radically transform the criminal response.
Peaceful Occupation and Eviction
The form in Article 245.2 CP (peaceful occupation) has gained particular relevance for its social recurrence. As a minor offence (Art. 13.4 CP), it is tried in a minor-offence trial (Arts. 964 et seq. LECrim), a quick procedure, and not in the fast-track trial, which according to the Public Prosecutor's Office (Circular 1/2025) applies to violent occupation under Art. 245.1. The question of eviction falls, strictly, outside the criminal sphere: precautionary eviction measures are usually channelled through the civil route (Law 5/2018 on the illegal occupation of homes) or, in limited cases, through the criminal route where urgent restitution is viable. For owners, as private prosecution we can request the criminal judge for the precautionary eviction measure from the admission of the complaint (Prosecutor's Instruction 1/2020), establishing ownership and harm to recover possession in weeks rather than years.
Specific Defences
The most relevant lines of defence include: the existence of a title or legal cover justifying the occupation (a verbal lease, the real owner's authorisation, a situation of tolerance); a dispute over ownership of the property; mistake as to the property belonging to another (a reasonable belief of having a right); a state of necessity in extreme cases (Art. 20.5 CP); a dispute over the concept of dwelling in borderline cases; and a dispute over effective occupation (mere occasional presence versus occupation with a vocation of permanence).
Defence Strategy
We build the defence around: a rigorous analysis of the classification between trespass and usurpation; documentary evidence of any possible title; a dispute over the concept of dwelling; an analysis of the subjective element and possible excluding mistakes; the assessment of mitigating factors (reparation, undue delay, partial state of necessity); coordination with parallel civil eviction proceedings; and the negotiation of plea agreements where the facts are indefensible. We act before the Investigation Sections of the Courts of Instance (Sección de Instrucción; formerly the Investigating Courts), the Criminal Sections of the Courts of Instance (Sección de lo Penal; formerly the Criminal Courts), the Civil Sections of the Courts of Instance (Sección Civil; formerly the Courts of First Instance) and the Provincial Courts.
Criminal Procedure Stages and Competent Court
Violent or intimidatory squatting under Art. 245.1 CP is processed through the abbreviated procedure, since its maximum penalty (one to two years' imprisonment) falls well below the nine-year threshold. Jurisdiction lies with the Criminal Section (Sección de lo Penal) of the district where the property is located; the National Court (Audiencia Nacional) is never competent in these matters. The peaceful form under Art. 245.2 CP, punished only with a three to six month fine, is a minor offence (Art. 13.4 CP): it does not follow the abbreviated procedure but the minor-offence trial (Arts. 964 et seq. LECrim), heard by the Investigation Section of the Court of Instance (Art. 14.1 LECrim).
The typical path begins with the owner's complaint or formal accusation, the opening of preliminary proceedings, the questioning of the accused and the gathering of evidence on the occupation. Early intervention is essential: the initial classification as Art. 245.1 versus Art. 245.2 shapes the entire strategy, because the absence of violence or intimidation against persons, or of force against property, downgrades the conduct to the fine-only offence. The defence must ensure that the force used to enter is not confused with the violence required by the aggravated subtype, a frequent error in early classifications.
Limitation Period under Article 131 CP
The limitation period depends on the form of the offence. Peaceful occupation under Art. 245.2 CP is punished only with a fine of three to six months. Because that penalty starts within the minor-penalty band (a fine of up to three months is a minor penalty, Art. 33.4(g) CP), Art. 13.4 CP requires the offence to be treated as a minor offence (delito leve), which is also the view of the Public Prosecutor's Office (Circulars 1/2015 and 1/2025). It is therefore time-barred after one year (Art. 131.1 CP). The same applies to altering boundaries under Art. 246 CP and diverting water under Art. 247 CP, which are minor offences in both their forms. Violent or intimidatory occupation under Art. 245.1 CP, punishable by one to two years' imprisonment, is a less serious offence and is time-barred after five years.
There is no intermediate three-year bracket. Squatting is a continuing offence: time does not run while the occupation lasts, only once the unlawful situation ends (Art. 132.1 CP), which meaningfully delays the dies a quo. Where it is tried together with a more serious connected offence, such as coercion, the limitation period for that offence applies (Art. 131.4 CP).
Restitution of the Property and Civil Liability
A conviction for squatting carries, as the civil component of the judgment, the obligation to return the property to its lawful possessor and to make good the damage caused during the occupation. Civil liability covers the material deterioration of the property, the cost of consumed utilities and, where applicable, the use value of the property during the period the owner was deprived of it. Quantifying these items requires evidentiary support: invoices, expert appraisal reports of the damage, and documentary proof of ownership or of the possessory right.
Where the use value or loss of profit is claimed, the valuation proposed by the prosecution should be critically examined, since a generic estimate of market rent without expert basis is not sufficient. The defence may dispute the reality and extent of the alleged damage, separating pre-existing harm from that actually caused by the occupation. In the Art. 245.1 form, moreover, the prison term itself (one to two years) is set in light of the benefit obtained and the damage caused, which makes determining that gain a primary technical point of defence.
Plea Agreement, Mitigation for Reparation and Suspension of Sentence
Because the penalties attached to squatting fall within a moderate range, repairing the harm before trial has a significant procedural effect. The voluntary return of the property and compensation for the damage can support the mitigating circumstance of reparation under Art. 21.5 CP, which reduces the criminal response and, when it applies as highly qualified, allows the penalty to be lowered substantially. This route is particularly relevant under Art. 245.1, where vacating the property and disgorging the benefit obtained strengthen the defence's position.
A plea agreement is another tool to weigh where the prosecution evidence is strong: negotiating an adjusted classification and a reduced penalty may be preferable to an uncertain trial, especially when combined with the mitigation for reparation. As for the custodial penalty under Art. 245.1, since it does not exceed two years it is in principle eligible for suspension under Arts. 80 et seq. CP for a first-time offender, which avoids actual imprisonment. The peaceful form under Art. 245.2, punished only with a fine, raises no imprisonment issue but does raise the possibility of subsidiary personal liability in the event of non-payment.
Penalties & Consequences: Illegal Occupation (Okupas)
| Type / Scenario | Criminal Penalty |
|---|---|
| Violent usurpation (Art. 245.1 CP) | Imprisonment of 1 to 2 years for occupying immovable property with violence or intimidation against persons. |
| Peaceful occupation (Art. 245.2 CP) | A fine of 3 to 6 months for occupying, without due authorisation, a property that is not a dwelling, or remaining in it against the owner's will. |
| Trespass to dwelling (Art. 202 CP) | Where the property is someone's dwelling: imprisonment of 6 months to 2 years, rising to up to 4 years where there is violence or intimidation. |
* Penalties shown are indicative. The actual penalty depends on case circumstances, applicable mitigating and aggravating factors.
Defence Strategy: Illegal Occupation (Okupas)
Precautionary Eviction
For owners: recovery of the property before the criminal trial, from the admission of the complaint (Instruction 1/2020).
Classification Analysis
Discussing usurpation versus trespass and the concept of dwelling to determine the applicable penalty.
Existence of Title
Diverting the case to the civil route by establishing a verbal lease, authorisation or initial tolerance by the owner.
State of Necessity
Exemption or mitigation for vulnerable persons without alternative housing in usurpation cases (Art. 20.5 CP).
Guide to Property Crimes in Spain: Defence Strategies
Property crimes (Crimes Against Assets) are regulated in Title XIII of the Spanish Criminal Code (Art. 234-304). These offences 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
| Offence | 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. 248 | Deception + financial harm | 6 months – 3 years |
Main Defence Strategies in Property Crimes
Challenge the Animus Lucrandi
Demonstrate that the accused had no intent to profit — a valid defence in alleged theft cases.
Contest Valuation
Dispute how the value of the stolen item was assessed. Below €400 = minor offence 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 offences.
Chain of Custody (Receiving Stolen Goods)
Challenge the prosecution's evidence that the accused knew the items were stolen.
Error of Type Defence (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.
Why Choose Us?
Need a criminal defence lawyer for this type of offence? Here's how we work:
Need urgent criminal defence?
Contact our specialist criminal defence lawyers. We evaluate your case confidentially.
Tools for your case
We also serve
View all locations →This page is for information purposes only and does not constitute legal advice: every case requires individual assessment. How this content is produced and verified: editorial policy.
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.