Squatters in Spain: The Facts, the Law and What Property Owners Should Do
The subject of squatters in Spain often receives far more attention than its actual frequency would suggest. Illegal occupation can be extremely stressful for the owner involved, but it is important to keep the issue in proportion.
In 2024, Spain recorded 16,426 reported offences involving unlawful entry into or occupation of property. Compared simply with Spain’s approximately 26.6 million homes, this represents around 0.06%. That comparison is not an exact measure of an individual owner’s risk, and the cases are not evenly distributed across Spain. It does, however, show why the subject should be treated as a manageable legal risk rather than as a normal part of owning property in Spain.
For most homeowners in Marbella and across the Costa del Sol, squatting is something they will never experience. Sensible security, regular supervision of the property and a quick, lawful response are normally the most relevant precautions.
Written by: Lars Hansen, Founder & Managing Partner, Vantage Marbella
Reviewed by: Daniel Kjær, Client Relations
Local scope: Spain, Marbella, Costa del Sol, Málaga, Estepona and Benahavís
Last reviewed: 17 July 2026
What is a squatter in Spain?
A squatter, commonly called an “okupa” in Spanish, is someone who enters or remains in a property without the owner’s permission and without a valid legal right to occupy it.
This should not be confused with a tenant who originally entered the property under a valid rental agreement and later stopped paying rent or refused to leave. That situation is often described in the media as “inquiokupación”, but legally it is a tenancy and eviction matter, not the same as somebody breaking into an empty property.
The distinction matters because the correct legal procedure depends on how the person entered the property, whether permission was ever given and whether the property was being used as a home.
How does Spanish law treat illegal occupation?
Spanish law mainly distinguishes between two situations.
1. Unlawful entry into a home – allanamiento de morada
Article 202 of the Spanish Criminal Code protects a person’s home and private life. Entering or remaining in another person’s home without consent may amount to allanamiento de morada.
A “home” is not limited to a person’s registered main residence. Spanish prosecutorial guidance and case law recognise that a second home or holiday residence may also qualify when it is genuinely used for private life, even when the owner is not physically there every day.
This is particularly relevant to international owners in Marbella, Estepona, Benahavís and other parts of the Costa del Sol. A holiday property does not automatically lose its status as a home simply because the owner is abroad.
2. Occupation of a property that is not being used as a home – usurpación
Article 245 of the Spanish Criminal Code covers the unauthorised occupation of a property that does not constitute somebody’s home. This can include a long-term vacant dwelling, an unfinished property or another building that is not being used for private domestic life.
This offence is legally different from entering somebody’s home, and the police and courts will examine the facts and available evidence before deciding how the case should proceed.
Do squatters gain rights after 48 hours?
No. There is no Spanish law that gives squatters ownership, tenancy rights or a legal right to remain simply because 48 hours have passed.
The well-known “48-hour rule” is a misleading simplification. What matters is whether the police are dealing with an offence in progress or a very recent, clearly documented entry, and whether the facts can be established immediately. The longer the delay, the more difficult it may become to prove exactly when and how the occupation began, which can make a judicial order necessary.
Owners should therefore act immediately, but not because squatters suddenly acquire rights after a fixed deadline. Speed matters because evidence is clearer and the authorities can assess the situation more effectively.
Has the law become faster?
Spanish Organic Law 1/2025 brought offences under Articles 202 and 245 within the scope of the accelerated criminal procedure known as juicio rápido.
This was intended to make suitable cases move more efficiently. However, reports that every squatter can now be removed “within 15 days” are also too simplistic. The 15-day wording concerns part of the court scheduling process once the legal requirements for the fast-track procedure have been met. It is not a guaranteed total timeframe from the first police report to recovery of the property.
A separate civil route also exists under the reforms introduced by Law 5/2018. In certain possession claims, the occupants can be required to provide a valid legal title within five days of formal notification when immediate recovery has been requested. The overall duration still depends on service of documents, evidence, the court’s workload and the facts of the case.
A Spanish lawyer should decide whether the criminal route, the civil route or a combination of measures is most appropriate.
What should you do if your Spanish property is occupied?
1. Prioritise safety
Do not confront the occupants or attempt to remove them personally. If an entry is taking place, there is an immediate threat or you believe somebody is in danger, call the emergency services on 112. Depending on the location, the Policía Nacional, Guardia Civil or local police may attend.
2. Report the situation immediately
Make a police report as soon as possible. Explain accurately whether the property is your main home, a second residence, a holiday home, a rental property or a vacant investment property. The legal classification can depend on how the property is genuinely used.
3. Prepare proof of ownership and use
Useful documents may include:
- The title deed or an updated Nota Simple
- Your passport or identity document
- Utility bills and insurance documents
- Alarm notifications, camera footage or access records
- Photographs of damage or changed locks
- Statements from neighbours, security staff or the community administrator
- Evidence that the property is furnished and used as your home or holiday residence
Keep digital copies of the main documents somewhere you can access from outside Spain.
4. Contact a Spanish lawyer
A lawyer can review the police report, identify the correct legal route and request urgent protective measures where the requirements are met. Early legal advice is usually more valuable than relying on general information from social media or an alarm company.
5. Avoid self-help measures
Do not use force, threaten the occupants, enter secretly, remove their belongings or cut off water and electricity without specific legal advice. Even when you are the owner, taking matters into your own hands can create additional legal problems and may delay the proper recovery process.
6. Notify relevant parties
Inform your insurer, community administrator, security company and property manager where appropriate. They may hold useful evidence and can help secure the property once lawful possession has been restored.
How long does it take to remove squatters in Spain?
There is no honest single answer.
When the police find a clear offence in progress and the owner can immediately prove the relevant facts, the situation may be resolved quickly. When the occupation is already established, the facts are disputed or documents must be served through the courts, the process can take longer.
The 2025 procedural reform and the existing civil recovery procedure are designed to improve speed, but no responsible adviser should promise a fixed result in a specific number of hours or days without reviewing the case.
How can owners reduce the risk?
Most precautions are simple property-management measures rather than specialist “anti-squatter” solutions.
- Install a monitored alarm with reliable image or video verification
- Use strong doors, locks and accessible-entry protection
- Arrange regular inspections when the property is empty
- Appoint a trusted keyholder or local property manager
- Ask neighbours or community security to report unusual activity
- Keep ownership and insurance documents digitally accessible
- Repair damaged doors, windows or perimeter access promptly
- Check whether the insurance policy includes legal assistance
- Avoid publicly advertising long periods of absence
An alarm cannot guarantee that an attempted entry will never happen, but rapid detection and reliable evidence can make the owner’s position much clearer.
What should buyers check before purchasing?
Illegal occupation should form part of normal legal and physical due diligence, without being treated as a reason to avoid buying property in Spain.
Before completion, buyers should confirm that:
- The property is physically vacant or occupied only by the agreed seller or lawful tenant
- Any tenancy or occupancy arrangement has been disclosed and reviewed
- The purchase contract requires vacant possession where applicable
- A final inspection is carried out shortly before completion
- Keys, alarm codes and access controls are transferred correctly
- A lawyer has reviewed the title and any registered legal issues
The Land Registry confirms legal ownership and registered rights, but it does not replace a physical inspection of the property.
A proportionate view for Marbella property owners
Squatting is a real legal issue, and owners affected by it deserve a fast and effective response. It is not, however, a routine outcome of purchasing a home in Marbella or on the Costa del Sol.
Official figures show that reported cases represent a very small fraction of Spain’s housing stock. The sensible approach is therefore neither to ignore the subject nor to exaggerate it.
At Vantage, we believe property decisions should be based on reliable information rather than alarming headlines. Proper due diligence when buying, sensible security after completion and immediate professional advice if something happens are normally the strongest protection.
Frequently asked questions
Can squatters take over my home while I am on holiday?
They do not acquire a legal right to your home because you are temporarily absent. A main residence or genuine second residence may be protected as a morada even while it is temporarily unoccupied. Report any unlawful entry immediately and provide evidence of ownership and residential use.
Do squatters become legal tenants after 48 hours?
No. Passing 48 hours does not create a tenancy agreement, ownership or a legal right to remain. The practical difficulty may increase over time because the facts become less immediate and a court order may be required.
Is a holiday home protected in the same way as a main residence?
It can be. Spanish guidance recognises second and seasonal residences as a morada when they are genuinely used for the owner’s private life. Each case depends on the facts and evidence.
Can I change the locks myself?
Do not attempt to enter or change the locks while other people are occupying the property without police or legal guidance. Once lawful possession has been recovered, the property should normally be secured immediately.
Can I disconnect the water or electricity?
Owners should not cut utilities as a pressure tactic without specific legal advice. It can create separate allegations and complicate the case.
Is a non-paying tenant a squatter?
Not in the normal legal sense. A tenant who entered under a valid agreement is generally handled through tenancy and eviction law, even if the tenant later stops paying or remains after the contract ends.
Should the risk of squatters stop me buying in Spain?
For most buyers, no. The overall incidence is low. Legal due diligence, a final physical inspection, sensible security and local property supervision make the risk manageable.
Legal note and official source basis
This article provides general information and is not a substitute for advice from a qualified Spanish lawyer. The legal position should always be checked against the facts of the individual case.
Official source basis reviewed for this article:
- Spanish Criminal Code, Articles 202 and 245
- Fiscalía General del Estado, Instruction 1/2020
- Fiscalía General del Estado, Circular 1/2025
- Organic Law 1/2025 on the efficiency of the Public Justice Service
- Law 5/2018 concerning the illegal occupation of housing
- Spanish Ministry of the Interior criminality data for 2024
- Spanish National Statistics Institute 2021 Housing Census
Every enquiry is handled personally by our team in Marbella.
Message Us
