Demographics of Community of Madrid
Demographic statistics by autonomous community
Population
7,113,886
inhabitants
Average Age
43.42 years
Birth Rate2024
7.20‰
Foreigners
16.61%
Age Structure
Natural Movement · 2024
Provinces in this community
| # | Province | Population | Average Age |
|---|---|---|---|
| 1 | Madrid | 7,113,886 | 43.42 |
Population and mean age over time
Historical
| Year | Population | Average Age | Over 65 | Foreigners |
|---|---|---|---|---|
| 2025 | 7,113,886 | 43.42 | 18.87% | 16.61% |
| 2024 | 7,009,268 | 43.25 | 18.62% | 16.03% |
| 2023 | 6,871,903 | 43.09 | 18.43% | 15.16% |
| 2022 | 6,743,254 | 43.02 | 18.32% | 13.92% |
| 2021 | 6,726,640 | 42.72 | 18.00% | 13.72% |
| 2020 | 6,720,310 | 42.53 | 17.92% | 13.29% |
| 2019 | 6,618,078 | 42.37 | 17.81% | 12.36% |
| 2018 | 6,529,923 | 42.18 | 17.65% | 11.59% |
| 2017 | 6,459,297 | 41.99 | 17.43% | 11.14% |
| 2016 | 6,411,466 | 41.75 | 17.18% | 11.17% |
| 2015 | 6,375,737 | 41.51 | 16.92% | 11.33% |
| 2014 | 6,372,553 | 41.21 | 16.48% | 12.29% |
| 2013 | 6,411,525 | 40.83 | 15.89% | 13.71% |
Source: INE. Population on 1 January 2025 (Continuous Population Statistics); births and deaths for 2024 (Vital Statistics) and migration for 2024 (Migration and Changes of Residence Statistics). Rates are per 1,000 residents on 1 July. Since 2021 INE has measured migration with a new methodology, so those figures are not fully comparable with earlier years.
On 1 January 2025 the Community of Madrid had 7,113,886 inhabitants: 3,407,410 men and 3,706,476 women. A year earlier, on 1 January 2024, the population stood at 7,009,268 people, a year-on-year change of +1.49%. The series on this page begins on 1 January 2013, when 6,411,525 inhabitants were recorded; between 2013 and 2025 the population has changed by +11.0%. Density stands at 886.2 inhabitants per km². By population, the Community of Madrid ranks 3rd of 19 regions and autonomous cities.
The average age is 43.4 years in 2025, compared with 40.8 years in 2013. The age structure in 2025 is as follows: 16.6% of the population is under 18; 64.6% is between 18 and 64; 18.9% is 65 or older, and 5.8% is 80 or older. The ageing index is 131.4 people aged 65 or over for every 100 under 16.
In 2024 there were 50,770 births and 49,408 deaths, a natural growth of +1,362 people. The birth rate was 7.20 per 1,000 inhabitants and the death rate 7.01. Births and deaths come from Vital Statistics (Movimiento Natural de la Población) and are assigned by place of residence; the latest year available for these data precedes the population year. In 2013 there were 65,343 births and 42,393 deaths.
Migration to and from abroad in 2024 totalled 239,292 immigrations and 125,328 emigrations, a net migration of +113,964. On 1 January 2025, the foreign population residing in the Community of Madrid was 1,181,319 people, 16.6% of the total. Migration flows come from the Migration Statistics up to 2020 and from the Migration and Change of Residence Statistics from 2021; the series is not entirely comparable between the two periods.
The page provides data on population by sex, average age, age structure, births, deaths and the birth rate, the foreign population, and the annual evolution since 2013 of the population, the average age, the percentage of people over 65, births, deaths and the percentage of foreigners. Source: INE, Continuous Population Statistics, Vital Statistics (Movimiento Natural de la Población) and Migration Statistics. The population is the resident population on 1 January according to the Continuous Population Statistics; the rates, the average age and the density are calculations by datosespana.com using INE data.
❓ Frequently Asked Questions
According to INE's Continuous Population Statistics, Spain had 49,128,297 residents on 1 January 2025, about 509,000 more than a year earlier (48,619,695). The growth comes from migration: in 2024 there were 318,005 births and 436,118 deaths, so natural change was negative.