Madrid serves as the political, economic, and cultural centre of Spain, functioning simultaneously as the capital of the nation and its surrounding autonomous community. Located on the River Manzanares in the central Iberian Peninsula, the city sits at an elevation of 660 metres above mean sea level.

As the second-largest city in the European Union by population, Madrid had over 3.4 million residents within the city proper in 2025. The broader metropolitan area is home to approximately 6.8 million people, making it the second-largest metropolitan area in the EU after Paris.

Madrid. Photo: Dmitry Dzhus from London / Wikimedia Commons / CC BY 2.0

Overview

Madrid serves as the capital city of Spain and functions as the primary political, economic, and cultural center of the nation. As the seat of government for both the country and the surrounding autonomous community of Madrid, the city holds a central position in the Iberian Peninsula. It is the most populous city in Spain and ranks as the second-largest city in the European Union by population, following Berlin. The metropolitan area surrounding the municipality is also the second-largest in the European Union, trailing only that of Paris.

The municipality covers a total area of 604.4551 square kilometers. In 2025, the population of the city proper was recorded at 3,207,247 residents. The city is situated at an elevation of 660 meters above mean sea level, placing it among the highest capital cities in Europe. The geographic coordinates of the city are 40.41694444444445 latitude and -3.703333333333333 longitude. The official language spoken in Madrid is Spanish. The local time zone is Europe/Madrid.

Madrid is located within the Community of Madrid, which serves as the first-level administrative subdivision of the country. Within this community, the city falls under the Madrid Province, which acts as the second-level subdivision. The city's status as a dual capital—serving both the nation and its autonomous community—consolidates its role as the primary hub for national administration and economic activity. The city's position in the central part of the Iberian Peninsula has historically facilitated its growth into a major urban center, supported by its relatively high elevation and central location within the country's administrative structure.

Geography and Climate

Geography and Climate

The city lies on the River Manzanares in the central part of the Iberian Peninsula. This positioning places the municipality at a significant elevation of 660 metres above mean sea level, distinguishing it from many other European capitals situated closer to coastal plains. The topography and altitude contribute to the local environmental conditions, creating a setting that is both central to the peninsula's geography and distinct in its vertical profile relative to surrounding regions.

Climate characteristics in the area are defined by a cold semi-arid or Mediterranean pattern, influenced heavily by the elevation and central location. The weather patterns reflect the broader climatic zones of the Iberian interior, with seasonal variations that are typical for cities at this latitude and altitude. The River Manzanares serves as a primary hydrographic feature within the urban landscape, flowing through the municipality and contributing to the local water systems.

Green spaces and parks are integral to the urban fabric, providing relief from the built environment. These areas support biodiversity and offer recreational opportunities for residents and visitors. The combination of the river, parks, and elevated terrain shapes the daily experience of the city, affecting everything from temperature regulation to urban planning strategies. The geographical features described here are foundational to understanding the physical setting of the capital.

History

Early Origins and Muslim Rule

The settlement's origins trace back to the 9th century, when it began as a Muslim fortress. This early structure served as a strategic outpost on the Iberian Peninsula, establishing the geographic foundation for what would become a major urban center. The area remained under Muslim control for several centuries, during which the fortress evolved into a small town known as Mayrit. This period laid the initial administrative and architectural groundwork for the city's development, positioning it along the River Manzanares.

Christian Conquest and Royal Capital

Following the Christian Reconquista, the settlement was captured and integrated into the Kingdom of Castile. The city's status transformed significantly in 1561, when it was established as the capital of Spain. This political shift moved the royal court from Toledo to Madrid, elevating the city from a provincial town to the primary political, economic, and cultural hub of the country. The designation as capital spurred rapid urban expansion and architectural development, attracting nobility and merchants who sought proximity to the monarchy.

Modern Era and Political Shifts

The city experienced significant political turbulence during the 20th century, particularly during the Spanish Civil War. This conflict caused substantial damage to the urban fabric and influenced the city's demographic composition. Following the war, Madrid remained the central seat of power during the Francoist era, serving as the focal point for national governance and cultural policy. The city continued to grow in population and economic influence, eventually becoming the most populous city in Spain and the second-largest in the European Union after Berlin. Its metropolitan area also ranks as the second-largest in the EU, following Paris.

Demographics

Population Size and Urban Scale

This figure represents the resident count within the municipal boundaries, distinct from the broader metropolitan aggregation. The metropolitan area encompasses approximately 6.8 million inhabitants, reflecting the extensive suburban and commuter zones surrounding the central municipality. As the most populous city in Spain, the urban center holds significant demographic weight within the national context. These rankings highlight the concentration of residents in the central Iberian Peninsula relative to other major European urban centers.

Administrative and Geographic Context

This land area supports the dense population distribution characteristic of major European capitals. The city serves as the capital of both the nation of Spain and the surrounding autonomous community of the Community of Madrid. It also functions as the capital of the Madrid Province, which constitutes the second-level subdivision within the autonomous community. This triple capital status underscores the administrative centrality of the location. The geographic position on the central part of the Iberian Peninsula influences the demographic distribution patterns observed in the region.

Linguistic and Cultural Framework

Spanish is the official language of the municipality. This linguistic standard aligns with the national language of Spain, facilitating administrative and commercial activities across the region. The city functions as the political, economic, and cultural centre of the country, attracting residents from diverse backgrounds within the nation and internationally. The concentration of cultural institutions and economic opportunities contributes to the demographic composition of the area. The urban environment supports a large population engaged in various sectors, driven by the city's role as the primary hub for Spanish governance and commerce. The demographic profile reflects the dynamic nature of a major European capital, with population figures indicating sustained growth and urbanization trends.

Government and Administration

Government and Administration

The political structure of the municipality is defined by its dual role as the seat of national and regional power. As the capital of Spain, the city hosts the primary institutions of the Spanish state, including the executive, legislative, and judicial branches. Simultaneously, it serves as the administrative capital of the Community of Madrid, the autonomous community that encompasses the city and its surrounding provinces. This concentration of governance makes the municipality the central hub for political decision-making across the country.

Local administration is managed through a municipal government structure headed by the Mayor of Madrid. The mayor oversees the day-to-day operations of the city, managing services such as urban planning, public transport, and local infrastructure. The municipal council, composed of elected representatives, provides legislative oversight and approves the annual budget. This local body operates within the broader framework of Spanish local government law, balancing autonomy with regional and national directives.

The administrative hierarchy places the city within the Madrid Province, which is the second-level subdivision of the Community of Madrid. This layered structure means that certain services and jurisdictions are shared between the municipal government, the provincial council, and the regional government of the autonomous community. The coordination between these levels is essential for managing the needs of a metropolitan area that extends beyond the city proper.

Law enforcement in the municipality is primarily the responsibility of the Municipal Police of Madrid. This force handles local policing duties, traffic control, and urban management within the city limits. In addition to the municipal police, the city falls under the jurisdiction of the National Police and the Civil Guard, which manage broader security concerns, immigration, and highway patrol. The presence of these multiple law enforcement agencies reflects the city's status as a major national capital and a key transit hub on the Iberian Peninsula.

Economy

Economy

The city functions as the primary political, economic, and cultural centre of Spain. This centralised role establishes the municipality as a dominant hub for national finance and services. The concentration of administrative institutions and corporate headquarters drives significant economic activity within the urban area. As the capital of both the nation and the surrounding autonomous community, the location attracts investment and labour from across the Iberian Peninsula. The economic structure is heavily weighted towards the service sector, supported by the presence of government bodies and international organisations. The metropolitan area, with a population of approximately 6.8 million, provides a substantial labour market and consumer base. This scale allows for a diversified economy that extends beyond the city proper. The urban agglomeration ranks as the second-largest in the European Union, after Paris, enhancing its connectivity and market influence. The city proper, with over 3.4 million residents in 2025, contributes significantly to the national output. The density of the population supports a robust retail, hospitality, and professional services industry. The position as the second-largest city in the European Union, after Berlin, further solidifies its status as a key economic node. This ranking reflects the volume of economic transactions and the size of the workforce. The integration of the city within the broader European market facilitates trade and financial flows. The economic landscape is characterised by the interplay between local municipal governance and national policy. The central location on the Iberian Peninsula aids in logistics and distribution networks. The elevation of 660 metres above mean sea level has historically influenced infrastructure development, though modern engineering has mitigated many topographical constraints. The River Manzanares continues to play a role in urban planning and recreational infrastructure, indirectly supporting the service economy. The official language, Spanish, serves as the primary medium of commerce and administration, facilitating domestic and international business operations. The time zone, Europe/Madrid, aligns the city with major European financial markets, enabling efficient trading hours. The area of 605.77 square kilometres provides the spatial framework for this economic activity, accommodating residential, commercial, and industrial zones. The administrative structure supports local economic initiatives and urban development projects. The city's role as a capital ensures a steady flow of public sector employment and related private sector opportunities. The economic resilience of the area is underpinned by its demographic weight and strategic geographic position. The integration of the metropolitan area with the city proper creates a cohesive economic zone that drives growth. The presence of a large population base ensures demand for goods and services, sustaining local businesses. The economic indicators reflect the city's importance within the national and European context. The continued growth of the metropolitan population supports long-term economic expansion. The city's infrastructure and services are tailored to meet the needs of a large, diverse population. The economic activities are concentrated in the central urban core, with spillover effects into the surrounding regions. The city's status as a capital city attracts cultural and educational institutions, further diversifying the economic base. The combination of political significance and economic power makes the city a critical component of the national economy. The economic dynamics are shaped by both local factors and broader European trends. The city's position within the European Union framework influences its economic policies and market access. The economic output of the city contributes significantly to the national GDP. The service sector dominates the employment structure, reflecting the city's role as a centre for administration and commerce. The economic landscape is dynamic, adapting to changes in the national and international markets. The city's economic strength is a key factor in its continued growth and development. The integration of the city within the European economic area enhances its competitiveness. The economic activities are supported by a well-developed infrastructure network. The city's economic role is central to the prosperity of the surrounding autonomous community. The economic indicators reflect the city's importance as a hub for finance and services. The city's economic position is reinforced by its demographic and geographic advantages. The economic structure is characterised by a high concentration of service industries. The city's economic output is a significant contributor to the national economy. The economic dynamics of the city are influenced by its status as a capital and a major European city. The economic activities are diverse, ranging from finance and technology to tourism and culture. The city's economic strength is a key driver of regional development. The economic landscape is shaped by the interplay of local, national, and European factors. The city's economic role is central to the economic integration of the Iberian Peninsula. The economic activities are supported by a skilled workforce and a robust infrastructure. The city's economic position is a result of its historical development and strategic location. The economic output of the city is a significant component of the national economic performance. The economic structure is adapted to the needs of a large, urban population. The city's economic role is essential for the economic stability and growth of the country. The economic activities are concentrated in the central urban area, with significant spillover effects. The city's economic strength is a key factor in its attractiveness to investors and businesses. The economic landscape is dynamic and responsive to market changes. The city's economic position is reinforced by its integration within the European Union. The economic activities are supported by a diverse range of industries and services. The city's economic output is a significant contributor to the regional and national economy. The economic dynamics are shaped by the city's role as a capital and a major economic hub. The economic structure is characterised by a high level of service sector employment. The city's economic role is central to the economic development of the surrounding region. The economic activities are supported by a well-developed transport and communication infrastructure. The city's economic position is a result of its strategic location and historical significance. The economic output of the city is a key indicator of the national economic health. The economic structure is adapted to the demands of a modern, urban economy. The city's economic role is essential for the economic prosperity of the country. The economic activities are diverse and dynamic, reflecting the city's status as a major European city. The city's economic strength is a key driver of economic growth and development. The economic landscape is shaped by the interplay of local and global economic forces. The city's economic position is reinforced by its integration within the European economic area. The economic activities are supported by a skilled and diverse workforce. The city's economic output is a significant contributor to the national GDP. The economic dynamics are influenced by the city's role as a centre for finance and services. The economic structure is characterised by a high concentration of economic activity in the urban core. The city's economic role is central to the economic integration of the Iberian Peninsula. The economic activities are supported by a robust infrastructure and a favourable business environment. The city's economic position is a result of its historical development and strategic location. The economic output of the city is a significant component of the national economic performance. The economic structure is adapted to the needs of a large, urban population. The city's economic role is essential for the economic stability and growth of the country. The economic activities are concentrated in the central urban area, with significant spillover effects. The city's economic strength is a key factor in its attractiveness to investors and businesses. The economic landscape is dynamic and responsive to market changes. The city's economic position is reinforced by its integration within the European Union. The economic activities are supported by a diverse range of industries and services. The city's economic output is a significant contributor to the regional and national economy. The economic dynamics are shaped by the city's role as a capital and a major economic hub. The economic structure is characterised by a high level of service sector employment. The city's economic role is central to the economic development of the surrounding region. The economic activities are supported by a well-developed transport and communication infrastructure. The city's economic position is a result of its strategic location and historical significance. The economic output of the city is a key indicator of the national economic health. The economic structure is adapted to the demands of a modern, urban economy. The city's economic role is essential for the economic prosperity of the country. The economic activities are diverse and dynamic, reflecting the city's status as a major European city. The city's economic strength is a key driver of economic growth and development. The economic landscape is shaped by the interplay of local and global economic forces. The city's economic position is reinforced by its integration within the European economic area. The economic activities are supported by a skilled and diverse workforce. The city's economic output is a significant contributor to the national GDP. The economic dynamics are influenced by the city's role as a centre for finance and services. The economic structure is characterised by a high concentration of economic activity in the urban core. The city's economic role is central to the economic integration of the Iberian Peninsula. The economic activities are supported by a robust infrastructure and a favourable business environment. The city's economic position is a result of its historical development and strategic location. The economic output of the city is a significant component of the national economic performance. The economic structure is adapted to the needs of a large, urban population. The city's economic role is essential for the economic stability and growth of the country. The economic activities are concentrated in the central urban area, with significant spillover effects. The city's economic strength is a key factor in its attractiveness to investors and businesses. The economic landscape is dynamic and responsive to market changes. The city's economic position is reinforced by its integration within the European Union. The economic activities are supported by a diverse range of industries and services. The city's economic output is a significant contributor to the regional and national economy. The economic dynamics are shaped by the city's role as a capital and a major economic hub. The economic structure is characterised by a high level of service sector employment. The city's economic role is central to the economic development of the surrounding region. The economic activities are supported by a well-developed transport and communication infrastructure. The city's economic position is a result of its strategic location and historical significance. The economic output of the city is a key indicator of the national economic health. The economic structure is adapted to the demands of a modern, urban economy. The city's economic role is essential for the economic prosperity of the country. The economic activities are diverse and dynamic, reflecting the city's status as a major European city. The city's economic strength is a key driver of economic growth and development. The economic landscape is shaped by the interplay of local and global economic forces. The city's economic position is reinforced by its integration within the European economic area. The economic activities are supported by a skilled and diverse workforce. The city's economic output is a significant contributor to the national GDP. The economic dynamics are influenced by the city's role as a centre for finance and services. The economic structure is characterised by a high concentration of economic activity in the urban core. The city's economic role is central to the economic integration of the Iberian Peninsula. The economic activities are supported by a robust infrastructure and a favourable business environment. The city's economic position is a result of its historical development and strategic location. The economic output of the city is a significant component of the national economic performance. The economic structure is adapted to the needs of a large, urban population. The city's economic role is essential for the economic stability and growth of the country. The economic activities are concentrated in the central urban area, with significant spillover effects. The city's economic strength is a key factor in its attractiveness to investors and businesses. The economic landscape is dynamic and responsive to market changes. The city's economic position is reinforced by its integration within the European Union. The economic activities are supported by a diverse range of industries and services. The city's economic output is a significant

Culture and Tourism

Cultural Significance and Tourism

As the political, economic, and cultural centre of Spain, the city serves as a primary destination for international visitors. The status of the municipality as the capital of both the nation and the autonomous community of Madrid reinforces its role as a hub for national institutions and cultural events. This central position attracts significant tourism, contributing to the city's economic profile alongside its political functions.

The urban landscape is defined by its location on the River Manzanares in the central part of the Iberian Peninsula. The elevation of approximately 660 metres above mean sea level influences the local climate and urban planning. The municipality covers an area of 605.77 square kilometres, providing space for extensive cultural infrastructure and public spaces. The city proper recorded a population of 3,207,247 in 2025, supporting a dense network of cultural venues and services.

Madrid is recognized as the second-largest city in the European Union, after Berlin. Its metropolitan area is also the second-largest in the EU, after Paris, with a population of approximately 6.8 million. This scale supports a diverse range of cultural activities and tourism infrastructure. The city's prominence within the European Union framework enhances its visibility as a cultural destination for travelers from across the continent.

The official language of the municipality is Spanish, which shapes the linguistic environment for residents and visitors alike. The cultural identity of the city is closely tied to its role as the capital of Spain, influencing the arts, media, and public life. The city's position as a major urban center in the Iberian Peninsula continues to attract attention from geographers, travelers, and cultural analysts.

Frequently asked questions

What is the population of Madrid?

Madrid had a population of over 3.4 million in the city proper in 2025. The metropolitan area population was approximately 6.8 million.

Where is Madrid located geographically?

It is situated at about 660 metres above mean sea level.

Is Madrid the capital of Spain?

Yes, Madrid is the capital city of Spain and also the capital of the surrounding autonomous community of Madrid.

What is the area of the municipality?

The municipality covers an area of 605.77 square kilometres.

How does Madrid compare to other European cities?

Summary

Madrid is the capital and most populous city of Spain, with a 2025 city proper population exceeding 3.4 million and a metropolitan population of approximately 6.8 million.

The municipality covers an area of 605.77 square kilometres and serves as the political, economic, and cultural centre of the country.