Latest press releases

Population and Housing Censuses 2021. Year 2021

En España había 18.539.223 hogares a 1 de enero de 2021, 455.531 más que en 2011. El número total de viviendas era de 26.623.708. Según el consumo eléctrico en un año completo, 3.837.328 viviendas se catalogan como vacías y 2.514.511 de uso esporádico.

Datos de hogares
  Nota Número Personas residentes
Hogares familiares   18.539.223 47.066.972
- Una persona sola   5.001.166 5.001.166
- Dos personas   5.203.749 10.407.498
- Tres personas   3.837.982 11.513.946
- Cuatro personas   3.123.216 12.492.864
- Cinco o más personas   1.373.110 7.651.498
Establecimientos colectivos   14.066 333.826
Datos de viviendas
  Nota Número Porcentaje sobre total de viviendas
Viviendas totales   26.623.708  
Vivendas vacias   3.837.328 14,4
Viviendas con muy bajo consumo   943.924 3,5
Viviendas de uso esporádico   2.514.511 9,4
Resto de viviendas   19.327.945 72,6
Latest data
Year 2021 Published: 30/06/2023
Direct access to ...

Most popular tables

Did you know...?

The 2021 Population and Housing Census is the eighteenth of the official censuses carried out in Spain. Unlike previous censuses, the 2021 Census was not constructed by collecting information from household interviews. For the first time, it was prepared by combining dozens of administrative records.

Spain thus joins the small group of countries that have managed to construct population censuses from administrative records, which is considered the highest quality and most efficient method.

The census operation has resulted in a set of files with individual data:

  • a complete file of people made up of as many records as inhabitants on January 1, 2021, the census reference date. It contains the demographic characteristics, studies, employment situation, and migrations of the entire population.
  • a complete file of households with information on household composition and size.
  • a complete file of collective establishments showing their population and the type of collective.
  • a complete file of dwellings, with information on the surface, year of construction, tenancy regime of the dwelling, etc.


The constructed product is thus based on microdata that collects information from the entire population. In other words, it is an exhaustive census, similar to what would be obtained if questionnaires for all Spanish households were processed using a classic census.

In addition, this demographic information production system, based on administrative records, ends decennial census publication, as has occurred without interruption since 1857. This 2021 edition inaugurates the start of annual censuses.