Madrid: key statistics
Population: 3.51 million (2025). Life expectancy at birth: 85.3 years (2024).
Population and demography
| Population | 3.51 million | 2025 | |
| Population aged 16 to 64 | 2.33 million | 2025 | |
| Foreign nationals share of population | 18.8% | 2025 | |
| Population aged 65 and over | 20.2% | 2025 | |
| Average age | 44.4 years | 2025 | |
| Dependency ratio | 49.2% | 2025 | |
| Crude birth rate | 7.81 per 1,000 inhabitants | 2025 | |
| Total fertility rate | 1.09 children per woman | 2025 | |
| Life expectancy at birth | 85.3 years | 2024 | |
| Population with higher education, aged 15 and over (Spain) | 46.8% | 2024 | |
| Population with primary education or less, aged 15 and over (Spain) | 11.1% | 2024 |
Labor market
| Registered unemployment | 138,652 | October 2026 | |
| Registered unemployment rate | 5.95% | October 2026 |
Income and living conditions
| Average net income per person | €20,861 | 2024 | |
| Average net income per household | €53,213 | 2024 | |
| Gini index | 37.3 | 2024 |
Housing
| Rental housing price index (Spain) | 122.625 | 2024 | |
| Rents, annual change (Spain) | 3.6% | 2024 | |
| Median rent per square metre, flats (Spain) | 13.97 EUR per m² per month | 2024 | |
| Median monthly rent, flats (Spain) | €869 | 2024 |
Companies
| Active companies | 297,693 | 2025 |
Crime and safety
| Known criminal offences (Spain) | 229,662 | 2025 | |
| Intentional homicides and murders, completed (Spain) | 17 | 2025 | |
| Sexual offences (Spain) | 1,850 | 2025 | |
| Robberies with violence or intimidation (Spain) | 7,376 | 2025 | |
| Home burglaries (Spain) | 4,328 | 2025 | |
| Thefts (Spain) | 72,548 | 2025 | |
| Crime rate (Spain) | 65.5 per 1,000 inhabitants | 2025 |
Use this data in your AI agent
Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:
Give me the latest population, unemployment and income figures for Madrid with sources.
search_indicators {"query":"population","geography":"Madrid"}
GET https://invokely.ai/api/v1/value?indicator=population&place=es-mun-28079