Renting & housing

Tenant rights in Spain: a guide for foreigners

By the AbogadoAI editorial team · Updated 18 July 2026 · 12 min read

Navigating the rental market in a foreign country can feel like walking through a bureaucratic maze. For expats and foreign residents in Spain, securing a home is often the first major milestone, but it is also one where newcomers are most vulnerable to scams, unfair contract clauses, and misunderstandings. Spain’s rental laws are highly protective of tenants, but to benefit from these protections, you must understand your rights and the legal framework that governs them.

This comprehensive guide breaks down Spanish rental law into clear, actionable information, ensuring you can rent with confidence and protect your home, your deposit, and your peace of mind.

Renting residential property in Spain is primarily governed by the Urban Leases Act (Ley 29/1994, de 29 de noviembre, de Arrendamientos Urbanos, commonly referred to as the LAU). Over the years, the LAU has undergone several amendments, most notably by Royal Decree-Law 7/2019 and, more recently, by the landmark Law 12/2023 on the Right to Housing (Ley 12/2023, de 24 de mayo, por el derecho a la vivienda), which introduced significant changes to rental caps, agency fees, and eviction procedures.

To understand your rights, you must first distinguish between the two main types of rental contracts in Spain:

  1. *Long-Term Rental Contracts (Contrato de arrendamiento de vivienda habitual):* These contracts cover your primary, permanent home. They are heavily regulated by the LAU, granting tenants extensive rights, including automatic lease renewals.
  2. *Seasonal Rental Contracts (Contrato de arrendamiento de temporada): These are temporary rentals (e.g., for students, digital nomads, or workers on a temporary assignment). They are governed primarily by the mutual agreement of both parties and the Spanish Civil Code (Código Civil*), meaning they do not carry the same protective renewal rights as a permanent housing contract.

Note: This guide focuses primarily on long-term rental contracts (vivienda habitual), as they provide the core legal protections for foreign residents establishing their lives in Spain.

Core Tenant Rights Under the LAU and Law 12/2023

As a tenant under a long-term contract in Spain, the law grants you several non-negotiable rights. Any clause in your rental agreement that contradicts these statutory rights is considered null and void (nulo), even if you signed it.

1. Right to Automatic Contract Renewal

Under Article 9 of the LAU, if you sign a long-term rental contract, you have the right to renew the lease annually for up to 5 years (if your landlord is an individual) or up to 7 years (if your landlord is a legal entity, such as a company or investment fund).

These renewals are automatic and at the sole discretion of the tenant. The landlord cannot refuse to renew the contract during this period unless they officially notify you of their need to reclaim the property for themselves or first-degree relatives (parents, children, or spouse) after the first year has passed. This intent must be communicated to you at least 2 months in advance.

2. Right to Terminate the Contract Early (Right of Withdrawal)

According to Article 11 of the LAU, you have the right to terminate the rental agreement after the first 6 months have passed, regardless of the overall duration written into the contract.

To exercise this right, you must give your landlord at least 30 days' written notice. The contract may specify a penalty for early termination, but by law, this penalty cannot exceed 1 month's rent for every year of the contract left unfulfilled (pro-rated for periods shorter than a year). If no such penalty clause is written into the contract, you do not owe any compensation.

3. The Right to Have the Landlord Pay Agency Fees

Prior to May 2023, real estate agencies in Spain routinely charged tenants a fee (usually equivalent to one month's rent plus VAT) for finding a flat. Under Law 12/2023, this practice is strictly prohibited for long-term rentals.

The law explicitly states that the expenses of real estate management and formalising the contract must be paid entirely by the landlord (arrendador), regardless of whether they are an individual or a company.

4. Rent Caps and Annual Rent Increases

Your rent cannot be increased arbitrarily. Under Article 18 of the LAU, rent can only be updated once a year, on the anniversary of the contract. Furthermore, the increase is legally capped:

5. Habitability and Necessary Repairs

Under Article 21 of the LAU, the landlord is legally obligated to carry out and pay for all repairs necessary to keep the property in a habitable condition, unless the damage was caused directly by the tenant. This includes fixing structural issues, plumbing, electrical systems, and major appliances (like the boiler or washing machine).

The tenant is only responsible for minor, day-to-day maintenance repairs resulting from normal wear and tear (typically defined as repairs costing less than €150).

Practical Steps: Securing a Rental and Registering Your Tenancy

To ensure your tenancy is fully legal and your rights are protected, you must follow specific administrative steps.

``` Step 1: Sign the Written Contract & Pay the Deposit (Fianza) │ ▼ Step 2: Landlord Deposits the Fianza with the Regional Authority │ ▼ Step 3: Register at the Local Town Hall (Empadronamiento) │ ▼ Step 4: Set Up Utility Bills in Your Name ```

Step 1: Draft and Sign a Written Contract

While verbal contracts are technically legal in Spain, they are incredibly difficult to prove. Always insist on a written contract in Spanish. If you do not speak Spanish, obtain a certified translation, but remember that the Spanish version is the legally binding document. Ensure the contract clearly states it is for vivienda habitual (permanent housing).

When signing, you are legally required to pay a security deposit (fianza) equivalent to 1 month's rent for residential properties (or 2 months' rent for seasonal or non-residential use).

The landlord can request additional financial guarantees (such as a bank guarantee or an extra deposit), but under the LAU, this additional guarantee cannot exceed 2 months' rent. Therefore, the absolute maximum upfront financial security a landlord can demand is 3 months' rent (1 month of legal fianza plus 2 months of additional guarantee).

Step 3: Verify the Deposit Registry

In Spain, landlords are legally required to deposit your fianza into an official registry run by the regional government (for example, IVIMA in Madrid, INCASÒL in Catalonia, or AVRA in Andalusia). This keeps your money safe in a public escrow account.

Ask your landlord for proof of this deposit within 30 days of signing. This step is crucial, as you will need the deposit certificate to claim rental tax deductions on your Spanish tax return.

Step 4: Register on the Town Hall Census (Empadronamiento)

Once you have signed your contract, you must register your residency at the local town hall (ayuntamiento). This process is called the empadronamiento, and the certificate you receive is the volante de empadronamiento.

Concrete Worked Examples

To illustrate how these laws protect you in real-world scenarios, let us look at two common situations faced by expats.

Example 1: The Early Move-Out (Right of Withdrawal)

Anna, a digital nomad from Sweden, rents a flat in Valencia for €1,200 per month. Her contract is a long-term lease with a duration of 1 year, starting on January 1st. The contract contains a clause stating: "If the tenant leaves before the 1-year contract ends, they must pay the remaining months of rent as a penalty."

In July, after living in the flat for 7 months, Anna receives a job offer in Germany and must leave Spain. She gives her landlord written notice on July 15th, stating she will vacate the property on August 31st (giving more than the required 30 days' notice).

$$\text{Penalty} = \frac{\text{1 month's rent (€1,200)}}{\text{12 months}} \times \text{4 unfulfilled months} = \text{€400}$$ The landlord can legally deduct €400 from her deposit, but must return the remaining €800 of the fianza.

Example 2: The Broken Boiler (Necessary Repairs)

Liam, an expat from Ireland, rents an apartment in Seville for €950 per month. In the middle of January, the central heating boiler stops working due to age and limescale buildup. The technician quotes €800 to replace the heating element. The landlord refuses to pay, arguing that Liam is currently using the apartment and therefore must pay for the maintenance.

Common Mistakes to Avoid

Frequently Asked Questions (FAQ)

Can my landlord enter my apartment without my permission?

No. Under Article 18.2 of the Spanish Constitution, the home is inviolable (inviolabilidad del domicilio). Once you rent a property, it becomes your private home. The landlord cannot enter without your explicit, prior consent, even if they want to inspect the property or show it to prospective buyers. Doing so without permission constitutes a criminal offence (trespassing).

How long does the landlord have to return my deposit (fianza)?

Under Article 36.4 of the LAU, the landlord has 30 days (one month) from the day you hand over the keys to inspect the property, calculate any deductions for damage, and return the remainder of your deposit. If they take longer than 30 days to return the money, the deposit begins to accrue legal interest, which you have the right to claim.

What happens if the landlord sells the flat while I am living there?

Your tenancy is protected. Under Article 14 of the LAU, if the property is sold, the new buyer must respect your existing rental contract and its terms until the mandatory 5-year (or 7-year) period has concluded. The new owner simply steps into the shoes of your previous landlord.

Can the landlord increase my rent because they did renovations?

Only under specific conditions. Under Article 19 of the LAU, the landlord can only increase the rent for improvements after the mandatory 5 or 7 years of the contract have passed, unless both parties sign an agreement stating otherwise. Even then, the increase is legally capped and cannot exceed 20% of the current rent. Routine repairs to keep the flat habitable do not count as improvements and cannot be used to justify a rent hike.

Can I sublet a room in my rented apartment?

Under Article 8 of the LAU, subletting (subarriendo) is strictly prohibited unless you have the express, written consent of the landlord. If you sublet a room without this written permission, the landlord has legal grounds to terminate your contract immediately and evict you.

In summary

General legal information, not personalised legal advice. For your specific situation, ask your question for free at AbogadoAI — answers grounded in Spanish law (BOE), in English.

Have a specific legal question?

Ask AbogadoAI and get an answer based on Spanish law (BOE), with sources — in English.

Ask for free

This is general information, not legal advice. Verify on the BOE or consult a lawyer for your specific case.