The municipalities of Spain (Spanish: municipios, IPA: [muniˈθipjos], Catalan: municipi, Galician: concellos, Basque: udalerriak; sing. municipio) are the basic level of Spanish local government.

ach municipality forms part of a province which in turn forms part or the whole of an autonomous community (17 in total plus Ceuta and Melilla): some autonomous communities have additional second level subdivisions, such as comarcas (districts) or mancomunidades (commonwealths). There are a total of 8,118 municipalities in Spain, including the autonomous cities of Ceuta and Melilla. In the Principality of Asturias, municipalities are officially named concejos (councils).

More information on the Wikipedia page [1], with a list of municipalities here [2]