Before you go: the route and the train
Three decisions shape this trip more than any single sight. Get them right and the route below runs like clockwork.
Fly ‘open-jaw’
Book an open-jaw ticket — into one city and out of the other — so you never backtrack. Flying into Barcelona and out of Madrid is the easy default (Madrid is also the better base for the Toledo and Segovia day trips).
Take the AVE, book early
The AVE links Barcelona Sants and Madrid Atocha in 2h30 (city centre to city centre — beats flying door-to-door). Three operators (Renfe, Iryo, Ouigo) run ~40 trains a day; book weeks ahead for fares from ~€15–40. Note Ouigo arrives at Chamartín, not central Atocha.
Book the timed sights
Reserve Sagrada Família and Park Güell timed tickets before you fly, and remember the Reina Sofía is closed on Tuesdays — the most common Madrid mistake. Pick up a 10-trip metro card in each city (Barcelona €11.35, Madrid €12.20).
Days 1–4 · Barcelona
Barcelona: Gaudí, the Gothic Quarter and the beach
Start on the Mediterranean. Barcelona is the more visually spectacular of the two cities — the fantastical architecture of Gaudí, the medieval maze of the Gothic Quarter, and a city beach — and it has the longer list of must-sees, so give it four days. Base once and use the excellent metro.
Getting there
Fly into Barcelona (BCN). From the airport, the Aerobus reaches the centre in about 35 minutes (€6.75), or take the metro/train. Book your Sagrada Família and Park Güell timed slots before you arrive — they sell out — and pick up a T-Casual 10-trip metro card (€11.35).
The Gaudí masterpieces
The reason many people come: the still-rising basilica of the Sagrada Família (book a timed ticket), the mosaic-and-forest fantasy of Park Güell, and the wave-stone facades of Casa Batlló and La Pedrera on Passeig de Gràcia. Even the facades, free from the street, are extraordinary.
The Gothic Quarter & Las Ramblas
The medieval heart of the city — the Barri Gòtic and neighbouring El Born, with the cathedral, hidden squares and Santa Maria del Mar — is free to wander and endlessly atmospheric. Stroll Las Ramblas down to the harbour and duck into La Boqueria market for the spectacle.
The beach, Montjuïc & the free views
Barcelona is a beach city — Barceloneta and the seafront are a short walk or metro from the centre. For views and green space, the Montjuïc hill (gardens, the castle, the free Magic Fountain show) and the free Bunkers del Carmel viewpoint give you the whole city and the sea.
Full details: the Barcelona guides
For a day-by-day plan of Barcelona — timed-ticket rules for the Gaudí sites, the free-museum Sundays and the metro fares — follow the dedicated first-timer's Barcelona itinerary (and the free-things-in-Barcelona guide), then rejoin this route for the train to Madrid.
Barcelona's Gaudí interiors (Sagrada Família, Park Güell's Monumental Zone, Casa Batlló) all need timed tickets booked ahead in high season. Keep an eye on your belongings in the tourist crush of Las Ramblas and the metro — pickpocketing is the city's one real nuisance.
Days 5–7 · Madrid (+ a day trip)
Madrid: the art, the royal city and the tapas
Take the train to a completely different energy. Madrid is Spain's stately capital — the world-class 'Golden Triangle' of art museums, a vast royal palace, elegant boulevards and the country's best traditional food and late-night scene. Three days cover it, with a spare fourth for a spectacular day trip.
Getting there
From Barcelona Sants, the AVE reaches Madrid in about 2h30. Aim for a mid-morning train (9–11 a.m.) to arrive by early afternoon. Note that Renfe's AVE and Iryo arrive at central Madrid Atocha, while the low-cost Ouigo terminates at Chamartín on the north side — a 20-minute metro hop from the centre. Base near Sol, Retiro or Malasaña.
The Golden Triangle of art
Along the UNESCO-listed Paseo del Prado, three of the world's great museums sit within a 15-minute walk: the Prado (Velázquez's Las Meninas, Goya), the Reina Sofía (Picasso's Guernica, Dalí, Miró — closed Tuesdays), and the Thyssen-Bornemisza (medieval panels to Pop Art). All three offer free entry in the evenings — spread them over two days and use those windows.
Royal & historic Madrid
The Royal Palace (the largest in Western Europe, with a Changing of the Guard on Wednesdays and Saturdays at noon), the arcaded Plaza Mayor, the buzz of Puerta del Sol, and the atmospheric Habsburg-era streets of old Madrid. A day of grand architecture and Spanish history in the compact centre.
Retiro Park & the tapas
The 125-hectare Retiro Park (also UNESCO-listed) is free to wander — the boating lake, the glass Crystal Palace, the rose garden. Then eat: a tapas crawl through La Latina, the Mercado de San Miguel, and Ponzano Street in Chamberí, finishing with churros con chocolate at San Ginés or a flamenco evening.
A day trip: Toledo or Segovia
Both are astonishing and both are about 30 minutes by AVE. Toledo (from Atocha) is a medieval walled city of cathedrals, synagogues and El Greco. Segovia (from Chamartín) has a colossal, mortar-free Roman aqueduct and a fairytale Alcázar — plus roast suckling pig. Either makes a superb full-day finish to the trip.
The one Madrid rule to remember: the Reina Sofía (home of Guernica) is closed on Tuesdays — plan the museums around it. And note the day-trip stations differ: Toledo trains leave from Atocha, Segovia trains from Chamartín, so don't try to combine both independently in one day.
Getting between the cities
The AVE is the spine of the trip. Here are the options, the 2026 fares, and the airport transfers at each end.
| Leg | Time & fare (2026) |
|---|---|
| Barcelona → Madrid (AVE) | ~2h30, Barcelona Sants → Madrid Atocha, ~40 trains/day. Renfe & Iryo → Atocha; Ouigo → Chamartín. Fares ~€15–40 booked weeks ahead, €100+ walk-up. |
| Which operator | Renfe AVE (most frequent, no baggage fees), Iryo (newest trains), Ouigo (cheapest, from ~€9, but Chamartín + luggage surcharge). Book on renfe.com, iryo.eu or ouigo.com. |
| Barcelona airport → centre | Aerobus ~35 min (€6.75), or the metro/Rodalies train. Barcelona Sants is the AVE station. |
| Madrid airport → centre | Metro Line 8 ~25 min (€4.50–6) to Nuevos Ministerios, then connect. Or the Cercanías train / airport bus. |
| City transport | Both have excellent metros. A 10-trip card is €11.35 in Barcelona (T-Casual) and €12.20 in Madrid — worth it if you ride daily. |
| Day trips from Madrid | Toledo ~30 min by AVE from Atocha; Segovia ~28 min by AVE from Chamartín. Different stations — pick one per day, or take a combined coach tour. |
The other quiet upgrade is context. A Gaudí basilica or a Velázquez you understand is one you remember — so before the Sagrada Família or the Prado, it helps to have the story in your ears rather than reading a label in a crowd.
Plan it with HipiMind
Plan this trip by talking
A two-city trip with a train in the middle and a menu of day trips is exactly where a planner earns its keep. That is what HipiMind is built for. It is a voice-first AI travel assistant: describe your trip out loud — “a week in Spain, Barcelona then Madrid, we love architecture and tapas” — and it turns the conversation into a day-by-day itinerary with every stop and the AVE leg placed on a map. Because it maps the whole route, you can see how many days each city really needs, where a Toledo or Segovia day trip slots in, and how the timed Gaudí tickets and the Reina Sofía's Tuesday closure fit — and fix the plan before you book.
For each city, ask HipiMind to generate a long-form audio guide — the story of Gaudí, the meaning of Guernica, the royal history of Madrid — and listen hands-free as you walk. It is interruptible: pause to ask a question, get an answer, and resume where you left off. It plans and narrates in the language you speak, across 32 languages, right in the browser — no app to install.
The free tier includes 3 voice sessions and 1 audio guide per calendar month. HipiMind Plus is $7.99/month ($59/year) with 60 voice sessions, 20 audio guides, and full trip memory across journeys. HipiMind plans and narrates — it does not book flights, trains, hotels, or timed-entry tickets, and it is not a GPS-triggered on-site tour; confirm times, fares, and reservations with the provider.
Barcelona & Madrid itinerary FAQ
How many days do I need for Barcelona and Madrid?
A week is the sweet spot — about four days in Barcelona and three in Madrid. Barcelona has the longer must-see list (the Gaudí cluster alone — Sagrada Família, Park Güell, the Passeig de Gràcia houses — plus the Gothic Quarter and the beach), so it earns the extra day; Madrid's compact centre and its Golden Triangle of museums fit comfortably into three, with a spare day for a Toledo or Segovia day trip. You can split evenly (3–4 each) if you prefer, but fewer than three days in either city means missing its character. With ten days you could add Seville and Andalusia.
How do I get from Barcelona to Madrid?
Take the AVE high-speed train — it's the best option by far. It links Barcelona Sants and Madrid Atocha in about 2 hours 30 minutes at up to 310 km/h, with roughly 40 departures a day. Three operators run the route since Spain opened its rails to competition: Renfe's AVE (the most frequent, no baggage fees), Iryo (newer trains), and the low-cost Ouigo (fares from around €9, but it terminates at Madrid Chamartín, not central Atocha, and charges for luggage). Book several weeks ahead for the cheapest fares (roughly €15–40); walk-up prices can be €100 or more.
Should I fly or take the train between Barcelona and Madrid?
Take the train. Although a flight is about 1h15 in the air versus the train's 2h30, the door-to-door time is similar or worse once you add getting to and from the airports, security and boarding — the AVE runs city centre to city centre, arriving right in the middle of each city. The train is also more comfortable, more frequent, more reliable, and often cheaper than flying once you count baggage and transfers. Flying only makes sense if it connects directly to an international flight. The bus takes 7–8 hours and is only for the tightest budgets.
Which order should I visit — Barcelona or Madrid first?
Either works, so let flights decide — book an 'open-jaw' ticket into one city and out of the other so you don't backtrack. A common and easy choice is to fly into Barcelona, spend the first days there, take the AVE to Madrid, and fly home from Madrid (which is also the better hub for onward day trips to Toledo and Segovia). Reversing it is equally fine. The key is the open-jaw flight and the single AVE leg between them.
Is Madrid or Barcelona better?
They're different, and the classic trip does both. Barcelona is the more visually unique — Gaudí's architecture, the medieval Gothic Quarter, a Mediterranean beach and a distinct Catalan identity. Madrid is Spain's stately capital: three world-class art museums (the Prado, the Reina Sofía with Guernica, the Thyssen), the royal palace, grand boulevards, and arguably the country's best traditional food and nightlife — locals will tell you it feels more 'authentically Spanish' day to day. If you love architecture and the sea, lean Barcelona; if you love art, food and city buzz, lean Madrid. On a week's trip, the 2.5-hour train lets you have both.
What day trips can I add to a Barcelona–Madrid trip?
From Madrid, the two standouts are both about 30 minutes by AVE: Toledo (from Atocha), a medieval walled city of cathedrals, synagogues and El Greco paintings, and Segovia (from Chamartín), home to a colossal, still-standing Roman aqueduct, a fairytale hilltop Alcázar, and famous roast suckling pig. El Escorial and Ávila are other options. From Barcelona, the mountaintop monastery of Montserrat, the Dalí town of Figueres, and medieval Girona are all easy half- or full-day trips. Any of these turns a spare day into a highlight.
How can HipiMind help me plan a Spain multi-city trip?
A two-city trip with a train in the middle and a menu of day trips is exactly where an AI planner earns its keep. HipiMind is a voice-first AI travel assistant: describe your trip out loud — 'a week in Spain, Barcelona and Madrid, we love architecture and tapas' — and it turns the conversation into a day-by-day itinerary with every stop and the AVE leg placed on a map. Because it maps the whole route, you can see how many days each city really needs, where a Toledo or Segovia day trip slots in, and how the timed Gaudí tickets and the Reina Sofía's Tuesday closure fit — and fix the plan before you book. It can also generate long-form audio guides for each city. It plans and narrates but does not book trains or tickets, so reserve your AVE seat and timed entries yourself, early.
Sources
Train times, fares and opening days in this guide were grounded in the following official and authoritative sources (checked August 2026). Fares and museum days change — verify before you travel.
- Renfe — official AVE high-speed train booking & fares
- Seat61 — Barcelona to Madrid by train (authoritative rail guide)
- Museo Nacional del Prado — visit & free hours (official)
- Museo Reina Sofía — visit, Guernica & opening days (official)
- Spain.info — official tourism of Spain (Barcelona, Madrid & day trips)
