Official data from Spain's Ministry of the Interior, INE and BOE

Data · General elections 1977–2023

Election rankings of Spain's municipalities

The municipality that voted most like Spain as a whole at the 2023 general election is Barbate Cádiz. Here are the municipalities closest to and furthest from the national result, each party's strongholds, flips, places with the same winner since 1977, turnout records and one-vote wins. Everything comes from the official results of the Spanish Ministry of the Interior.

Unless stated otherwise, the rankings cover the 2,829 municipalities with at least 1,000 voters in 2023, so that a village with a handful of voters cannot top every list. Parties are grouped with their regional lists (PSC with PSOE, for example). Municipality links open their pages in Spanish.

01

The municipalities that vote most like Spain

Sum of the gaps, in points, between each party's vote share in the municipality and in Spain as a whole in 2023 (PP 33.1 %, PSOE 31.7 %, Vox 12.4 %, Sumar 12.3 %). The lower, the closer.

#MunicipalityMost votedGap
1Barbate CádizPSOE6.5 pts
2Sanlúcar de Barrameda CádizPP6.5 pts
3Tías Las PalmasPSOE6.6 pts
4Jaca HuescaPP6.9 pts
5Caspe ZaragozaPP7.2 pts
6Huesca HuescaPP7.3 pts
7Daroca ZaragozaPP7.4 pts
8Huelva HuelvaPP7.4 pts
9Villena Alicante/AlacantPP7.4 pts
10Sant Josep de sa Talaia Illes BalearsPP7.5 pts

02

The municipalities that vote least like their province

The same measure, comparing each municipality with its province's 2023 result.

#MunicipalityMost votedGap
1Etxarri Aranatz NavarraEH Bildu93.2 pts
2Marinaleda SevillaSUMAR92.6 pts
3Leitza NavarraEH Bildu90.3 pts
4Aramaio Araba/ÁlavaEH Bildu88.6 pts
5Sant Julià de Vilatorta BarcelonaJxCAT - JUNTS87.1 pts
6Folgueroles BarcelonaJxCAT - JUNTS87.1 pts
7Dima BizkaiaEH Bildu79.7 pts
8Lekeitio BizkaiaEH Bildu79.3 pts
9Alcalá del Valle CádizPSOE78.7 pts
10Cuevas del Becerro MálagaPSOE77.3 pts

03

Strongholds: where each party did best in 2023

PartyMunicipality% of valid votes
PPAvión Ourense81.5 %
Las Valeras Cuenca74.4 %
Cualedro Ourense70.4 %
PSOENavas del Madroño Cáceres72.2 %
Cañada Rosal Sevilla64.7 %
La Coronada Badajoz63.2 %
VoxLominchar Toledo33.9 %
Puente de Génave Jaén32.2 %
Pioz Guadalajara31.6 %
SumarMarinaleda Sevilla61.2 %
Trebujena Cádiz49.1 %
Pedrera Sevilla41.4 %
ERCFlix Tarragona38.0 %
JuntsAmer Girona45.7 %
EH BilduZaldibia Gipuzkoa65.6 %
PNVLoiu Bizkaia49.4 %
BNGAllariz Ourense24.8 %
Coalición CanariaEl Paso Santa Cruz de Tenerife40.6 %
UPNFunes Navarra32.1 %

04

Biggest rises and falls since November 2019

Change in vote share, in points, between the elections of 10 November 2019 and 23 July 2023.

PP
Lucena del Puerto Huelva+35.8
Las Valeras Cuenca+30.3
Fustiñana Navarra+29.8
Funes Navarra+28.2
Niebla Huelva+28.2
Agaete Las Palmas−10.2
Nuñomoral Cáceres−3.3
Gáldar Las Palmas−2.9
Santa María de Guía de Gran Canaria Las Palmas−2.6
Quiroga Lugo−1.4
PSOE
Camarles Tarragona+24.7
La Ràpita Tarragona+22.9
Deltebre Tarragona+22.1
Cardona Barcelona+21.0
El Perelló Tarragona+21.0
Bedmar y Garcíez Jaén−13.6
Samos Lugo−12.8
Dumbría A Coruña−12.7
Salvatierra de los Barros Badajoz−11.8
Belmonte de Miranda Asturias−10.4
Vox
Torrelles de Foix Barcelona+5.7
Nalda La Rioja+5.6
Castellet i la Gornal Barcelona+5.6
Albatàrrec Lleida+5.2
Deltebre Tarragona+5.1
Lucena del Puerto Huelva−19.0
La Matanza de Acentejo Santa Cruz de Tenerife−18.1
San Miguel de Abona Santa Cruz de Tenerife−18.0
Vilaflor de Chasna Santa Cruz de Tenerife−17.5
Las Valeras Cuenca−17.4

05

Flips: where the most-voted party changed

In 2,671 of the 8,119 published municipalities, the most-voted list in 2023 belonged to a different party than in November 2019 (all municipalities, no minimum size).

  • PSOE → PP: 1,404
  • ERC → PSOE: 354
  • Vox → PP: 262
  • ERC → Junts: 111
  • PP → PSOE: 92
  • PNV → EH Bildu: 61
  • UPN → PSOE: 49
  • Junts → PSOE: 35
The largest municipalities that flipped
Municipality20192023
Barcelona BarcelonaERC-SOBIRANISTESPSC
València Valencia/ValènciaPSOEPP
Zaragoza ZaragozaPSOEPP
Sevilla SevillaPSOEPP
Málaga MálagaPSOEPP
Palma Illes BalearsPSOEPP
Alacant/Alicante Alicante/AlacantPSOEPP
Bilbao BizkaiaEAJ-PNVPSE-EE (PSOE)
Córdoba CórdobaPSOEPP
Valladolid ValladolidPSOEPP
A Coruña A CoruñaPSdeG-PSOEPP
Elx/Elche Alicante/AlacantPSOEPP

06

The same winner since 1977

Municipalities where the same party, or its predecessor, came first in all 16 general elections since 1977 (AP counts as PP; CiU as Junts).

  • PSOE / PSC: 199 municipalities
  • PNV: 29 municipalities
  • PP (AP): 12 municipalities
  • Junts: 10 municipalities
The largest
MunicipalityPartyPopulation
Dos Hermanas SevillaPSOE / PSC142,519
Alcalá de Guadaíra SevillaPSOE / PSC77,474
Utrera SevillaPSOE / PSC52,403
La Rinconada SevillaPSOE / PSC40,724
Coria del Río SevillaPSOE / PSC31,278
Arcos de la Frontera CádizPSOE / PSC31,267
Carmona SevillaPSOE / PSC30,240
Camas SevillaPSOE / PSC29,089
Martos JaénPSOE / PSC24,462
San Juan de Aznalfarache SevillaPSOE / PSC23,408

07

Highest and lowest turnout in 2023

Highest
Campanario Badajoz87.3 %
Canena Jaén86.6 %
Villanueva de Alcardete Toledo86.4 %
Jimena Jaén86.2 %
Dos Torres Córdoba85.8 %
Ròtova Valencia/València85.6 %
Beneixama Alicante/Alacant85.6 %
Añora Córdoba85.4 %
Castelló de Rugat Valencia/València85.3 %
Las Valeras Cuenca85.3 %
Lowest
Melilla Melilla49.8 %
El Montmell Tarragona50.2 %
La Línea de la Concepción Cádiz50.2 %
Huévar del Aljarafe Sevilla50.3 %
Arona Santa Cruz de Tenerife50.8 %
Puerto Serrano Cádiz51.6 %
Arrecife Las Palmas52.7 %
Pájara Las Palmas52.7 %
Yaiza Las Palmas53.0 %
Adeje Santa Cruz de Tenerife53.8 %
Biggest rise since Nov 2019
Ibias Asturias+19.3 pts
Cabana de Bergantiños A Coruña+17.1 pts
Allande Asturias+16.6 pts
Rairiz de Veiga Ourense+15.3 pts
Frades A Coruña+15.3 pts
Biggest fall since Nov 2019
Huévar del Aljarafe Sevilla−23.8 pts
Santa Pau Girona−15.9 pts
Avià Barcelona−15.6 pts
Les Planes d'Hostoles Girona−15.5 pts
Les Preses Girona−15.1 pts

08

Ties and one-vote wins in 2023

302 municipalities (of any size) where the top two lists tied or were one vote apart, and the ten closest finishes among municipalities with at least 1,000 voters.

Ties and one-vote margins
Golosalvo AlbacetePP 26 · PSOE 26Tie
Guadiana BadajozPSOE 613 · PP 613Tie
Bellprat BarcelonaJxCAT - JUNTS 10 · ERC 10Tie
Castell de l'Areny BarcelonaJxCAT - JUNTS 13 · SUMAR - ECP 13Tie
Mura BarcelonaJxCAT - JUNTS 31 · PSC 31Tie
Marganell BarcelonaERC 31 · JxCAT - JUNTS 31Tie
Fuentecén BurgosPSOE 39 · PP 39Tie
Mamolar BurgosPSOE 8 · PP 8Tie
Padrones de Bureba BurgosPSOE 11 · PP 11Tie
Palacios de Riopisuerga BurgosVOX 5 · PP 5Tie
Santa María Ribarredonda BurgosPP 19 · PSOE 19Tie
Tamarón BurgosVOX 18 · PP 18Tie
Tosantos BurgosPSOE 14 · PP 14Tie
Valle de Zamanzas BurgosPSOE 7 · SUMAR 7Tie
Villambistia BurgosPSOE 14 · PP 14Tie
Villanueva de Carazo BurgosPSOE 10 · PP 10Tie
Castell de Cabres Castellón/CastellóPP 5 · PSOE 5Tie
San Rafael del Río Castellón/CastellóPP 111 · PSOE 111Tie
Doña Mencía CórdobaSUMAR 1,100 · PSOE 1,100Tie
Alcohujate CuencaPSOE 6 · PP 6Tie
The closest finishes (≥ 1,000 voters)
Guadiana BadajozPSOE · PP0 votes
Doña Mencía CórdobaSUMAR · PSOE0 votes
Mota del Cuervo CuencaPSOE · PP0 votes
Albesa LleidaPSC · ERC0 votes
Barrax AlbacetePSOE · PP1 vote
Chirivel AlmeríaPSOE · PP1 vote
Santa Cruz de Mudela Ciudad RealPP · PSOE1 vote
Torrenueva Costa GranadaPSOE · PP1 vote
Estremera MadridPSOE · PP1 vote
Zarzalejo MadridPP · SUMAR1 vote

Source: Spanish Ministry of the Interior, Congress election results by municipality, 1977–2023 (infoelectoral). Only municipalities with a published votoporvoto page. Compiled by votoporvoto.com. Data checked on 24/11/2026.