Since · 9th century

A city dossier

Madrid.

In Spain Community of Madrid

Madrid is the capital and largest city of Spain, a high, sunny city at the centre of the Iberian Peninsula known for the Prado and its other great art museums, the Royal Palace, the Plaza Mayor, Retiro Park and its late-night street life.

By Updated

Population
3.3M
Area
604 km²
Founded
9th century
Region
Community of Madrid
Coordinates
40.4168°N · 3.7038°W
04 · About

On the city.

Madrid is the capital and largest city of Spain, a high, sunny city at the centre of the Iberian Peninsula known for the Prado and its other great art museums, the Royal Palace, the Plaza Mayor, Retiro Park and its late-night street life.

Location, geography & climate

Madrid lies on the River Manzanares in the centre of Spain, on the high plateau of the Meseta, with the Sierra de Guadarrama to the north-west. At about 650 metres above sea level it is one of the highest capitals in Europe. The municipality covers 606 km².

The climate is dry and continental: summers are hot, winters cold and crisp, and the sky is clear for much of the year. Madrid has the lowest rainfall of any European capital. The record high, 40.7 °C, was measured in Retiro Park on 14 August 2021.

History & founding

Madrid began as a fortress built in the second half of the 9th century by Muhammad I, emir of Córdoba, to guard the approaches to Toledo. Alfonso VI of Castile took it in the 1080s. It remained a modest town until 1561, when Philip II moved his court here, and it was confirmed as capital under Philip III. The Plaza Mayor, designed by Juan Gómez de Mora, was built between 1617 and 1619.

Bourbons, war and democracy

The Bourbon kings of the 18th century added the Royal Palace, the Prado building and broad avenues. On 2 May 1808 the people rose against Napoleon’s troops, an event painted by Goya. During the Civil War of 1936–39 Madrid was besieged for nearly three years before falling to Franco’s forces in March 1939. After the return of democracy, the constitution of 1978 confirmed it as capital. Bombs on commuter trains on 11 March 2004 killed 191 people.

Districts, character & architecture

The centre radiates from the Puerta del Sol, with the Plaza Mayor, the Royal Palace and the old Habsburg quarter to the west and the Gran Vía to the north. To the east, the Paseo del Prado and Retiro Park, founded in 1631, form a UNESCO World Heritage landscape; along it stand the Prado, the Reina Sofía, which houses Picasso’s Guernica, and the Thyssen-Bornemisza, together known as the Golden Triangle of Art.

Madrid has 21 districts. Malasaña and Chueca are the nightlife and alternative quarters, La Latina is known for tapas bars and the Sunday Rastro flea market, Salamanca for elegant shopping, and the Cuatro Torres business area for skyscrapers. Las Ventas, the largest bullring in Spain, holds about 25,000 people.

Population, economy & daily life

The city had 3,477,497 residents in 2025, and the metropolitan area between about 6.1 and 6.8 million, depending on the definition, making it one of the largest urban areas in the European Union.

Madrid is the seat of government, parliament and the royal family and Spain’s main financial centre: banks based here handle more than 70 per cent of the country’s banking activity. Services dominate the economy, and major trade fairs include FITUR for tourism and ARCO for contemporary art.

Culture, food & nightlife

The Prado attracts close to three million visitors a year and the Reina Sofía even more. Football is followed with passion through Real Madrid and Atlético de Madrid. The festival of San Isidro, the city’s patron saint, is celebrated in mid-May.

Madrileños eat late: lunch at two or three, dinner after nine. Typical dishes are cocido madrileño (a chickpea and meat stew), bocadillo de calamares (a squid sandwich), tortilla, huevos rotos and churros with thick hot chocolate. The Mercado de San Miguel is the best-known food market, and bars stay busy well past midnight.

Getting around & visiting

Adolfo Suárez Madrid–Barajas Airport, one of the largest in Europe, is linked to the centre by metro and train; its Terminal 4 opened in 2006. The metro is extensive and inexpensive, and high-speed AVE trains reach Barcelona, Seville and Valencia in two to three hours. The centre is compact enough to explore on foot.

Spring and autumn are the best seasons; July and August are very hot, and many locals leave the city. Toledo, Segovia and El Escorial are popular day trips.

At a glance

Sort or filter the table to compare values for the city.

FieldValueNote
CountrySpain—
RegionCommunity of Madridwithin country
Population3.3Mmetropolitan area
Area604km²
Founded9th century—
Latitude40.4168degrees
Longitude-3.7038degrees
Climate bandtemperatederived from latitude

Did you know?

Madrid is the highest-altitude capital in the European Union, sitting at 667 metres above sea level.

Frequently asked questions

When did Madrid become the capital of Spain?

Philip II moved the royal court to Madrid in 1561, and it has been the capital almost continuously since.

How many people live in Madrid?

The city had 3,477,497 residents in 2025, and the metropolitan area more than 6 million.

How high is Madrid?

About 650 metres above sea level, among the highest capitals in Europe.

What are the main art museums in Madrid?

The Prado, the Reina Sofía, which houses Picasso’s Guernica, and the Thyssen-Bornemisza, known together as the Golden Triangle of Art.

05 · Essentials

Things to know.

Practical information pulled from country-level data — useful before you travel.

Languages
Spanish
Currency
Euro (EUR) · €
Time zone
CET (UTC+1)
Calling
+34
Plug type
C / F
Drives on
Right
Climate
Temperate
Best season
May – Sep (warm)
Density
5,464/km²
Age
about 12 centuries old
Dispatch 29 · NOV · 26

A small thing, worth noting.

Madrid is the highest-altitude capital in the European Union, sitting at 667 metres above sea level.

— filed from Madrid

Reference

Knowing Madrid

Practical, computed reference: where the city sits on the planet, what to expect from the climate, and how it connects to the rest of the world.

Geography & climate of Madrid

Hemisphere
Northern hemisphere
Latitude
40.4168°
Longitude
-3.7038°
Time-zone band
UTC
Daylight at June solstice
14h 53m
Daylight at December solstice
9h 07m

A temperate climate with four distinct seasons. Summers are warm (often hot), winters are cold (sometimes freezing), and the shoulder seasons of spring and autumn are typically the most pleasant for visitors.

When to visit Madrid

May to early June and September to October offer mild weather and lighter crowds. Summer (July–August) is hottest and busiest; winter is quieter but cold.

This is a climate-band heuristic — the best time for any specific traveller depends on what they want to do (festivals, beach, mountains). Treat as a starting point.

How far is Madrid from the major hubs?

Great-circle distances — the shortest distance over the surface of the Earth, used by long-haul aircraft. Actual flight time is roughly distance ÷ 800 km/h plus an hour or two for the climb, descent, and headwinds.

  • London 1,263 km / 785 mi
  • Dubai 5,656 km / 3,514 mi
  • New York 5,768 km / 3,584 mi
  • Tokyo 10,762 km / 6,687 mi
  • Singapore 11,381 km / 7,072 mi
  • Sydney 17,685 km / 10,989 mi

Cities near Madrid

Other cities in the encyclopedia, sorted by great-circle distance. Some are realistic day trips; others are regional context. Always check actual road or rail journey times — they differ from straight-line distance by a lot in mountainous or island geography.

The antipode of Madrid

If you drilled straight through the centre of the Earth from Madrid, you'd come out at -40.4168°, 176.2962°, in the South Pacific Ocean — coordinates -40.4168°, 176.2962°.

About 71% of the planet is ocean, so most antipodes land in the sea — a little geographic curiosity for the next pub quiz.