Key Ruling: Selling a Property Not Grounds for Early Lease Termination
In a landmark ruling on July 2, 2026, the Provincial Court of Madrid established that landlords cannot terminate a residential lease agreement early and require a tenant to vacate on the grounds of planning to sell the property. The court ruled that even if the tenant signed a contract with a clause agreeing to leave upon the property’s sale, this clause is void because it contradicts the mandatory provisions of the law. This decision sets a new precedent for the protection of tenant rights in Spain.
Case Background: An Invalid “Sale Clause”
The case originated from a residential lease contract. In the agreement, a landlady and her tenant stipulated that after the first year, the property would be listed for sale, at which point the tenant would have to vacate unconditionally, explicitly waiving their right to mandatory renewal as provided by Spain’s Urban Leasing Law (Ley de Arrendamientos Urbanos - LAU). When the year was up, the tenant refused to move out, and the landlady sued to forcibly terminate the contract.
The case was initially heard by the Court of First Instance No. 1 of Fuenlabrada, which dismissed the landlady’s claim. The landlady appealed to the Provincial Court of Madrid, but the appeal was ultimately rejected. The court upheld the original ruling and ordered the landlady to pay the legal costs for the appeal.

Legal Analysis: Tenant’s Right to Mandatory Renewal Takes Precedence
The Provincial Court of Madrid detailed the legal basis for its judgment. The court pointed out that Article 6 of the Urban Leasing Law (LAU) states that any contractual clause that harms the tenant’s legal rights is void, unless specifically permitted by the law itself. A tenant’s signature on such a contract does not validate their waiver of these statutory rights.
The court specifically distinguished between “selling the property” and the scenario described in Article 9.3 of the LAU, which allows a landlord to reclaim the property for their own use. The latter is a strict exception, applicable only when the landlord or their immediate family members genuinely need the property as their permanent residence. “Selling the property” clearly does not fall into this category.
Under current law, regardless of the initial term agreed upon in the contract, tenants have the right to a mandatory renewal. If the landlord is an individual (natural person), the tenant has the right to extend the lease for up to a total of 5 years. If the landlord is a legal entity (company), this period extends to 7 years. This renewal is a mandatory obligation for the landlord but an optional right for the tenant.
Implications for New Landlords: “Sale Does Not Break the Lease”
This ruling has significant implications for investors looking to purchase a property with an existing tenancy. According to Article 14 of the Urban Leasing Law, when a rented property is sold, the new owner (the buyer) automatically subrogates the legal position, rights, and obligations of the original landlord in the lease agreement.
This means that even if the original contract contained a “lease terminates upon sale” clause, the new landlord must respect the remainder of the tenant’s mandatory 5- or 7-year term. Before this mandatory period expires, the new landlord also cannot ask the tenant to leave for reasons other than for their own personal use. Therefore, before buying a tenanted property, investors must be fully aware of the remaining mandatory term of the existing lease and factor it into their considerations.