Madrid

Madrid
Preview warning: Page using Template:Multiple image with unknown parameter "color"
Interactive map of Madrid
Madrid
Location of Madrid
Madrid
Madrid (Europe)
Coordinates: 40°25′01″N 3°42′12″W / 40.4169°N 3.7033°W / 40.4169; -3.7033
Country Spain
Autonomous community and provinceCommunity of Madrid
Founded9th century
Government
 • TypeAyuntamiento
 • BodyCity Council of Madrid
 • MayorJosé Luis Martínez-Almeida (PP)
Area
605.77 km2 (233.89 sq mi)
Elevation
660 m (2,170 ft)
Population
 (2025)
3,477,497
 • Rank2nd in the European Union
1st in Spain
 • Density5,740.6/km2 (14,868/sq mi)
 • Urban
6,211,000
 • Metro
6,125,583
Demonym(s)Madrilenian, Madrilene
madrileño, -ña; matritense,
gato, -a
GDP
 • Capital city and municipality€135.362 billion (2020)
 • Metro€316.242 billion (2024)
Time zoneUTC+1 (CET)
 • Summer (DST)UTC+2 (CEST)
Postal code
28001–28080
Area code+34 (ES) + 91 (M)
HDI (2021)0.940
very high · 1st
ClimateCold semi-arid climate (BSk)
Websitemadrid.es

Madrid is the capital and most populous city of Spain. It had a population of over 3.4 million in the city proper in 2025, and a metropolitan area population of approximately 6.8 million. Madrid is the second-largest city in the European Union (EU), after Berlin, and its metropolitan area is the second-largest in the EU, after Paris. The municipality covers an area of 605.77 km2 (233.89 sq mi). Madrid lies on the River Manzanares in the central part of the Iberian Peninsula at about 660 m (2,170 ft) above mean sea level. The capital city of both Spain and the surrounding autonomous community of Madrid, it is the political, economic and cultural centre of the country.

The primitive core of Madrid, a walled military outpost, dates back to the late 9th century, under the Emirate of Córdoba. Conquered by Christians in 1083 or 1085, it consolidated in the Late Middle Ages as a sizeable town of the Crown of Castile. The development of Madrid as an administrative centre was fostered after 1561, as it became the permanent seat of the court of the Hispanic Monarchy. The following centuries were characterised by the reinforcement of Madrid's status within the framework of a centralised form of state-building.

The Madrid urban agglomeration has the second-largest GDP in the European Union. Madrid is ranked as an alpha world city by the Globalization and World Cities Research Network. The metropolitan area hosts major Spanish companies such as Telefónica, Iberia, BBVA and FCC. It concentrates the bulk of banking operations in Spain and it is the Spanish-speaking city generating the largest number of webpages. Madrid houses the headquarters of UN Tourism, the Ibero-American General Secretariat (SEGIB), the Organization of Ibero-American States (OEI), and the Public Interest Oversight Board (PIOB). Pursuant to the standardising role of the Royal Spanish Academy, Madrid is a centre for Spanish linguistic prescriptivism. Madrid organises fairs such as FITUR, ARCO, SIMO TCI and the Madrid Fashion Week. Madrid is home to football clubs Real Madrid and Atlético Madrid.

Its landmarks include the Plaza Mayor; the Royal Palace of Madrid; the Royal Theatre with its restored 1850 Opera House; the Buen Retiro Park, founded in 1631; the 19th-century National Library building containing some of Spain's historical archives; many national museums; and the Golden Triangle of Art, located along the Paseo del Prado and comprising three art museums: the Prado Museum; the Reina Sofía Museum, a museum of modern art; and the Thyssen-Bornemisza Museum, which complements the holdings of the other two museums. The mayor is José Luis Martínez-Almeida from the People's Party.