The Swing Towns: Where the Vote Changes Hands Between the PP and the PSOE, and Which Ones Always Vote Like Spain
In the seven general elections since 2008, Spain has changed its most-voted party between the PP and the PSOE three times. Half of the municipalities have never changed, but they are the small ones: only one in four voters lives in them. In the cities the opposite holds. Sevilla, Zaragoza and Málaga have voted like the country as a whole all seven times, and Huelva, Motril or Antequera have changed hands five times, more than Spain. With today's forecast, 25 municipalities of more than 20,000 voters where the PSOE was ahead in 2023 would switch to the PP, among them Gijón, Getafe and Cádiz.
7 November 2026 · Miguel · Leer en español
Seven Elections, Three Changes
Between 2008 and 2023, Spain’s most-voted party has changed three times between the PP and the PSOE: from the PSOE in 2008 to the PP in 2011, 2015 and 2016; back to the PSOE in both 2019 elections, and again to the PP in 2023. We have done the same count in each of the 7,573 municipalities with results in all seven elections: which of the two got more votes each time, even if a third party won, and how many times that changed.
- Half of the municipalities (48%) have never changed. But they are mostly small villages, and only 25% of voters live in them.
- The most common case among voters is two changes: half live in municipalities that went from the PSOE to the PP in 2011 and back to the PSOE in 2019, or the other way round. This is the Spain that moves with the country, but not always at the same time.
- One in five voters (20%) lives in municipalities with three changes or more, as many or more than Spain as a whole. That is 1,046 municipalities.
It is the same phenomenon we saw section by section in “Swing Spain”: more than half of the electorate lives in neighbourhoods that have changed colour. Here we look at it through a name everyone knows, that of their municipality.
The Bigger, the More It Moves
Menos de 1.000 electores (4,774 municipalities)
1.000 a 5.000 (1,747 municipalities)
5.000 a 20.000 (763 municipalities)
20.000 a 100.000 (243 municipalities)
Más de 100.000 (46 municipalities)
- In villages with fewer than 1,000 voters, 54% have never changed, and 41% have always voted more for the PP than for the PSOE.
- In cities of more than 100,000, only 13% have never changed. Since 2008, only one has always voted more for the PP than for the PSOE, and five always more for the PSOE.
- Those that always vote like Spain are urban: 13–14% of municipalities of more than 20,000 voters, against 4% of the smallest villages.
Those That Always Vote Like Spain
Of the 289 municipalities of more than 20,000 voters, 40 have voted all seven times like the country as a whole. The fifteen largest:
| Municipality | Province | Voters | 2008 | 2011 | 2015 | 2016 | 2019A | 2019N | 2023 |
|---|---|---|---|---|---|---|---|---|---|
| Sevilla | Sevilla | 529,271 | −13.8 | +7.9 | +2.8 | +6.0 | −15.0 | −10.0 | +3.6 |
| Zaragoza | Zaragoza | 501,683 | −9.1 | +16.5 | +8.9 | +11.0 | −13.3 | −6.9 | +5.8 |
| Málaga | Málaga | 435,786 | −0.9 | +21.5 | +5.3 | +9.5 | −12.9 | −7.3 | +6.8 |
| A Coruña | A Coruña | 197,189 | −5.6 | +14.3 | +12.0 | +13.8 | −12.1 | −4.3 | +8.9 |
| Jerez de la Frontera | Cádiz | 169,493 | −13.0 | +18.8 | +2.0 | +6.5 | −14.7 | −10.6 | +4.4 |
| Santa Cruz de Tenerife | S. C. de Tenerife | 166,663 | −3.9 | +22.5 | +9.5 | +13.1 | −12.0 | −6.6 | +3.3 |
| León | León | 98,359 | −3.9 | +20.5 | +15.0 | +18.1 | −6.0 | −0.6 | +7.2 |
| Algeciras | Cádiz | 90,678 | −9.9 | +25.0 | +4.8 | +9.3 | −13.8 | −8.9 | +6.9 |
| Jaén | Jaén | 89,874 | −1.0 | +24.4 | +13.1 | +18.1 | −7.8 | −4.0 | +11.7 |
| Ourense | Ourense | 83,589 | −3.8 | +13.6 | +12.7 | +15.9 | −11.4 | −6.0 | +7.4 |
| Lugo | Lugo | 77,350 | −2.0 | +18.0 | +13.1 | +17.1 | −8.4 | −0.0 | +14.0 |
| Rivas-Vaciamadrid | Madrid | 70,269 | −9.6 | +8.5 | +3.9 | +4.7 | −19.2 | −12.9 | +2.9 |
| Chiclana de la Frontera | Cádiz | 68,318 | −0.1 | +23.6 | +3.1 | +7.9 | −13.2 | −8.7 | +5.5 |
| Palencia | Palencia | 61,769 | −0.5 | +17.4 | +11.2 | +16.4 | −6.0 | −1.7 | +2.4 |
| Coslada | Madrid | 56,386 | −7.3 | +10.2 | +3.2 | +5.4 | −19.2 | −13.9 | +0.0 |
PP margin over the PSOE, in points of valid votes: positive, the PP is ahead; negative, the PSOE. In Lugo (2019N) and Coslada (2023) the difference is less than a tenth of a point.
The others are Ferrol, Mijas, Arona, Siero, Huesca, Pinto, La Orotava, Lucena, Plasencia, Narón, Eivissa, Vilagarcía de Arousa, Los Realejos, Oleiros, Calvià, Don Benito, Úbeda, Arteixo, Carballo, Aranda de Duero, Culleredo, Valdepeñas, Hellín, Candelaria and Cambre.
Three things stand out:
- Sevilla, Zaragoza and Málaga, the fourth, fifth and sixth cities of Spain, have always got it right. Zaragoza already appeared in our article on the “Spanish Ohio” as the province that always gets it right; here it turns out its capital does too.
- Andalucía and Galicia account for half the list: 9 and 11 of the 40 municipalities. Cádiz has three among the first fifteen, and the province of A Coruña, eight in the full list.
- Getting it right is not resembling. Rivas-Vaciamadrid and Coslada always vote like Spain, but with very different margins: in 2019, the PSOE led the PP there by 19 points, against 12 in Spain. What they repeat is the direction of the change, not its size.
Those That Change More Than Spain
At the other extreme are the municipalities that change hands more times than the country: five changes in six possible occasions. Those of more than 20,000 voters:
| Municipality | Province | Voters | Changes | 2008 | 2011 | 2015 | 2016 | 2019A | 2019N | 2023 |
|---|---|---|---|---|---|---|---|---|---|---|
| Huelva | Huelva | 111,348 | 5 | −9.1 | +14.1 | −0.3 | +4.3 | −18.5 | −13.3 | +2.2 |
| Motril | Granada | 43,163 | 5 | −5.5 | +12.9 | −1.0 | +2.8 | −15.4 | −10.7 | +0.4 |
| Mairena del Aljarafe | Sevilla | 36,474 | 5 | −20.1 | +7.0 | −1.0 | +1.9 | −19.4 | −13.7 | +2.5 |
| Antequera | Málaga | 32,286 | 5 | −15.2 | +14.2 | −1.4 | +3.8 | −15.3 | −10.2 | +8.9 |
| Écija | Sevilla | 31,386 | 5 | −16.1 | +11.6 | −2.3 | +3.7 | −17.0 | −12.9 | +9.0 |
| Andújar | Jaén | 29,454 | 5 | −13.6 | +14.4 | −3.0 | +4.6 | −14.6 | −11.1 | +9.6 |
| Ronda | Málaga | 26,913 | 5 | −9.0 | +14.6 | −0.9 | +3.8 | −14.0 | −7.7 | +9.4 |
| Adeje | S. C. de Tenerife | 21,573 | 5 | −15.0 | +10.4 | −4.9 | +2.9 | −20.1 | −15.7 | +3.6 |
| Fuenlabrada | Madrid | 140,744 | 4 | −8.8 | +11.2 | −2.2 | +1.3 | −22.8 | −18.2 | −7.0 |
| Mérida | Badajoz | 46,869 | 4 | −7.7 | +16.9 | −1.3 | +5.2 | −18.2 | −13.4 | −1.7 |
| Linares | Jaén | 44,832 | 4 | −19.4 | +7.8 | −3.1 | +1.2 | −17.9 | −14.2 | −1.3 |
PP margin over the PSOE, in points. Lleida, Tarragona, Castelldefels, Figueres, Miranda de Ebro and Villanueva de la Serena also have four changes.
The pattern repeats almost identically: the PSOE narrowly won in 2015 and the PP narrowly in 2016. In December 2015 the PP lost 16 points across Spain; in these municipalities that was enough for the PSOE, which was also falling, to end up ahead. Six months later, the PP’s recovery turned them around again. These are traditionally Socialist-voting municipalities where the PP grows when it rises across the country. Of the eight with five changes, seven are Andalusian, and all eight voted more for the PP than for the PSOE in 2023.
The Map of the Blocs Is More Stable
The PP being ahead of the PSOE does not mean the right being ahead of the left. If instead of the contest between the two big parties we compare the blocs (state-wide left: PSOE, IU, Podemos and Sumar; state-wide right: PP, Ciudadanos and Vox), the map moves much less. We have calculated it outside Catalonia, the Basque Country and Navarre, where nationalist parties weigh too much to classify them into one of the two blocs.
- 63% of municipalities, with 54% of voters, have never changed bloc.
- The state-wide right has always been ahead in 48% of municipalities (43% of voters) and the left in 15% (11%).
- Outside those three regions, the right has been ahead since 2011, including in 2019. The PSOE’s two victories in 2019 were changes of most-voted party, not of bloc: PP, Ciudadanos and Vox added up to more than PSOE and Unidas Podemos, but split among three.
What Could Change on 29N
With today’s forecast (PP 30.8%, PSOE 26.3%), the PP’s margin over the PSOE across Spain would be 3.2 points greater than in 2023. If that change were the same in all municipalities, what we call a uniform swing, 25 of the 132 municipalities of more than 20,000 voters where the PSOE was ahead in 2023 would switch to the PP. They add up to 1.2 million voters. The fifteen largest:
| Municipality | Province | Voters | 2023 margin | With the forecast |
|---|---|---|---|---|
| Gijón | Asturias | 220,525 | −0.4 | +2.8 |
| Getafe | Madrid | 133,150 | −2.2 | +1.0 |
| Cádiz | Cádiz | 94,658 | −2.0 | +1.1 |
| San Fernando | Cádiz | 76,608 | −0.4 | +2.7 |
| Avilés | Asturias | 63,026 | −2.0 | +1.2 |
| Paterna | Valencia | 51,290 | −1.5 | +1.7 |
| Mérida | Badajoz | 46,869 | −1.7 | +1.5 |
| San Vicente del Raspeig | Alicante | 45,193 | −1.8 | +1.4 |
| Linares | Jaén | 44,832 | −1.3 | +1.9 |
| Utrera | Sevilla | 41,149 | −2.0 | +1.2 |
| Vila-real | Castellón | 36,465 | −1.1 | +2.1 |
| San Bartolomé de Tirajana | Las Palmas | 33,688 | −2.7 | +0.4 |
| Soria | Soria | 29,323 | −2.5 | +0.7 |
| Puerto del Rosario | Las Palmas | 29,170 | −2.2 | +0.9 |
| Petrer | Alicante | 27,253 | −2.6 | +0.5 |
PP margin over the PSOE, in points. The other ten: Ontinyent, Arcos de la Frontera, la Vall d’Uixó, San Andrés del Rabanedo, Alcázar de San Juan, San Roque, Xàtiva, Maó, Paiporta and Villanueva de la Serena.
And they would remain on the edge, with the PSOE still ahead by less than three points, Vigo, Leganés, San Cristóbal de La Laguna, Alcalá de Guadaíra, Elda, Torrelavega, Puertollano, San Fernando de Henares and Dénia.
This list has to be read with care:
- The swing is never uniform. In 2023, the PP rose much more in Andalucía and the Comunidad Valenciana than in Catalonia or the Basque Country. A one-point difference in a municipality is smaller than the error of any forecast.
- Winning a municipality does not give seats. Seats are allocated by province. Gijón switching to the PP changes nothing by itself: what counts is the vote of the whole of Asturias, which we analyse in its own article.
- What it does tell us is where the change will be noticed. If on 29N the PP is ahead in Gijón, Getafe or Cádiz, the forecast is coming true. If the PSOE keeps them, the night will go better for it than we expect.
How we calculated it
- Data. Polling-station results from the Ministry of the Interior for the general elections of 2008, 2011, 2015, 2016, April and November 2019 and 2023, added up by municipality, without the overseas vote (CERA). The 7,573 municipalities with results in all seven elections and without ties between the PP and the PSOE are included.
- Changes. In each election, which of the two gets more votes in the municipality, even if a third party wins. A change is when the one ahead is not the same as in the previous election. “Votes like Spain”: the one ahead in the municipality matches all seven times the one ahead in the national total.
- Size. Resident voters (CER) in 2023.
- Blocs. State-wide left: PSOE, IU, Podemos, Sumar and their confluences. State-wide right: PP, Ciudadanos and Vox. Without Catalonia, the Basque Country or Navarre.
- 29N. PP-PSOE margin of 2023 in each municipality plus the change in the national margin between 2023 and the forecast of November 7 (PP 30.8%, PSOE 26.3%), the same for all. It is not the model’s forecast by municipality, which we do not produce.
- Code.
articulo_veletas.py, in the altnalysis repository.