Municipalities in Barcelona province by share of foreign nationals
Vic had the highest share of foreign nationals of 311 municipalities in 2024, at 29.8%. Sant Julià de Cerdanyola had the lowest, at 0%. The median was 8% and the figure for Barcelona province was 17.3%. Source: INE.
Top 40 municipalities, 2024
Full ranking
Other periods
About this ranking
Residents with foreign nationality as a percentage of total population. Spain: 1 January, INE annual census. Switzerland: permanent resident population on 31 December, Federal Statistical Office (STATPOP).
Every value in the ranking comes from the same publisher and the same period, so the municipalities 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.
Citation styles
APA 7
Invokely. (n.d.). Población extranjera entre población total (Censo anual, INE) (Municipalities in Barcelona province by share of foreign nationals, 2024) [Data set]. Calculated from data by INE. Retrieved October 8, 2026, from https://invokely.ai/docs/methodology#foreign_population_share
MLA 9
Población extranjera entre población total (Censo anual, INE), Municipalities in Barcelona province by share of foreign nationals, 2024. Calculated from data by INE. Invokely, https://invokely.ai/docs/methodology#foreign_population_share. Accessed 8 Oct. 2026.
Chicago (author-date)
Invokely. n.d. Población extranjera entre población total (Censo anual, INE). Municipalities in Barcelona province by share of foreign nationals, 2024. Dataset. Calculated from data by INE. Accessed October 8, 2026. https://invokely.ai/docs/methodology#foreign_population_share.
Harvard
Invokely (no date) Población extranjera entre población total (Censo anual, INE), Municipalities in Barcelona province by share of foreign nationals, 2024 [Dataset]. Calculated from data by INE. Available at: https://invokely.ai/docs/methodology#foreign_population_share (Accessed: 8 October 2026).
BibTeX
@misc{invokely_municipalities_in_barcelona_province_2024,
author = {{Invokely}},
title = {{Población extranjera entre población total (Censo anual, INE): Municipalities in Barcelona province by share of foreign nationals, 2024}},
howpublished = {Data set},
url = {https://invokely.ai/docs/methodology#foreign_population_share},
urldate = {2026-10-08},
note = {Calculated from data by INE. Accessed via Invokely, https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities?period=2024. Publisher attribution: 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.},
}
RIS
TY - DATA
AU - Invokely
TI - Población extranjera entre población total (Censo anual, INE): Municipalities in Barcelona province by share of foreign nationals, 2024
PB - Invokely
DB - Invokely
UR - https://invokely.ai/docs/methodology#foreign_population_share
L2 - https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities?period=2024
Y2 - 2026/10/08
N1 - Calculated from data by INE.
N1 - Accessed via Invokely, https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities?period=2024.
N1 - Publisher attribution: 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.
ER -
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 Municipalities in Barcelona province by share of foreign nationals using official data, and cite the source.
rank_places {"indicator":"foreign_population_share","level":"municipality","within":"Barcelona","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=foreign_population_share&level=municipality&within=Barcelona&limit=10
Questions
Which municipality has the highest share of foreign nationals?
Vic, with 29.8% in 2024, according to INE.
Which municipality has the lowest share of foreign nationals?
Sant Julià de Cerdanyola, with 0% in 2024.
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
- Municipalities in Huelva province
- Municipalities in Álava province
- Municipalities in Alicante province
- EU regions (NUTS 2)
- Autonomous communities of Spain
- Provinces of Spain