Autonomous communities of Spain by population

Andalusia had the highest population of 19 autonomous communities in 2017, at 8.38 million. Ceuta had the lowest, at 84,959. The median was 1.47 million and the figure for Spain was 46.57 million. Source: the Instituto Nacional de Estadística.

Highest8,379,820Andalusia
Lowest84,959Ceuta
Median1,470,27319 autonomous communities
Spain46,572,132History

All autonomous communities, 2017

CSVChart (SVG)

AndalusiaAndalusia: 8,379,820 persons8,379,820CataloniaCatalonia: 7,555,830 persons7,555,830Community of MadridCommunity of Madrid: 6,507,184 persons6,507,184Valencian CommunityValencian Community: 4,941,509 persons4,941,509GaliciaGalicia: 2,708,339 persons2,708,339Castile and LeónCastile and León: 2,425,801 persons2,425,801Basque CountryBasque Country: 2,194,158 persons2,194,158Canary IslandsCanary Islands: 2,108,121 persons2,108,121Castilla-La ManchaCastilla-La Mancha: 2,031,479 persons2,031,479Region of MurciaRegion of Murcia: 1,470,273 persons1,470,273AragonAragon: 1,308,750 persons1,308,750Balearic IslandsBalearic Islands: 1,115,999 persons1,115,999ExtremaduraExtremadura: 1,079,920 persons1,079,920AsturiasAsturias: 1,034,960 persons1,034,960NavarreNavarre: 643,234 persons643,234CantabriaCantabria: 580,295 persons580,295La RiojaLa Rioja: 315,381 persons315,381MelillaMelilla: 86,120 persons86,120CeutaCeuta: 84,959 persons84,959
persons. Source: INE. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2017
persons
Change on 2016
1Andalusia8,379,820-0.1%
2Catalonia7,555,830+0.4%
3Community of Madrid6,507,184+0.6%
4Valencian Community4,941,509-0.4%
5Galicia2,708,339-0.4%
6Castile and León2,425,801-0.9%
7Basque Country2,194,158+0.2%
8Canary Islands2,108,121+0.3%
9Castilla-La Mancha2,031,479-0.5%
10Region of Murcia1,470,273+0.4%
11Aragon1,308,7500%
12Balearic Islands1,115,999+0.8%
13Extremadura1,079,920-0.7%
14Asturias1,034,960-0.7%
15Navarre643,234+0.4%
16Cantabria580,295-0.3%
17La Rioja315,381-0.1%
18Melilla86,120+0.1%
19Ceuta84,959+0.5%

Other periods

About this ranking

Resident population. Spain and the EU: 1 January, with Spanish figures from the official municipal register (Padrón). United States: Census Bureau population estimates for 1 July. Other countries and the World: World Bank mid-year estimates, which count all residents regardless of legal status or citizenship.

For Denmark, Statistics Denmark counts the registered resident population on 1 January. Greenland and the Faroe Islands are excluded. The annual series selects the first-quarter reference date from FOLK1A. The World Bank series exists for every country, so use it (through compare) to rank countries on one basis.

Every value in the ranking comes from the same publisher and the same period, so the autonomous communities are compared on one definition. Equal values share a rank.

How to cite

Instituto Nacional de Estadística (INE). Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005). https://www.ine.es/jaxiT3/Tabla.htm?t=29005. Retrieved 2026-10-07.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

Rank Autonomous communities of Spain by population using official data, and cite the source.
rank_places {"indicator":"population","level":"region","within":"Spain","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=population&level=region&within=Spain&limit=10

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which autonomous community has the highest population?

Andalusia, with 8.38 million in 2017, according to the Instituto Nacional de Estadística.

Which autonomous community has the lowest population?

Ceuta, with 84,959 in 2017.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: Instituto Nacional de Estadística, Cifras oficiales de población de los municipios españoles: Revisión del Padrón municipal (tabla 29005). Retrieved 2026-10-07.

Population: other rankings

Autonomous communities of Spain: more rankings