The municipalities of Spain (Spanish: municipios, IPA: [muniˈθipjos]; sing. municipio) are the basic level of Spanish local government. Each municipality forms part of a province which in turn forms part or the whole of an autonomous community (seventeen in total plus Ceuta and Melilla): some autonomous communities have additional second level subdivisions, such as comarcas (districts) or mancomunidades (commonwealths). There is a total of 8,112 municipalities in Spain, including the autonomous cities of Ceuta and Melilla. The average population of a municipality is about 5,300, but this figure masks a huge range: the most populous Spanish municipality is the city of Madrid, with a population of 3,016,788 (2002) , while several rural municipalities have fewer than ten inhabitants (e.g. Villarroya, La Rioja, : population 11 in 2006). The area of the municipal territory (Spanish: término municipal) usually ranges from 2 to 40 km², although municipalities such as Tremp (Lleida) cover more than 400 km².
The municipalities of Spain (Spanish: municipios, IPA: [muniˈθipjos]; sing. municipio) are the basic level of Spanish local government. Each municipality forms part of a province which in turn forms part or the whole of an autonomous community (seventeen in total plus Ceuta and Melilla): some autonomous communities have additional second level subdivisions, such as comarcas (districts) or mancomunidades (commonwealths). There is a total of 8,112 municipalities in Spain, including the autonomous cities of Ceuta and Melilla. The average population of a municipality is about 5,300, but this figure masks a huge range: the most populous Spanish municipality is the city of Madrid, with a population of 3,016,788 (2002) , while several rural municipalities have fewer than ten inhabitants (e.g. Villarroya, La Rioja, : population 11 in 2006). The area of the municipal territory (Spanish: término municipal) usually ranges from 2 to 40 km², although municipalities such as Tremp (Lleida) cover more than 400 km².
