Last updated on 26 November 2026 · 8 min read
In Spain the protection a tenant enjoys depends on what the home is used for, not on the title of the contract. If it is where you live, the lease can last at least five years, or seven when the landlord is a company, the deposit is one month’s rent, the yearly rise is capped and the agency’s fee cannot be charged to you. A temporary let needs a real reason and follows lighter rules. A holiday let is outside the tenancy law altogether. A decree-law of October 2026 tightened the line between the three.
Key facts
- The law. The Urban Leases Act (Law 29/1994), as amended by Royal Decree-law 29/2026, in force since 8 October 2026.
- Main home. Yearly extensions are compulsory for the landlord until the fifth year, or the seventh if the landlord is a legal person.
- Rooms. Renting a room to live in is now a housing lease like any other.
- Temporary lets. Only for a tenant who is away from home for a cause that can be proved.
- Money. One month’s deposit, up to two more as a guarantee, no agency fee and no property taxes for the tenant.
- Leaving early. After six months, with 30 days’ notice and without compensation to the landlord.
Foreign tenants are often offered an eleven-month contract described as temporary. For years that label was used to avoid the five-year rule. The law looks at the facts. If the flat is the place where you actually live, with no other home to return to, the lease is a main-home lease and its protections apply whatever the document says.
In this guide
Three kinds of rental
- The place where the tenant lives
- Five or seven years of protected stay
- Deposit, guarantees and rent rises regulated
- Includes renting a single room
- The tenant is away from the usual home for work, study or another provable cause
- The cause is written into the contract
- The tenant may leave after one month with ten days’ notice
- Extra guarantee limited to one month
- Furnished and marketed for short tourist stays
- Outside the tenancy law
- Governed by regional tourism rules
- Stays capped at 31 days
The reform of October 2026 adds limits to temporary lets. As a general rule they last more than 31 days and no more than twelve months, and a chain of contracts between the same people for the same home is treated as a main-home lease from the first one. A student on a nine-month course or an employee on a six-month posting has a genuine temporary let. A family that has moved to Spain for good does not.
How long you can stay in a main home
The parties are free to agree any term. What the law controls is what happens when that term ends. If it was shorter than five years, the contract is extended year by year until it reaches five, and the landlord cannot refuse. Only the tenant can stop it, by giving 30 days’ notice before the end of a year. When the landlord is a company the figure is seven years.
After the fifth or seventh year the contract does not simply end. Unless the landlord gives four months’ notice, or the tenant two, it continues for up to three more years, one at a time. A tenant in a vulnerable situation can also ask for an extraordinary extension of up to one year, which large landlords must accept.
- Year 1The agreed term. The tenant may leave after six months with 30 days’ notice.
- Years 2 to 5Compulsory yearly extensions. Only the tenant can end them.
- End of year 5The landlord may end the lease with four months’ notice.
- Years 6 to 8If nobody gives notice, up to three further yearly extensions.
- After year 8The lease ends, or the parties sign a new contract.

The money
| Item | Rule for a main home | Article |
|---|---|---|
| Deposit | One month’s rent, in cash, compulsory | 36.1 |
| Extra guarantee | Optional. No more than two months’ rent in contracts of up to five years, or seven with a company landlord | 36.5 |
| Rent default insurance | The tenant can never be required to take it out | 36.5 |
| Agency and contract costs | Cannot be passed on to the tenant, directly or indirectly, under any name | 20.2 |
| Property taxes | Cannot be placed on the tenant | 20.1 |
| Running costs of the building | Can be placed on the tenant only by agreement, with the yearly amount stated in the contract | 20.1 |
| Yearly rent review | Only if the contract provides for it, on each anniversary, and never above the official index for housing leases | 18 |
Before you transfer anything, compare the first payment you are asked for with these limits. Our guide to what to check before paying for a rental goes through it line by line.
A fee with another name is still the agency’s fee. Charges described as contract preparation, administration, tenant profile or key handover are management and formalisation costs. The Act says they cannot be passed on to the tenant under any concept or name.
Repairs and the state of the home
The landlord must carry out, without raising the rent, every repair needed to keep the home fit to live in, unless the tenant caused the damage. Small repairs that come from ordinary daily use are for the tenant. The dividing line is practical.
| Problem | Usually for |
|---|---|
| Boiler, wiring or pipes that fail through age | The landlord |
| Damp, leaks from the roof or the building | The landlord, who may claim from the community of owners |
| Appliances supplied with the flat that stop working through age | The landlord |
| A blocked sink, light bulbs, a worn tap washer | The tenant |
| Anything the tenant or a guest broke | The tenant |
Tell the landlord in writing as soon as a problem appears and keep the message. A tenant who stays silent can be held responsible for the damage that follows. For urgent repairs that prevent serious harm, the tenant may act after informing the landlord and then claim the cost.
Leaving, and getting the deposit back
- Give notice.
In a main-home lease you may leave once six months have passed, with at least 30 days’ written notice. The landlord is not entitled to compensation for it. - Hand back the home.
Agree a date, return every key and sign a short document that records the state of the flat and the meter readings. - Ask for the deposit.
The landlord returns it after deducting unpaid rent or damage beyond normal wear. If a month passes after the keys are returned, the amount earns interest. - If it is not returned.
Claim in writing, then through the consumer or housing mediation service of your region, and in the last resort in court.
If the landlord does not comply
Start with a dated written request, by a method that proves delivery. Most disputes over repairs and deposits end there. If not, regional housing offices and municipal consumer offices offer mediation, and claims for modest sums can be brought in court without a lawyer. Do not stop paying the rent to force a repair. Non-payment is the one ground on which a landlord can end a protected lease quickly.
Example
Three tenants, three regimes
| Lucy | Ahmed | Karin | |
|---|---|---|---|
| Situation | Moved to Valencia with her family and rents a flat as their home | On a seven-month posting in Bilbao, keeps his home in Manchester | Books a furnished flat in Palma for two weeks |
| Contract offered | Eleven months, headed temporary | Seven months, stating the posting | Tourist booking |
| Real regime | Main home | Temporary let | Holiday let |
| How long can they stay | Up to five years if they wish | The seven months | The two weeks |
| Most that can be asked on top of the rent | One month’s deposit and two of guarantee | One month’s deposit and one of guarantee | Whatever the booking terms say |
Lucy’s contract says temporary, but her situation is not. She has no other home and no cause that would end in eleven months, so she is entitled to the yearly extensions.
Mistakes we would check first
- Accepting a temporary contract for a home you intend to live in, and believing it must end on its date.
- Paying an agency fee because everyone does.
- Agreeing to a rent review clause without checking the index it uses.
- Paying the deposit in cash without a receipt, or to someone who is not the landlord.
- Signing without an inventory and photographs of the state of the flat.
- Withholding rent to press for a repair.
Frequently asked questions
How long is a rental contract in Spain?
Whatever the parties agree, but for a main home the tenant may stay for at least five years, or seven if the landlord is a company, through compulsory yearly extensions.
How much deposit can a landlord ask for in Spain?
One month’s rent as the legal deposit, plus an additional guarantee of no more than two months in a main-home lease.
Can a landlord raise the rent every year?
Only if the contract says so, once a year, and never by more than the official reference index for housing leases.
Who pays the estate agent when renting in Spain?
The landlord. Management and contract costs cannot be passed on to the tenant in a housing lease.
Can a foreigner rent a flat in Spain without a NIE?
The law does not require a NIE to sign a lease, and a passport identifies you. In practice landlords and utility companies ask for it, so apply early. See how to get a NIE.
A lease in force is enough to register on the padrón at your new address, and the landlord’s consent is not needed for that.
What to read next
This guide explains the general rules. It is not legal advice for your situation, and each office can ask for more than the minimum. Read our disclaimer.
Written by Estela Cortés Cortillas, lawyer, Barcelona Bar (ICAB no. 47590). Last reviewed on 26 November 2026.