Skip to content
— CH. 1 · INTRODUCTION —

Madrid

~8 min read · Ch. 1 of 7
7 sections
  • Madrid sits at the geographic heart of the Iberian Peninsula, roughly 660 metres above sea level, making it the second-highest capital city in Europe. Over 3.4 million people live within the city proper, and the metropolitan area adds another 3 million, placing Madrid second in population among all European Union capitals, behind only Berlin. The city the world sees today grew from a small walled military outpost built in the late 9th century, a frontier fort ordered by Umayyad Emir Muhammad I to guard the road to Toledo. From that single fortress on the River Manzanares, Madrid would become the political, economic, and cultural core of a global empire. How did a borderland watchtower become one of the great cities of Europe? What forces shaped it, nearly destroyed it, and rebuilt it? And what does Madrid look like now, more than eleven centuries after that first stone was laid?

  • Umayyad Emir Muhammad I ordered the fortress built in the second half of the 9th century, placing it on a headland near the River Manzanares. The site was one of many he commissioned along the contested border between Al-Andalus and the kingdoms of León and Castile. Its purpose was defensive: to shield Toledo from Christian armies pressing from the north. After the Caliphate of Córdoba collapsed in the early 11th century, the town passed into the Taifa of Toledo. Alfonso VI of León and Castile seized Madrid in 1083, aiming to use it as a forward base against Toledo itself, which fell two years later in 1085. Christians moved into the town centre; Muslims and Jews were displaced to the suburbs. The walls were destroyed in 1110 during the Almoravid period, and Madrid spent decades as a borderland absorbing raids. It was formally recognised as a villa linked to the Crown in 1123, during the reign of Alfonso VII, and from 1188 Madrid held the right to send representatives to the courts of Castile. The urban population counted 4,060 people in 1530. Then, in June 1561, Philip II installed his court in the old alcázar. By 1598, the population had grown to 80,000. A city of administration rather than production, Madrid became the place where the Spanish empire was governed, its streets filling with officials, clergy, writers, and the destitute who followed wherever power resided.

  • On the 2nd of May 1808, a crowd gathered near the Royal Palace to protest the French attempt to send the remaining Bourbon royals to Bayonne. What began as a protest became an uprising that spread across the city for hours, ending with a famous last stand at the Monteleón barracks. The French repression that followed was brutal, with insurgents executed in the streets. The events of that day sparked a declaration of war that drew all of Spain into the Peninsular War. The city had already changed hands once during the War of the Spanish Succession: Bourbon control yielded to an allied army with Portuguese and English troops, before the Bourbon army retook Madrid on the 4th of August 1706. Philip V entered the capital again on the 3rd of December 1710. A century before those battles, during the revolt of the Comuneros led by Juan Lopez de Padilla, Madrid had joined the uprising against Charles, Holy Roman Emperor, only to be besieged by imperial troops after the defeat at Villalar. Despite that history of occupation and resistance, the 18th century also brought systematic improvement. Charles III, who came to be known as the best mayor of Madrid, built sewers, introduced street lighting, established cemeteries outside city limits, and pushed forward the construction of what would later become the Prado Museum. His Sicilian minister's clothing reforms provoked the Esquilache Riots of 1766, when the populace rose up to demand the repeal of a decree banning traditional hats and long cloaks, but the reign of Charles III is remembered above all for turning Madrid into a true European capital.

  • Madrid was one of the most heavily affected cities in the Spanish Civil War of 1936-1939. From July 1936 it served as a stronghold of the Republican faction and became an international symbol of anti-fascist resistance. The city endured aerial bombardment, and in November 1936 its western suburbs became the scene of an all-out battle. The city fell to the Francoists in March 1939. The post-war period brought ration coupons and severe food scarcity. Meat and fish were scarce enough that malnutrition caused elevated mortality. The right-wing victors considered moving the capital to Seville, but those plans were never carried out. The Franco regime instead leaned into Madrid's identity as the historic seat of imperial Spain. Mass immigration from rural areas drove intense demographic growth, and the city built housing rapidly, though much of it was substandard. By 1956 as many as 50,000 shacks were scattered around Madrid. A transitional policy introduced from the mid-1950s established the poblados de absorción in locations such as Canillas, San Fermín, Caño Roto, Villaverde, Zofío, and Fuencarral. These were intended as a higher-grade alternative to shanty towns, with residents participating in building their own homes under coordinated urban planning. The 1960s Spanish economic boom produced a newly enriched middle class that settled in Madrid's north-western districts, while the south-eastern periphery became a large working-class area and a base for active cultural and political movements.

  • The new constitution ratified in 1978 confirmed Madrid as the capital of Spain. The 1979 municipal election brought the city its first democratically chosen mayor since the Second Republic. On the 23rd of February 1981, known as 23-F, a failed coup attempt prompted mass demonstrations of support for democracy, and Madrid was at the centre of them. The early democratic mayors came from the centre-left PSOE; Enrique Tierno Galván, mayor through part of the 1980s, actively nurtured the cultural and musical movement known as La Movida. The movement made Madrid an international reference point for artistic freedom after four decades of dictatorship. A heroin crisis ran in parallel through the same poor neighbourhoods during the 1980s, a shadow side of the same era of social loosening. Administratively, the city pushed forward large infrastructure projects: traffic tunnels proliferated during the mandate of mayor José María Álvarez del Manzano, and successive conservative administrations under Alberto Ruiz-Gallardón and Ana Botella launched three unsuccessful bids for the Summer Olympics of 2012, 2016, and 2020. In 2005 Madrid ranked as the leading European destination for migrants from developing countries and the largest employer of non-European workforce in Spain. The mandate of left-wing Mayor Manuela Carmena from 2015 to 2019 produced a notable environmental project: the renaturalisation of the course of the Manzanares through the city. By the late 2010s, the city's challenges had shifted toward unaffordable rental prices, tourist-apartment saturation, and what officials described as an epidemic of gambling among young people in working-class areas.

  • The Prado Museum holds one of the finest collections of European art in the world, built on the former Spanish Royal Collection, spanning from the 12th century to the early 19th century. Among its standout works are Las Meninas, The Garden of Earthly Delights, and La maja desnuda. Immediately beside it in UNESCO's Golden Triangle of Art stands the Reina Sofía, home to Pablo Picasso's 1937 anti-war painting Guernica, alongside major collections of Salvador Dalí, Joan Miró, Juan Gris, and Julio González. The Thyssen-Bornemisza Museum fills in the gaps the other two leave open, covering Italian primitives, Dutch and German schools, Impressionists, and European and American art from the second half of the 20th century; its collection runs to over 1,600 paintings, once considered the second-largest private collection in the world after the British Royal Collection. Madrid's literary identity is anchored in the Barrio de las Letras, the Literary Neighbourhood, where Lope de Vega, Francisco de Quevedo, and Góngora all lived during the 16th and 17th centuries. At 87 Calle de Atocha, in the printing house of Juan de la Cuesta, the first edition of Don Quixote was typeset and printed in 1604. Tirso de Molina, born in Madrid, created the character Don Juan. José de Echegaray, also born in Madrid, went on to win the Nobel Prize in Literature. The Royal Spanish Academy, whose motto declares its purpose as cleaning, stabilising, and giving brilliance to the language, is headquartered in the city. The National Library of Spain, the country's largest public library, holds a collection of more than 26,000,000 items, including 30,000 manuscripts and over 4,500,000 graphic materials.

  • Madrid has the second-largest GDP of any urban agglomeration in the European Union. Banks based in Madrid carry out 72% of all banking activity in Spain, and the city's stock market is the third largest in Europe by size, anchored by the IBEX 35 index. The city is also the Spanish-speaking city generating the largest number of webpages in the world. The metropolitan area is the EU region with the highest average life expectancy at birth; in 2016, that figure stood at 82.2 years for males and 87.8 years for females. In 2023, Madrid received 5,757,815 international visitors, ranking second among Spanish tourist destinations. Its parks are equally outsized: Madrid has the second highest number of aligned trees in the world, with 248,000 units, surpassed only by Tokyo. Green areas make up 8.2% of the city's grounds, equivalent to 16 square metres per inhabitant, well above the 10 square metres per inhabitant recommended by the World Health Organisation. El Retiro, the most visited location in the city, covers an area larger than 1.4 square kilometres and was created during the reign of Philip IV in the 17th century before being handed to the municipality in 1868 after the Glorious Revolution. The Canal de Isabel II, the public entity responsible for Madrid's water supply, was created in 1851 and today manages roughly 73.5 percent of the city's water from dams and reservoirs built on the Lozoya River. Across all these measures, Madrid keeps company with the largest cities in Europe while occupying a plateau in the geographic centre of Spain, a location that once made it a military asset and now makes it the central node of Spain's entire high-speed rail network, with Seville and Barcelona each within 2.5 hours.

Continue Browsing

Common questions

Why did Madrid become the capital of Spain?

Philip II set his court in Madrid in June 1561, installing it in the old alcázar, making the city the permanent seat of the Hispanic Monarchy. Its location at the geographic centre of Spain was a key factor, and the city served as capital continuously except for a brief period from 1601 to 1606 when the court moved to Valladolid.

What is the Golden Triangle of Art in Madrid?

The Golden Triangle of Art is a UNESCO World Heritage designation covering three major art museums along the Paseo del Prado: the Prado Museum, the Reina Sofía Museum, and the Thyssen-Bornemisza Museum. The Prado holds European art from the 12th to early 19th century, the Reina Sofía focuses on 20th-century art including Picasso's Guernica, and the Thyssen-Bornemisza fills the historical gaps left by the other two.

What is the origin of the name Madrid?

The exact origin of the name Madrid is unknown and no single theory fully explains its phonetic evolution. Leading explanations include a derivation from the Latin Matrice (meaning water stream), a Celtic root related to the word for ford, and the Arabic magrā meaning water stream.

What happened in Madrid on 2 May 1808?

On the 2nd of May 1808, a crowd gathered near the Royal Palace to protest the French attempt to remove the remaining Bourbon royal family to Bayonne. The protest became an uprising against French Imperial troops that spread across the city for hours, including a last stand at the Monteleón barracks. The brutal repression that followed led to a declaration of war calling all Spaniards to fight the French invaders.

What was La Movida in Madrid?

La Movida was a cultural and musical movement that emerged in Madrid from the late 1970s through the 1980s following the end of the Francoist dictatorship. It flourished during the mayoral tenure of Enrique Tierno Galván of the PSOE party, who actively nurtured it, and made Madrid a reference point for artistic freedom after four decades of dictatorship.

How large is Madrid's population and how does it rank in Europe?

Madrid had a population of over 3.4 million in the city proper in 2025, with a metropolitan area population of approximately 6.8 million. It is the second-largest city in the European Union after Berlin, and its metropolitan area is the second-largest in the EU after Paris.

All sources

233 references cited across the entry

  1. 1webNomenclátor Geográfico de Municipios y Entidades de PoblaciónNational Center for Geographic Information (CNIG)
  2. 8journalVariación de la -/d/ final de palabra en Madrid: ¿prestigio abierto o encubierto?Isabel Molina Martos — 2016
  3. 9bookEñe B1.2: der SpanischkursCristóbal González Salgado — Hueber Verlag — 2012
  4. 14encyclopediaMadrid
  5. 15citationBack MatterSyracuse University Press
  6. 17webThe World According to GaWC 2010Globalization and World Cities (GaWC) Study Group and Network, Loughborough University
  7. 18journalInstrumentos lingüísticos académicos y norma estándar del español: la nueva política lingüística panhispánicaDaniela Lauria et al. — Pontificia Universidad Católica del Perú — 2009
  8. 19webFITUR
  9. 27newsGeography of MadridEasy expat — 11 August 2006
  10. 29journalEl origen del topónimo MadridSantiago Pérez Orozco — Consejo Superior de Investigaciones Científicas — 2007
  11. 36webMadrid IslámicoNova.es
  12. 39web1188 and All That: An Intense Parliamentary Year in EuropeJosé Manuel Cerda — University of New South Wales — 2020
  13. 42journalEl reverso de la medalla. Pobreza extrema en el Madrid de Felipe IVAntonio Domínguez Ortiz — 2003
  14. 43journalDosier: El barrio de las letras y las mujeresEdiciones La Librería — 2019
  15. 46journalMadrid en la encrucijada del interior peninsular, c. 1850–2009José Luis García Ruiz — UPV/EHU — 2011
  16. 50journalAfrancesados, moderados, exaltados, masones y comuneros: periódicos y periodistas ante el conflicto político en la prensa de Madrid durante el Trienio Liberal (1820–1823)Víctor Sánchez Martín — 2020
  17. 54bookFotografía y patrimonio cultural: V, VI, y VII Encuentros en Castilla-La ManchaBeatriz de las Heras et al. — Ediciones de la Universidad de Castilla La Mancha — 2018
  18. 55webMadrid, de territorio fronterizo a región metropolitana. Madrid, from being the "frontier" to become a Metropole.Luis Enrique Otero Carvajal (Profesor Titular de Historia Contemporánea. Universidad Complutense. Madrid)
  19. 59journalIntra-urban house prices in Madrid following the financial crisis: an exploration of spatial inequalityGladys Elizabeth Kenyon et al. — 2024
  20. 61journalBanca privada y vivienda usada en la ciudad de MadridVíctor Jiménez Barrado et al. — 2016
  21. 63bookModern SpainEnrique Ávila López — ABC-CLIO — 2015
  22. 64newsSiete colinas bajo el asfaltoRafael Fraguas — 3 March 2007
  23. 65bookVII Congreso Forestal EspañolA. Gonzalo Muñoz et al. — Sociedad Española de Ciencias Forestales — 14 September 2018
  24. 68journalMadrid's Retiro Park as publicly-private space and the spatial problems of spatial theoryBenjamin Fraser — Taylor & Francis — 2007
  25. 69journalAportaciones a una geografía del esparcimiento en Madrid: Los espacios verdesManuel Valenzuela Rubio — Universidad Autónoma de Madrid. Departamento de Geografía — 1977
  26. 70journalNature and the city: the Parque del Oeste and the expansion of nineteenth-century MadridJuan F. Remón Menéndez — 1998
  27. 71journalLas propiedades territoriales de la Corona y su incidencia en el desarrollo urbano en MadridLuis Galiana Martín — Dirección General del Catastro — 1994
  28. 72journalMonte de El Pardo: Un monte ligado a la historiaFrancisco Javier Tomé et al. — 2011
  29. 75webExtreme values. Madrid, RetiroAgencia Estatal de Meteorología
  30. 76webExtreme values. Madrid AirportAgencia Estatal de Meteorología
  31. 80journalUrban heat island behaviors in dryland regionsJohn M. Dialesandro et al. — 2019
  32. 81webAEMET OpenDataAgencia Estatal de Meteorologia
  33. 85bookLos viajes de agua de Madrid durante el antiguo régimenVirgilio Pinto Crespo — Fundación Canal — 2010
  34. 89webPoblación por País de nacimientoAyuntamiento de Madrid
  35. 92webEurostat – Tables, Graphs and Maps Interface (TGM) tableEpp.eurostat.ec.europa.eu — 2 April 2012
  36. 96news618 policías de la capital se podrán jubilar por un cambio en la leyFrancisco Javier Barroso — 18 December 2018
  37. 97webEl municipio en cifrasAyuntamiento de Madrid
  38. 101newsOverview: Economy of MadridEasyExpat — 16 August 2006
  39. 105webBarómetro de Economía de la Ciudad de Madrid, No. 41Madrid City Council — October 2014
  40. 110journalOperadores y plataformas logísticasJavier Arturo Orjuela Castro et al. — Universidad Distrital Francisco José de Caldas — 2005
  41. 113journalHow tourist apartments are hurting Madrid's neighbourhoodsJ.A. Aunión et al. — 26 February 2018
  42. 117webMadrid Region Booms as an International Production HubEmiliano de Pablo — Variety — 20 May 2019
  43. 118newsCuando Clint Eastwood mataba forajidos en la sierra de MadridMiguel Ángel Medina — 21 September 2019
  44. 119webAmazon chooses Madrid for European production hubJulian Clover — 5 December 2018
  45. 120webMadrid emerges as TV series production hubAdrien Vicente — The Jakarta Post — 18 July 2019
  46. 121webDAZN abre en Madrid un centro de producción virtualAudiovisual451 — 19 September 2019
  47. 122webEspaña, la nueva meca industrial de la televisiónHelena Cortés — ABC — 7 April 2019
  48. 123webMadrid concentra el poder mediático en EspañaSalvador Enguix — 8 December 2020
  49. 124bookArquitectura y espacio urbano en Madrid en los siglos XVII y XVIIIJesús Escobar — Ayuntamiento de Madrid — 2007
  50. 125bookChapiteles del siglo XVI al XVIII en Madrid y su entorno: sus armaduras de maderaRaimundo Estepa Gómez — Universidad Politécnica de Madrid — 2015
  51. 126webArquitectura en el Madrid de los AustriasEdiciones La Librería — 18 January 2016
  52. 127bookMadrid y sus arquitectos: 150 años de la escuela de arquitecturaJavier García Gutiérrez-Mosteiro — Dirección General del Patrimonio Cultural de la Comunidad de Madrid — 1996
  53. 128webLa huella del fascismo patrio en la arquitectura de MadridAlejandro Torrús — 13 January 2017
  54. 129webUn símbolo en el centro de MadridJulián Méndez — 23 February 2011
  55. 137webCaixaforum Madrid | Nuestros centros | Obra Social "la Caixa"Obrasocial.lacaixa.es — 15 January 1974
  56. 140webMuseo de AméricaMuseodeamerica.mcu.es
  57. 141webPortadaMNCN — 27 May 2011
  58. 145webMuseo de Artes DecorativasMnartesdecorativas.mcu.es
  59. 146webMuseo del RomanticismoMuseoromanticismo.mcu.es
  60. 148webMuseo Nacional de AntropologíaMnantropologia.mcu.es
  61. 149webSorolla MuseumMadrid Official Tourism Website
  62. 152journalUna mirada al hablar madrileñoAlonso Zamora Vicente — 11 June 1961
  63. 153bookTratado de fonología y fonética españolasAntonio Quilis — Gredos (Madrid) — 1993
  64. 154bookDialectología hispánica. The Routledge Handbook of Spanish DialectologyAndrew Lynch — Routledge — 2023
  65. 155bookHistoria crítica de la lexicografía gitano-españolaIvo Buzek — Masarykova univerzita — 2011
  66. 156bookGuía del Madrid galdosianoMiguel García-Posada — Consejería de Educación, Comunidad de Madrid — 2005
  67. 158webColeccionesBiblioteca Nacional de España — 21 May 2013
  68. 160newsDate un homenaje: los cinco guisos de puchero más calóricosTeresa Morales García — 15 November 2016
  69. 162webLos mejores sitios para comer oreja a la plancha en MadridÁlvaro Hermida — El Confidencial — 17 November 2019
  70. 163journalJornadas de turismo gastronómico en la Comunidad de MadridFrancisco Feo Parrondo — Universidad de Murcia — 2014
  71. 164webLos placeres de la cocina madrileña: 4 recetas que lo demuestranVerónica Vallejo — El Confidencial — 30 January 2021
  72. 165journalUn acercamiento a la gastronomía madrileñaCarlos Dávalos — 7 May 2016
  73. 166webThe real city that never sleeps: discovering nightlife in MadridNational Geographic — 17 February 2021
  74. 167webMadrid after dark: How to go out like the localsJessica Benavides Canepa — 13 July 2017
  75. 168bookMadrid, MetropolisPia Minchot — A. Asppan S.L. — 2002
  76. 169journalMadrid: the best nights outPaul Richardson — 16 March 2012
  77. 171web11 Festival Escena ContemporáneaEscenacontemporanea.com
  78. 176webEl Rastro & LavapiésWhatmadrid.com
  79. 178webOrquesta Sinfónica Chamartín-Historia (in Spanish)Orquesta Sinfónica Chamartín — 20 February 2008
  80. 180webHistory
  81. 184thesisFiestas públicas en Madrid (1561–1808)María José del Río Barredo — Universidad Autónoma de Madrid — 1993
  82. 186news'Parpusas', 'safos' y 'mañosas'Juan Antonio Carbajo — 15 May 1989
  83. 187journalEstos son los platos que debes probar en San IsidroJara Atienza — 14 May 2019
  84. 189newsEl Orgullo más envidiado del mundoPablo León — 7 July 2016
  85. 192newsSpain gives approval to gay unionsRenwick Mclean — 1 July 2005
  86. 194newsTradiciónMoncho Alpuente — 13 February 2002
  87. 195webPequeña historia del carnaval madrileño Somos MalasañaLuis de la Cruz — 6 March 2011
  88. 202webSistema Educativo LOEMinisterio de Educación y Ciencia
  89. 206journalUniversidad y territorio en el área metropolitana de MadridGuillermo Morales Matos et al. — University of Oviedo — 2009
  90. 207newsUniversidad ComplutenseMissouri-St. Louis University — 10 July 2006
  91. 210newsUniversidad AutónomaUniversidad Autónoma de Madrid — 10 July 2006
  92. 212newsLas escuelas de negocios expanden sus redes en MadridCarmen Sánchez-Silva — 16 February 2020
  93. 214newsOslo Puts Up a Stop SignJonathan Wolfe — 19 December 2018
  94. 215journalLa modernización durante el franquismo: urbanismo, tráfico y descontento social en Madrid (1957-1973)Marcos Prados Martín — 2023
  95. 216newsIn Madrid, a Car Ban Proves Stronger Than Partisan PoliticsFeargus O'Sullivan — 24 July 2019
  96. 219newsFour major cities move to ban diesel vehicles by 2025Matt McGrath — 2 December 2016
  97. 220bookMadrid y los Borbones en el siglo XVIII. La construcción de una ciudad y su territorioFernando de Teran — Consejería de Cultura, Deportes y Turismo de la Comunidad de Madrid — 1984
  98. 221journalPublic Transport Funding Policy in Madrid: Is There Room for Improvement?José Manuel Vassallo et al. — 2009
  99. 223journalCien años de la vida subterránea de Metro de MadridSusana Pérez — 2 April 2019
  100. 227webInforme trimestral. Transporte de viajeros por ferrocarril. Tercer trimestre 2024Comisión Nacional de los Mercados y la Competencia — 2024
  101. 228newsLa estación Sur se modernizaBruno García Gallo — 11 October 2013
  102. 229webFlights from Madrid (MAD)6 August 2025
  103. 230bookAtlas nacional de EspañaInstituto Geográfico Nacional — 2019
  104. 231webHermanamientos y Acuerdos con ciudadesAyuntamiento de Madrid
  105. 234webMadrid DomeSCAR