The New Normal in Spain’s Rental Market and Tenant Rights
In recent years, a combination of soaring housing prices, rising lending costs, and declining purchasing power has significantly reduced the ability of Spaniards to buy homes. Consequently, renting has evolved from a temporary stopgap into a long-term housing solution for an increasing number of families. Current data indicates that approximately one-quarter of Spain’s population rents their home, a figure that continues to rise. In this context, the tension between supply and demand in the rental market is growing, placing the rights and responsibilities of tenants and landlords in the spotlight.

The Inviolability of the Home: The Legal Basis for Tenants Changing Locks
For many tenants, a primary security concern after moving in is whether someone else (including the landlord) still has a key to the property. Spanish law provides clear protection on this matter. According to Article 18.2 of the Spanish Constitution, the home is inviolable. Once a rental agreement is officially signed, the property is legally considered the tenant’s lawful residence. This means that, except in specific situations defined by law, no one may enter the home without the tenant’s explicit consent, and the property owner (landlord) is no exception.
Based on this constitutional right, tenants are fully entitled to take necessary measures to protect their personal privacy and home security, which includes changing the locks. This action is considered a reasonable exercise to safeguard a fundamental right, not a structural alteration of the property.
Rights and Responsibilities When Changing Locks
Under the current legal framework, when a tenant decides to change the locks, they are not required to inform the landlord beforehand or obtain their consent. The cost of changing the locks is borne by the tenant. Furthermore, the tenant is under no legal obligation to provide the landlord with a new key. If a landlord enters the property without permission (for instance, during a rent dispute) using a spare key or by force, they could be committing the crime of unlawful entry (trespassing) and would face legal consequences.
The only exception is in the event of an urgent repair that requires immediate attention (such as a burst pipe) when the tenant cannot be contacted. In such a scenario, the landlord’s entry may be justified, but they must later provide sufficient evidence to prove the urgency and necessity of their action.
Responsibilities at the End of the Lease
Although tenants have the right to change the locks during the lease term, they must also be mindful of their obligations when the lease ends. According to the Civil Code, tenants must return the property in a state close to its original condition when they first rented it. Therefore, if the landlord did not agree to the lock change during the tenancy and requests it at the end of the lease, the tenant may be responsible for reinstalling the original lock. To avoid potential disputes, it is advisable for tenants to keep the old lock in a safe place after replacing it.