Skip to content
Briefings are running a touch slower this week while we rebuild the foundations.See roadmap
L1
LegislationES

Ley 12/2023 de 24 de mayo

Spain's 2023 Housing Rights Law (Ley por el Derecho a la Vivienda), enacted 24 May 2023, establishing tenant protection, rent-control areas, and the legal basis for subsequent rental decrees.

Last refreshed: 30 April 2026 · Appears in 1 active topic

Key Question

Why can Spain build but not cap rents under its own housing law?

Timeline for Ley 12/2023 de 24 de mayo

View full timeline →
Common Questions
What does Spain's Housing Act say about rent caps?
Article 17 allows CCAA to cap rents at IPCA or a special index in declared stressed rental zones; PP-governed regions including Madrid have not declared such zones, leaving residents outside the cap.Source: BOE / Ley 12/2023
Why did Spain's rent freeze fail in Congress in April 2026?
The progressive Coalition lacked a majority to extend emergency rent caps; Junts and other regional parties withdrew support, reflecting the fragmentation of Sanchez's parliamentary base.Source: El País

Background

Ley 12/2023 de 24 de mayo (the Ley de Derecho a la Vivienda, or Spanish Housing Act) is the first national housing law Spain has enacted since the 1978 Constitution. It passed Congress on 17 May 2023 with a narrow majority, relying on support from regional nationalist parties, and was published in the BOE on 25 May 2023. The law establishes housing as a constitutional right, requires CCAA to identify and regulate stressed rental zones (zonas de mercado residencial tensionado), and sets the legal framework within which state housing plans must be drawn up.

The law contains the rent-cap mechanism that Spain's Congress voted on in late April 2026. Article 17 of the law allows capping rents in declared stressed zones to the smaller-of-IPCA or a special index; the rent-freeze extension voted down on 29 April 2026 was an attempt to extend temporary emergency caps enacted under the law's transitional provisions. The defeat exposed that the Sanchez Coalition cannot command a parliamentary majority to use the law's most politically contested tool .

Several CCAA governed by PP (Madrid, Andalusia, Murcia) have not declared any stressed zones, effectively opting out of the rent-cap mechanism while remaining co-financiers of the supply-side programmes. The Tribunal Constitucional has received constitutional challenges from PP-governed CCAA arguing that housing regulation is a regional competence. The 2026 Plan Estatal de Vivienda draws its mandate directly from this law.