Skip to content
PlayOwl
A nice view of numerous fine buildings with exterior balconies in Madrid, Spain

City Europe

Madrid

Madrid is the capital city of Spain. It sits high up in the middle of the country. It has a royal palace, big parks and famous paintings.

Madrid, the capital of Spain, sits almost exactly in the middle of the Iberian Peninsula, high on a flat plateau. Once a small fortress, it became the royal capital in the 1500s. About 3.5 million people lived there in 2025.

Madrid grew from a small Moorish fortress guarding Toledo's northern approaches into Spain's capital after Philip II brought the court in 1561. At about 650 m on the Meseta, it is one of Europe's highest capitals, and in 2025 it had about 3.5 million people.

Explore

Photo: Dmitry Dzhus from London, CC BY 2.0, via Wikimedia Commons

Discover Madrid

Madrid is the capital city of Spain.

It is right in the middle of the country. It is high up on flat land. Madrid has old streets, a royal palace and big parks.

Madrid is the capital of Spain and its largest city, almost exactly in the middle of the Iberian Peninsula, the piece of land that Spain shares with Portugal. It sits on a high, flat plateau called the Meseta, about 650 meters above the sea, which makes it one of the highest capitals in Europe. About 3.5 million people lived there in 2025.

Madrid is Spain's center for the arts and for money and business. Unlike many big European cities, it does not stand on a large river. Its river, the Manzanares, is so small that a famous writer, Lope de Vega, joked that the city should either sell its grand bridge or buy another river.

Madrid, capital of Spain and of its own province, which together form an autonomous community, lies almost exactly at the geographic heart of the Iberian Peninsula. It stands on the Meseta, an undulating plateau of sand and clay, at about 646 m according to Britannica, one of the highest capitals in Europe. Its population was 3,506,730 in 2025.

Britannica stresses that Madrid became the capital less for its geography than for its neutrality: it lacked ties to any established non-royal power. It has no major river, no mineral wealth and was never a pilgrimage destination. The dramatist Lope de Vega, looking at the grand bridge over the modest Manzanares, suggested selling the bridge or buying another river. Today the city is Spain's arts and financial center.

Country
Spain (capital)
People in the city (2025)
about 3.5 million
Height above sea level
about 650 m
Royal court arrived
1561
A nice view of numerous fine buildings with exterior balconies in Madrid, Spain
Photo: Dmitry Dzhus from London, CC BY 2.0, via Wikimedia Commons

Famous places

Madrid has a big royal palace.

The Plaza Mayor is a large square with buildings all around it. The Prado is a museum full of famous paintings. The Retiro is a huge park with gardens.

The Plaza Mayor, a big square closed in by buildings on all sides, was built from 1617 to 1619. The Royal Palace was begun after a fire destroyed the old royal castle on Christmas night, 1734. Its throne room has a ceiling painted by the Italian artist Tiepolo.

The Prado Museum, whose building was finished in 1819, holds paintings collected by Spain's kings and queens over hundreds of years, including the most complete collections of El Greco, Velázquez and Goya. Nearby, the 120-hectare Retiro gardens were once part of a royal palace. In 2021 UNESCO listed the Paseo del Prado avenue and the Retiro as a World Heritage Site.

The Plaza Mayor, designed by Juan Gómez de Mora and built in 1617–19, was modified after a great fire in 1790. Philip V began the Royal Palace after the Alcázar burned on Christmas night, 1734; it has granite and limestone walls, a Tiepolo ceiling in the throne room and, in the Armería, one of the world's finest armor collections. Almudena Cathedral, now the city's main cathedral, stands beside it.

Charles III commissioned Juan de Villanueva in 1785 to design a natural science museum; the building, completed in 1819, became the Prado, which holds the most complete collections of El Greco, Velázquez and Goya. The Reina Sofía museum, in a former general hospital, holds Picasso's Guernica, sent to Spain from New York in 1981. UNESCO inscribed the Paseo del Prado and Buen Retiro in 2021: a tree-lined 16th-century avenue, a prototype of the Hispanic alameda, with grand fountains and buildings for the arts and sciences, and the 120-hectare Retiro gardens, a remnant of the 17th-century Buen Retiro Palace.

Plaza Mayor
built 1617–19
Prado Museum building
completed 1819
Paseo del Prado and Buen Retiro
World Heritage Site (2021)
Retiro gardens
120 hectares
Pórtico hexástilo de estilo neoclásico del Museo del Prado en Madrid, conocido como Puerta de Velázquez
Photo: Emilio J. Rodríguez Posada, CC BY-SA 2.0, via Wikimedia Commons

From fortress to capital

Long ago, Madrid was a small fortress on a rocky hill.

Later, a king moved his whole court there. Madrid grew into a big capital city. Builders made palaces, squares and wide streets.

Madrid began as a small Moorish fortress on a rocky hill, one of the guard posts protecting the much more important city of Toledo, about 70 kilometers away. In 1083 King Alfonso VI of Castile captured it.

In 1561 King Philip II moved his royal court to Madrid, and it grew quickly: 60,000 people by 1598 and 100,000 by 1656. In 1808 the people of Madrid rose up against Joseph Bonaparte, the brother of the French emperor Napoleon, who had briefly taken the place of Spain's royal family as king. In the 1900s Madrid became a big industrial city, and in 1992 it was named the European Capital of Culture.

Madrid's earliest historical role was as a small Moorish fortress on a rocky outcrop, part of the northern defenses of Toledo, about 70 km to the south-southwest. Alfonso VI of Castile and León captured the town in 1083, and later kings of Castile often stayed there. Philip II took the court to Madrid in 1561, and Philip III made it the official capital a generation later. The population reached 60,000 by 1598, and Pedro Teixeira's plan of 1656 shows a city of 100,000 people and 11,000 buildings. The last of Madrid's four sets of walls, built in 1625, stood until 1860.

Joseph Bonaparte cleared convents to open small plazas, earning the nickname "King of the Small Plazas"; on May 2, 1808, a mass uprising against him began what Spaniards call the War of Independence. After the Spanish Civil War (1936–39) Madrid became a major manufacturing center, drawing migrants from all over Spain in the 1950s and '60s. Democracy returned in the late 1970s, and Madrid was the European Capital of Culture for 1992.

Through the years

Getting around Madrid

People in Madrid ride trains under the ground called the Metro.

Buses go all over the city. The main street is called the Gran Vía. Big airplanes land at the airport outside the city.

A subway called the Metro has lines that run all through the city, and many bus routes carry people around Madrid and in from the towns nearby. Madrid's international airport, Barajas, is about 13 kilometers east of the city.

The Gran Vía was built to be the city's main street, full of cinemas, cafés, shops and banks. The old center is a maze of small streets, and traffic jams are common. For centuries the city did not even spread across its little river; it first crossed the Manzanares in 1948.

A subway, the Metro, serves the city with lines extending throughout it, and numerous bus routes run by municipal and private operators serve both residents and commuters from the surrounding municipalities. Barajas Airport, the international airport, lies about 13 km east of the city.

The Gran Vía, cut through the center to be the city's main street, still has cinemas, coffeehouses, shops and banks. The old center is a maze of small streets around a few squares near the Plaza Mayor, and Britannica notes that pollution can be intense and severe traffic congestion is common. Despite several development plans, Madrid did not spread into the open land around it, or even across the Manzanares, until 1948.

Airport
Barajas, about 13 km east
Main street
the Gran Vía

Hot summers, crisp winters

Summers in Madrid are hot and dry.

Some summer days get very, very hot. Winters are cold and crisp, with sharp winds. Spring and fall are the nicest times of year.

Partly because Madrid is high up and close to the Sierra de Guadarrama mountains, its winters are cold and crisp, with sharp winds. Summers are dry and hot, and in July and August the temperature sometimes climbs above 38 °C.

Average temperatures range from about 5 °C to 24 °C. July is the driest month, with less than 11 millimeters of rain, and October is usually the rainiest, with about 50 millimeters. Spring and fall are the mildest seasons, and the most popular with visitors.

Madrid's height and the nearby Sierra de Guadarrama help explain its cold, crisp winters with sharp winds; sudden swings in temperature are possible. Summers are consistently dry and hot, oppressive in July and August, when temperatures sometimes exceed 38 °C. Average temperatures range from about 5 to 24 °C, and monthly precipitation from under 11 mm in July to about 50 mm in October, usually the rainiest month. Spring and fall are the temperate seasons.

Britannica links the heat to daily rhythms: keeping late hours is common in Madrid, as in other parts of Spain, especially in the heat of summer. Parks soften the city: there are more than 40 parks and public gardens, and the city as a whole has more open space than Paris.

Average temperatures
from about 5 °C to 24 °C
Rainiest month
October, about 50 mm
Driest month
July, less than 11 mm

Living in Madrid

Many people in Madrid eat dinner late in the evening.

Shows and movies start late too. Each neighborhood has its own style. A popular flea market, the Rastro, is near the old center.

Madrid is known for its late hours. Many people eat late, and theaters and cinemas start their shows late, though modern business habits have shortened the long midday break in many workplaces. Each barrio, or neighborhood, has developed its own style, so people speak of "los Madriles", "the Madrids".

People have come to Madrid from every part of Spain, especially to work in its factories in the 1950s and 1960s, and more recently from Latin America, Asia, other parts of Europe and North Africa. Just over the hill from the old center is the Rastro, a popular flea market, and the city has more than 40 parks.

Migration to Madrid's industrial belt in the 1950s and '60s created a population that represents the whole of Spain, and immigration since, particularly from Latin America but also from Asia, elsewhere in Europe and North Africa, has given it a cosmopolitan character. The traditional phrase "los Madriles" acknowledges that each barrio has its own style; historically the city distinguished upper, central and lower quarters, the last spilling downhill from the Plaza Mayor toward the river.

People eat late, theaters and cinemas start late, and the siesta is not dead, although modern business methods have cut the long midday break. Parks include the Retiro, Campo del Moro, Casa de Campo and Oeste Park; El Pardo and Casa de Campo survive from royal hunting grounds. Near Rosales stands the Temple of Debod, an ancient Egyptian temple that Spain acquired when the Aswan High Dam was built.

Madrid on the map

Find Madrid on the globe.

It is in Spain, in the southwest of Europe. Madrid is right in the middle of Spain. Mountains rise nearby.

Madrid is in the middle of Spain, which shares the Iberian Peninsula with Portugal in southwestern Europe. Lisbon, Barcelona, Valencia and Seville are all in different directions around it.

The city sits on the Meseta, a high, rolling plateau. The name comes from the Spanish word mesa, meaning table, because the land is high and fairly flat. The Sierra de Guadarrama mountains rise nearby, and the old city of Toledo lies about 70 kilometers to the south-southwest.

Madrid lies at about 40.4° N and 3.7° W, almost exactly at the geographic center of the Iberian Peninsula. It stands on the Meseta, an undulating plateau of sand and clay whose name comes from mesa, "table", at about 646 m, which with the nearby Sierra de Guadarrama shapes its climate.

The small Manzanares River flows past the old center; the barrios bajos spill down toward it from the Plaza Mayor, and Madrid first spread across it only in 1948. Toledo, the far more important city in Madrid's early days, is about 70 km to the south-southwest.

Latitude
about 40.4° north
Longitude
about 3.7° west
Distance to Toledo
about 70 km south-southwest

Amazing facts

  • Some old Madrid houses were built to look smaller than they are.

    When Madrid became the capital, people had to rent a floor of their homes to visiting officials. So some built "spite houses" that had two floors but looked from the front as if they had only one.

    Because residents had to let a floor of their houses to ambassadors and dignitaries, some built casas a la malicia ("spite houses") with two floors behind a facade that suggested only one.

  • Madrid has a real temple from ancient Egypt.

    Near Rosales stands the Temple of Debod, an ancient Egyptian temple that Spain received when the Aswan High Dam was built in Egypt.

    The Temple of Debod, an ancient Egyptian temple, was acquired by Spain at the time of the construction of the Aswan High Dam and stands near Rosales.

  • A writer joked that Madrid's river was too small for its bridge.

    The writer Lope de Vega joked that Madrid should either sell its grand bridge over the little Manzanares River or buy another river.

    Lope de Vega, referring to a magnificent bridge over the unimposing Manzanares, suggested either selling the bridge or buying another river.

  • Madrid has more open space than Paris.

    Madrid has big parks, some of them once royal hunting grounds, and more open space overall than Paris.

    El Pardo and Casa de Campo survive from royal hunting parks, and Britannica notes that the city as a whole has more open space than Paris.

Words to know

capital
the city where a country's government meets
plateau
a large area of high, fairly flat land
peninsula
land with water on three sides
royal court
a king or queen together with the officials and nobles around them
plaza
a public square in a Spanish-speaking town
barrio
a neighborhood in a Spanish-speaking city
siesta
a rest taken in the early afternoon

Discovery challenge

  1. Where in Spain is Madrid?

    Where in the Iberian Peninsula is Madrid?

    Where on the Iberian Peninsula does Madrid lie?

    • In the middle
    • On the north coast
    • On an island
    Show the answer

    In the middle

    In the middle! Madrid is right in the center of Spain.

    Almost exactly in the middle of the peninsula, on a high plateau.

    Almost exactly at its geographic heart, on the Meseta.

  2. What is the Prado?

    What is the Prado in Madrid?

    What did Villanueva's building, completed in 1819, become?

    • An art museum
    • A soccer stadium
    • A train station
    Show the answer

    An art museum

    A museum full of famous paintings!

    It is an art museum with paintings collected by Spain's kings and queens.

    The Prado, holding the most complete collections of El Greco, Velázquez and Goya.

  3. Which king brought his court to Madrid?

    Which king moved the royal court to Madrid in 1561?

    Which king took the court to Madrid in 1561, a generation before it became the official capital?

    • Philip II
    • Alfonso VI
    • Charles III
    Show the answer

    Philip II

    King Philip II. After that, Madrid grew and grew.

    Philip II moved the court in 1561, and Madrid grew into the capital.

    Philip II; Philip III made Madrid the official capital a generation later.

  4. What are summers like in Madrid?

    What are Madrid's summers usually like?

    How does Britannica describe Madrid's summers?

    • Hot and dry
    • Cold and snowy
    • Cool and foggy
    Show the answer

    Hot and dry

    Hot and dry! Some days get very hot.

    Hot and dry; in July and August it can climb above 38 °C.

    Consistently dry and hot, oppressive in July and August, sometimes above 38 °C.

  5. Madrid is high up. About how high above the sea is it?

    About how high above sea level is Madrid?

    At about what elevation does Madrid stand on the Meseta?

    • About 6 meters
    • About 650 meters
    • About 6,500 meters
    Show the answer

    About 650 meters

    About 650 meters. That is very high for a big city!

    About 650 meters, one of the highest capitals in Europe.

    About 646 meters according to Britannica, among Europe's highest capitals.

Nearby places

Explore next

For parents & teachers

What children will learn

  • Locate Madrid at the center of the Iberian Peninsula and describe the Meseta.
  • Explain how Madrid grew from a fortress into Spain's capital after 1561.
  • Identify the Plaza Mayor, the Royal Palace, the Prado and the Retiro.
  • Describe how a high, inland location shapes a city's climate.

Recommended ages: 3 to 17 · About 15 minutes

Talk about it

  • Madrid was chosen as capital partly because it was neutral and in the middle. What makes a good place for a capital city?
  • Many people in Madrid eat late, especially in summer. How does the weather shape daily life where you live?
  • Why might a king's art collection end up in a public museum?

Try at home or in class

  • On a map of Spain and Portugal, draw lines from Madrid to Barcelona, Valencia, Seville and Lisbon and compare their lengths.
  • Draw a front view of a "spite house" that looks like one floor but hides a second floor behind it.

Key vocabulary: capital, plateau, peninsula, royal court, plaza, barrio, siesta

Where these facts come from

  1. Wikidata , Wikimedia Foundation (CC0 1.0)
  2. Natural Earth vector data , Natural Earth (NACIS) (Public domain)
  3. UNESCO World Heritage List , UNESCO World Heritage Centre (Linked as a reference; site facts come from Wikidata)
  4. Madrid , Encyclopaedia Britannica
  5. Madrid: History , Encyclopaedia Britannica
  6. Madrid: Modern Madrid , Encyclopaedia Britannica
  7. Madrid: The people , Encyclopaedia Britannica
  8. Madrid: Cultural life , Encyclopaedia Britannica
  9. Prado Museum , Encyclopaedia Britannica
  10. Paseo del Prado and Buen Retiro, a landscape of Arts and Sciences , UNESCO World Heritage Centre
  11. Wikimedia Commons , Wikimedia Foundation (Per file (public domain, CC0, CC BY or CC BY-SA); see each media record)

Checked, not yet human-reviewed. Last updated October 27, 2026. Spotted a mistake? Tell us.

Picture credits
  • Photo: Dmitry Dzhus from London, CC BY 2.0, via Wikimedia Commons · source · license
  • Photo: Emilio J. Rodríguez Posada, CC BY-SA 2.0, via Wikimedia Commons · source · license