Local elections will be held in Spain on 23 May 2027 to elect all councillors in the 8,132 Spanish municipalities (including 50 seats in the assemblies of the autonomous cities of Ceuta and Melilla), all 1,191 provincial seats in 41 provinces (including 38 indirectly-elected provincial deputations and the three foral deputations in the Basque Country) and 233 seats in ten island councils (seven Canarian and four Balearic ones). They will be held concurrently with regional elections in at least seven autonomous communities.

Overview Local government

Under the 1978 Constitution, the governance of municipalities in Spain is centered on the figure of city councils (), local corporations with independent legal personality composed of a mayor, a government council and an elected legislative assembly.; . The mayor is indirectly elected by the local assembly, requiring an absolute majority; otherwise, the candidate from the most-voted party automatically becomes mayor (ties are resolved by drawing lots).; . The concejo abierto system (), under which voters directly elect the local mayor by plurality voting, is reserved for some minor local entities.; .

Provincial deputations are the governing bodies of provinces in Spain—except for single-province autonomous communities—having an administration role of municipal activities and composed of a provincial president, an administrative body, and a plenary.; . For insular provinces, such as the Balearic and Canary Islands, deputations are replaced by island councils in each of the islands or group of islands. For Gran Canaria, Tenerife, Fuerteventura, La Gomera, El Hierro, Lanzarote and La Palma, this figure is referred to in Spanish as cabildo insular, whereas for Mallorca, Menorca, Ibiza and Formentera, its name is consejo insular ().; . The three Basque provinces had foral deputations instead (called General Assemblies, or Juntas Generales).; ; .

Date The term of local assemblies in Spain expires four years after the date of their previous election, with election day being fixed for the fourth Sunday of May every four years (as of , this has been the year before a leap year). The election decree shall be issued no later than 54 days before the scheduled election date and published on the following day in the Official State Gazette (BOE).; . The previous local elections were held on 28 May 2023, setting the date for election day on the fourth Sunday of May four years later, which is 23 May 2027.

Local assemblies can not be dissolved before the expiration of their term, except in cases of mismanagement that seriously harm the public interest and imply a breach of constitutional obligations, in which case the Council of Ministers can—optionally—decide to call a by-election..

Electoral system Voting for local assemblies and island councils is based on universal suffrage, comprising all Spanish nationals over 18 years of age, registered and residing in the municipality or council and with full political rights (provided that they have not been deprived of the right to vote by a final sentence), as well as resident non-national European citizens, and those whose country of origin allows reciprocal voting by virtue of a treaty.; ; ; ; ; .

Local councillors are elected using the D'Hondt method and closed-list proportional voting, with a five percent-threshold of valid votes (including blank ballots) in each constituency.; ( by ). Each municipality or council is a multi-member constituency, with a number of seats based on the following scale:.

Population Councillors Municipalities Canary Islands Balearic Islands <100 3 No island below 5,000inhabitants Fixed number:Ibiza: 13Menorca: 13Mallorca: 33Formentera: Same as homonymous city council 101–250 5 251–1,000 7 1,001–2,000 9 2,001–5,000 11 5,001–10,000 13 11 10,001–20,000 17 13 20,001–50,000 21 17 50,001–100,000 25 21 >100,001 +1 per each 100,000 inhabitants or fraction+1 if total is an even number

Councillors in municipalities below 250 inhabitants are elected using open-list partial block voting, with voters in constituencies between 101 and 250 inhabitants choosing up to four candidates; and in those below 100, up to two..

Most provincial deputations are indirectly elected by applying the D'Hondt method and a three percent-threshold of valid votes to municipal results—excluding candidacies not electing any councillor—in each judicial district. Seats are allocated to provincial deputations based on the following scale (with each judicial district being assigned an initial minimum of one seat and a maximum of three-fifths of the total number of provincial seats, with the remaining ones distributed in proportion to population):.

Population Seats <500,000 25 500,001–1,000,000 27 1,000,001–3,500,000 31 >3,500,001 51

The General Assemblies of Álava, Biscay and Gipuzkoa are directly elected by voters under their own, specific electoral regulations..

The law does not provide for by-elections to fill vacant seats; instead, any vacancies arising after the proclamation of candidates and during the legislative term are filled by the next candidates on the party lists or, when required, by designated substitutes..

Parties and candidates The electoral law allows for parties and federations registered in the interior ministry, coalitions and groupings of electors to present lists of candidates. Parties and federations intending to form an alliance are required to inform the relevant electoral commission within 10 days of the election call, whereas groupings of electors need to secure the signature of a determined amount of the electors registered in the municipality for which they seek election, disallowing electors from signing for more than one list:.

At least one percent of the electors in municipalities with a population below 5,000 inhabitants, provided that the number of signers is more than double that of councillors at stake. At least 100 signatures in municipalities with a population between 5,001 and 10,000. At least 500 signatures in municipalities with a population between 10,001 and 50,000. At least 1,500 signatures in municipalities with a population between 50,001 and 150,000. At least 3,000 signatures in municipalities with a population between 150,001 and 300,000. At least 5,000 signatures in municipalities with a population between 300,001 and 1,000,000. At least 8,000 signatures in municipalities with a population over 1,000,001.

Amendments in 2024 required a balanced composition of men and women in the electoral lists through the use of a zipper system..

Opinion polls

Present situation Municipal Current control The following table lists party control in provincial capitals, as well as in municipalities with a population above or around 75,000.

Municipality Population Previous control A Coruña Spanish Socialist Workers' Party (PSOE) Albacete People's Party (PP) Alcalá de Guadaíra Spanish Socialist Workers' Party (PSOE) Alcalá de Henares People's Party (PP) Alcobendas People's Party (PP) Alcorcón Spanish Socialist Workers' Party (PSOE) Algeciras People's Party (PP) Alicante People's Party (PP) Almería People's Party (PP) Arona People's Party (PP) Ávila For Ávila (XAV) Avilés Spanish Socialist Workers' Party (PSOE) Badajoz People's Party (PP) Badalona People's Party (PP) Barakaldo Basque Nationalist Party (EAJ/PNV) Barcelona Socialists' Party of Catalonia (PSC–PSOE) Bilbao Basque Nationalist Party (EAJ/PNV) Burgos People's Party (PP) Cáceres People's Party (PP) Cádiz People's Party (PP) Cartagena People's Party (PP) Castellón de la Plana People's Party (PP) Ceuta People's Party (PP) Chiclana de la Frontera Spanish Socialist Workers' Party (PSOE) Ciudad Real People's Party (PP) Córdoba People's Party (PP) Cornellà de Llobregat Socialists' Party of Catalonia (PSC–PSOE) Coslada Spanish Socialist Workers' Party (PSOE) Cuenca Spanish Socialist Workers' Party (PSOE) Donostia/San Sebastián Basque Nationalist Party (EAJ/PNV) Dos Hermanas Spanish Socialist Workers' Party (PSOE) El Ejido People's Party (PP) El Puerto de Santa María People's Party (PP) Elche People's Party (PP) Ferrol People's Party (PP) Fuengirola People's Party (PP) Fuenlabrada Spanish Socialist Workers' Party (PSOE) Gandía Spanish Socialist Workers' Party (PSOE) Getafe Spanish Socialist Workers' Party (PSOE) Getxo Basque Nationalist Party (EAJ/PNV) Gijón Asturias Forum (Foro) Girona Popular Unity Candidacy (CUP) Granada People's Party (PP) Guadalajara People's Party (PP) Huelva People's Party (PP) Huesca People's Party (PP) Jaén Spanish Socialist Workers' Party (PSOE) Jerez de la Frontera People's Party (PP) L'Hospitalet de Llobregat Socialists' Party of Catalonia (PSC–PSOE) Las Palmas de Gran Canaria Spanish Socialist Workers' Party (PSOE) Las Rozas de Madrid People's Party (PP) Leganés People's Party (PP) León Spanish Socialist Workers' Party (PSOE) Lleida Socialists' Party of Catalonia (PSC–PSOE) Logroño People's Party (PP) Lorca People's Party (PP) Lugo People's Party (PP) Madrid People's Party (PP) Málaga People's Party (PP) Manresa Republican Left of Catalonia (ERC) Marbella People's Party (PP) Mataró Socialists' Party of Catalonia (PSC–PSOE) Melilla People's Party (PP) Mijas People's Party (PP) Móstoles People's Party (PP) Murcia People's Party (PP) Orihuela People's Party (PP) Ourense Ourensan Democracy (DO) Oviedo People's Party (PP) Palencia Spanish Socialist Workers' Party (PSOE) Palma de Mallorca People's Party (PP) Pamplona Basque Country Gather (EH Bildu) Parla Spanish Socialist Workers' Party (PSOE) Pontevedra Galician Nationalist Bloc (BNG) Pozuelo de Alarcón People's Party (PP) Reus Socialists' Party of Catalonia (PSC–PSOE) Rivas-Vaciamadrid United Left (IU) Roquetas de Mar People's Party (PP) Rubí Socialists' Party of Catalonia (PSC–PSOE) Sabadell Socialists' Party of Catalonia (PSC–PSOE) Salamanca People's Party (PP) San Cristóbal de La Laguna Spanish Socialist Workers' Party (PSOE) San Fernando Spanish Socialist Workers' Party (PSOE) San Sebastián de los Reyes People's Party (PP) Sant Boi de Llobregat Socialists' Party of Catalonia (PSC–PSOE) Sant Cugat del Vallès Together for Catalonia (JxCat) Santa Coloma de Gramenet Socialists' Party of Catalonia (PSC–PSOE) Santa Cruz de Tenerife Canarian Coalition (CCa) Santander People's Party (PP) Santiago de Compostela Galician Nationalist Bloc (BNG) Segovia People's Party (PP) Seville People's Party (PP) Soria Spanish Socialist Workers' Party (PSOE) Talavera de la Reina People's Party (PP) Tarragona Socialists' Party of Catalonia (PSC–PSOE) Telde Citizens for Canarian Change (CIUCA) Terrassa All for Terrassa (TxT) Teruel People's Party (PP) Toledo People's Party (PP) Torrejón de Ardoz People's Party (PP) Torrent People's Party (PP) Torrevieja People's Party (PP) Valencia People's Party (PP) Valladolid People's Party (PP) Vélez-Málaga People's Party (PP) Vigo Spanish Socialist Workers' Party (PSOE) Vitoria-Gasteiz Spanish Socialist Workers' Party (PSOE) Zamora United Left (IU) Zaragoza People's Party (PP)

Autonomous cities The following table lists party control in the autonomous cities. Gains for a party are highlighted in that party's colour.

City Population Current control Ceuta 84,222 People's Party (PP) Melilla 86,971 People's Party (PP)

Provincial and island Indirectly-elected The following table lists party control in the indirectly-elected provincial deputations.