The Ley de Vivienda in Spain: What Ley 12/2023 Actually Changed (2026)

Ley 12/2023, de 24 de mayo, por el derecho a la vivienda, is the law behind most of what changed in Spanish tenancy in the last three years: the gran tenedor label, the zonas tensionadas, and who pays the agent. It is a national framework, but a large part of what it does only switches on once a regional or local administration activates it. This page separates what applies everywhere from what depends on where the property sits.
Information last verified on 23 July 2026. This page provides general legal information about Spanish law and does not constitute legal advice in an individual case.
Who counts as a gran tenedor
A gran tenedor, in the sense the law uses across its provisions, is a natural or legal person who owns more than 10 urban properties for residential use, or more than 1.500 square metres of residential built area, with garages and storage rooms (trasteros) excluded from that count (art. 3.k Ley 12/2023).
Inside a zone that has actually been declared a zona de mercado residencial tensionado, the comunidad autonoma responsible for the declaration may particularise that definition down to owners of 5 or more urban residential properties located in that zone, provided the lower threshold is justified in the declaration's own memoria justificativa. Outside a declared zone, the general 10-property or 1.500-square-metre threshold is what applies.
The status matters because several of the law's other mechanisms are keyed to it directly: the mandatory extraordinary lease extension for vulnerable tenants under the rental contract rules applies specifically to gran tenedor landlords, and eviction claims have carried a duty to state whether the claimant is a gran tenedor, a filing requirement that has itself been partly struck down by the Tribunal Constitucional, discussed below.
Zonas de mercado residencial tensionado: what triggers the label
Art. 18 of the law lets the housing administration that is competent in each case, which in practice usually means the comunidad autonoma or a local authority acting within its own powers, declare a zona de mercado residencial tensionado wherever there is a special risk that housing supply will not be sufficient or affordable for the resident population.
A declaration is not a simple announcement. It has to be preceded by a preparatory procedure that gathers data on rental and sale prices and their evolution, alongside household income indicators that together let the administration measure how much of a household's income housing actually costs in that area. The declaration then has to go through a public information phase, during which the underlying data and studies are made available before the declaration takes effect.
This page does not list which comunidades have declared zones and where, because that map keeps changing as regions act on their own timelines. The qualifying criteria themselves are national (art. 18.3): the declaration must document that average housing cost plus basic supplies exceeds 30 percent of average household income in the area, or that prices grew at least three percentage points above the regional CPI over the previous five years. If you need to know whether a specific address falls inside a declared zone, the accurate answer comes from that comunidad's own housing department.
Agency fees move to the landlord
One change applies nationally and unconditionally: gestion inmobiliaria fees and the costs of formalising the rental contract are now the landlord's expense, not the tenant's (art. 20 LAU, as amended by the law's disposiciones finales). Before the reform, it was common practice for the tenant to pay the agency that found and managed the property; the amended article reallocates that specific cost to the landlord regardless of what the parties might otherwise agree.
This does not touch the separate rules on gastos generales, the running costs of the property itself, which the parties can still agree to pass to the tenant under conditions covered on the rental contract page. The agency-fee rule is narrower and specific to who pays the intermediary and the paperwork of setting the contract up.
How this connects to eviction
The gran tenedor concept and the vulnerability protections this law strengthened both surface again in court. Eviction claims for non-payment now have to state whether the property is the occupant's habitual home and whether the claimant is a gran tenedor, and courts can suspend a case for two to four months while social services assess vulnerability. Part of the original documentation requirement was struck down as unconstitutional by the Tribunal Constitucional in early 2025 (STC 26/2025). The full mechanics live on the eviction page.
The new rent-reference index
The law also instructed the INE, Spain's national statistics institute, to define a reference index for annual rent updates, meant to replace the old practice of tying increases to general inflation and to curb disproportionate rent rises. That mandate is now live and produces a monthly published figure that applies to contracts signed after the law took effect. Because that figure changes every month, it gets its own explanation, with the current value, on the rent increase page.
What this means in practice
Two pieces of this law reach every rental in Spain regardless of geography: the gran tenedor definition and the shift of agency fees onto the landlord. The rest, the zone declarations and the measures that follow from them, only bite where a comunidad autonoma has actually declared a zone and only for as long as that declaration stands. Treat any claim that a specific street or neighbourhood is or is not tensionado as a question for that region's housing authority, not as something the national text answers on its own.
This page is general legal information about Spanish law and does not constitute legal advice in an individual case. The controlling texts are the current versions in the BOE.
Frequently Asked Questions
What is Spain's Ley de Vivienda?
It is Ley 12/2023, de 24 de mayo, por el derecho a la vivienda, a national framework law that introduced the gran tenedor category, the mechanism for declaring stressed housing market zones, moved agency fees onto landlords, and mandated a new reference index for rent updates. Several of its measures only take effect once a regional or local authority activates them.
Who counts as a gran tenedor under Spanish law?
A person or company owning more than 10 urban residential properties, or more than 1.500 square metres of residential built area, excluding garages and storage rooms. Inside a declared stressed zone, a comunidad autonoma can lower that to 5 or more properties in the zone if it justifies the lower threshold.
What is a zona de mercado residencial tensionado?
A residential area a competent housing administration has formally declared to be at special risk of insufficient or unaffordable housing supply, after a preparatory study of prices and household income and a public information phase. Its practical effects, like rent limits and extended lease protections, only apply inside zones that have actually been declared.
Who pays the real estate agent's fee in Spain now?
The landlord. Since the reform of art. 20 LAU, gestion inmobiliaria fees and the costs of formalising the contract are the landlord's expense by law, regardless of any agreement to the contrary.
Does the Ley de Vivienda apply the same way everywhere in Spain?
No. The gran tenedor definition and the agency-fee rule apply nationally. The zone declarations, and everything that depends on them, apply only where a comunidad autonoma or local authority has actually declared a zona tensionada, which is a regional decision that varies by area and over time.
Sources and References
- Ley 12/2023, de 24 de mayo, por el derecho a la vivienda, art. 3.k) (definicion de gran tenedor)(boe.es).gov
- Ley 12/2023, art. 18 (declaracion de zonas de mercado residencial tensionado)(boe.es).gov
- Ley 29/1994, de Arrendamientos Urbanos, art. 20 (gastos de gestion inmobiliaria a cargo del arrendador)(boe.es).gov
- Ley 29/1994, de Arrendamientos Urbanos, disposicion adicional undecima (creacion del indice de referencia para la actualizacion de alquileres)(boe.es).gov