Foreign-born population in Spain
Foreign-born population in Spain was 9.46 million in 2025, according to Eurostat, European Commission. That is up 7.1% from 2024. That is the 3rd highest of 26 EU countries in 2025.
Foreign-born population in Spain, 2002 to 2025
All 24 values
| Period | persons |
|---|---|
| 2025 | 9,464,210 |
| 2024 | 8,838,234 |
| 2023 | 8,204,206 |
| 2022 | 7,468,144 |
| 2021 | 7,254,797 |
| 2020 | 7,014,753 |
| 2019 | 6,549,309 |
| 2018 | 6,207,509 |
| 2017 | 6,014,708 |
| 2016 | 5,913,165 |
| 2015 | 5,883,891 |
| 2014 | 5,952,770 |
| 2013 | 6,165,635 |
| 2012 | 6,294,954 |
| 2011 | 6,282,205 |
| 2010 | 6,280,062 |
| 2009 | 6,225,516 |
| 2008 | 5,878,921 |
| 2007 | 5,200,060 |
| 2006 | 4,637,971 |
| 2005 | 4,107,228 |
| 2004 | 3,547,669 |
| 2003 | 2,984,092 |
| 2002 | 2,334,096 |
Rankings
Definition
Residents on 1 January whose country of birth is not the reporting country, all ages and both sexes (Eurostat migr_pop4ctb, country of birth FOR).
Based on country of birth, not citizenship: people born abroad who hold the nationality of the reporting country are counted, and foreign nationals born in the country are not. People born in another EU country count as foreign born. For the share of the population use foreign_born_share.
How to cite
Eurostat. Population on 1 January by group of country of birth, foreign country (migr_pop4ctb). https://ec.europa.eu/eurostat/databrowser/view/migr_pop4ctb/default/table. Retrieved 2026-10-12.
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:
What is the latest foreign-born population in Spain? Cite the source.
get_value {"indicator":"foreign_born_population","place":"es"}
GET https://invokely.ai/api/v1/value?indicator=foreign_born_population&place=es
Questions
What is the foreign-born population in Spain?
Foreign-born population in Spain was 9.46 million in 2025, according to Eurostat, European Commission. That is up 7.1% from 2024. That is the 3rd highest of 26 EU countries in 2025.
Where does this figure come from?
Eurostat, European Commission. Population on 1 January by group of country of birth, foreign country (migr_pop4ctb). Retrieved by Invokely on 2026-10-12.
What was the highest foreign-born population in Spain?
9.46 million in 2025, the highest value since 2002 in this series.
Foreign-born population elsewhere in European Union (27)
Related statistics for Spain
- Median age, July 1 estimate
- Population aged 16 to 64
- Adult literacy rate
- Net migration including statistical adjustment
- Young people not in employment, education or training (NEET), ages 15 to 29
- Health spending, share of GDP
- Health spending per person
- Government health spending, share of government spending