Can I leave the property before the contract ends?

Can I leave the property before the contract ends?
Yes, it is possible to leave a rental agreement early once the first six months of the contract have passed, as established by Article 11 of the Ley de Arrendamientos Urbanos. To do so legally, you must give the landlord at least 30 days' notice, although depending on the signed agreement, you may be liable for proportional compensation.
The right of withdrawal in the Ley de Arrendamientos Urbanos
The legal framework in Spain protects the tenant's right to terminate a lease early. However, for this decision to be fully legal and not constitute a serious breach of contract, certain requirements laid down in current legislation must be met.
The main condition for exercising the right to leave early is that at least six months have elapsed since the signing or coming into force of the tenancy agreement. If you leave the property before completing this minimum period, the law considers it a breach of contract, allowing the landlord to claim payment of rent owed until those first six months are completed or to demand compensation for damages incurred.
Prior notice and mandatory timeframes
In addition to having completed six months of occupancy, the law requires you to notify the landlord of your decision with a minimum of 30 calendar days' notice. This notice must be given in a legally verifiable manner to avoid future disputes regarding the exact date of notification.
The standard methods for delivering this notice securely include the following:
- Burofax with proof of delivery and text certification: This is the most recommended method from a legal standpoint, as it proves both the dispatch and the exact contents of the letter.
- Document signed in person: A letter drawn up in duplicate and signed in person by both parties, indicating the date and time of delivery.
- Certified email: Via digital notification platforms that issue a legally valid certificate of delivery.
Compensation to the landlord: when and how much is paid?
Deciding to leave a rental agreement early does not always involve paying a penalty. Compensation is only mandatory if explicitly agreed upon in a clause within the tenancy agreement. If no such clause appears in the signed document, the tenant will not have to pay any amount to the landlord for leaving after the first six months.
Where compensation is included in the contract, the Ley de Arrendamientos Urbanos caps the maximum amount the landlord can demand. This penalty is equivalent to one month's rent for each remaining year of the contract to be served. If the remaining period is less than one year, the calculation must be made proportionally based on the remaining months.
Practical example of calculating compensation
If you signed a one-year contract with a monthly rent of 800 euros and decide to leave at the end of the eighth month (having fulfilled the minimum six months and given 30 days' notice), four months would remain to complete the year. In this scenario, the maximum compensation would be the proportional share of one month's rent corresponding to those remaining four months, which would amount to a payment of 266.66 euros.
Exceptions where no penalty applies
There are specific situations where a tenant can terminate the tenancy agreement early without paying any compensation, even if such a clause exists in the signed document, and without waiting for the mandatory six months:
- Lack of habitability of the property: If the home suffers from severe defects affecting health or safety (such as structural damp or continuous breakdowns of essential installations) and the landlord fails to carry out the necessary repairs required by law.
- Breach of obligations by the landlord: When the landlord fails to perform maintenance work or interferes with the tenant's quiet enjoyment of the property.
- Mutual agreement between the parties: Landlord and tenant can freely agree to terminate the contract at any time and under whatever conditions they choose, recording this agreement in a termination document.
Legal framework for contract termination by the tenant
Comparison between causes for voluntary withdrawal and termination due to landlord breach under the Ley de Arrendamientos Urbanos.
| Legal criterion | Voluntary withdrawal (Art. 11 LAU) | Termination due to breach (Art. 27.3 LAU) |
|---|---|---|
| Minimum stay required | 6 months completed | No minimum period required |
| Legal notice requirement | Minimum 30 days' notice | Does not require 30 days' notice for legal withdrawal |
| Compensation payment to landlord | Only if agreed in contract (maximum 1 month per remaining year) | No contractual penalty for the tenant |
Legal criterion
Minimum stay required
Voluntary withdrawal (Art. 11 LAU)
6 months completed
Termination due to breach (Art. 27.3 LAU)
No minimum period required
Legal criterion
Legal notice requirement
Voluntary withdrawal (Art. 11 LAU)
Minimum 30 days' notice
Termination due to breach (Art. 27.3 LAU)
Does not require 30 days' notice for legal withdrawal
Legal criterion
Compensation payment to landlord
Voluntary withdrawal (Art. 11 LAU)
Only if agreed in contract (maximum 1 month per remaining year)
Termination due to breach (Art. 27.3 LAU)
No contractual penalty for the tenant
Data extracted from the consolidated text of the Ley de Arrendamientos Urbanos (Law 29/1994).
Considerations for properties in Comunidad de Madrid
Within Comunidad de Madrid, tenancies of social or public protection housing (VPO) have specific regulations regarding maximum rents and extensions. However, regarding unilateral withdrawal by the tenant, the provisions of the Ley de Arrendamientos Urbanos apply generally, always guaranteeing the right to leave after the initial six months.
Steps to formalise your departure from the property
To avoid disputes over the return of the legal security deposit and any additional guarantees after leaving a rental early, we advise following a structured process:
First, thoroughly review the contract to check whether a penalty clause was included. Second, send a legally verifiable notice to the landlord providing the required 30 days' notice. Finally, agree on the exact day for handing over the keys, on which you will draft a tenancy termination agreement reflecting the condition of the property, final utility meter readings and the settlement of the deposit.
From renting a home to purchasing a property
In many cases, the need to end a tenancy arises from the desire to buy your own home. Making the transition from renting to homeownership requires sound financial planning to secure the best mortgage terms.
If your decision to leave a rental agreement early is because you are buying your own home, at Sky Real Estate we support you throughout the entire process via our intermediarios de crédito inmobiliario, who will help you secure the mortgage that best suits your financial capacity.
Frequently asked questions about ending a tenancy
What happens if I leave the property before completing six months?
If you leave the property before the sixth month without a prior agreement with the landlord, they can demand payment of the rent owed up to that minimum period or claim damages if they prove direct financial loss.
Can the landlord keep the security deposit if I leave early?
The legal deposit is not intended to penalise early withdrawal from the contract, but rather to cover potential damages to the property or outstanding utility and rent payments. The landlord may only retain the deposit to settle compensation if explicitly agreed in the final settlement document.
Frequently asked questions about terminating a rental contract early
When can a tenant withdraw from a rental contract according to the law?
Fuente: BOE, Ley 29/1994, de 24 de noviembre, de Arrendamientos Urbanos, art. 11
Is it mandatory to pay compensation when leaving early?
Fuente: BOE, Ley 29/1994, de 24 de noviembre, de Arrendamientos Urbanos, art. 11
What notice periods does the Ley de Arrendamientos Urbanos require?
Fuente: BOE, Ley 29/1994, de 24 de noviembre, de Arrendamientos Urbanos, art. 11
In what cases can a tenant terminate the contract due to landlord breach?
Fuente: BOE, Ley 29/1994, de 24 de noviembre, de Arrendamientos Urbanos, art. 27.3