Spain's Housing Law (Ley 12/2023): What Changed for Tenants and Landlords
Updated 7 November 2026 · 8 min read
Flat Spain's summary of Ley 12/2023, the housing law in force since 26 May 2023: agency and contract costs on a home lease are now the landlord's; regions can declare rent-controlled zones (zonas tensionadas) where rents on new leases are capped and tenants get up to three extra years; annual rent updates follow a new official index (the IRAV, published by the INE) instead of the CPI; large landlords (more than 10 homes, or 5 in a declared zone where the region says so) face extra limits; and landlords get income-tax relief for letting at moderate rents. Later laws have built on it, including the October 2026 decree, so check the date of anything you read.
The changes, side by side
| Change | Tenant | Landlord | Rule |
|---|---|---|---|
| Agency and contract costs | No longer pays them on a home lease | Pays them | LAU art. 20.1, from 26 May 2023 |
| Rent-controlled zones | Capped rent on new leases; up to 3 extra years | Rent limited to the previous lease, or the official index for large landlords | Ley 12/2023 art. 18; LAU art. 10.2 |
| Annual rent update | Capped by the IRAV index | Can only update by the index if the contract allows | Ley 12/2023, IRAV from 2025 |
| Large landlords (grandes tenedores) | Stronger protections | More than 10 homes (or 5 in a zone, if the region decides): extra limits | Ley 12/2023 art. 3 |
| Landlord income tax | n/a | Relief on net rental income of 50% to 90% depending on conditions | IRPF law art. 23.2, as amended |
| Advertising | Must see the previous rent in zones | Must state it in zones, and the energy rating everywhere | Ley 12/2023 art. 31 |
| Evictions of vulnerable households | Social services must be notified; longer timelines | Longer and more complex proceedings | Ley 12/2023 final provisions |
Ley 12/2023: what changed, and for whom
For tenants: the three changes that matter most
- You should not pay an agency fee on a home lease. If you are asked, ask which law allows it
- Check whether your address is in a declared rent-controlled zone; if it is, the rent on a new lease is capped and you can ask for extra years when the lease ends
- Your annual rent rise is capped by the official index, and while the October 2026 decree is in force, by 2% unless you agree otherwise
For landlords: what you must now do
- Pay the agency fee and contract costs on a home lease
- In a declared zone, state the previous rent and do not exceed it on a new lease (with limited exceptions), or the index if you are a large landlord
- Lodge the tenant's deposit with the regional deposit body
- Have a valid energy certificate and show the rating in the advert
- Claim the rental income tax relief that applies to your lease
What it does not change
The basic structure of a home lease is the LAU's, as reformed in 2019: one month's deposit, at most two more months of guarantee, the tenant's right to extend to five years (seven with a company landlord), and the right to leave after six months with 30 days' notice. The housing law added to that framework rather than replacing it.
Flat Spain's scam screen flags listings that break the rules in the most common ways, such as a deposit requested before any viewing or a seasonal contract offered for what is plainly a long-term home.
Frequently asked questions
What is the Spanish housing law of 2023?
Ley 12/2023, in force since 26 May 2023. It moved agency and contract costs to landlords on home leases, allowed regions to declare rent-controlled zones, created the IRAV index for rent updates, set extra rules for large landlords and changed landlord income-tax relief.
Who pays the estate agent in Spain since 2023?
On a home lease, the landlord. LAU article 20.1, amended by Ley 12/2023, puts property-management and contract-formalisation costs on the landlord.
What is a large landlord (gran tenedor) in Spain?
Under Ley 12/2023, someone who owns more than 10 urban residential properties (or more than 1,500 m² of residential space), or, where a region decides, 5 or more homes in a declared rent-controlled zone.
Does the housing law apply to seasonal rentals?
The agency-fee rule and most home-lease protections apply to habitual-residence leases. Seasonal lets are governed differently, and the October 2026 decree tightened the conditions for calling a let seasonal.
Let Flat Spain do the searching for you
Describe your ideal home in plain English. Flat Spain automatically searches five platforms at once, puts every listing through the Flat Spain Scam Screen, and delivers a ranked shortlist, usually in minutes.
Start my search