Renting & housing

Ending a rental contract early in Spain: notice and penalties

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

Moving to Spain is a dream for many expats, but navigating the local rental market can quickly become a bureaucratic headache. Whether you have found a better apartment, are relocating for work, or need to return to your home country, ending a rental contract early in Spain is not as simple as just packing your bags and handing over the keys. Under Spanish law, tenants and landlords are bound by strict legal frameworks, and breaking a lease incorrectly can result in severe financial penalties or prolonged legal disputes. This comprehensive guide will walk you through the legal requirements, deadlines, penalties, and practical steps to legally terminate your Spanish rental contract early without losing your deposit.

To understand your rights and obligations as a tenant in Spain, you must look at the primary legislation governing residential leases: the Urban Leases Act (Ley 29/1994, de 24 de noviembre, de Arrendamientos Urbanos, commonly known as the LAU).

While the Civil Code (Código Civil) acts as a supplementary law, the LAU is the absolute authority on residential rentals (arrendamiento de vivienda). It is also important to note that Spain's recent Law 12/2023 on the Right to Housing (Ley 12/2023, de 24 de mayo, por el derecho a la vivienda) introduced several changes to the rental market—primarily regarding rent caps, agency fees, and eviction procedures—but it did not alter the fundamental rules for early termination established by the LAU.

Under the LAU, there is a crucial distinction between a long-term residential lease (contrato de arrendamiento de vivienda habitual) and a seasonal, short-term lease (contrato de temporada). This guide focuses on long-term residential leases, which are designed to cover the tenant's permanent housing needs.

The Legal Right to Terminate: Article 11 of the LAU

As an expat, you might assume that if you sign a one-year contract, you are locked in for the full 12 months. However, Spanish law heavily protects the tenant.

According to Article 11 of the LAU, tenants have a legal right to withdraw from a long-term rental contract (desistimiento del contrato) once a specific timeframe has passed, regardless of what the contract says.

To exercise this legal right of early termination, you must meet two strict cumulative conditions:

  1. The Minimum Duration: You must have completed at least six months of the tenancy.
  2. The Notice Period: You must give your landlord a minimum of 30 days' prior notice before your intended departure date.

If you fulfill these two conditions, the landlord cannot force you to stay in the property, nor can they sue you for "breach of contract" for the remaining months of the lease. However, they may be entitled to financial compensation, which we will detail below.

What happens if you leave before the 6-month mark?

If you decide to leave the property before completing the first six months, you are technically in breach of contract. In this scenario, the landlord can legally demand that you pay the rent for the remaining months up to the six-month threshold, or even for the entire remaining duration of the contract if no agreement is reached. Courts generally rule that the tenant must pay the rent up to the sixth month, plus any applicable penalties.

While you have the legal right to walk away after six months, it might not be entirely free. Landlords are legally permitted to write a penalty clause into the rental agreement.

Under Article 11 of the LAU, the contract may stipulate that, in the event of early termination, the tenant must compensate the landlord. This penalty is strictly capped by law:

A landlord cannot simply invent this penalty when you give notice. The penalty is only applicable if it was explicitly written into your rental contract when you signed it. If your contract does not contain a clause mentioning compensation under Article 11 of the LAU, you can terminate the contract after six months with 30 days' notice and owe absolutely zero penalty.

Concrete Worked Examples

To make these rules clear, let us look at two common scenarios faced by expats in Spain.

Example 1: Anna's Smooth Exit (With Penalty Clause)

Anna, a digital nomad, signed a 12-month rental contract for an apartment in Valencia with a monthly rent of €900. Her contract includes the standard Article 11 penalty clause. After living there for eight months, she receives a job offer in Germany and decides to leave.

$$\text{Penalty} = \frac{\text{Monthly Rent}}{12 \text{ months}} \times \text{Remaining Months}$$ $$\text{Penalty} = \frac{€900}{12} \times 4 = €75 \times 4 = €300$$

Example 2: Thomas's Costly Mistake (Leaving Before Six Months)

Thomas rents a flat in Madrid for €1,200 per month on a standard one-year lease. After just four months, he decides he does not like the neighborhood and wants to move. His contract contains the standard early termination penalty clause.

$$\text{Penalty} = \frac{€1,200}{12} \times 6 = €600$$

Step-by-Step Guide to Terminating Your Contract

If you have decided to end your rental contract early, you must follow a formal, legally recognized process. Do not rely on WhatsApp messages, casual phone calls, or verbal agreements. In Spain, written proof is everything.

Step 1: Review Your Rental Agreement

Locate your original contract and check for two specific details:

Step 2: Draft and Send the Official Notice

You must notify your landlord in writing at least 30 days before the date you intend to move out. The safest and most legally robust way to do this in Spain is via a Burofax.

A Burofax is a service provided by the Spanish post office (Correos) that legally certifies both the delivery and the exact content of the document sent. If your landlord later claims they never received your notice, a Burofax is indisputable proof in a Spanish court. Alternatively, you can hand-deliver the letter and have the landlord sign two copies (one for you to keep) with the text "received on [Date]" (recibido el [Fecha]).

Step 3: Arrange the Property Inspection

Schedule a final walk-through of the property with the landlord or the rental agency on your final day. This is your opportunity to prove that you are returning the property in the same condition you received it, minus normal wear and tear.

Step 4: Sign the Termination Agreement (Documento de Resolución de Contrato)

On the day you hand over the keys, both parties must sign a contract termination agreement. This document is vital. It must state:

Step 5: Recover Your Deposit

Under Spanish law, the landlord has 30 days from the signing of the termination agreement to calculate utility bills, assess damages, and return your deposit. The deposit must be held in an official regional registry (such as IVIMA in Madrid or Incasòl in Catalonia) during the tenancy, and the landlord must request its release to refund you.

Common Mistakes to Avoid

Expats in Spain frequently fall into legal traps when trying to end a lease early. Avoid these common mistakes to protect your finances and peace of mind:

Frequently Asked Questions (FAQ)

Can my landlord evict me early if they need the property?

Yes, but only under very strict conditions. According to Article 9.3 of the LAU, after the first year of the contract has passed, the landlord can terminate the lease early if they have a personal, urgent need to occupy the property as their permanent home (or for first-degree relatives or their spouse in the event of divorce). The landlord must give you at least two months' written notice, and this right must have been explicitly stated in the contract when it was signed.

What happens if I have to leave Spain suddenly due to a force majeure event?

Under Spanish law, "force majeure" (fuerza mayor) is interpreted very strictly by the courts. Sudden job loss, a company relocation, or personal family emergencies are generally not considered legally valid force majeure events that exempt you from the six-month minimum stay or the 30-day notice period. You will still be liable for the rent up to the sixth month and any contractual penalties unless you negotiate a mutual agreement with your landlord.

Can I negotiate a shorter notice period or a lower penalty?

Absolutely. The LAU sets the maximum legal penalties and minimum notice periods to protect tenants, but you and your landlord are always free to reach a mutual agreement (mutuo acuerdo) that is more favorable to you. If you need to leave early, talk to your landlord; they may agree to waive the penalty if you help them find a suitable replacement tenant to move in immediately after you leave. Always get any such agreement in writing.

What can I do if my landlord refuses to return my deposit?

If 30 days have passed since you signed the termination agreement and the landlord has not returned your deposit (or provided a justified, itemized list of deductions for damages), they are legally in default and interest will begin to accrue. You should first send a formal demand letter via Burofax. If they still refuse to pay, you can take them to court. In Spain, for claims under €2,000, you do not legally require a lawyer or court solicitor (procurador), making the legal process relatively accessible and inexpensive.

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.