Renting & housing

Leaving a Rental Early in Spain: Penalties and Tenant Rights

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

🇪🇸 Read the original in Spanish

Signing a lease agreement in Spain creates a legal bond that, in principle, obliges both parties to fulfill the agreed term. However, life is unpredictable, and situations such as a job change, a relationship breakup, or financial difficulties can force a tenant to want to leave the property earlier than planned. In the Spanish real estate market, this process is legally known as desistimiento (unilateral termination/withdrawal) and is subject to very strict rules that must be understood in detail to avoid litigation and substantial financial losses.

In the Spanish legal system, the main regulation governing residential rentals is the Ley 29/1994, de 24 de noviembre, de Arrendamientos Urbanos (LAU - Urban Leases Act). To understand how and when you can leave a rental early, we must look directly at its Article 11, which regulates the desistimiento of the contract.

This article establishes the right of the arrendatario (tenant) to unilaterally terminate the contract once certain temporal and formal requirements are met. This is an waivable right for the tenant if the contract is for a vivienda habitual (permanent/primary residence); any clause in the contract that prohibits withdrawal or establishes penalties higher than those permitted by law will be considered null and void for violating Article 6 of the LAU itself (which invalidates agreements made to the detriment of the tenant).

The Requirements of Article 11 of the LAU

For a tenant to legally withdraw from their vivienda habitual rental contract, the following conditions must be met:

  1. Minimum Term Elapsed: At least six months must have passed since the signing of the contract or since its effective start date (whichever is later). If the tenant leaves before these first 6 months, this is not a legal desistimiento, but rather a breach of contract, which entitles the arrendador (landlord) to demand payment of the remaining rent up to that six-month mark, or even the entire year if no withdrawal clause was agreed upon.
  2. Notice in Due Time and Form: The tenant must communicate their intention to withdraw to the landlord at least 30 days prior to the date they will actually vacate the property.

The Penalty for Early Withdrawal: How Much Does It Cost to Leave Early?

Withdrawing from a lease is not always free. The LAU allows parties to agree on an indemnización (compensation/penalty) in favor of the landlord in the event that the tenant decides to leave early. However, this penalty does not apply automatically: it must be expressly written into the rental contract. If the contract does not mention any penalty for desistimiento, the tenant can leave after 6 months and with the 30 days' notice without having to pay any compensation.

If the penalty is agreed upon in the contract, the law strictly limits its maximum amount using a mathematical formula:

What About Seasonal Contracts or Commercial Leases?

It is essential to distinguish a vivienda habitual rental from other types of leases. Seasonal rentals (for example, students or workers relocated for a few months) and leases for use other than housing (commercial premises or offices) are not governed by Article 11 of the LAU.

In these cases, what the parties agreed upon in the contract applies, and failing that, the Código Civil (Civil Code) applies (especially its Article 1124 on the resolution of reciprocal obligations). In these contracts, if the tenant leaves early without a justified cause, the owner can demand full compliance with the contract (the payment of all remaining rent) or termination with damages, which is usually much higher than in a residential rental.

Practical Examples of Penalty Calculations

To understand how the pro-rata compensation works, we will analyze two common scenarios in the Spanish rental market.

Example 1: María's Case (1-Year Contract)

Example 2: Carlos's Case (3-Year Contract)

Step-by-Step Practical Steps to Leave Your Rental Safely

Leaving a rental property is not simply a matter of packing your bags and returning the keys. To prevent the landlord from improperly withholding the fianza (security deposit) or claiming future rent, a formal and documented protocol must be followed.

``` +-----------------------------------------------------------------+ | ROADMAP | | | | 1. Review Contract -> 2. Notification (30 days' notice) | | | | 3. Joint Inspection -> 4. Signing the Handover Document | +-----------------------------------------------------------------+ ```

Step 1: Review the Rental Contract

Before making any decisions, locate your contract and check:

Step 2: Draft and Send the Withdrawal Notice

The communication must be made in writing and in a verifiable manner (proving both receipt and content). The safest method in Spain is the burofax (certified mail with proof of delivery and certified text), although a document signed in duplicate by both parties (with the date and the landlord's signature as "received") is also valid.

The letter must clearly state:

Step 3: Conduct a Visual Inspection of the Property

A few days before handing over the keys, clean the property and take detailed photographs and videos of all rooms, appliances, and furniture. This will serve as irrefutable proof of the state of conservation of the property in case the landlord tries to claim non-existent damages to keep the fianza.

Step 4: Sign the "Document of Contract Termination and Key Handover"

This is the most crucial step of the entire process. On the day of the key handover, both parties must meet at the property to sign this document in duplicate (documento de terminación de contrato y entrega de llaves). It must state:

Mistakes to Avoid When Leaving a Rental Early

Making mistakes during the exit phase can lead to serious financial consequences and drag you into a court claim for payment under the Ley de Enjuiciamiento Civil (LEC - Civil Procedure Act).

Frequently Asked Questions (FAQ)

What happens if I have to leave before 6 months due to force majeure (e.g., job loss)?

Spanish legislation is very rigid in this regard. The LAU does not contemplate personal or economic "force majeure" as a ground for exonerating the tenant. If you leave before 6 months, you are legally breaching the contract. However, it is always advisable to negotiate with the owner and put a mutual termination agreement in writing to avoid lawsuits.

Has the 2023 Housing Law changed the rules of withdrawal?

No. The Ley 12/2023, de 24 de mayo, por el derecho a la vivienda (Housing Law) introduced significant modifications regarding contract extensions, stressed areas (zonas tensionadas), and real estate agency fees (which must now always be paid by the landlord), but it did not modify Article 11 of the LAU. The rules of 6 months, the 30 days' notice, and the penalty limits remain exactly the same.

Can the landlord keep the deposit as a penalty for early withdrawal?

Only if two conditions are met: that the penalty for withdrawal was agreed upon in the contract and that the amount of said penalty matches the amount of the fianza (or that the tenant expressly authorizes in writing that one debt be offset against the other). The landlord cannot confiscate the fianza unilaterally and arbitrarily under the generic pretext that "you left early," unless they apply the pro-rata formula of Article 11 described above.

What happens if there are several tenants and only one wants to leave the flat?

This is a complex scenario that depends on how the contract is drafted. If the contract establishes joint and several liability (responsabilidad solidaria, which is standard in shared flats), the withdrawal of one of the tenants can be considered by the landlord as the termination of the entire contract. For the contract to continue with the remaining tenants, an anexo de novación subjetiva (addendum for subjective novation) must be signed with the express consent of the owner, modifying the composition of the tenants.

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.