How the new anti-squatter law works in Spain (Legal guide for property owners)

anti okupas leyes

In this article, we explain:

Imagine coming back from a weekend and finding the lock changed and strangers living in your apartment. This nightmare is the reality that Manuel, owner of an apartment in Valencia, faced last year. His biggest fear was being without his home for months due to illegal occupation. Fortunately, since April 2025, there is a new anti-squatter law (also called anti-squatter law or anti-occupation law) designed to resolve such cases much more quickly and effectively. In this article, we explain how the new anti-occupation regulations work in Spain, what measures they introduce, and what steps you should take to protect your property from squatters.

In the real estate sector, illegal occupation of housing (also known as squatting, property usurpation, or unauthorized entry into private property) has become one of the main risks for property owners in Spain. This phenomenon affects both primary residences and second homes or vacant properties, generating legal insecurity, loss of profitability, and lengthy recovery processes if action is not taken quickly. Therefore, knowing the current regulations and legal eviction mechanisms is key for any property owner or real estate investor.

What is the new anti-squatter law and why was it created?

Illegal occupation of homes has become a growing problem in Spain, with thousands of cases each year. According to official data, in 2024 there were 16,426 reported occupations of properties, a 7.4% increase from the previous year infobae.com. Catalonia tops the statistics, but no owner – in any province – is exempt from risk. In response to the social alarm and complaints from owners, the Government responded with an urgent legal reform. This reform, popularly known as the “anti-squatter law”, came into effect on April 3, 2025 serviokupas.com as part of Organic Law 1/2025 on the efficiency of the Public Justice Service.

What is your main goal? Accelerate the evictions of illegal occupants and toughen the consequences for squatters. Until 2025, eviction processes could last months or years, causing enormous harm to owners. The new anti-squatter law introduces key procedural changes to streamline these processes and protect private property. At the same time, it seeks to balance this right with the need for housing solutions for vulnerable people infobae.com. Let’s take a detailed look at its star measures and how they can help you if you are a property owner.

Main measures of the new anti-squatter law 2025

These measures represent a relevant update within the framework of the occupancy law in Spain, reinforcing the concept of rapid eviction of squatters and establishing more agile procedures against illegal occupation of homes. In addition, they introduce greater legal security for owners, investors, and real estate professionals, reducing the uncertainty associated with the recovery of occupied properties and improving confidence in the buying and renting market.

The anti-squatter law 2025 brings several legal innovations designed to combat illegal occupation more quickly and firmly. Below we summarize its key points:

  • Fast trials in 15 days: The crimes of breaking and entering and usurpation are included in the procedure of fast criminal trials boe.es. This means that, once the complaint is filed, the case is processed with priority and can be resolved within a maximum period of 15 days infobae.com. Before the law, a property owner could wait more than six months for an eviction; now, in theory, they will have a judicial response in two weeks. If the squatter cannot prove any legitimate right over the property (for example, a valid rental contract), the judge will order their immediate eviction infobae.com as a precautionary measure, without waiting for the final trial.
  • Express eviction within the first 48 hours: The reform enables law enforcement to intervene immediately when the occupation is detected flagrantly, within the first 48 hours since the squatters enter infobae.com. In these initial cases, the Police can evict without a court order, as long as it is confirmed that it is an illegal occupation and without the owner’s consent. This emergency measure is crucial: it allows the recovery of the property in just a few days if the owner acts quickly. Example: If Ana discovers occupants in her house the same day they enter and calls the Police immediately, the officers can remove them almost on the spot upon confirming they are intruders. After those initial 48 hours, the eviction will require a judge’s order, but it will still follow an expedited process (fast trial).
  • Severe penalties and deterrent effect: The new law tightens sanctions for those who illegally occupy properties. Previously, many cases of usurpation ended with insignificant fines; now higher fines and even prison sentences are anticipated in serious cases infobae.com. For example, if the occupants act with violence or intimidation towards the owner, or cause significant damage to the property, they could face prison instead of a simple economic sanction infobae.com. This change aims to create a real deterrent effect: that occupying a house is no longer “cheap” or goes unpunished. A violent occupant now risks going to prison, which did not happen before. The anti-occupation law thus sends a message of authority and firmness, reinforcing the legal security of property owners.
  • Legal clarity: trespass vs. usurpation: The regulations clearly distinguish between trespass and usurpation, covering both cases. Trespass occurs when someone occupies the habitual residence of another (for example, your main house); it is a more serious crime, as it violates the person’s home infobae.com. Usurpation refers to occupying a property that is not the owner’s habitual residence (e.g., a second home, an empty apartment) infobae.com. With the new law, in both cases the expedited procedure applies: even if they occupy your second residence, you can resort to the quick trial to evict them faster. However, the law requires that it be a flagrant illegal occupation (without consent and recent) to activate these expedited routes. In summary, whether intruders enter your habitual home or your summer residence, you will have quick criminal tools to evict them.

Note: These anti-occupy measures focus exclusively on illegal occupation by third parties without any title. They do not affect other housing situations such as tenants who stop paying rent but remain in the house (the so-called “inquiokupas”). Those cases of non-payment follow the ordinary civil route (eviction for non-payment) and do not fall within the expedited criminal process. The anti-occupy law acts when someone invades your property without your permission; if the occupant legally initiated as a tenant, then the recovery of the property must be processed through the usual civil channels (which are slower) even if they later remain illegally.

How is the anti-occupy law applied? – Fast eviction process

Let’s see step by step how this new procedure works in practice, from the perspective of an affected owner. If unfortunately you find yourself with occupants in your home, these are the legal steps to follow under the new law:

  1. Immediate report to the Police or Civil Guard: As soon as you discover the occupation, act without delay. Go to the authorities and file a formal complaint providing any evidence that you are the legitimate owner. It is crucial to do this as soon as possible – ideally within the first 48 hours – so that the security forces can intervene urgently infobae.com. Attach documents such as property deeds, IBI receipts, purchase contracts, or any title that proves the house is yours to the complaint. The more evidence, the better, as this will leave no room for possible excuses from the squatters.
  2. Provide evidence and request precautionary measures: After the complaint, it is likely that the judge will quickly summon the owner (you) and the illegal occupants. You must provide clear evidence of your ownership (if you haven’t already done so with the police) and document the usurpation. You can request the court for urgent precautionary measures, specifically the immediate eviction of the squatters as a preliminary measure. The new law allows the investigating judge to order a quick eviction as a precautionary measure even before holding the quick trial, to return possession to you as soon as possible. This express eviction is usually granted if it becomes evident that the occupants have no rights over the property. On their part, the squatters will be given the opportunity to claim if they have any title (for example, by presenting a rental contract). Note: in many cases, squatters try to delay the process by presenting false rental contracts or supposed payment receipts. With the new law, these tricks should be dismantled swiftly, but it can complicate the case. Hence the importance of relying on legal experts to help demonstrate the falsity of those documents and reaffirm your rights.
  3. Fast track trial and resolution: Thanks to the inclusion of these crimes in fast track trials, the hearing before the judge takes place in just a few days. In that abbreviated trial, the judge will evaluate the documentation. If the squatters fail to prove that they have any legitimate right to be there (which is usual, as they are intruders), the judge will issue an immediate eviction order and may impose the corresponding criminal penalties infobae.cominfobae.com. In many cases, the eviction (physical eviction by the police) will be carried out almost immediately after the court order, without further delay. In total, from the complaint to recovering your home could take just 10 to 15 days, well below the timelines prior to the law. Finally, a homeowner can breathe easy in weeks, not years.

? Practical example: the case of Luisa

To illustrate the process, let’s look at a concrete example. Luisa, the owner of an apartment in Seville, arrives one day at her empty apartment and discovers that the lock has been forced. Upon entering, she finds two strangers living there without permission. Distressed but determined, Luisa reports the occupation that same afternoon to the Police, providing the deeds of her apartment. The squatters verbally claim that they “rented the house from a certain Juan,” but do not present any real contract. Thanks to the new anti-squatter law, the police intervenes immediately to identify the occupants and verifies that they have no contractual relationship with the owner. In less than 48 hours, the officers evict the intruders preventively. A few days later, the fast track trial takes place: the judge checks the documentation, confirms Luisa’s ownership, and formally orders the eviction (which has already been carried out) along with a fine for the squatters. In just 2 weeks, Luisa recovers her home, intact and legally free of occupants. Before this law, this ordeal could have lasted more than 8 months, with the squatters inside the whole time. The speed of the new process saved Luisa months of costs, stress, and potential damage to her property.

Final tips, limitations, and call to action

The anti-squatter law marks a before and after in the protection of property owners in Spain. However, it is important to consider some limits and recommendations:

From a legal-real estate perspective, this regulation is also part of the evolution of occupancy legislation in Spain, where concepts like anti-squatter law, express eviction law, or property owner protection law aim to reinforce the balance between the right to housing and the right to private property. In practice, the goal is to reduce the duration of procedures for recovering occupied properties, minimize the economic impact for owners, and improve security in the real estate market, especially in high-demand areas like Barcelona, Madrid, or Valencia.

  • Act quickly and within the law: The effectiveness of the regulation depends on the prompt reaction of the owner. If you ever suspect or know that your home has been occupied, do not attempt to evict them on your own (you could get into legal trouble); report immediately to be able to take advantage of the express measures. Remember the 48-hour factor: do not let that precious time pass that allows the police to intervene directly. Urgency is your ally thanks to the new law.
  • Document everything and protect your evidence: Keep your deeds, contracts, utility bills in your name, etc., organized. These documents will be your best weapon to prove ownership and refute any lies from the squatters. If you live elsewhere or the property remains empty for periods, consider preventive security measures (alarms, cameras, or anti-squatter services) to find out as soon as possible about an intrusion. The sooner the occupation is addressed, the easier it will be to evict.
  • Do not confuse squatters with tenant problems: As we mentioned, this law does not solve cases of tenants who do not pay or refuse to leave after the contract ends. Those conflicts require a civil eviction process for non-payment, which remains slower. Avoid the false sense of security believing that any occupant will be expelled in 15 days: it only applies to intruders without title. Still, if you have a delinquent tenant (inquiokupa), seek legal advice because there are legal avenues to evict them (although they may take longer, they are still necessary).
  • Attention to vulnerability and social assistance: The anti-squatter law does not halt eviction simply because there are minors or other vulnerable individuals among the occupants. As it is a flagrant crime, the judge can order the eviction without waiting for social reports. However, social services will intervene to ensure the welfare of those minors or at-risk individuals, offering them housing alternatives if necessary serviokupas.com. This means that your rights as a property owner prevail immediately, but the State will seek a humanitarian solution for those who were occupying (for example, relocating a family with children). In other words, the presence of children will not prevent you from recovering your home, so do not hesitate to act thinking that “they won’t evict them for having children.” The judicial and police authority will enforce the law as well.

In conclusion, the new anti-squatter law in Spain provides property owners with a powerful legal tool to combat the illegal occupation of their homes. Finally, there is a fast procedure (express eviction) and deterrent penalties that provide greater legal security to those who feared losing their home to squatters. However, making the most of these advantages depends on you: on your speed, on presenting the evidence well, and, very importantly, on having expert advice.

Are you worried about squatting or need urgent help to recover your property? Contact the real estate experts at Gumperapi today. Our legal team knows the new occupancy law in detail and the most effective techniques to protect your home. Don’t wait to become a victim: the peace of mind of recovering what is yours starts with quick action. Call us now and put your properties in the best professional hands! infobae.com

How much is your apartment worth?

Free and indicative online valuation

Related articles

Discover what a real estate agency does: key functions and practical tips for selling or renting quickly with security and...

How can we help you?

How much is your apartment worth?

Free and indicative online valuation

Rent your apartment securely

We explain the process and the risks

Mortgage study

Personalized analysis at no cost