How many municipalities are there in Spain? 2026 register figures

Spain has 8,132 municipalities with inhabitants. 4,972 have fewer than 1,000 people and 69 have over 100,000. The split by size and region, with sources.

The short answer is 8,132. That is the number of municipalities with inhabitants in the population table of Spain's national statistics institute, the INE, for the municipal register of 1 January 2026. A municipio is a municipality: the area a town hall governs, a village or a city with the land around it.

How many of each size

With the same data, the split by inhabitants is:

InhabitantsMunicipalities
Under 1001,403
100 to 4992,575
500 to 999994
1,000 to 4,9991,820
5,000 to 99,9991,271
100,000 or more69

Almost half of the municipalities (3,978) have fewer than 500 inhabitants, and 4,972 (61.1%) have fewer than 1,000. Those 4,972 add up to 1,424,516 people, 2.9% of the 49,571,175 inhabitants in the whole table. At the other end, 437 municipalities have more than 20,000.

Where they are

Small municipalities cluster. Castilla y León has 2,248, more than a quarter of all of Spain. Catalonia comes next with 947, then Castilla - La Mancha with 919, Andalusia with 785 and Aragon with 731. At the other end, Ceuta and Melilla have one each. The municipalities page has every region and its provinces.

What counts as a municipality here

We count the codes in the INE table that have inhabitants. The table also holds six codes with no figure, for municipalities that no longer exist (because of a merger or a change of code); we leave them out, although the game remembers them so that a saved game keeps working.

We do not count either the 88 territories that the IGN boundary lines draw and that are not municipalities: common pastures, joint-ownership lands, the Bardenas Reales, Gibraltar or the plazas de soberanía.

What we do not know

The table gives one date. We have no historical series, so this page cannot say how many municipalities there were ten years ago or how many have lost population.

In the game

All 8,132 municipalities are in the game, and today's challenge comes from among the 3,000 most populated. The rest, down to the villages with fewer than 100 inhabitants, are played in the practice mode of the app.

Frequently asked questions

How many municipalities does Spain have?

According to the INE population table for the municipal register of 1 January 2026, 8,132 municipalities have inhabitants. Codes of municipalities that no longer exist are not counted.

How many have fewer than 1,000 inhabitants?

4,972, which is 61.1% of the total. Together they add up to 1,424,516 people: 2.9% of the population of Spain.

Which region has the most municipalities?

Castilla y León, with 2,248, more than a quarter of the total. Catalonia (947) and Castilla - La Mancha (919) follow.

Sources