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

Guide · Local elections

Spain's local elections in 2027

On Sunday 23 May 2027 every town council in Spain is elected. When the vote is, who can take part, how many councillors each municipality elects and how mayors are chosen, under Spain's electoral law.

Town hall facade with a balcony and flags

When they are

Municipal elections are held on the fourth Sunday of May every four years (LOREG, art. 42.3). The next are on Sunday 23 May 2027; the previous ones were on 28 May 2023.

The new councils take office on the twentieth day after the election, 12 June 2027, unless the results are challenged in court (art. 195).

Who can vote

Spaniards aged 18 or over on the electoral roll and also citizens of other EU countries living in Spain and nationals of countries with a reciprocity agreement, such as the United Kingdom or Norway, who have registered on the electoral roll (art. 176). See our guide for foreign residents.

How many councillors each municipality elects

Each municipality is a constituency and elects a number of councillors set by its population, on a scale fixed by law (art. 179):

Councillors per municipality by population (LOREG, art. 179) and municipalities in each band at the 2023 local elections
PopulationCouncillorsMunicipalities 2023
Open council (concejo abierto)mayor only97
Up to 100 residents31,264
101–25051,454
251–1,00072,127
1,001–2,0009880
2,001–5,00011952
5,001–10,00013549
10,001–20,00017347
20,001–50,00021266
50,001–100,0002587
Over 100,00025 + 1 per 100,000 (odd)64
Total67,0398,087

Legal scale: LOREG art. 179. Municipalities per band: number of councillors elected in each municipality at the local elections of 28 May 2023, from the Spanish Ministry of the Interior (municipalities with a regular election).

Municipalities over 100,000 residents add one councillor for every 100,000 residents or part of it, plus one more if the total is even, so councils always have an odd number of members.

How seats are shared out

  • Over 250 inhabitants: closed lists and the D'Hondt method, as for the Congress, but with a 5 % threshold of the municipality's valid votes (art. 180). See our D'Hondt guide.
  • 101 to 250 inhabitants: open lists of up to five names. Each voter ticks up to four candidates and those with most votes are elected (art. 184).
  • Up to 100 inhabitants: lists of up to three names and each voter ticks up to two (art. 184).
  • Open council (concejo abierto): in municipalities run this way, residents elect the mayor directly by majority (art. 179.2). There were 97 in 2023.

How the mayor is chosen

At the session where the council takes office, the councillors who head each list can stand for mayor. Whoever wins an absolute majority of the councillors' votes is elected; otherwise the head of the list with most votes from residents becomes mayor (art. 196).

In municipalities of 100 to 250 inhabitants any councillor can stand and, without an absolute majority, the councillor with most votes from residents becomes mayor (art. 196).

What happened in 2023

At the local elections of 28 May 2023, 67,039 posts were filled in the 8,087 municipalities that held a regular election, and turnout was 63.92 % (Spanish Ministry of the Interior). Each municipality's results are on its own page (in Spanish); find it on the results map, which also shows the 2019 and 2023 local elections.

Frequently asked questions

When are Spain's 2027 local elections?

Sunday 23 May 2027, the fourth Sunday of May (LOREG, art. 42.3).

How many councillors does a Spanish town council have?

It depends on population: 3 up to 100 inhabitants, 5 up to 250, 7 up to 1,000, 9 up to 2,000, 11 up to 5,000, 13 up to 10,000, 17 up to 20,000, 21 up to 50,000 and 25 up to 100,000; above that, one more for every 100,000 (LOREG, art. 179).

What share of the vote is needed to win councillors?

5 % of the valid votes in the municipality, except in those of 250 inhabitants or fewer, which use open lists (LOREG, arts. 180 and 184).

Who elects the mayor?

The councillors, at the session where the council takes office. If no list leader wins an absolute majority, the leader of the most-voted list becomes mayor (LOREG, art. 196).

Can foreigners vote in Spanish local elections?

Yes: EU citizens and nationals of countries with a reciprocity agreement who live in Spain and register on the electoral roll (LOREG, art. 176).

Sources: LOREG (consolidated text in the BOE), arts. 42, 176, 179, 180, 184, 195 and 196; 2023 local election results: Spanish Ministry of the Interior. Last reviewed: 22 November 2026.