For members


How to stop squatters from moving into your empty home in Spain

More than 14,000 properties were illegally occupied by squatters in Spain in 2019. Here’s what you need to know about your rights (and theirs) and how to prevent it from happening to you.

How to stop squatters from moving into your empty home in Spain
"Occupy and resist", reads the graffiti on the rooftops of this occupied building in Barcelona, the city in Spain with most squatters. Photo: Johannes Wünsch/Pixabay

Spain has a big problem with okupas, as squatters are called in Spanish. 

Two factors have played a major role in their proliferation in recent years: the more than 3.4 million empty properties across the country (according to the latest government census) and the legal obstacles which hinder squatters’ speedy eviction (which okupas are well aware of and duly exploit).

According to the Interior Ministry’s Statistical Crime System (SEC), 13,006 properties were illegally occupied in Spain in 2020, slightly fewer than in 2019 when 14,621 were okupadas. In 2015, the figure was even higher: 22,461.

Despite the slight drop in squatting, okupas are now taking advantage of the high volume of empty flats and houses in tourist hotspots on the coast, given the low holiday let occupancy and the absence of foreign second homeowners caused by the coronavirus pandemic and subsequent travel restrictions.

Catalonia is by far the worst-hit region in terms of okupación, with police more than 6,259 complaints from property owners in 2020, 500 more than for the same period last year.

Barcelona accounts for the majority of these illegal occupations, but other Catalan provinces such as Girona and Tarragona have the same rate of okupas as Madrid, Seville and Valencia. Around 20 properties are illegally occupied in Catalonia every day.

Nevertheless, all around Spain there are reports of squatters taking over buildings and residential areas, in some cases having the audacity to ‘sell’ the properties to other okupas for thousands of euros.

Many Spaniards find the okupa trend abhorrent, and while a others argue that squatting is a consequence of the high rate of evictions due to unpaid mortgages and sky-high rents (as well as the current coronavirus pandemic), many squatters are far from being bankrupt and choose la okupación as a way of life.

How can all this be happening? Why is it so hard to evict squatters in Spain and what can be done to avoid it? And if it happens, how can squatters be kicked out? Here’s what you need to know.

Photo: Peggy Marco/Pixabay

What does Spanish law say about squatting?

The occupation of someone else's property does constitute a crime in Spain, as established in article 245 of Spain’s Penal Code: “Whoever occupies, without due authorisation, a property, dwelling or building belonging to someone else and which does not constitute their residence, or remains in the property against the will of the owner, will be punished with up to three to six months of prison”.

However, sentences in Spain under two years usually don’t result in actual prison time, which hardly acts as a dissuasion for okupas.

Another key point is that Spanish law differentiates between “usurpación” (misappropriation) and “allanamiento de morada” (breaking and entering), the determining factor being whether the property is inhabited or not.

In Spain, it’s up to the judge’s interpretation whether entering an empty property (usurpación) is a crime, with the general consensus according to Spain’s 1995 Penal Code being that only the most serious incidents should be considered punishable.

2021 STATE OF ALARM UPDATE: Why is Spain making it harder to evict squatters?

Furthermore, the criminal process for these matters is long (9 to 18 months on average) and arduous in Spain, with no guarantees for the property owner as their complaint can be rejected by a judge.

There is no specific jurisdiction in place for squatters, which means they are granted the same rights as homeowners who the banks want to evict for not paying their mortgages (procedimiento de desahucio por precario).

Spain, together with Portugal, are the only countries in Europe with this type of lenient legislation.

What should I do if squatters move into my home?

The first 48 hours are crucial if your home or second home is illegally occupied.

If you can prove that squatters moved into your property within this two-day period, you can take the matter to the police and they can evict the okupas without a warrant.

If 48 hours have elapsed and the squatters have changed the lock, you will require a warrant and that’s when the legal ordeal begins.

You will have to file a request for eviction (demanda civil de deshaucio) and the judge will set a time and a date for you and the squatters to appear in court. Crucially, many okupas refuse to identify themselves or attend proceedings, which effectively stalls the process.

If any of the occupants are minors or vulnerable people, the judge is more likely to side with the squatters.

A squatter in Barcelona tries to stop police from evicting him. Photo: AFP

Police cannot enter the occupied property and force the squatters to identify themselves while in the dwelling, with their only option being to apprehend them while they’re outdoors.

If the judge rules in favour of the plaintiff, the police can proceed to evict the okupas with force.

If the property in question is the owner’s main address, the proprietor will still have to file the request for eviction through the courts, although the judge is more likely to rule in the owner’s favour and trials are generally scheduled faster.

This is one of the reasons why squatters often make sure that the dwelling they are occupying is a second home.

Legal costs for homeowners who find themselves in this ordeal depend on the type of property and lawyer but usually run between €600 and €3,000.

Are there any legal loopholes homeowners can exploit?

Some affected homeowners who fear costly, lengthy and potentially unsuccessful legal proceedings opt instead to call the police in the first place and tell them that there are burglars in their home rather than squatters, in effect allowing police to enter the property with force and without a warrant.

There are also those who choose not to file a complaint or attempt to enter the property, thus giving the squatters a false sense of comfort. Instead they reach an agreement with a locksmith, identify the squatters and stand guard waiting for the moment all of them have left the dwelling.

Once empty, owner and locksmith proceed to change the locks again (most squatters change the lock the moment they move in), thus reclaiming the property that’s rightfully his or hers.

Another option which falls within the limits of Spain’s legal system is contacting one of numerous anti-squatter agencies currently operating in Spain, which specialise in negotiating with the illegal occupants to leave the property and setting up 24-hour surveillance.

One of these is Barcelona-based company Desokupa, whose staff members are burly enough to intimidate the squatters whilst knowing what the law allows them to say and do.

If reclaiming the property isn’t possible by these initial means, these companies negotiate a financial sum between the owner and the squatters for them to leave. 

How should I prevent squatters from moving into my home?

– The best way to prevent squatters from moving into your property while it’s uninhabited, you’re away or on holiday is to rent it out.

– If you can’t or don’t want to let it out, the most common advice is to make it seem like the property is inhabited.

Squatters constantly look out for signs that a property is empty: blinds always shut, post box full to the brim, lights always off etc

So set a timer on some of the lights, if you live close by check on the property regularly and pick up the post. If you’re nowhere near the property, asking a neighbour or a friend to keep an eye out or to stop by on a regular basis is a sensible choice.

– If this isn’t an option, installing extra security measures is probably your best bet. There are plenty of security companies in Spain offering everything from reinforced doors to 24-hour surveillance. Even phone and internet provider Movistar now offers security cameras as an add-on to their deals.

– If you’re looking to buy a home in Spain soon which you won’t be living in permanently, consider choosing one in a complex with security guards as an extra precaution from squatters and, of course, burglars.  

Member comments

  1. Definitely affects our future plans for a 2nd home in Spain or Portugal. Maybe just a rental instead. Is there any hope these laws may be changed in the near future?

Log in here to leave a comment.
Become a Member to leave a comment.


What to do about insects and other pests in your home in Spain?

Bugs and insects can sometimes be a problem in Spanish homes, particularly during the summer months. Here's what to do if you get an infestation and how to prevent them from happening.

What to do about insects and other pests in your home in Spain?

Fruit flies buzzing around the bins, cockroaches in the kitchen and ants invading your food cupboards can be a common sight in your Spanish home, more often than not in summer.

But what can you do when insects invade your home? 

What types of pests are common in Spain?

Bugs and insects that commonly invade homes in Spain include fruit flies, ants, stink bugs, cockroaches, pantry moths, plaster bagworms and mosquitoes.

Those who have pets may also have a problem with your animals bringing fleas and ticks into the home too.

READ ALSO: Ticks are proliferating in Spain: How to avoid them and protect yourself

These can cause a nuisance, not only flying around your home and biting you (in the case of mosquitoes, fleas and ticks), but they can get into your food and lay eggs in your cupboards.

How can I get rid of bugs in my home?

One of the most important ways you can keep insects and other bugs out of your home is to eliminate food sources.

This means always doing the washing up as soon as you’ve finished eating so there are no scraps laying around, sweeping kitchens and dining rooms regularly and putting opened food items in the fridge instead of the cupboards.

You also need to make sure you regularly empty your rubbish bin and that there are no gaps between the lid and the bin that flies can get in through.

Dusting, hoovering and general regular cleaning will also keep other insects at bay such as plaster bagworms and moths that lay larvae on your walls and ceiling.

Those with pets should make sure that animals are treated with flea and tick protection and combed through with special flea combs to make sure bugs are not stuck in their fur.

Summer can of course be very hot in Spain, with temperatures regularly in the high 30°Cs or even low 40°Cs in some parts of Andalusia and other regions, meaning that windows and doors are often left open to ensure a breeze. Unfortunately, this means that your home is more accessible to insects too.

If you can, get a fly screen for your doors and windows, so you can leave them open, but no bugs can get in. These fine mesh screens can be bought from hardware or home stores such as Leroy Merlin and can simply be lifted into place when you need them.

If you can’t get screens installed, then consider planting certain plants on windowsills or balconies. Lavender, basil, lemongrass and mint are all natural insect repellents.

Electric fly swats, ant traps and sticky paper can also all help eliminate pests in your home. 

READ ALSO: What venomous species are there in Spain?


When the situation becomes worse, simple everyday cleaning won’t suffice and you may need to use insecticides to kill the infestation. There are many different brands in Spain. Both Protect Home and Compo have several different products you can use.

If you don’t want to use chemical insecticides, natural ones made from white vinegar, citrus plants, or peppermint oil can also work.

Pest control

If the situation becomes completely out of control and you find that insects are not only entering your home but that they are breeding there too, it’s time to call in the professionals. Pest control services are available across Spain.

The first step is to check your home insurance to see if they will cover this service. If they won’t, they may be able to suggest a company that can help.

Otherwise, a quick Google search for ‘Control de plagas’ (pest control) and then your area should provide you with plenty of options.

According to the home website Habitissimo, pest control services in Spain can range from €80 up to €2,000 depending on the type of infestation you have, how serious the problem is and how big your property is. On average it will cost you around €267.