Browse / Spain / Madrid / Madrid

Madrid

Madridcity

Photograph of Madrid
Featured view

Madrid

Total population

3,477,497

Air quality index

41Good
Elevation663 m
Land area604.46 km²
Coordinates40.42°, -3.70°

Demographic figures from INE (Spain). Overview below cites Wikipedia and may reference a different year.

Loading additional data from public sources…0 / 11
CensusWikipediaWeatherPlacesPeopleEnvironmentHealth & SchoolsRelatedGeography & CultureLive MonitoringEvents & Gallery
0% complete

City facts

Elevation
663 m
Area
604.46 km²
head of government
José Luis Martínez-Almeida
Official website
www.madrid.es

Facts from Wikidata (CC0).

Overview

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 square kilometres (233.89 sq mi). Madrid lies on the River Manzanares in the central part of the Iberian Peninsula at about 660 metres (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.

Read more on Wikipedia

History & geography

History

The site of modern-day Madrid has been occupied since prehistoric times. There are archaeological remains of the Celtic Carpetani settlement, Roman villas, a Visigoth basilica near the church of Santa María de la Almudena and three Visigoth necropolises near Casa de Campo, Tetuán and Vicálvaro. The first historical document about the existence of an established settlement in Madrid dates from the Muslim age. In the second half of the 9th century, Umayyad Emir Muhammad I built a fortress on a headland near the river Manzanares as one of the many fortresses he ordered built on the border between Al-Andalus and the kingdoms of León and Castile, with the objective of protecting Toledo from Christian attacks from the North and as a starting point for Muslim offensives. After the disintegration of the Caliphate of Córdoba in the early 11th century, Madrid was integrated in the Taifa of Toledo. In the context of the wider campaign for the conquest of the taifa of Toledo initiated in 1079, Madrid was seized in 1083 by Alfonso VI of León and Castile, who sought to use the town as an offensive outpost against the city of Toledo, in turn conquered in 1085. Following the conquest, Christians occupied the centre of the city, while Muslims and Jews were displaced to the suburbs. Madrid, located near Alcalá (under Muslim control until 1118), remained a borderland for a while, suffering a number of razzias during the Almoravid period, and its walls were destroyed in 1110. Madrid was confirmed as villa de (linked to the Crown) in 1123, during the reign of Alfonso VII. The 1123 Charter of Otorgamiento established the first explicit limits between Madrid and Segovia, namely the Puerto de El Berrueco and the Puerto de Lozoya. Beginning in 1188, Madrid had the right to be a city with…

Geography

Madrid lies in the centre of the Iberian peninsula on the southern Meseta Central, 60 kilometres south of the Guadarrama mountain range and straddling the Jarama and Manzanares river sub-drainage basins, in the wider Tagus River catchment area. With an average altitude of , Madrid is the second-highest capital of Europe, after Andorra la Vella. The difference in altitude within the city proper ranges from the around Plaza de Castilla in the north of city to the around La China wastewater treatment plant on the Manzanares' riverbanks, near the latter's confluence with the Fuente Castellana thalweg in the south of the city. The Monte de El Pardo, a protected forested area covering over a quarter of the municipality, reaches its top altitude () on its perimeter, in the slopes surrounding located at the north-western end of the municipality, in the Fuencarral-El Pardo district. The oldest urban core is located on the hills next to the left bank of the Manzanares River. including those to the South West on the right bank of the Manzanares. Madrid has the second highest number of aligned trees in the world, with 248,000 units, only exceeded by Tokyo. Madrid's citizens have access to a green area within a 15-minute walk. Since 1997, green areas have increased by 16%. At present, 8.2% of Madrid's grounds are green areas, meaning that there are of green area per inhabitant, far exceeding the per inhabitant recommended by the World Health Organization. A great bulk of the most important parks in Madrid are related to areas originally belonging to the royal assets (including El Pardo, Soto de Viñuelas, Casa de Campo, El Buen Retiro, la Florida and the Príncipe Pío hill, and the Queen's Casino). The other main source for the "green" areas are the owned by the…

Read full article on Wikipedia

Excerpted from the corresponding Wikipedia article (CC BY-SA).

Geography

Latitude
40.4168
Longitude
-3.7035
Water area
View on OpenStreetMap

Coordinates & boundaries from the US Census TIGER/Line shapefiles.

Climate

Air quality

US AQI — Good
41
PM2.5 (µg/m³)
4.5
PM10 (µg/m³)
6.3
Ozone (µg/m³)
84
NO₂ (µg/m³)
5.2

Current readings from Open-Meteo Air Quality API (Copernicus CAMS European reanalysis).

Walkability

Amenities nearby

Wildlife & biodiversity

Observations (last 5 yrs, 10 mi)
1,205,701
Distinct species (top 10)
10

Most-observed species

  • Eurasian Magpie
    Pica pica (Linnaeus, 1758) · Aves
    49,743
  • Common Wood-Pigeon
    Columba palumbus Linnaeus, 1758 · Aves
    45,835
  • House Sparrow
    Passer domesticus (Linnaeus, 1758) · Aves
    41,991
  • Eurasian Blackbird
    Turdus merula Linnaeus, 1758 · Aves
    41,548
  • Spotless Starling
    Sturnus unicolor Temminck, 1820 · Aves
    36,155
  • Monk Parakeet
    Myiopsitta monachus (Boddaert, 1783) · Aves
    33,659
  • Rock Pigeon
    Columba livia J.F.Gmelin, 1789 · Aves
    30,378
  • Great Tit
    Parus major Linnaeus, 1758 · Aves
    28,919

Citizen-science & research observations from the Global Biodiversity Information Facility (GBIF).

Earthquake history

Quakes ≥ 2.5 (25 yrs, 62 mi)
19
Largest magnitude
4.2
Largest event
2007-06-07

Most recent

Events from the USGS Earthquake Catalog (global) (FDSN Event Web Service).

Photos

Sights & places nearby

Notable people from here

People born within ~10 km, from Wikidata (CC0). Click any name for their Wikipedia article.

Nearby places in Madrid

Browse all places in Madrid

Geography & sun

Avg solar (kWh/m²/day)
4.7
Annual solar (kWh/m²)
1,717

Elevation, sunrise/sunset and daylight from Open-Meteo. Solar climatology from NASA POWER.

Nearby airports

Public attention

Wikipedia views (last 30 days)
73,370
Avg daily Wikipedia views
2,530
Attention level
Popular

Pageview totals from the Wikimedia Pageviews API.

Books about Madrid

Search results from Open Library.

Recent natural events nearby

Ground air-quality sensors

Recently spotted species

Research-grade observations from iNaturalist (within ~15 mi).

Events

Notable, recurring, and historical events associated with Madrid, sourced from Wikidata.

Source: Wikidata (CC0).

Geotagged photos within ~6 miles of Madrid, from Wikimedia Commons contributors.

Photos via Wikimedia Commons — see each image page for license & attribution.

Official Identifiers

INE — Spanish National Statistics

INE code
28079
Population (Wikidata)
3,506,730
Wikidata
Q2807

Municipality codes via Wikidata P772

Sources

  • Wikipedia
  • Wikimedia Commons
  • Wikidata
  • Open-Meteo Air Quality (CAMS)
  • USGS Earthquake Catalog (global feed)
  • GBIF (Global Biodiversity Information Facility)
  • iNaturalist
  • Open-Meteo / sunrise-sunset.org
  • Wikipedia Pageviews API
  • Open Library
  • INE — Spanish national statistics, municipality code via Wikidata P772
  • INE — Spanish National Statistics — Municipality codes via Wikidata P772