Municipalities in Barcelona province by share of foreign nationals, 2026

Vic had the highest share of foreign nationals of 311 municipalities in 2026, at 31%. Sant Martí d'Albars had the lowest, at 0%. The median was 8.6% and the figure for Barcelona province was 18.7%. Source: INE.

Keep it in a collection in your library.
Highest31Vic
Median8.6311 municipalities
Barcelona province18.7History

Top 40 municipalities, 2026

Vic: 31 %Vic31L'Hospitalet de Llobregat: 29.3 %L'Hospitalet de Llobregat29.3Sitges: 27.8 %Sitges27.8Barcelona: 26.1 %Barcelona26.1Manlleu: 25.4 %Manlleu25.4Olivella: 24.7 %Olivella24.7Castelldefels: 24.3 %Castelldefels24.3Santa Coloma de Gramenet: 24.3 %Santa Coloma de Gramenet24.3Calella: 23.4 %Calella23.4Calaf: 23 %Calaf23Manresa: 22.5 %Manresa22.5Canovelles: 21.4 %Canovelles21.4Sant Adrià de Besòs: 20 %Sant Adrià de Besòs20Torrelles de Foix: 19.6 %Torrelles de Foix19.6Berga: 19.4 %Berga19.4Cornellà de Llobregat: 19 %Cornellà de Llobregat19Roda de Ter: 18.9 %Roda de Ter18.9Badalona: 18.8 %Badalona18.8Caldes d'Estrac: 18.8 %Caldes d'Estrac18.8Sant Pere de Ribes: 18.8 %Sant Pere de Ribes18.8Santa Susanna: 18.4 %Santa Susanna18.4Torelló: 18.3 %Torelló18.3Granollers: 18.2 %Granollers18.2La Quar: 18.2 %La Quar18.2Mataró: 18.2 %Mataró18.2Sant Quintí de Mediona: 17.8 %Sant Quintí de Mediona17.8Vilafranca del Penedès: 17.8 %Vilafranca del Penedès17.8Pineda de Mar: 17.6 %Pineda de Mar17.6Martorell: 17.3 %Martorell17.3Esplugues de Llobregat: 17 %Esplugues de Llobregat17Font-rubí: 16.9 %Font-rubí16.9Sant Bartomeu del Grau: 16.5 %Sant Bartomeu del Grau16.5Carme: 16.5 %Carme16.5Pontons: 16.3 %Pontons16.3Rubí: 16.1 %Rubí16.1Igualada: 15.9 %Igualada15.9Sabadell: 15.8 %Sabadell15.8Terrassa: 15.5 %Terrassa15.5Santa Margarida de Montbui: 15.5 %Santa Margarida de Montbui15.5Malgrat de Mar: 15.4 %Malgrat de Mar15.4Vic: 31 %Vic31L'Hospitalet de Llobregat: 29.3 %L'Hospitalet de Llobregat29.3Sitges: 27.8 %Sitges27.8Barcelona: 26.1 %Barcelona26.1Manlleu: 25.4 %Manlleu25.4Olivella: 24.7 %Olivella24.7Castelldefels: 24.3 %Castelldefels24.3Santa Coloma de Gramenet: 24.3 %Santa Coloma de Gramenet24.3Calella: 23.4 %Calella23.4Calaf: 23 %Calaf23Manresa: 22.5 %Manresa22.5Canovelles: 21.4 %Canovelles21.4Sant Adrià de Besòs: 20 %Sant Adrià de Besòs20Torrelles de Foix: 19.6 %Torrelles de Foix19.6Berga: 19.4 %Berga19.4Cornellà de Llobregat: 19 %Cornellà de Llobregat19Roda de Ter: 18.9 %Roda de Ter18.9Badalona: 18.8 %Badalona18.8Caldes d'Estrac: 18.8 %Caldes d'Estrac18.8Sant Pere de Ribes: 18.8 %Sant Pere de Ribes18.8Santa Susanna: 18.4 %Santa Susanna18.4Torelló: 18.3 %Torelló18.3Granollers: 18.2 %Granollers18.2La Quar: 18.2 %La Quar18.2Mataró: 18.2 %Mataró18.2Sant Quintí de Mediona: 17.8 %Sant Quintí de Mediona17.8Vilafranca del Penedès: 17.8 %Vilafranca del Penedès17.8Pineda de Mar: 17.6 %Pineda de Mar17.6Martorell: 17.3 %Martorell17.3Esplugues de Llobregat: 17 %Esplugues de Llobregat17Font-rubí: 16.9 %Font-rubí16.9Sant Bartomeu del Grau: 16.5 %Sant Bartomeu del Grau16.5Carme: 16.5 %Carme16.5Pontons: 16.3 %Pontons16.3Rubí: 16.1 %Rubí16.1Igualada: 15.9 %Igualada15.9Sabadell: 15.8 %Sabadell15.8Terrassa: 15.5 %Terrassa15.5Santa Margarida de Montbui: 15.5 %Santa Margarida de Montbui15.5Malgrat de Mar: 15.4 %Malgrat de Mar15.4
%. Source: Invokely calculation with data from INE. Retrieved 2026-11-26.

Full ranking

RankMunicipalities2026 (%)Change on 2025
1Vic Estimated31+0.8 pts
2L'Hospitalet de Llobregat Estimated29.3+1.9 pts
3Sitges Estimated27.8+0.3 pts
4Barcelona Estimated26.1+0.5 pts
5Manlleu Estimated25.4+0.3 pts
6Olivella Estimated24.7+1.1 pts
7Castelldefels Estimated24.3+0.2 pts
8Santa Coloma de Gramenet Estimated24.3+0.5 pts
9Calella Estimated23.4+0.7 pts
10Calaf Estimated23+1.6 pts
11Manresa Estimated22.5+0.6 pts
12Canovelles Estimated21.4+0.6 pts
13Sant Adrià de Besòs Estimated20+1 pts
14Torrelles de Foix Estimated19.6+2.1 pts
15Berga Estimated19.4+1.3 pts
16Cornellà de Llobregat Estimated19+0.5 pts
17Roda de Ter Estimated18.9+1.2 pts
18Badalona Estimated18.8+0.4 pts
19Caldes d'Estrac Estimated18.8+0.1 pts
20Sant Pere de Ribes Estimated18.8+0.7 pts
21Santa Susanna Estimated18.4+0.6 pts
22Torelló Estimated18.3+0.7 pts
23Granollers Estimated18.2+1.3 pts
24La Quar Estimated18.2+2.3 pts
25Mataró Estimated18.2+0.8 pts
26Sant Quintí de Mediona Estimated17.8+0.2 pts
27Vilafranca del Penedès Estimated17.8+1.6 pts
28Pineda de Mar Estimated17.6+0.6 pts
29Martorell Estimated17.3+0.6 pts
30Esplugues de Llobregat Estimated17+1 pts
31Font-rubí Estimated16.9+1.2 pts
32Sant Bartomeu del Grau Estimated16.5-0.4 pts
33Carme Estimated16.5+2 pts
34Pontons Estimated16.3+2.9 pts
35Rubí Estimated16.1+0.7 pts
36Igualada Estimated15.9+0.8 pts
37Sabadell Estimated15.8+0.6 pts
38Terrassa Estimated15.5+0.6 pts
39Santa Margarida de Montbui Estimated15.5+2.1 pts
40Malgrat de Mar Estimated15.4+1.3 pts
41Vilanova i la Geltrú Estimated15.3+1.3 pts
42Sant Cugat del Vallès Estimated15.1-0.1 pts
43Mollet del Vallès Estimated15.1+0.7 pts
44Moià Estimated15.1+0.8 pts
45Ripollet Estimated15+0.7 pts
46Monistrol de Montserrat Estimated14.9-0.7 pts
47Montcada i Reixac Estimated14.8+0.5 pts
48Cubelles Estimated14.8+1 pts
49Premià de Mar Estimated14.8-0 pts
50Cabrils Estimated14.6+0.4 pts
51La Llagosta Estimated14.5+0.5 pts
52El Masnou Estimated14.5+1.6 pts
53Balenyà Estimated14.4+1.5 pts
54Sant Boi de Lluçanès Estimated14.3+2.3 pts
55Gavà Estimated14.2+0.8 pts
56Alella Estimated14.2+0.6 pts
57Sant Vicenç de Castellet Estimated14-1.2 pts
58Gallifa Estimated14+4.1 pts
59Arenys de Mar Estimated14+0.6 pts
60Montgat Estimated13.8+0.9 pts
61Sant Pol de Mar Estimated13.7+0.2 pts
62Tagamanent Estimated13.7+0.3 pts
63Sant Vicenç de Montalt Estimated13.7+0.2 pts
64Artés Estimated13.6-0 pts
65Sant Celoni Estimated13.6+1 pts
66Prats de Lluçanès Estimated13.6+1.1 pts
67Sant Martí de Centelles Estimated13.4+1.3 pts
68Gironella Estimated13.3+1.2 pts
69La Llacuna Estimated13.3+0.3 pts
69Sant Hipòlit de Voltregà Estimated13.3+0.3 pts
71Sant Just Desvern Estimated13.3-0 pts
72Puig-reig Estimated13.2+0.7 pts
73El Pla del Penedès Estimated13.2+0.1 pts
74Sant Feliu de Codines Estimated13.2+1.2 pts
75Santa Margarida i els Monjos Estimated13.2+0.1 pts
76Sant Quirze de Besora Estimated13.1+0.7 pts
77Montesquiu Estimated13-0.5 pts
78Les Franqueses del Vallès Estimated12.9+0.6 pts
79Sant Boi de Llobregat Estimated12.9+0.5 pts
80Santa Eugènia de Berga Estimated12.9+0.2 pts
81Sant Andreu de Llavaneres Estimated12.8-0.8 pts
82Canyelles Estimated12.8+2 pts
83Montornès del Vallès Estimated12.8+0.1 pts
84Navàs Estimated12.7+0.8 pts
85Cerdanyola del Vallès Estimated12.5+0.7 pts
86Sant Cebrià de Vallalta Estimated12.4+1 pts
87Súria Estimated12.4+1.5 pts
88Tordera Estimated12.2+0.6 pts
89Fígols Estimated12.20 pts
90Sallent Estimated12+1.2 pts
91Gelida Estimated11.9+0.3 pts
92Canet de Mar Estimated11.8+1.2 pts
93Tona Estimated11.7+1 pts
94Sant Joan Despí Estimated11.6+0.5 pts
95Castellet i la Gornal Estimated11.6-0.1 pts
96Borredà Estimated11.5+0.7 pts
97El Prat de Llobregat Estimated11.5+0.4 pts
98Mediona Estimated11.5+0.9 pts
99Sant Andreu de la Barca Estimated11.4+0.6 pts
100Callús Estimated11.4-0.3 pts
101Sant Martí Sarroca Estimated11.3-0.1 pts
102Caldes de Montbui Estimated11.3+1 pts
103Avinyó Estimated11.2+0.6 pts
104Pujalt Estimated11.2+1 pts
105Corbera de Llobregat Estimated11.2+0.2 pts
106Sant Feliu de Llobregat Estimated11.1+0.6 pts
107Premià de Dalt Estimated10.9+0.5 pts
108Santa Perpètua de Mogoda Estimated10.9+0.6 pts
109Viladecans Estimated10.8+0.9 pts
110Sant Vicenç dels Horts Estimated10.8+0.4 pts
111Sant Pere de Torelló Estimated10.7+0.2 pts
112Figaró-Montmany Estimated10.7-0.5 pts
113Sant Joan de Vilatorrada Estimated10.7+0.2 pts
114Castellví de la Marca Estimated10.6+0.6 pts
115Avinyonet del Penedès Estimated10.6+0.2 pts
116Castellterçol Estimated10.5+0.3 pts
117Guardiola de Berguedà Estimated10.5+1.6 pts
118Teià Estimated10.5+0.3 pts
119El Papiol Estimated10.5+1.5 pts
120Olesa de Montserrat Estimated10.3+0.2 pts
121Perafita Estimated10.2+0.7 pts
122Sant Quirze Safaja Estimated10.1+1.8 pts
123Piera Estimated10+0.2 pts
124Torrelavit Estimated10+0.2 pts
125Vallgorguina Estimated10+0.8 pts
126Montmajor Estimated10+1.7 pts
127Montmaneu Estimated9.9-4.4 pts
128Capellades Estimated9.8+0.7 pts
129Barberà del Vallès Estimated9.7+0.1 pts
130Molins de Rei Estimated9.6+0.8 pts
131Sant Sadurní d'Anoia Estimated9.6+0.3 pts
132Els Hostalets de Pierola Estimated9.5+0.3 pts
133La Pobla de Lillet Estimated9.5-0.1 pts
134Santa Maria de Palautordera Estimated9.5-0 pts
135Taradell Estimated9.5+0.3 pts
136Llinars del Vallès Estimated9.4+0.4 pts
137Marganell Estimated9.3+1.3 pts
138La Garriga Estimated9.3-0.2 pts
139Sant Feliu Sasserra Estimated9.3+2 pts
140Vilanova del Camí Estimated9.2+0.5 pts
141Vilassar de Mar Estimated9.1+0.2 pts
142Calldetenes Estimated9.1+0.5 pts
143Esparreguera Estimated9.1+0.1 pts
144Sant Pere de Riudebitlles Estimated9+0.1 pts
145Cervelló Estimated9+0.7 pts
146Olèrdola Estimated9+0.3 pts
147Vallromanes Estimated8.9+0.9 pts
148Sant Esteve de Palautordera Estimated8.9+0.7 pts
149Olvan Estimated8.9+1.1 pts
150Begues Estimated8.8+0.8 pts
151Montmeló Estimated8.8+0.6 pts
152Vallbona d'Anoia Estimated8.7+1 pts
153Sant Iscle de Vallalta Estimated8.6+0.1 pts
154Alpens Estimated8.6-0.4 pts
155Talamanca Estimated8.6+3.8 pts
156Tavertet Estimated8.6-0.8 pts
157Navarcles Estimated8.6+0.3 pts
158Sant Salvador de Guardiola Estimated8.5+1.1 pts
159Castellbell i el Vilar Estimated8.5-0.3 pts
160Abrera Estimated8.5+0.3 pts
161Aiguafreda Estimated8.5+1.2 pts
162Cardona Estimated8.5+0.1 pts
163Santa Fe del Penedès Estimated8.4+0.8 pts
164Polinyà Estimated8.4+0.9 pts
165La Granada Estimated8.4+0.7 pts
166Vilassar de Dalt Estimated8.4-0.1 pts
167Olesa de Bonesvalls Estimated8.3+0.9 pts
168Cabrera de Mar Estimated8.30 pts
169Les Masies de Roda Estimated8.3+0.5 pts
170Martorelles Estimated8.3+0.2 pts
171Palafolls Estimated8.2+0.7 pts
172Sant Cugat Sesgarrigues Estimated8.2-1.2 pts
173Parets del Vallès Estimated8.2+0.1 pts
174Arenys de Munt Estimated8.2+0.2 pts
175L'Esquirol Estimated8.1+0.3 pts
176Sant Esteve Sesrovires Estimated8.1+0.4 pts
177Castellcir Estimated8+2 pts
178Rupit i Pruit Estimated7.9+0.4 pts
179Vallirana Estimated7.9+0.4 pts
180Campins Estimated7.8-0.5 pts
181Cardedeu Estimated7.8+0.5 pts
182Centelles Estimated7.8+0.4 pts
183La Palma de Cervelló Estimated7.7+0.1 pts
184El Pont de Vilomara i Rocafort Estimated7.7-0.2 pts
185Palau-solità i Plegamans Estimated7.7+0.1 pts
186Castellbisbal Estimated7.7+0.2 pts
187Masquefa Estimated7.70 pts
188Castellví de Rosanes Estimated7.6+0.9 pts
189Sora Estimated7.6+3.1 pts
190Lluçà Estimated7.5+1.8 pts
191Pallejà Estimated7.5+0.3 pts
192Vilalba Sasserra Estimated7.5-0.8 pts
193La Pobla de Claramunt Estimated7.2+0.1 pts
194Sant Fruitós de Bages Estimated7.2+0.1 pts
195Sant Pere de Vilamajor Estimated7.1-0.1 pts
196L'Ametlla del Vallès Estimated7.1+0.4 pts
197Sant Antoni de Vilamajor Estimated7+0.4 pts
198Badia del Vallès Estimated6.9+0.2 pts
199Sentmenat Estimated6.9+0.1 pts
200Pacs del Penedès Estimated6.9-0.6 pts
201Casserres Estimated6.8-0.4 pts
202Dosrius Estimated6.8+0.2 pts
203Sant Pere Sallavinera Estimated6.80 pts
204Vilanova de Sau Estimated6.8+0.6 pts
205La Nou de Berguedà Estimated6.7-0.6 pts
206Òdena Estimated6.7-0.1 pts
207Cercs Estimated6.7+1 pts
208Castellgalí Estimated6.7+0.1 pts
209Olost Estimated6.6+0.6 pts
210Malla Estimated6.6+1.4 pts
211Tiana Estimated6.6+0.8 pts
212Balsareny Estimated6.6-1.1 pts
213Les Masies de Voltregà Estimated6.6+0.3 pts
214Puigdàlber Estimated6.6-2.1 pts
215Sant Julià de Vilatorta Estimated6.6+0.9 pts
216Sant Quirze del Vallès Estimated6.5+0.4 pts
217Santa Eulàlia de Riuprimer Estimated6.5-0.1 pts
218Gualba Estimated6.5-0.3 pts
219Avià Estimated6.5+0.5 pts
220Sant Llorenç d'Hortons Estimated6.4-0.2 pts
221Sant Fost de Campsentelles Estimated6.4+0.6 pts
222Cabrera d'Anoia Estimated6.4-0.6 pts
223Argentona Estimated6.3-0.1 pts
224Sant Llorenç Savall Estimated6.3-0.5 pts
225Sant Vicenç de Torelló Estimated6.3+0.2 pts
226Torrelles de Llobregat Estimated6.3+0.2 pts
227Santa Maria de Miralles Estimated6.3-2.8 pts
228Subirats Estimated6.20 pts
229La Torre de Claramunt Estimated6.1+1.1 pts
230Vilobí del Penedès Estimated6.1+0.5 pts
231El Bruc Estimated6+0.3 pts
232Montseny Estimated5.9-0.8 pts
233Seva Estimated5.9-0.2 pts
234La Roca del Vallès Estimated5.9+0.4 pts
235Sagàs Estimated5.9+2.6 pts
236Santpedor Estimated5.9+0.3 pts
237Santa Maria d'Oló Estimated5.8+0.3 pts
238Bellprat Estimated5.8+4.3 pts
239Gaià Estimated5.7+0.6 pts
240Argençola Estimated5.7-1.2 pts
241Òrrius Estimated5.7+1.7 pts
242Fogars de la Selva Estimated5.6+0.4 pts
243L'Estany Estimated5.6+2.3 pts
244Bigues i Riells del Fai Estimated5.6+0.2 pts
245Vilanova del Vallès Estimated5.6+0.5 pts
246Vacarisses Estimated5.5+0.4 pts
247Rajadell Estimated5.5-0.7 pts
248Santa Maria de Besora Estimated5.5+0.6 pts
249Sant Martí Sesgueioles Estimated5.4+0.8 pts
250Castellar del Vallès Estimated5.4+0.2 pts

Showing the top 250 of 311. The Excel download has every row.

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-11-26.

Citation styles

Invokely calculated this figure from the publishers' data, so Invokely is the author and the publishers of the inputs are named.

APA 7

Invokely. (n.d.). Población extranjera entre población total (Censo anual, INE) (Municipalities in Barcelona province by share of foreign nationals, 2026) [Data set]. Calculated from data by INE. Retrieved November 26, 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, 2026. Calculated from data by INE. Invokely, https://invokely.ai/docs/methodology#foreign_population_share. Accessed 26 Nov. 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, 2026. Dataset. Calculated from data by INE. Accessed November 26, 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, 2026 [Dataset]. Calculated from data by INE. Available at: https://invokely.ai/docs/methodology#foreign_population_share (Accessed: 26 November 2026).

BibTeX
@misc{invokely_municipalities_in_barcelona_province_2026,
  author = {{Invokely}},
  title = {{Población extranjera entre población total (Censo anual, INE): Municipalities in Barcelona province by share of foreign nationals, 2026}},
  howpublished = {Data set},
  url = {https://invokely.ai/docs/methodology#foreign_population_share},
  urldate = {2026-11-26},
  note = {Calculated from data by INE. Accessed via Invokely, https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities. 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-11-26.},
}
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, 2026
PB  - Invokely
DB  - Invokely
UR  - https://invokely.ai/docs/methodology#foreign_population_share
L2  - https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities
Y2  - 2026/11/26
N1  - Calculated from data by INE.
N1  - Accessed via Invokely, https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities.
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-11-26.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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

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

Questions

Which municipality has the highest share of foreign nationals?

Vic, with 31% in 2026, according to INE.

Which municipality has the lowest share of foreign nationals?

Sant Martí d'Albars, with 0% in 2026.

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-11-26.

Foreign nationals share of population: other rankings

Municipalities in Barcelona province: more rankings