Menu
Itineraries · · By Gaelle

Barcelona and Madrid in 5 days

Three nights in Barcelona for Gaudí and the old town, then a morning high-speed train to Madrid, about 3 hours in 2026, for two nights of the Prado, the palace and late tapas.
The Sagrada Família rising above the apartment blocks of Barcelona's Eixample
In this guide
  1. The route at a glance
  2. Book before you go
  3. Day 1: Barcelona: landing and the old town
  4. Day 2: Barcelona: Gaudí
  5. Day 3: Barcelona: Passeig de Gràcia and the sea
  6. Day 4: Train to Madrid
  7. Day 5: Madrid: art and the Retiro
  8. Getting between Barcelona and Madrid
  9. Where to stay
  10. What the trip costs
  11. When to go
  12. Changing the route
  13. Questions

Fly into Barcelona for three nights, take a morning high-speed train to Madrid on day 4, spend two nights there and fly home from Madrid. Barcelona comes first because its Gaudí sights need the most planning: with their timed slots booked for days 2 and 3, the rest of the trip stays flexible. Madrid comes last because Barajas, Iberia’s hub, has the widest choice of flights home. One train links the two, from Barcelona Sants to Madrid Atocha, in about 3 hours in 2026. The plan suits a first trip to Spain, for art and food more than beaches, landing by early afternoon on day 1.

Getting there
Train, Barcelona to Madrid ≈3 h
Time
5 days: 3 nights + 2 nights
Price
≈€430 per person, excluding flights and hotels
Book
Sagrada Família, weeks ahead; the train
Best time
Apr–Jun · Sep–Oct

The route at a glance

Day Base What you do Travel
1 Barcelona Gothic Quarter, El Born, tapas Aerobús from El Prat, ≈35 min
2 Barcelona Sagrada Família, Gràcia, Park Güell Metro and on foot
3 Barcelona Casa Batlló, Barceloneta, Montjuïc (or a day trip) On foot, cable car
4 Madrid Royal Palace, Templo de Debod, La Latina Train Sants to Atocha, ≈3 h
5 Madrid Prado, Retiro, Reina Sofía, flamenco On foot; fly home on day 6

Book before you go

Book the Sagrada Família first: tickets are sold online only, about two months ahead, and in 2026, the centenary of Gaudí’s death, morning slots go weeks in advance. Book Park Güell for the same day, and the train as soon as your dates are fixed, since fares climb as seats sell. Madrid’s Royal Palace runs on timed slots.

Partner links · we may earn a commission

Day 1: Barcelona: landing and the old town

  1. Arrive

    Into town

    The Aerobús runs 24 hours a day from both terminals of El Prat to Plaça de Catalunya in about 35 minutes, for €7.75. Buy a T-casual card (€13 for ten rides) for the next two days. Our first 48 hours in Barcelona has the other airport options.
  2. 16:00

    The Gothic Quarter

    Start at the cathedral and walk down Carrer del Bisbe, under the carved bridge that looks medieval but dates from 1928. Continue to Plaça de Sant Felip Neri and Plaça del Rei, the old royal square. The lanes are calmer after 17:00, when the day groups leave.
  3. 18:00

    El Born and vermouth

    Cross Via Laietana to Santa Maria del Mar, the city’s finest Gothic church, then walk up Carrer de Montcada. Before dinner, do as Barcelona does: a vermut on ice with olives, in one of the old bodegas of El Born.
  4. 21:00

    Tapas

    Nine o’clock is early for dinner here. Order a few plates at a time at the bar: patatas bravas, pa amb tomàquet (bread rubbed with tomato), croquetas.

Day 2: Barcelona: Gaudí

  1. 09:00

    Sagrada Família

    Take the first slot, before the groups. Since February 2026, 09:00 to 10:00 is a daily quiet hour for prayer: you can visit, but any audio must be through earphones. A basic ticket costs €26, or €36 with a tower; allow 90 minutes. Trousers and skirts must reach mid-thigh.
  2. 12:00

    Lunch in Gràcia

    Take the metro up to Gràcia, a former village north of the Eixample. Plaça del Sol and Plaça de la Virreina have weekday lunch menus (menú del día) with a drink included.
  3. 14:30

    Park Güell

    The mosaic terrace and the gatehouses are in the paid Monumental Zone: €18 for a timed entry, with slots from 09:30 to 17:30. Tickets often sell out for the day, so book this with the Sagrada Família. The rest of the park is free.
  4. 17:00

    Bunkers del Carmel

    From the park’s upper gate, climb for 20 minutes to the old anti-aircraft battery on the Turó de la Rovira, for a view over the whole city. The site is free and fenced off at night, so go in daylight, with water.

Day 3: Barcelona: Passeig de Gràcia and the sea

  1. 09:00

    Casa Batlló

    Gaudí’s house of bone-like balconies and a dragon’s-back roof opens at 09:00, from €29, and booking early is cheaper because prices change by date. La Pedrera, four blocks up Passeig de Gràcia, is the alternative (from €29).
  2. 11:30

    Down to the sea

    Walk down through the Gothic Quarter or take the metro to Barceloneta, the old fishermen’s quarter. Eat rice at 14:00, the local hour for it: paella, arròs negre (black with squid ink) or fideuà, made with short noodles. Rice is a lunch dish here, never dinner.
  3. 16:30

    Montjuïc

    Ride the Montjuïc cable car to the castle for the view over the port (€17.10 return online; in November and December it runs from 10:00 to 18:00). The National Art Museum of Catalonia, below it, costs €12 (closed on Mondays).
  4. Option

    A day out instead

    Swap this day for Montserrat, the mountain monastery, or Girona, 40 minutes away by high-speed train, and see Casa Batlló on the evening of day 1.

Day 4: Train to Madrid

  1. 09:00

    Barcelona Sants to Madrid

    Book a train leaving Barcelona Sants between 09:00 and 10:00 to reach Madrid Puerta de Atocha-Almudena Grandes soon after midday. From the Eixample, metro line L3 runs from Passeig de Gràcia to Sants Estació. Arrive 30 minutes early: bags go through an X-ray scanner, and boarding closes 2 minutes before departure.
  2. 13:00

    Atocha and lunch

    Walk up to the Barrio de las Letras, about 15 minutes, drop your bags and eat at 14:00, Madrid’s lunch hour: a weekday menú del día brings two courses, bread, a drink and dessert. Our first 48 hours in Madrid covers the city’s transport.
  3. 16:00

    The Royal Palace and Debod

    Walk to the Royal Palace for a timed visit of the state rooms and the Royal Armoury (€18). From October to March it closes at 18:00 (16:00 on Sundays), so do not be late. Then walk ten minutes to the Templo de Debod, a 2nd-century BC Egyptian temple, for sunset over the Casa de Campo; the interior is closed on Mondays.
  4. 21:00

    La Latina

    Tapas on Cava Baja and Cava Alta, where you eat standing at the counter: one plate and one drink per bar, then move on. Order huevos rotos, fried eggs broken over chips.

Gran Vía in Madrid at sunset, with the domed Metrópolis building on the corner

Day 5: Madrid: art and the Retiro

  1. 10:00

    The Prado

    Be at the doors at 10:00 with a ticket bought online (€15) and head for Velázquez’s Las Meninas, then Goya’s Black Paintings and Bosch’s Garden of Earthly Delights. The free hours, from 18:00 (17:00 on Sundays), come with long queues.
  2. 14:00

    Lunch and the Retiro

    Eat in the Barrio de las Letras, then walk east into the Retiro, Madrid’s great park and, with the Paseo del Prado, a UNESCO World Heritage site. Hire a rowing boat on the lake below the monument to Alfonso XII. In 2026 the Palacio de Cristal is closed for repairs.
  3. 19:00

    Guernica at the Reina Sofía

    The Reina Sofía is free from 19:00 to 21:00 on Mondays and from Wednesday to Saturday, with a free ticket booked online; it is closed on Tuesdays. Go straight to Picasso’s Guernica on the second floor. On a Tuesday, see the Thyssen instead in the afternoon (€14).
  4. 21:30

    Flamenco

    End in a tablao, a small room where the dancer is a few metres from your table. Book a few days ahead; shows last about an hour, before a late dinner. On day 6, the Airport Express leaves Atocha from 06:00 for a flat €5.

Getting between Barcelona and Madrid

Operators and stations. Four brands share the high-speed line: Renfe’s full-service AVE and its low-cost Avlo, Ouigo (the low-cost arm of France’s SNCF) and Iryo. Ouigo alone runs about 56 trains a week between Barcelona Sants and Madrid Puerta de Atocha-Almudena Grandes, the stations most trains use, and some stop at Camp de Tarragona, Lleida or Zaragoza. Madrid also has high-speed trains at Chamartín, so check the station on your ticket. Compare all four on Omio, or book direct.

Journey times in 2026. Until January 2026, the fastest trains took about 2 h 30 to 2 h 37. After the fatal Adamuz crash on another line, Adif, the track manager, limited speeds on several sections, and in February it agreed with the three operators to keep the limits until the end of 2026. They add about 25 minutes: the fastest trains now take about 3 hours. No date for lifting them had been announced in early November.

Fares. High-speed fares work like airline fares: each train sells a few cheap seats, and prices climb as it fills and the date gets closer. Ouigo advertises fares from €9. In the year to June 2025, the average ticket on the line cost a little over €65, according to the competition regulator, the CNMC, with Ouigo the cheapest operator and Renfe the dearest.

Seats and luggage. Every ticket comes with an assigned seat. Renfe’s AVE fares allow three bags, each up to 25 kg. Ouigo’s base fare includes a small bag (36 × 27 × 15 cm) and a cabin bag (55 × 35 × 25 cm), and a larger case costs from €5. Avlo also sells extra luggage as an add-on, so check what your fare includes before you pack.

Strikes and works in 2026–2027. Semaf, the train drivers’ union, struck at Renfe on 29 October 2026, Ouigo cancelled all its trains on 30 October and 2 November, and Semaf has called new strikes at Renfe on 10 and 12 November, around the general strike of 11 November. In October, a train fire near Ricla, in Zaragoza province, also left the line on one track for several days. Check the operator’s app two days before you travel. The ministry sets minimum services, but trains are still cancelled; under EU rail passenger rights, a cancellation or a delay of 60 minutes or more lets you choose between a refund and a later train. If nothing runs, fly from El Prat to Barajas.

Where to stay

Barcelona, 3 nights

Eixample

Casa Batlló and the Sagrada Família within walking distance, quiet nights, and metro line L3 straight to Sants on day 4.
See hotels, Eixample (opens the partner’s site)
Madrid, 2 nights

Barrio de las Letras

A 15-minute walk from Atocha with your bags, five minutes from the Prado, and close to the Airport Express stops at Atocha and Cibeles.
See hotels, Barrio de las Letras (opens the partner’s site)

What the trip costs

Trains. One high-speed ticket, from €9 early on Ouigo: budget the average, about €65.

City transport. In Barcelona, the Aerobús (€7.75) and a T-casual card (€13). In Madrid, a 10-trip ticket (€7.30 in 2026) and the Airport Express (€5). About €33 in all.

Sights. The Sagrada Família (€26), Park Güell (€18), Casa Batlló (from €29), the Royal Palace (€18) and the Prado (€15) come to €106. The Reina Sofía is free in the evening; flamenco is extra.

Food. A menú del día lunch costs about €15 (the Spanish average was €14.70 in 2026, a little more in Catalonia), and a tapas dinner with a drink is often more. Allow about €40 a day, or €200 for five days.

Tourist taxes. Barcelona charges the Catalan tax plus a city surcharge on every hotel night, per person: €8.40 in a four-star hotel until 31 March 2027, so about €25 for three nights. Madrid has no tourist tax in 2026.

The five days cost about €430 per person, excluding flights, hotels and flamenco.

When to go

April to June and September to October are the best months, warm in both cities. July and August are hot, very hot in Madrid on its high plateau, and some family-run Madrid restaurants close for part of August. Winter is mild in Barcelona and cold but mostly dry in Madrid, with shorter queues at the Sagrada Família and the Prado. Festivals to plan around: Sant Jordi in Barcelona on 23 April, San Isidro in Madrid around 15 May, and La Mercè in Barcelona around 24 September.

Changing the route

Shorter. In four days, spend two nights in each city and drop day 3: Casa Batlló moves to the evening of day 1.

Longer. With a week, add a day trip from each city: Montserrat or Girona from Barcelona, and Toledo or Segovia from Madrid, both about half an hour away by train.

Reversed. If Madrid has the better flight in, run the plan backwards and end on Barcelona’s seafront.

Open-jaw flights. Fly into one city and home from the other, as this plan does: it saves a second 3-hour train. Search for a multi-city ticket rather than two one-ways.

From Paris. SNCF’s direct TGV INOUI reaches Barcelona Sants from Paris Gare de Lyon in about 6 h 40: see our guide to trains in Europe.

Questions

How long is the train from Barcelona to Madrid?
About 3 hours on the fastest trains in 2026, from Barcelona Sants to Madrid Puerta de Atocha-Almudena Grandes. Speed limits in place since early 2026 add about 25 minutes to the usual 2 h 30 and are due to last until the end of the year.
Is it better to take the train or fly between Barcelona and Madrid?
The train, for most people: city centre to city centre, with a quick bag scan instead of airport security. Fly if the trains are on strike or you connect at Barajas.
Which is cheapest: Ouigo, Iryo, Avlo or AVE?
On average Ouigo, according to the CNMC, and Renfe’s AVE is the dearest. But each train has its own fares, so compare all four for your date: a cheap AVE seat can beat a late Ouigo booking.
How far ahead should I book the Barcelona to Madrid train?
As soon as your dates are fixed. Fares rise as each train fills and as the date gets closer. Renfe sells tickets from the day the trains are loaded into its system.
Is 5 days enough for Barcelona and Madrid?
It is enough for the highlights: Gaudí, the Gothic Quarter, the Prado and the Royal Palace. Add two days for day trips, such as Toledo from Madrid or Montserrat from Barcelona.

More on Itineraries

Overview

Itineraries

Two or three of our cities in five to eight days, by train: the order that works, the nights in each, the trains to book and what the trip costs.
Rome, Florence and Venice in 7 days

Rome, Florence and Venice in 7 days

Three nights in Rome, two in Florence and two in Venice, linked by two high-speed trains of about 1 h 40 and 2 h 15. Fly into Rome and home from Venice, and book the trains and the timed sights as soon as your dates are fixed.
London and Paris in 6 days

London and Paris in 6 days

Three nights in London, the Eurostar from St Pancras, three nights in Paris. Book the train as soon as your dates are fixed, and get your UK ETA before you fly.
Lisbon and Porto in 5 days

Lisbon and Porto in 5 days

Three nights in Lisbon with a day in Sintra, the Alfa Pendular north in under three hours, then two nights in Porto. Book the train eight days ahead for the cheapest fares, and the Pena and Lello slots before you fly.
Amsterdam, London and Paris in 8 days

Amsterdam, London and Paris in 8 days

Two nights in Amsterdam, three in London and two in Paris, linked by two Eurostar trains of about 4 hours and 2 h 20. Fly into Schiphol and home from Charles de Gaulle, get your UK ETA, and book both trains as soon as your dates are fixed.