Autonomous communities of Spain by population

Andalusia had the highest population of 19 autonomous communities in 2021, at 8.47 million. Ceuta had the lowest, at 83,517. The median was 1.52 million and the figure for Spain was 47.39 million. Source: the Instituto Nacional de Estadística.

Highest8,472,407Andalusia
Lowest83,517Ceuta
Median1,518,48619 autonomous communities
Spain47,385,107History

All autonomous communities, 2021

CSVChart (SVG)

AndalusiaAndalusia: 8,472,407 persons8,472,407CataloniaCatalonia: 7,763,362 persons7,763,362Community of MadridCommunity of Madrid: 6,751,251 persons6,751,251Valencian CommunityValencian Community: 5,058,138 persons5,058,138GaliciaGalicia: 2,695,645 persons2,695,645Castile and LeónCastile and León: 2,383,139 persons2,383,139Basque CountryBasque Country: 2,213,993 persons2,213,993Canary IslandsCanary Islands: 2,172,944 persons2,172,944Castilla-La ManchaCastilla-La Mancha: 2,049,562 persons2,049,562Region of MurciaRegion of Murcia: 1,518,486 persons1,518,486AragonAragon: 1,326,261 persons1,326,261Balearic IslandsBalearic Islands: 1,173,008 persons1,173,008ExtremaduraExtremadura: 1,059,501 persons1,059,501AsturiasAsturias: 1,011,792 persons1,011,792NavarreNavarre: 661,537 persons661,537CantabriaCantabria: 584,507 persons584,507La RiojaLa Rioja: 319,796 persons319,796MelillaMelilla: 86,261 persons86,261CeutaCeuta: 83,517 persons83,517
persons. Source: INE. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2021
persons
Change on 2020
1Andalusia8,472,407+0.1%
2Catalonia7,763,362-0.2%
3Community of Madrid6,751,251-0.4%
4Valencian Community5,058,1380%
5Galicia2,695,645-0.2%
6Castile and León2,383,139-0.5%
7Basque Country2,213,993-0.3%
8Canary Islands2,172,944-0.1%
9Castilla-La Mancha2,049,562+0.2%
10Region of Murcia1,518,486+0.5%
11Aragon1,326,261-0.2%
12Balearic Islands1,173,008+0.1%
13Extremadura1,059,501-0.4%
14Asturias1,011,792-0.7%
15Navarre661,537+0.1%
16Cantabria584,507+0.3%
17La Rioja319,796-0%
18Melilla86,261-0.9%
19Ceuta83,517-0.8%

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.47 million in 2021, according to the Instituto Nacional de Estadística.

Which autonomous community has the lowest population?

Ceuta, with 83,517 in 2021.

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