In 2024, Madrid was the city with the most inhabitants in Spain. In that year, more than 3.42 million people lived in the city. Barcelona was the second-largest city with 1.69 million residents.
Madrid was the largest city in Spain in 2024, with around 3.4 million inhabitants. Barcelona followed second, with nearly 1.7 million people residing there. The most populated city in the Spanish islands that year was Palma de Mallorca.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Spain ES: Population in Largest City: as % of Urban Population data was reported at 17.171 % in 2017. This records an increase from the previous number of 17.008 % for 2016. Spain ES: Population in Largest City: as % of Urban Population data is updated yearly, averaging 15.595 % from Dec 1960 (Median) to 2017, with 58 observations. The data reached an all-time high of 17.171 % in 2017 and a record low of 14.326 % in 1960. Spain ES: Population in Largest City: as % of Urban Population data remains active status in CEIC and is reported by World Bank. The data is categorized under Global Database’s Spain – Table ES.World Bank: Population and Urbanization Statistics. Population in largest city is the percentage of a country's urban population living in that country's largest metropolitan area.; ; United Nations, World Urbanization Prospects.; Weighted average;
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Population in largest city in Spain was reported at 6783241 in 2024, according to the World Bank collection of development indicators, compiled from officially recognized sources. Spain - Population in largest city - actual values, historical data, forecasts and projections were sourced from the World Bank on July of 2025.
https://www.ine.es/aviso_legalhttps://www.ine.es/aviso_legal
Censo de Población: Population by gender, age (year to year) and nationality (Spanish/foreign) (province capitals and main cities). Annual. Municipalities.
In 2024, Barcelona received the largest number of international tourists staying at hotel establishments in Spain, with nearly *************. The Spanish capital followed, with a little almost *** million foreign hotel guests.
https://www.ine.es/aviso_legalhttps://www.ine.es/aviso_legal
Censo de Población: Population by year of arrival in Spain, year of arrival in the municipality, sex, age (major groups) and nationality (Spanish/foreign) (Provincial capitals and main cities). Annual. Municipalities.
In 2025, approximately 23 million people lived in the São Paulo metropolitan area, making it the biggest in Latin America and the Caribbean and the sixth most populated in the world. The homonymous state of São Paulo was also the most populous federal entity in the country. The second place for the region was Mexico City with 22.75 million inhabitants. Brazil's cities Brazil is home to two large metropolises, only counting the population within the city limits, São Paulo had approximately 11.45 million inhabitants, and Rio de Janeiro around 6.21 million inhabitants. It also contains a number of smaller, but well known cities such as Brasília, Salvador, Belo Horizonte and many others, which report between 2 and 3 million inhabitants each. As a result, the country's population is primarily urban, with nearly 88 percent of inhabitants living in cities. Mexico City Mexico City's metropolitan area ranks sevenths in the ranking of most populated cities in the world. Founded over the Aztec city of Tenochtitlan in 1521 after the Spanish conquest as the capital of the Viceroyalty of New Spain, the city still stands as one of the most important in Latin America. Nevertheless, the preeminent economic, political, and cultural position of Mexico City has not prevented the metropolis from suffering the problems affecting the rest of the country, namely, inequality and violence. Only in 2023, the city registered a crime incidence of 52,723 reported cases for every 100,000 inhabitants and around 24 percent of the population lived under the poverty line.
https://www.ine.es/aviso_legalhttps://www.ine.es/aviso_legal
Censo de Población: Population aged 16 and over by year of arrival in Spain, year of arrival in the municipality, sex, nationality (Spanish/foreign) and relationship with the activity (provincial capitals and main cities). Annual. Municipalities.
Madrid was the most visited city destination in Spain in 2023, having welcomed nearly ** million overnight visitors. The Catalonian capital followed second in the ranking that year, with roughly *** million tourists spending at least one night in the destination. How did Madrid rank in tourist visits and accommodation? In 2022, Madrid attracted over 4.5 million domestic and 4.6 million international tourists for stays exceeding one day, despite experiencing a more than 10 percent decrease compared to 2019 pre-pandemic levels. Furthermore, the Spanish capital has consistently ranked among the top ten European cities with the highest number of nights spent by tourists in paid accommodation, securing the 8th position that year. Which regions attracted the most international tourists? Spain's international tourism rebounded strongly from the coronavirus (COVID-19) pandemic, surpassing 100 million visitors in 2022. Catalonia led as the most visited region, attracting over **** million international tourists. The United Kingdom played a pivotal role as the primary source of international tourists, contributing over ** million travelers, followed by France with around ** million visitors.
Table of INEBase Population by year of arrival in Spain, year of arrival in the municipality, sex, age (major groups) and nationality (Spanish/foreign) (Provincial capitals and main cities). Annual. Municipalities. Censo de Población
In 1500, the largest city was Paris, with an estimated 225 thousand inhabitants, almost double the population of the second-largest city, Naples. As in 1330, Venice and Milan remain the third and fourth largest cities in Western Europe, however Genoa's population almost halved from 1330 until 1500, as it was struck heavily by the bubonic plague in the mid-1300s. In lists prior to this, the largest cities were generally in Spain and Italy, however, as time progressed, the largest populations could be found more often in Italy and France. The year 1500 is around the beginning of what we now consider modern history, a time that saw the birth of many European empires and inter-continental globalization.
https://www.ine.es/aviso_legalhttps://www.ine.es/aviso_legal
Censo de Población: Population by gender, nationality (Spanish/foreign) and country of birth (province capitals and main cities). Annual. National.
Madrid and Barcelona were the hotel markets receiving the largest share of investment among urban destinations in Spain in 2024. These Spanish cities accounted for nearly 70 percent of that year's total. The average room transaction price of the Spanish hotel market was at 195 thousand euros in 2024.
https://www.ine.es/aviso_legalhttps://www.ine.es/aviso_legal
Censo de Población: Population by year of arrival in Spain, year of arrival in the Autonomous Community, sex, age (big groups) and nationality (Spanish/foreign). Annual. Autonomous Communities and Cities.
🇪🇸 스페인
Rental yield data for major Spanish cities in 2025.
While Spain’s population has increased slightly since the year 2000, the share of the rural and urban populations has remained relatively constant, with Spain being a highly urban country. This consistently high urbanization is a consequence of both economic and social factors. The Spanish wealth is generated in the cities to a large extent Two thirds of Spain’s economic output, as divided across economic sectors, comes from the service sector, with only three percent originating from agriculture. Naturally, service-based economies are easiest when people live closely, while agricultural practices need more land, and thus a rural population. Of course, this also brings economic costs, such as the high living and housing costs in Madrid. What draws people into cities? Social factors also drive people to cities. For some, it is being closer to family or culture, such as art museums. For others, it is finding a large city with green spaces, like Madrid. For others, it is the opportunity to watch a game in a world-class soccer stadium, perhaps FC Barcelona. These and other factors continue to keep Spaniards in their cities.
Andalusia, with a total number of 8.6 million inhabitants, ranked first on the list of most populous autonomous communities in Spain as of January 1st, 2025. The least populated regions of Spain were the two autonomous cities of Ceuta and Melilla, both with a population of under 90,000 inhabitants that year. The population of Spain has been increasing for many years after experiencing a downward trend between 2012 and 2015, and is projected to grow by nearly half a million by 2027. The population of Spain is dying more than being born Spain has one of the lowest fertility rate in the European Union, with barely 1.29 children per woman. According to the most recent data, more people died in Spain than were being born in 2023, with figures reaching over 434,000 deaths versus 320,000 newborns. Immigration countered this trend One of the key points to balance out this population downtrend in Spain is immigration. Spain’s immigration figures finally started to pick up in 2015 after a downward trend that presumably initiated after the 2008 financial crisis. Nevertheless, Spaniards still migrate is much larger numbers than before the crisis. According to the latest data, nationals aged between 25 and 34 years represented the largest bulk of emigrants.
capitales-y-grandes-ciudades capitals-and-big-cities censo-de-poblacio_n cursa-estudios-pero-no-hay-informacio_n-sobre-el-lugar-de-estudio cursa-estudios-pero-no-hay-informacio_n-sobre-los-mismos demografi_a-y-poblacio_n demography-and-population educacio_n-postsecundaria-no-super educacio_n-primaria-e-inferior educacio_n-superior en-distinta-comunidad-auto_noma en-otro-municipio-misma-provincia espan_ola estadi_sticas estructura-y-situacio_n-de-la-poblacio_n extranjera females first-stage-of-secondary-education-and-the-like-with-general-guidance foreign higher-education hombres level-of-current-studies males misma-comunidad-auto_noma_-distinta-provincia mismo-municipio mujeres nacionalidad nationality nivel-de-estudios-en-curso no-current-studies no-cursa-estudios primary-education-or-lower primera-etapa-de-educacio_n-secundaria-y-similar-con-orientacio_n-general relacio_n-entre-lugar-de-residencia-y-lugar-de-estudios relationship-between-the-place-of-residence-and-place-of-studies same-municipality second-stage-of-secondary-education-with-career-guidance-_includes-non-higher-post-secondary-educati second-stage-of-secondary-education-with-general-guidance segunda-etapa-de-educacio_n-secundaria-con-orientacio_n-general segunda-etapa-de-educacio_n-secundaria-con-orientacio_n-profesional sex sexo spanish statistics structure-and-situation-of-the-population studying-but-there-is-no-additional-information studying-but-there-is-no-information-about-the-place-of-study total
In 2024, Madrid was the city with the most inhabitants in Spain. In that year, more than 3.42 million people lived in the city. Barcelona was the second-largest city with 1.69 million residents.