7 de January de 2026
Reading time 1 minute

Can a tenant change the lock of a rented property in Spain?

Credit Maria Ziegler (Unsplash)

Changing the lock is often one of the first things people consider when moving into a new home, mainly for security reasons. But when the property is rented, many tenants wonder whether doing so is legal, whether the landlord must be informed, or if a spare key needs to be handed over.

Spa.in Press

Spanish law provides clear answers.

A tenant’s right to security

During the term of a rental contract, the property is legally considered the tenant’s home. This grants the tenant the right to protect their privacy and security, which includes changing the lock or cylinder, even without the landlord’s prior consent.

The cost of the replacement must be covered by the tenant, and the change must not cause permanent damage or structural alterations to the property.

Is the landlord’s permission required?

No.
Tenants are not legally obliged to inform the landlord of a lock change, nor can the landlord prohibit it.

That said, from a practical standpoint, informing the landlord is often advisable in order to maintain a transparent and cooperative relationship and avoid potential disputes.

Must the tenant provide a copy of the keys?

Again, the answer is no.

While the contract remains in force, the landlord has no right to access the property without the tenant’s explicit consent. The inviolability of the home is protected under Spanish law.

Any unauthorised entry — except in genuine emergencies — may be unlawful and carry legal consequences.

Can the landlord change the lock?

No.
Under no circumstances may the landlord change the lock of a rented property without the tenant’s consent, not even in cases of unpaid rent or contractual disagreements. Doing so would constitute a serious violation of the tenant’s rights.

What happens when the tenancy ends?

At the end of the rental agreement, the property must be returned in the same condition in which it was delivered. This means that the landlord may request:

  • The reinstallation of the original lock, or

  • The handover of all copies of the new keys, if both parties agree.

For this reason, tenants are advised to keep the original lock or cylinder throughout the tenancy.

Key takeaways

In Spain, tenants are legally entitled to change the lock of a rented property as part of their right to security and privacy. As long as the tenant covers the cost, avoids any damage and restores the property at the end of the contract, the practice is fully lawful.
A small change — but one that can make a significant difference to peace of mind.

Leave a reply

Your email address will not be published.

Previous story

Digital Deception at the Dinner Table: How Artificial Intelligence Is Putting Restaurants in Spain Under Pressure

Next story

When landlords say enough – the beginning of the end

News from Blog

error: Der Inhalt ist geschützt !!
Go to Top