Municipalities in Barcelona province by share of foreign nationals
Vic had the highest share of foreign nationals of 311 municipalities in 2025, at 30.2%. Sant Martí d'Albars had the lowest, at 0%. The median was 8.3% and the figure for Barcelona province was 18%. Source: INE.
Top 40 municipalities, 2025
Full ranking
| Rank | Municipalities | 2025 (%) | Change on 2024 |
|---|---|---|---|
| 1 | Vic | 30.2 | +0.4 pts |
| 2 | Sitges | 27.5 | +0.5 pts |
| 3 | L'Hospitalet de Llobregat | 27.3 | +1.3 pts |
| 4 | Barcelona | 25.5 | +1 pts |
| 5 | Manlleu | 25.1 | +0.1 pts |
| 6 | Castelldefels | 24.2 | +0.5 pts |
| 7 | Santa Coloma de Gramenet | 23.8 | +0.8 pts |
| 8 | Olivella | 23.6 | -0.2 pts |
| 9 | Calella | 22.7 | +1.3 pts |
| 10 | Manresa | 22 | +1.4 pts |
| 11 | Calaf | 21.4 | -0.2 pts |
| 12 | Canovelles | 20.8 | +0.6 pts |
| 13 | Sant Adrià de Besòs | 19 | +0.1 pts |
| 14 | Caldes d'Estrac | 18.7 | +0.3 pts |
| 15 | Cornellà de Llobregat | 18.5 | +0.8 pts |
| 16 | Badalona | 18.4 | +1.2 pts |
| 17 | Berga | 18.2 | +1.5 pts |
| 18 | Sant Pere de Ribes | 18.1 | +1.1 pts |
| 19 | Santa Susanna | 17.8 | +0.8 pts |
| 20 | Roda de Ter | 17.7 | +1.1 pts |
| 21 | Torelló | 17.7 | +1 pts |
| 22 | Sant Quintí de Mediona | 17.6 | +1 pts |
| 23 | Torrelles de Foix | 17.5 | +0.8 pts |
| 24 | Mataró | 17.3 | +0.4 pts |
| 25 | Sant Bartomeu del Grau | 17 | 0 pts |
| 26 | Pineda de Mar | 17 | +0.7 pts |
| 27 | Granollers | 16.9 | +1.2 pts |
| 28 | Martorell | 16.8 | +0.3 pts |
| 29 | Vilafranca del Penedès | 16.2 | +1.3 pts |
| 30 | Esplugues de Llobregat | 15.9 | +0.5 pts |
| 31 | La Quar | 15.9 | 0 pts |
| 32 | Font-rubí | 15.7 | +1.1 pts |
| 33 | Monistrol de Montserrat | 15.7 | +0.4 pts |
| 34 | Rubí | 15.4 | +0.8 pts |
| 35 | Sant Cugat del Vallès | 15.3 | +0.1 pts |
| 36 | Sant Vicenç de Castellet | 15.2 | +0.6 pts |
| 37 | Sabadell | 15.2 | +0.6 pts |
| 38 | Igualada | 15.1 | +0.9 pts |
| 39 | Terrassa | 14.9 | +0.4 pts |
| 40 | Premià de Mar | 14.8 | +0.6 pts |
| 41 | Carme | 14.5 | +1.3 pts |
| 42 | Montcada i Reixac | 14.4 | +0.3 pts |
| 43 | Mollet del Vallès | 14.4 | +1 pts |
| 44 | Ripollet | 14.3 | +0.4 pts |
| 45 | Moià | 14.3 | +0.4 pts |
| 46 | Montmaneu | 14.3 | -3.2 pts |
| 47 | Cabrils | 14.2 | -0.5 pts |
| 48 | Malgrat de Mar | 14.1 | +0.5 pts |
| 49 | Vilanova i la Geltrú | 14.1 | +0.6 pts |
| 50 | La Llagosta | 14 | +0.9 pts |
| 51 | Cubelles | 13.8 | +0.7 pts |
| 52 | Artés | 13.6 | +0.8 pts |
| 53 | Sant Andreu de Llavaneres | 13.6 | -0.7 pts |
| 54 | Alella | 13.6 | +0.6 pts |
| 54 | Sant Pol de Mar | 13.6 | -0 pts |
| 56 | Montesquiu | 13.5 | -0.1 pts |
| 57 | Sant Vicenç de Montalt | 13.4 | +0.7 pts |
| 58 | Arenys de Mar | 13.4 | +0.7 pts |
| 59 | Santa Margarida de Montbui | 13.4 | +0.8 pts |
| 60 | Pontons | 13.4 | -4 pts |
| 61 | Gavà | 13.4 | +0.4 pts |
| 62 | Tagamanent | 13.4 | -1.1 pts |
| 63 | Sant Just Desvern | 13.3 | +0.6 pts |
| 64 | El Pla del Penedès | 13.1 | +2.3 pts |
| 65 | Sant Hipòlit de Voltregà | 13 | -1.1 pts |
| 66 | Santa Margarida i els Monjos | 13 | 0 pts |
| 67 | La Llacuna | 13 | -2.1 pts |
| 68 | Montgat | 12.9 | +0.9 pts |
| 69 | El Masnou | 12.9 | +0.3 pts |
| 70 | Balenyà | 12.9 | +0.3 pts |
| 71 | Santa Eugènia de Berga | 12.7 | +0.9 pts |
| 72 | Montornès del Vallès | 12.6 | +0.3 pts |
| 73 | Sant Celoni | 12.6 | +0.5 pts |
| 74 | Puig-reig | 12.5 | +1.1 pts |
| 75 | Prats de Lluçanès | 12.4 | +1.8 pts |
| 76 | Sant Quirze de Besora | 12.3 | +0.9 pts |
| 77 | Sant Boi de Llobregat | 12.3 | +0.6 pts |
| 78 | Les Franqueses del Vallès | 12.3 | +0.7 pts |
| 79 | Fígols | 12.2 | +0.3 pts |
| 80 | Gironella | 12.1 | -0.7 pts |
| 81 | Sant Martí de Centelles | 12.1 | +0.2 pts |
| 82 | Sant Boi de Lluçanès | 12 | +1.5 pts |
| 83 | Sant Feliu de Codines | 11.9 | +1.4 pts |
| 84 | Navàs | 11.8 | +0.9 pts |
| 85 | Cerdanyola del Vallès | 11.8 | +0.5 pts |
| 86 | Tordera | 11.7 | +0.6 pts |
| 87 | Callús | 11.7 | +1.3 pts |
| 88 | Castellet i la Gornal | 11.6 | +2.1 pts |
| 89 | Gelida | 11.6 | +0.6 pts |
| 90 | Sant Cebrià de Vallalta | 11.5 | +0.9 pts |
| 91 | Sant Martí Sarroca | 11.4 | +1.1 pts |
| 92 | Figaró-Montmany | 11.2 | +1 pts |
| 93 | Sant Joan Despí | 11.1 | +0.8 pts |
| 94 | El Prat de Llobregat | 11.1 | +0.4 pts |
| 95 | Corbera de Llobregat | 11 | +0.3 pts |
| 96 | Súria | 10.8 | +0.8 pts |
| 97 | Borredà | 10.8 | -0.2 pts |
| 98 | Sant Andreu de la Barca | 10.8 | +0.4 pts |
| 99 | Canyelles | 10.8 | +0.4 pts |
| 100 | Sallent | 10.8 | +1.5 pts |
| 101 | Tona | 10.7 | +0.4 pts |
| 102 | Canet de Mar | 10.6 | +0.1 pts |
| 103 | Avinyó | 10.6 | +0.5 pts |
| 104 | Sant Pere de Torelló | 10.6 | -0.5 pts |
| 105 | Mediona | 10.6 | +0.1 pts |
| 106 | Sant Joan de Vilatorrada | 10.5 | +0.6 pts |
| 107 | Premià de Dalt | 10.4 | -0.2 pts |
| 108 | Sant Feliu de Llobregat | 10.4 | +0.6 pts |
| 109 | Avinyonet del Penedès | 10.4 | +1.1 pts |
| 110 | Sant Vicenç dels Horts | 10.3 | +0.6 pts |
| 111 | Santa Perpètua de Mogoda | 10.3 | 0 pts |
| 112 | Caldes de Montbui | 10.3 | +0.8 pts |
| 113 | Pujalt | 10.2 | -1.1 pts |
| 114 | Castellterçol | 10.2 | -0.1 pts |
| 114 | Teià | 10.2 | +0.5 pts |
| 116 | Olesa de Montserrat | 10 | +0.3 pts |
| 117 | Castellví de la Marca | 10 | -1.2 pts |
| 118 | Gallifa | 9.9 | -3.3 pts |
| 119 | Viladecans | 9.9 | +0.6 pts |
| 120 | Torrelavit | 9.8 | -0.1 pts |
| 121 | Piera | 9.8 | +0.1 pts |
| 122 | Barberà del Vallès | 9.6 | +0.6 pts |
| 123 | La Pobla de Lillet | 9.6 | +1.1 pts |
| 124 | La Garriga | 9.6 | +0.1 pts |
| 125 | Santa Maria de Palautordera | 9.5 | -0.3 pts |
| 126 | Perafita | 9.5 | +1.3 pts |
| 127 | Tavertet | 9.4 | +2.5 pts |
| 128 | Sant Cugat Sesgarrigues | 9.4 | -0.6 pts |
| 129 | Sant Sadurní d'Anoia | 9.3 | +0.2 pts |
| 130 | Vallgorguina | 9.2 | +0.3 pts |
| 131 | Els Hostalets de Pierola | 9.2 | -0.7 pts |
| 132 | Taradell | 9.2 | 0 pts |
| 133 | Capellades | 9.2 | +0.8 pts |
| 134 | Llinars del Vallès | 9.1 | +0.4 pts |
| 135 | Santa Maria de Miralles | 9 | +1 pts |
| 136 | Alpens | 9 | +0.8 pts |
| 137 | Esparreguera | 9 | +0.4 pts |
| 138 | Sant Pere de Riudebitlles | 9 | +1.1 pts |
| 139 | El Papiol | 8.9 | 0 pts |
| 140 | Guardiola de Berguedà | 8.9 | +0.3 pts |
| 141 | Vilassar de Mar | 8.9 | +0.5 pts |
| 142 | Molins de Rei | 8.8 | +0.5 pts |
| 143 | Castellbell i el Vilar | 8.8 | +0.7 pts |
| 144 | Olèrdola | 8.7 | +0.4 pts |
| 145 | Puigdàlber | 8.7 | +0.9 pts |
| 146 | Vilanova del Camí | 8.7 | -0 pts |
| 147 | Calldetenes | 8.6 | +0.5 pts |
| 148 | Sant Iscle de Vallalta | 8.5 | +1 pts |
| 149 | Vilassar de Dalt | 8.5 | +0.6 pts |
| 150 | Cardona | 8.4 | +0.5 pts |
| 151 | Campins | 8.3 | +0.8 pts |
| 152 | Cervelló | 8.3 | +0.5 pts |
| 153 | Cabrera de Mar | 8.3 | +0.2 pts |
| 154 | Sant Quirze Safaja | 8.3 | +1 pts |
| 155 | Montmajor | 8.3 | -0.4 pts |
| 156 | Navarcles | 8.3 | +0.8 pts |
| 157 | Abrera | 8.2 | +0.3 pts |
| 158 | Sant Esteve de Palautordera | 8.2 | +0.6 pts |
| 158 | Vilalba Sasserra | 8.2 | -1.4 pts |
| 160 | Montmeló | 8.2 | -0.2 pts |
| 161 | Martorelles | 8.1 | +0.5 pts |
| 162 | Parets del Vallès | 8.1 | +0.4 pts |
| 163 | Begues | 8.1 | +0.2 pts |
| 164 | Marganell | 8 | -1.6 pts |
| 165 | Vallromanes | 8 | -0.7 pts |
| 166 | El Pont de Vilomara i Rocafort | 8 | +0.3 pts |
| 167 | Arenys de Munt | 8 | +0.2 pts |
| 168 | L'Esquirol | 7.9 | +0.3 pts |
| 169 | Les Masies de Roda | 7.8 | +0.3 pts |
| 170 | Olvan | 7.8 | +0.7 pts |
| 171 | Vallbona d'Anoia | 7.7 | +0.3 pts |
| 172 | Balsareny | 7.7 | -0.3 pts |
| 173 | La Granada | 7.7 | +0.2 pts |
| 174 | Sant Esteve Sesrovires | 7.7 | +0.8 pts |
| 175 | La Palma de Cervelló | 7.7 | +0.1 pts |
| 176 | Santa Fe del Penedès | 7.6 | -1 pts |
| 177 | Masquefa | 7.6 | +0.6 pts |
| 178 | Palau-solità i Plegamans | 7.6 | +0.1 pts |
| 179 | Rupit i Pruit | 7.6 | -1 pts |
| 180 | Polinyà | 7.6 | +0.4 pts |
| 181 | Pacs del Penedès | 7.5 | -0.4 pts |
| 182 | Castellbisbal | 7.5 | +0.7 pts |
| 183 | Vallirana | 7.5 | +0.5 pts |
| 184 | Olesa de Bonesvalls | 7.5 | -0.1 pts |
| 184 | Palafolls | 7.5 | +0.2 pts |
| 186 | Sant Salvador de Guardiola | 7.4 | +1.6 pts |
| 187 | La Nou de Berguedà | 7.4 | +0.6 pts |
| 188 | Aiguafreda | 7.3 | -0.2 pts |
| 189 | Centelles | 7.3 | +0.2 pts |
| 190 | Sant Feliu Sasserra | 7.3 | +0.9 pts |
| 191 | Cardedeu | 7.2 | +0.3 pts |
| 192 | Sant Pere de Vilamajor | 7.2 | +1.2 pts |
| 193 | Casserres | 7.2 | +1 pts |
| 194 | Pallejà | 7.2 | +0.3 pts |
| 195 | La Pobla de Claramunt | 7.1 | +0.5 pts |
| 196 | Sant Fruitós de Bages | 7 | -0.2 pts |
| 197 | Argençola | 6.9 | -1.8 pts |
| 198 | Cabrera d'Anoia | 6.9 | +0.8 pts |
| 199 | Gualba | 6.8 | -1.1 pts |
| 200 | Òdena | 6.8 | +0.8 pts |
| 201 | Sant Llorenç Savall | 6.8 | +0.1 pts |
| 202 | Sant Pere Sallavinera | 6.8 | +4.2 pts |
| 203 | Sentmenat | 6.7 | +0.1 pts |
| 204 | Montseny | 6.7 | +1.7 pts |
| 205 | Badia del Vallès | 6.7 | +0.4 pts |
| 206 | Castellví de Rosanes | 6.7 | +1 pts |
| 207 | Sant Llorenç d'Hortons | 6.7 | +0.4 pts |
| 208 | L'Ametlla del Vallès | 6.7 | -0.2 pts |
| 209 | Dosrius | 6.6 | +0.3 pts |
| 210 | Santa Eulàlia de Riuprimer | 6.6 | +0.1 pts |
| 211 | Sant Antoni de Vilamajor | 6.6 | +0.5 pts |
| 212 | Castellgalí | 6.6 | +0.6 pts |
| 213 | Argentona | 6.5 | +0.1 pts |
| 214 | El Brull | 6.4 | +0.6 pts |
| 215 | Les Masies de Voltregà | 6.3 | +0.6 pts |
| 216 | Subirats | 6.2 | +0.3 pts |
| 217 | Rajadell | 6.2 | +0.3 pts |
| 218 | Sant Quirze del Vallès | 6.2 | +0.2 pts |
| 219 | Seva | 6.2 | -0.8 pts |
| 220 | Vilanova de Sau | 6.2 | +2.1 pts |
| 221 | Sant Vicenç de Torelló | 6.1 | +0.1 pts |
| 222 | Torrelles de Llobregat | 6.1 | +0.2 pts |
| 223 | Olost | 6.1 | +0.3 pts |
| 224 | Castellar de n'Hug | 6 | +1.1 pts |
| 225 | Avià | 6 | -0.1 pts |
| 226 | Castellcir | 6 | +0.3 pts |
| 227 | Sant Fost de Campsentelles | 5.9 | +0.7 pts |
| 228 | Tiana | 5.8 | +0.1 pts |
| 229 | Sant Mateu de Bages | 5.8 | +0.1 pts |
| 230 | Cercs | 5.7 | +1.2 pts |
| 231 | Sant Julià de Vilatorta | 5.7 | +0.6 pts |
| 232 | Lluçà | 5.7 | +0.2 pts |
| 233 | El Bruc | 5.7 | -0.3 pts |
| 234 | Sobremunt | 5.6 | -3.3 pts |
| 235 | Santpedor | 5.6 | +0.6 pts |
| 236 | Santa Maria d'Oló | 5.5 | +0.5 pts |
| 237 | La Roca del Vallès | 5.5 | +0.1 pts |
| 238 | Vilobí del Penedès | 5.5 | 0 pts |
| 239 | Bigues i Riells del Fai | 5.4 | +0.3 pts |
| 240 | Malla | 5.2 | +0.5 pts |
| 241 | Fogars de la Selva | 5.2 | -0.2 pts |
| 242 | Oristà | 5.2 | +0.5 pts |
| 243 | Castellar del Vallès | 5.2 | +0.2 pts |
| 244 | Gaià | 5.2 | +0.7 pts |
| 245 | Vacarisses | 5.1 | +0.5 pts |
| 246 | Cànoves i Samalús | 5.1 | -0.2 pts |
| 247 | Jorba | 5.1 | +1.6 pts |
| 248 | Vilanova del Vallès | 5 | +0.3 pts |
| 249 | La Torre de Claramunt | 4.9 | +0.7 pts |
| 250 | Castellolí | 4.9 | +1.3 pts |
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, 2025) [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, 2025. 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, 2025. 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, 2025 [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_2025,
author = {{Invokely}},
title = {{Población extranjera entre población total (Censo anual, INE): Municipalities in Barcelona province by share of foreign nationals, 2025}},
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=2025. 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, 2025
PB - Invokely
DB - Invokely
UR - https://invokely.ai/docs/methodology#foreign_population_share
L2 - https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities?period=2025
Y2 - 2026/10/08
N1 - Calculated from data by INE.
N1 - Accessed via Invokely, https://invokely.ai/rankings/foreign-population/barcelona-province-municipalities?period=2025.
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 30.2% in 2025, according to INE.
Which municipality has the lowest share of foreign nationals?
Sant Martí d'Albars, with 0% in 2025.
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