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.

2025, persons9,464,210
Change on 2024+7.1%
Rank3rd of 26EU countries ranked
Series high9,464,2102025
Series low2,334,0962002

Foreign-born population in Spain, 2002 to 2025

2M4M6M8M10M20022006201020142018202220252002: 2,334,096 persons2003: 2,984,092 persons2004: 3,547,669 persons2005: 4,107,228 persons2006: 4,637,971 persons2007: 5,200,060 persons2008: 5,878,921 persons2009: 6,225,516 persons2010: 6,280,062 persons2011: 6,282,205 persons2012: 6,294,954 persons2013: 6,165,635 persons2014: 5,952,770 persons2015: 5,883,891 persons2016: 5,913,165 persons2017: 6,014,708 persons2018: 6,207,509 persons2019: 6,549,309 persons2020: 7,014,753 persons2021: 7,254,797 persons2022: 7,468,144 persons2023: 8,204,206 persons2024: 8,838,234 persons2025: 9,464,210 persons
persons. Source: Eurostat, Population on 1 January by group of country of birth, foreign country (migr_pop4ctb). Retrieved 2026-10-12, published 2026-09-25.
All 24 values
Periodpersons
20259,464,210
20248,838,234
20238,204,206
20227,468,144
20217,254,797
20207,014,753
20196,549,309
20186,207,509
20176,014,708
20165,913,165
20155,883,891
20145,952,770
20136,165,635
20126,294,954
20116,282,205
20106,280,062
20096,225,516
20085,878,921
20075,200,060
20064,637,971
20054,107,228
20043,547,669
20032,984,092
20022,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

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

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

All statistics for Spain