Voixa Consultors · corporate services in Spain
Spain · Right to Housing Act

Spain’s Right to Housing Act: public housing stock and information for buyers and tenants

Law 12/2023 of 24 May on the right to housing: Title III (articles 27 to 29) and Title IV (articles 30 to 36). Title III covers the purpose, composition, funding, management and allocation of public housing stocks. Title IV covers the rights of those seeking, buying or renting housing, the minimum information a prospective buyer or tenant may request before the transaction, the extra rent information required in stressed residential market areas, and the State’s annual publication of data on its public housing stock, housing programme spending, use of the housing stock including empty dwellings, housing demand and public land available for housing.

Unofficial English translation from the Spanish by Voixa Consultors S.L. Alexander Baranov is responsible for the translation. Source: Ley 12/2023, de 24 de mayo, por el derecho a la vivienda, consolidated text, last modification 7 October 2026, BOE-A-2023-12203 ↗. Check wording, figures, dates and legal effect against the Spanish original before relying on this reading. Source snapshot: 10 November 2026. This page: Title III, articles 27 to 29, and Title IV, articles 30 to 36. The whole Act is translated across 5 pages; see the contents of the Act.

Title III. Public housing stocks

Article 27. Concept, purpose and funding

1. The purpose of public housing stocks is to contribute to the proper functioning of the housing market and to serve as an instrument for the various Public Administrations competent in housing matters to give effect to the right to decent and adequate housing of those sections of the population who have the greatest difficulty of access on the market, with special attention to young people and groups subject to greater vulnerability.

Through the State housing plans and other complementary measures adopted within the various sectoral public policies, the conservation, improvement and enlargement of public housing stocks shall be encouraged, with specific objectives being set for that purpose in relation to the number of households in each territorial area and other territorial, social and economic variables.

Public housing stocks, specifically regulated by the regional legislation on housing, urban planning and spatial planning, may be made up of at least:

a) Public facility dwellings (viviendas dotacionales públicas).

b) Social and protected dwellings built on publicly owned land, as well as those built in exercise of a surface right, usufruct or assignment of use, and for rent with an option to purchase, for as long as the corresponding option is not exercised.

c) Social dwellings acquired by the Public Administrations in exercise of rights of first refusal and of redemption (tanteo y retracto), in accordance with the applicable legislation, and those acquired through those same rights in cases of mortgage enforcement or transfer in lieu of payment (dación en pago) of the habitual dwelling of groups in a situation of vulnerability or social exclusion, as provided for in regional legislation.

d) Social dwellings acquired by the Public Administrations in urban regeneration or renewal actions, including those forming part of real estate complexes, whether free of charge by virtue of compliance with the corresponding urban planning duties and burdens or for consideration.

e) Any other social dwelling acquired by, or assigned to, the Public Administrations with competences in housing matters.

Note that the highlighted third paragraph of paragraph 1 has been declared unconstitutional and void by Constitutional Court Judgment 79/2024 of 21 May (ref. BOE-A-2024-12808). The highlighting is not reproduced in the text we worked from, so the annulled words are not marked here; check the judgment.

2. In order to ensure the funding of the creation, enlargement, rehabilitation or improvement of public housing stocks, the sums corresponding to the deposits under lease contracts lodged in the corresponding regional registers by virtue of the third additional provision of Law 29/1994 of 24 November, the Urban Leases Act, may be used, except for the compulsory reserve guaranteeing their return, and by the Administrations that have been assigned that competence for managing deposits.

3. (Annulled)

Article 28. Guiding criteria in the management of public housing stocks

1. For the management of public housing stocks and the fulfilment of their purposes, the Public Administrations competent in housing matters and their attached or dependent bodies may, in accordance with their applicable legislation and rules, and without prejudice to the specific criteria laid down therein:

a) Create, enlarge and manage public housing stocks, directly or indirectly and on land they own, including land obtained for public facilities, carrying out, where appropriate, the urbanisation of the land in accordance with territorial and urban planning.

b) Grant surface rights or administrative concessions to third parties so that they build, rehabilitate and/or manage dwellings of the public stock, provided that public ownership of the land is guaranteed, through the corresponding procedures guaranteeing transparency and open competition in the granting of those rights.

c) Allocate public resources to non-profit entities in order to make the management of the dwellings in the public stocks more efficient and closer to residents, provided that such management is reserved to those entities or to the corresponding territorial Administration or instrumental body and that the allocation is made in line with the objectives of covering the right to housing and in accordance with the governing rules.

d) Dispose of the patrimonial assets forming part of the public housing stocks, by the procedures permitted by the applicable legislation, solely to other Public Administrations, their instrumental bodies or non-profit legal persons engaged in managing housing for social purposes, and subject to the obligation of the new holder or holders to abide by the conditions, time limits and maximum rents established, being subrogated to the rights and obligations.

2. In carrying out the actions provided for in the preceding paragraph, special attention must be paid to the particular features of each territorial setting, in order to carry out the type of management and actions best suited to the social, economic and territorial characteristics of demand.

Article 29. Use of public housing stocks

1. The dwellings forming part of public housing stocks are intended, in accordance with the specific legislation and other applicable rules, to guarantee the right of access to housing of the persons and households with the greatest difficulty in gaining access to housing on the market by reason of their social and economic circumstances, having regard to specific factors of vulnerability such as the presence of minors in the household or cohabitation unit, as well as to the characteristics and particular features of the territorial area.

2. The occupation and enjoyment of the dwellings forming part of public stocks may take place, in accordance with the corresponding applicable legislation and rules, under rental, assignment of use or any other legal forms of temporary tenure, on the rent conditions and with the requirements established by the respective Public Administrations according to existing demand, the socio-economic conditions of the persons, families and cohabitation units concerned and the characteristics of the housing market, incorporating criteria of inclusion, social cohesion and affordability.

3. It is for the Public Administrations competent in housing matters to develop systems for assessing compliance with those requirements of the public housing stocks in accordance with the applicable legislation and rules, in order to guarantee the efficient use of public resources and the co-responsibility of the occupants of the dwellings.

Title IV. Protection and transparency measures in housing purchase and lease transactions

Chapter I. General regime of rights and basic information

Article 30. Basic principles of rights, powers and responsibilities

1. The rights of persons seeking, acquiring or renting housing, or holding it under any other legal regime of tenure and enjoyment, are:

a) Those recognised in the consolidated text of the General Act for the Protection of Consumers and Users and other complementary laws, approved by Royal Legislative Decree 1/2007 of 16 November, and in the applicable regional legislation.

b) The right to receive information, including that supplied through advertising media, in a format accessible to persons with disabilities or comprehension difficulties, which is complete, objective, truthful, clear, understandable and accessible, on the characteristics of the dwellings, their services and installations and the legal and economic conditions of their acquisition, lease, assignment or use.

2. All actors who, operating in the sector of building and rehabilitation of dwellings and the provision of real estate services, are empowered to transfer, lease and assign dwellings in their own name or on behalf of others, such as developers, owners and other holders of rights in rem, real estate agents and property administrators, must comply in their activity with the duty of complete, objective, truthful, clear, understandable and accessible information in accordance with this Act, and with the consumer and user protection legislation where relations between consumers or users and businesses are concerned; the advertising they carry out is subject to the general legislation governing it, with a prohibition, in particular, of any advertising acts containing insufficient, deficient or misleading information.

3. For the purposes of the preceding paragraphs, information or advertising means any form of communication addressed to persons seeking housing, to users or to the general public with the aim of promoting, directly or indirectly, the transfer, lease or any other form of assignment of dwellings. Information is deemed incomplete, insufficient or deficient where it omits essential data or contains them in terms capable of misleading the recipients or of producing economic or legal repercussions that are not admissible because they disturb the peaceful enjoyment of the dwelling under the usual conditions of use.

Article 31. Minimum information in housing purchase and lease transactions

1. Without prejudice to the principles and requirements contained in the applicable regional rules and as a minimum, a person interested in the purchase or lease of a dwelling that is on offer may require, before the transaction is formalised and before any sum is paid on account, the following information, in an accessible format and on a durable medium, on the conditions of the transaction and the characteristics of the dwelling and of the building in which it is located:

a) Identification of the seller or landlord and, where applicable, of the natural or legal person acting, in the course of a professional or business activity, as intermediary in the transaction.

b) Economic conditions of the transaction: the total price and the items included in it, as well as any financing or payment conditions that may be established.

c) Essential characteristics of the dwelling and of the building, including:

1st Certificate or licence of habitability (cédula de habitabilidad).

2nd Evidence of the usable and built floor area of the dwelling, distinguishing, in the case of horizontal division, the private area from the common areas, and without in any case counting for these purposes areas of the dwelling with a ceiling height lower than that required by the governing rules.

3rd Age of the building and, where applicable, of the main renovations or works carried out on it.

4th Services and installations of the dwelling, both individual and common.

5th Energy performance certificate of the dwelling.

6th Accessibility conditions of the dwelling and of the building.

7th Occupancy status or availability of the dwelling.

d) Legal information on the property: the registry identification of the property, with reference to charges, encumbrances and liens of any kind, and the share of participation fixed in the title deed.

e) In the case of protected housing, express indication of that circumstance and of its being subject to the legal protection regime applicable to it.

f) In the case of buildings that officially enjoy architectural protection because they form part of a declared setting or by reason of their particular architectural or historical value, information shall be provided on the degree of protection and the conditions and limitations for renovation or rehabilitation work.

g) Any other information that may be relevant to the person interested in the purchase or lease of the dwelling, including territorial, urban planning, physical and technical, heritage protection or administrative aspects relating to it.

2. On the same terms as those established in the preceding paragraph, a person interested in the purchase or lease of a dwelling may require information on the detection of asbestos or other substances that are dangerous or harmful to health.

3. Where the dwelling to be leased as a habitual dwelling is located in a stressed residential market area, the owner and, where applicable, the person acting as intermediary in the transaction must state that circumstance and give information, before the lease is formalised, and in any event in the contract document, on the amount of the last rent under the lease contract for a habitual dwelling in force in the last five years on the same dwelling, as well as on the value that may correspond to it according to the applicable reference index of residential rental prices.

What a prospective buyer or tenant can ask for. Article 31(1) lets the person interested request this information before the transaction is formalised and before paying anything on account, in an accessible format and on a durable medium; in a stressed area, article 31(3) also requires the last rent of the previous five years and the reference index value to be stated, in any event in the contract document.

Chapter II. Information and transparency in the field of housing and land

Article 32. Public housing stock

1. The State, in compliance with the principle of collaboration and cooperation and as a guarantee of the principle of transparency, in the manner arranged in agreement with the competent administrations, must prepare and keep up to date an inventory of the public housing stock owned by it and by its attached or dependent bodies, which shall include at least the following information:

a) Identification of the dwellings that make it up.

b) Fundamental characteristics of the dwellings.

c) Their situation as regards use.

d) Characteristics of the persons or households using them.

2. Each year a duly updated report on the characteristics of the public housing stock and its use shall be prepared and published on the electronic office (sede electrónica) provided for in article 38 of Law 40/2015 of 1 October on the Legal Regime of the Public Sector, allowing a map of social housing to be built up to facilitate citizens’ access to it. Information on the actions planned to strengthen the social housing stock over the next four years shall also be included.

Article 33. Investment in housing policy programmes

1. The State, in compliance with the principle of collaboration and cooperation and as a guarantee of the principle of transparency, must give details of the budget invested each year in the various housing policy programmes, through the instruments of collaboration with the competent administrations, distinguishing at least the following items of expenditure:

a) Rental housing aid for tenants.

b) Development of social or affordable rental housing.

c) Development of housing subject to some form of public protection.

d) Rental intermediation programmes.

e) Aid for building rehabilitation, distinguishing specifically aid that improves energy efficiency and promotes the use of renewable energy and accessibility.

f) Urban regeneration or renewal programmes, specifying investment in actions in highly vulnerable settlements and neighbourhoods, including rehousing programmes.

2. The data referred to in the preceding paragraph must be published annually through the electronic office provided for in article 38 of Law 40/2015 of 1 October on the Legal Regime of the Public Sector, indicating specifically the amounts in these programmes that have contributed to favouring access to a first home by young people.

Article 34. Characterisation of the housing stock. Uninhabited or empty dwellings

1. The State, in compliance with the principle of collaboration and cooperation and as a guarantee of the principle of transparency, in the manner arranged in agreement with the competent administrations, and on the basis of their information and management systems, shall provide information on the use and purpose of the housing stock in their territory, indicating, in aggregate terms, the number of dwellings or residential properties that are inhabited by households and constitute their main residence, as well as those identified as uninhabited or empty within their territory, also including, in aggregate form, the number of properties to which, where applicable, the tax surcharge established in article 72 of the consolidated text of the Local Finance Act, approved by Royal Legislative Decree 2/2004 of 5 March, has been applied.

2. The data referred to in the preceding paragraph must be published annually through the electronic office provided for in article 38 of Law 40/2015 of 1 October on the Legal Regime of the Public Sector, specifying the measures and actions aimed at optimising the use of the housing stock in the territory.

Article 35. Characterisation of housing demand

1. The State, in compliance with the principle of collaboration and cooperation and as a guarantee of the principle of transparency, in the manner arranged in agreement with the competent administrations, must give details of the number of persons and households entered in the registers of housing applicants set up for access to the various housing access programmes, distinguishing the persons or households currently resident in its territory from those applicants who reside in other territories. The main socio-economic characteristics of the persons and households seeking housing shall also be set out on the basis of the information held in those registers.

2. The data referred to in the preceding paragraph must be published annually through the electronic office provided for in article 38 of Law 40/2015 of 1 October on the Legal Regime of the Public Sector, specifying the actions carried out, in progress and planned to respond to existing demand.

Article 36. Public land available for housing

1. The State, in compliance with the principle of collaboration and cooperation and as a guarantee of the principle of transparency, in the manner arranged in agreement with the competent administrations, must give details of the available land owned by it and by its attached or dependent bodies that has residential building potential under the urban planning instruments, including at least the following information:

a) Number of dwellings, built area and building typology.

b) Situation of the land in terms of urbanisation.

c) Situation in terms of urban planning classification and categorisation, distinguishing between consolidated urban land, non-consolidated urban land, delimited or sectorised developable land with detailed planning and delimited or sectorised developable land without detailed planning, or equivalent categories.

2. The data referred to in the preceding paragraph must be published annually through the electronic office provided for in article 38 of Law 40/2015 of 1 October on the Legal Regime of the Public Sector, specifying the land forming part of the public land assets obtained in compliance with the legal duty of transfer established in letter b) of article 18.1 of the consolidated text of the Land and Urban Rehabilitation Act, approved by Royal Legislative Decree 7/2015 of 30 October.

Where this sits

Previous: Public action, protected housing and stressed areas. Next: Additional, transitional and lease provisions. All parts: contents of the Act.

Related on voixa.es: Spain’s 100% property tax for non-EU buyers: what happened; Modelo 210: the non-resident deadlines changed in 2026.

Nothing here is advice on your own position, and this reading is not the official text. Where the wording matters to a decision, read it against the Spanish original published in the BOE.