I just moved to Spain and have been looking for an apartment in Madrid recently. After talking to several landlords about contracts, I found their answers varied wildly. Some said I could only sign for one year, others said a maximum of five, and some even mentioned seven years. It got me completely confused: what is the actual maximum duration for a rental contract here in Spain? Worried about being taken advantage of by unscrupulous landlords, I did some research and consulted a friend who knows the law. I’m sharing what I learned here, hoping it can help others who are just as puzzled.

Understanding the Core: Differentiating Landlord Types
The most crucial point is that the contract duration stipulated by Spain’s Urban Leasing Law primarily depends on whether the landlord is a private individual or a legal entity (company). This directly determines the minimum protected term of your contract, often referred to as the ‘right to mandatory renewal’.
Simply put, the law provides tenants with a stable guarantee. Even if you sign a one-year contract, as long as you pay rent on time and don’t breach the contract, you have the right to request renewals until the maximum legal term is reached. The landlord cannot arbitrarily evict you within this period, unless they have a specific and legitimate reason to reclaim the property for their own use, and they must notify you in advance before the contract expires.
Individual Landlord vs. Corporate Landlord
To make it clearer, I’ve created a simple table for comparison:
| Landlord Type | Maximum Mandatory Renewal Term | Explanation |
| Individual Landlord | 5 years | For example, if you sign a 1-year contract, you have the right to renew it annually for up to 5 years. |
| Corporate Landlord | 7 years | If the landlord is a company, this mandatory renewal protection period is longer, extending to 7 years. |
After this 5 or 7-year period expires, if neither party objects, the contract can be automatically extended for up to another 3 years. This is called ‘tacit renewal’. So, in theory, once a contract is established, it’s entirely possible to stay for 5+3=8 years or 7+3=10 years, which speaks to the [maximum rental contract duration]!
What About Short-Term and Seasonal Contracts?
So, does this rule apply to all contracts? Not exactly. The above applies to long-term housing leases. If you are renting a seasonal property or for short-term reasons like studying or temporary work, the contract terms are much more flexible and typically do not fall under the 5 or 7-year mandatory renewal rule. Therefore, when signing Spanish rental agreements, it’s crucial to check whether the contract is for a ‘vivienda habitual’ (primary residence) or ‘de temporada’ (seasonal). The nature of the contract makes a huge difference in your rights! Don’t let a landlord use a seasonal contract as a guise to evade their legal responsibilities for long-term rentals.