Autonomous communities of Spain by share of foreign nationals

Balearic Islands had the highest share of foreign nationals of 19 autonomous communities in 2023, at 20.5%. Extremadura had the lowest, at 3.7%. The median was 12% and the figure for Spain was 12.7%. Source: INE.

Highest20.5Balearic Islands
Lowest3.7Extremadura
Median1219 autonomous communities
Spain12.7History

All autonomous communities, 2023

CSVChart (SVG)

Balearic IslandsBalearic Islands: 20.5 %20.5CataloniaCatalonia: 17.2 %17.2Valencian CommunityValencian Community: 17 %17Region of MurciaRegion of Murcia: 15.3 %15.3Community of MadridCommunity of Madrid: 15.2 %15.2Canary IslandsCanary Islands: 14.2 %14.2La RiojaLa Rioja: 13.8 %13.8AragonAragon: 13.5 %13.5MelillaMelilla: 13.2 %13.2NavarreNavarre: 12 %12Castilla-La ManchaCastilla-La Mancha: 10.6 %10.6AndalusiaAndalusia: 9.5 %9.5Basque CountryBasque Country: 9 %9CantabriaCantabria: 7.1 %7.1Castile and LeónCastile and León: 7 %7CeutaCeuta: 5.9 %5.9AsturiasAsturias: 5.3 %5.3GaliciaGalicia: 5.2 %5.2ExtremaduraExtremadura: 3.7 %3.7
%. Source: Invokely calculation with data from INE. Retrieved 2026-10-08.

Full ranking

RankAutonomous communities2023 (%)Change on 2022
1Balearic Islands20.5+1 pts
2Catalonia17.2+1.3 pts
3Valencian Community17+1.6 pts
4Region of Murcia15.3+0.6 pts
5Community of Madrid15.2+1.2 pts
6Canary Islands14.2+0.8 pts
7La Rioja13.8+0.8 pts
8Aragon13.5+1 pts
9Melilla13.2-0 pts
10Navarre12+1 pts
11Castilla-La Mancha10.6+1.1 pts
12Andalusia9.5+0.8 pts
13Basque Country9+0.8 pts
14Cantabria7.1+0.8 pts
15Castile and León7+0.9 pts
16Ceuta5.9-0 pts
17Asturias5.3+0.8 pts
18Galicia5.2+0.7 pts
19Extremadura3.7+0.4 pts

Other periods

About this ranking

Residents with foreign nationality as a percentage of total population on 1 January.

Every value in the ranking comes from the same publisher and the same period, so the autonomous communities are compared on one definition. Equal values share a rank.

How to cite

Invokely calculation from Población extranjera entre población total (Censo anual, INE). https://invokely.ai/docs/methodology#foreign_population_share. Retrieved 2026-10-08.

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:

Rank Autonomous communities of Spain by share of foreign nationals using official data, and cite the source.
rank_places {"indicator":"foreign_population_share","level":"region","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=foreign_population_share&level=region&within=Spain&limit=10

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

Questions

Which autonomous community has the highest share of foreign nationals?

Balearic Islands, with 20.5% in 2023, according to INE.

Which autonomous community has the lowest share of foreign nationals?

Extremadura, with 3.7% in 2023.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: Invokely, Población extranjera entre población total (Censo anual, INE). Retrieved 2026-10-08.

Foreign nationals share of population: other rankings

Autonomous communities of Spain: more rankings