Spain: migration and citizenship

Who lives in Spain by citizenship and by country of birth, and how many people arrive and leave each year, from Eurostat. Every figure links to the table it was read from; where Eurostat publishes nothing for Spain, the page says so.

On 1 January 2024, foreign citizens and stateless people made up 13.4%* of the people living in Spain, against 9.6%* across the EU — the 9th highest share of the 27 EU states that publish it.

In 2024, 1,288,562 people moved to Spain and 662,294 left: a difference of 626,268*, more arrivals than departures.

Citizens and foreigners

Residents of Spain on 1 January 2024, by the citizenship they hold. Every line is a separate figure Eurostat publishes; the site adds none of them together.

Residents of Spain by citizenship, 1 January 2024
CitizenshipPeopleShare of residents
All residents48,619,695—
Foreign citizens and stateless peopleOne group Eurostat publishes, shown beside the lines below6,502,28213.4%*
Citizens of Spain42,117,41386.6%*
Citizens of other EU countries1,724,2923.5%*
Citizens of countries outside the EU4,773,6209.8%*
Stateless people4,3700.01%*
Citizenship not stated00.00%*

Against the other EU states

Foreign citizens and stateless people as a share of residents on 1 January 2024, for the states ranked next to Spain. Only states that publish both figures that year are ranked.

Foreign-citizen share, Spain and the states ranked next to it, 1 January 2024
RankCountryForeign citizens and stateless people, share of residents
7Germany14.5%*
8Belgium13.8%*
9Spain13.4%*
10Latvia12.8%*
11Denmark10.9%*
—European Union (27, from 2020) (reference, not ranked)9.6%*

Largest foreign citizenships

Eurostat publishes the breakdown by individual citizenship for only 51 countries in 2025 for Spain, too few to name the largest groups, so no ranking is made. Nothing is estimated; every figure Eurostat does publish is listed below, each under its own year.

Citizenships Eurostat publishes for Spain, 1 January 2025, 2024 and 2023

A partial list, not a ranking: with so few citizenships published it cannot be read as the largest groups, and the figures are not added together. Citizenship is the passport a person holds, not their origin or ethnicity.

Residents of Spain by individual citizenship as published by Eurostat, 1 January 2025, 2024 and 2023
Citizenship1 January 20251 January 20241 January 2023
Citizens of Spain42,216,32642,117,41341,995,741
Morocco968,999920,693893,953
Colombia676,534578,477453,911
Romania609,270620,463629,755
Venezuela377,809325,254278,159
Italy345,777325,358301,791
United Kingdom266,462272,402284,037
Peru260,544219,643172,045
China238,372226,718219,929
Ukraine202,105210,012193,238
Honduras177,929171,771156,969
Argentina148,585137,089119,252
Ecuador132,372124,750120,034
Germany131,830128,049125,792
France127,015123,420120,771
Paraguay122,635111,13697,650
Pakistan116,641108,594103,683
Russia110,665106,37594,466
Portugal109,930106,843103,656
Bulgaria109,604112,834115,222
Brazil105,990101,77997,352
Senegal101,43289,20786,830
Algeria89,59274,75867,729
Cuba88,36779,61473,548
Nicaragua72,49272,48269,022
Bolivia67,24271,23674,716
Dominican Republic64,21266,36068,152
India63,01556,14452,786
Netherlands62,89658,04855,417
Poland61,25859,13256,644
United States57,37950,62346,261
Belgium44,64442,37440,929
Philippines42,57140,26638,095
Mexico39,65036,06733,013
Mali38,51732,97533,154
Chile37,45434,79731,575
Nigeria32,22333,03734,114
Uruguay28,77028,71628,086
Gambia, The26,95324,57524,070
Sweden25,56724,50823,818
Ireland25,17822,94121,500
Bangladesh24,32120,44818,867
Ghana21,13320,85320,948
Lithuania17,82117,39916,952
Moldova15,46416,31516,914
Switzerland15,38715,01514,705
Equatorial Guinea14,28213,92313,160
Guinea11,59411,07411,092
Finland11,58511,82311,883
Norway11,42811,18411,655
Mauritania10,5009,2539,261
Denmark9,2719,2339,473

Country of birth

Residents of Spain by where they were born, on 1 January 2025. This is a different question from citizenship: someone born abroad may hold Spain's citizenship, and someone born in Spain may not.

Residents of Spain by country of birth, 1 January 2025
Country of birthPeopleShare of residents
All residents49,128,297—
Born in Spain39,664,08780.7%*
Born in another country9,464,21019.3%*
Born in another EU country1,601,8633.3%*
Born outside the EU7,862,34716.0%*
Country of birth not stated00.00%*

Arrivals and departures

People who moved to or left Spain during each calendar year, as reported to Eurostat. Arrivals and departures are separate published figures; the difference is the site's subtraction of the two for the same year.

Arrivals, departures and their difference, Spain, 2024 and earlier years
YearArrivedLeftArrived minus left
20241,288,562662,294626,268*
20231,250,991608,695642,296*
20221,258,894531,889727,005*
2021887,960696,866191,094*
2020467,918248,561219,357*
2019750,480296,248454,232*

By citizenship, 2024

Arrivals and departures by the citizenship of the person moving. Each line is a separate published figure; none is added to another.

Arrivals and departures by citizenship, Spain, 2024
CitizenshipArrivedLeft
Citizens of Spain144,335137,719
Citizens of other EU countries182,743149,982
Citizens of countries outside the EU960,949374,260
Stateless people535333
Citizenship not stated00

How to read these figures

  • Citizenship is the legal bond between a person and a state. Country of birth is where a person was born. They are different facts and different tables, and neither records ethnicity, origin or descent.
  • Residents counted at 1 January are a stock; arrivals and departures are events during a calendar year. A flow is never a change in a stock, and the two are not divided by each other here.
  • Eurostat takes each country’s own statistics. Countries differ in who counts as an arrival or a resident, so comparisons between countries are approximate.

Cyprus, covered in full

Cyprus is the one country this site covers in full, down to its districts. Its immigration page is the deepest example of what a country page can hold.

Keep reading

Modification notice and disclaimer

The counts on this page are published by Eurostat (Statistical Office of the European Union) and are reproduced unchanged. Humanity Observatory has additionally derived the following from them:

  • A share of residents, computed by dividing one published count by another from the same table, country and date (for example foreign citizens by all residents).
  • A country's rank among the EU states for its foreign-citizen share, computed by sorting the published figures of the states that publish both counts for the year.
  • The difference between published immigration and published emigration for the same country and year (arrivals minus departures). It is a subtraction of two published figures, not a net-migration figure published by Eurostat.
  • The ten largest individual citizenships, selected by sorting the published figures for the latest year in which most countries are published.

Source: Eurostat. Reuse terms.

* Calculated by Humanity Observatory from published figures.

Where these numbers come from → Compare the foreign-citizen share across countries →