Autonomous communities of Spain by population

Andalusia had the highest population of 19 autonomous communities in 2022, at 8.5 million. Ceuta had the lowest, at 83,117. The median was 1.53 million and the figure for Spain was 47.48 million. Source: the Instituto Nacional de Estadística.

Highest8,500,187Andalusia
Lowest83,117Ceuta
Median1,531,87819 autonomous communities
Spain47,475,420History

All autonomous communities, 2022

CSVChart (SVG)

AndalusiaAndalusia: 8,500,187 persons8,500,187CataloniaCatalonia: 7,792,611 persons7,792,611Community of MadridCommunity of Madrid: 6,750,336 persons6,750,336Valencian CommunityValencian Community: 5,097,967 persons5,097,967GaliciaGalicia: 2,690,464 persons2,690,464Castile and LeónCastile and León: 2,372,640 persons2,372,640Basque CountryBasque Country: 2,208,174 persons2,208,174Canary IslandsCanary Islands: 2,177,701 persons2,177,701Castilla-La ManchaCastilla-La Mancha: 2,053,328 persons2,053,328Region of MurciaRegion of Murcia: 1,531,878 persons1,531,878AragonAragon: 1,326,315 persons1,326,315Balearic IslandsBalearic Islands: 1,176,659 persons1,176,659ExtremaduraExtremadura: 1,054,776 persons1,054,776AsturiasAsturias: 1,004,686 persons1,004,686NavarreNavarre: 664,117 persons664,117CantabriaCantabria: 585,402 persons585,402La RiojaLa Rioja: 319,892 persons319,892MelillaMelilla: 85,170 persons85,170CeutaCeuta: 83,117 persons83,117
persons. Source: INE. Retrieved 2026-10-07.

Full ranking

RankAutonomous communities2022
persons
Change on 2021
1Andalusia8,500,187+0.3%
2Catalonia7,792,611+0.4%
3Community of Madrid6,750,336-0%
4Valencian Community5,097,967+0.8%
5Galicia2,690,464-0.2%
6Castile and León2,372,640-0.4%
7Basque Country2,208,174-0.3%
8Canary Islands2,177,701+0.2%
9Castilla-La Mancha2,053,328+0.2%
10Region of Murcia1,531,878+0.9%
11Aragon1,326,3150%
12Balearic Islands1,176,659+0.3%
13Extremadura1,054,776-0.4%
14Asturias1,004,686-0.7%
15Navarre664,117+0.4%
16Cantabria585,402+0.2%
17La Rioja319,8920%
18Melilla85,170-1.3%
19Ceuta83,117-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.5 million in 2022, according to the Instituto Nacional de Estadística.

Which autonomous community has the lowest population?

Ceuta, with 83,117 in 2022.

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