Madrid layover: can you leave the airport, and what can you see in 5, 8 or 12 hours?
Eight hours between flights. Spend them in a seat by the gate, or get out for a walk along Gran Vía?
You can leave the airport on a Madrid layover if you are allowed to enter the Schengen area: with a Schengen visa or a passport from a visa-free country. You also need at least eight hours between flights, because passport control, security and a buffer before departure take up several of them.
First, the paperwork.
Who can leave the airport
Spain is part of Schengen. Leaving the airport means entering the country, so the rules are the same as for any trip to Spain: if you need a Schengen visa, you can't leave the airport without one. Citizens of the EU, and of countries such as the US, the UK, Canada, Brazil and Mexico, don't need a visa for a short stay.
For some passengers the rules are stricter. Citizens of 12 countries, including Afghanistan, Iran, Nigeria and Pakistan, need an airport transit visa for any Schengen airport, even if they never leave it. Spanish airports add another 16 countries to that list, including India and Cuba.
A transit visa won't get you into the city: it only lets you stay in the airport's transit area. If you hold a Schengen visa, or a visa or residence permit for the US, Canada or Japan, you don't need a transit visa.
Check your own situation on the Spanish Ministry of Foreign Affairs website before you fly.
The border rules have changed too. Since 10 April 2026 the Entry/Exit System, EES, has been fully operational at all external Schengen borders. If you are not an EU citizen and this is your first entry since it launched, your face will be photographed and your fingerprints taken. Allow extra time for this.
The ETIAS travel authorisation is not in force yet: the European Commission plans to launch it in the last quarter of 2026 and has promised to announce the exact date separately.
How much time you'll really have in the city
Count backwards from your next departure, not forwards from your first landing. That way you can see straight away what time you need to be back at the airport.
Iberia recommends arriving at Madrid airport 4 hours before flights to the US, Canada and Latin America, and 2.5 hours before other destinations. Add the journey from the centre, about 40 minutes by bus from Atocha to T4, and the time for passport control after you land.
Here's an example. You land at 9:00 from London and your next flight leaves for Rome at 17:00. You need to be at the airport by 14:30, so it's best to leave the centre at around 13:30. If you're through passport control and on the metro by 10:00, you have about three hours in the city.
So out of eight hours, you get three for exploring. We worked out the other options the same way:
| layover | time actually left for the city | our advice |
|---|---|---|
| 5 hours | under an hour, if any | stay at the airport |
| 8 hours | about three hours | the centre and Retiro |
| 12 hours | six to seven hours | Prado, Retiro, lunch, a walk |
What to do with your suitcase
When you check in for your first flight, ask how far your bag is checked through. If it's tagged to your final destination, you don't need to collect it in Madrid: it will be transferred to your next flight without you.
If it isn't, leave your suitcase at the left luggage office. There is one in T1 (floor 0, opposite hall 2), in T2 (floor 1) and in T4 (floor 0, arrivals hall).
In T1 and T4 left luggage is open from 5:00 to 23:00, in T2 from 7:00 to 22:00. One item costs €10 for up to two hours and €17 for up to 24 hours.
Landing at night? Left luggage will be closed, and you won't be able to drop your bag until the morning.
If you have 5 hours between flights
With five hours between flights, we don't recommend going into the city. After passport control, the journey there and back and another round of security, you'd have less than an hour to look around, and sometimes no time at all.
You're better off spending those hours at the airport. Terminals T1, T2 and T4 are linked by a free bus that runs around the clock: every 5 minutes during the day and every 20 at night. A train runs between T4 and its satellite T4S, and the ride takes about 5 minutes.
Want to sleep? Aerotel, with 22 cabins, is open 24 hours a day on floor -1 of T4. We've covered which airlines use which terminal in detail in our guide to Madrid airport terminals.
What to see in 8 hours
Eight hours is enough for one good walk.

Head into the centre, walk along Gran Vía and carry on to Retiro Park. From October to March the park is open from 6:00 to 22:00, so you can get in whether you arrive in the morning or the evening. Retiro and the neighbouring Paseo del Prado are listed together by UNESCO as the "Landscape of Light".
On a layover like this we'd skip the museums: you have about three hours in the city, which is just right for a walk.
12 hours and a free evening at the Prado
With twelve hours between flights you'll have time for a walk, lunch and a visit to the Prado Museum.
The museum is open Monday to Saturday from 10:00 to 20:00, and on Sundays and public holidays from 10:00 to 19:00. A ticket costs €15. The museum is closed on 1 January, 1 May and 25 December.
During the last two hours before closing, entry to the permanent collection is free: Monday to Saturday from 18:00 to 20:00, Sunday from 17:00 to 19:00.
If you have an evening flight, don't count on the free slot. Go into the Prado at 18:00, spend two hours there, and you won't be back at the airport before half past eight. Check that against your departure time before you save the €15.
If you've already seen the Prado, Toledo is ~1 hr 4 min from the airport.
Getting to the centre and back
The metro is the cheapest option. Line 8 takes 12 minutes from T1-T2-T3 station to Nuevos Ministerios and under 20 minutes from T4. From there you need to change lines. A standard ticket costs €1.50-2, plus a €3 airport supplement.
Bus 203 costs €5 and runs around the clock. During the day it goes to Atocha station, and from midnight to 5:40 only as far as Plaza de Cibeles. We compared every option in our article on getting from Madrid airport to the city centre.

On a layover, predictability matters more than price: running late here means missing your flight. A transfer from Madrid airport to the city centre takes ~32 min, and to Atocha station ~23 min. The driver tracks your flight number and times the pickup to when your plane actually lands. The price is per car, and you see it before you book.
Book the return trip to the airport straight away as a second booking, for the time you need.
Want to see several places without worrying about getting back? Book a car with a driver by the hour. The minimum is three hours, and the driver waits for you at every stop: at the Prado, at Retiro, at a restaurant. Your suitcase can stay in the car in the meantime.
Frequently asked questions
Can you leave Madrid airport during a layover?
You can leave if your passport or visa allows you to enter Schengen. Leaving the airport counts as entering Spain, so you go through passport control, and through security again on the way back.
How long a layover do you need to get into central Madrid?
You need at least eight hours. Iberia recommends arriving 2.5 hours before a flight within Europe and 4 hours before a flight to the US and Latin America, and the journey there and back takes another hour and a half to two hours.
Where can you leave a suitcase at Madrid airport?
Left luggage is open in T1 and T4 from 5:00 to 23:00 and in T2 from 7:00 to 22:00. One item costs €10 for up to two hours and €17 for up to 24 hours.
Do you need a transit visa at Madrid airport?
A transit visa is required for citizens of 12 countries at any Schengen airport, and for citizens of another 16 countries, including India and Cuba, at Spanish airports. If you hold a Schengen visa or a visa for the US, Canada or Japan, you don't need a transit visa.
Can you sleep at Madrid airport on a long layover?
Yes, Aerotel, with 22 cabins, is open 24 hours a day on floor -1 of T4. If your flight leaves from another terminal, the free bus will take you there: at night it runs every 20 minutes.
You can book in the Let's GO app or on the website: enter your pickup and drop-off addresses, and the price appears straight away, before you confirm.