Madrid → Barcelona
621 kmThere is something deeply Mediterranean about the way the landscape strips itself bare as you leave the plateau behind: the ochres of Castile give way to the stubborn green of Aragon and, suddenly, the air changes, it smells of the sea and the motorways fill with names that sound like holidays. Making the journey from Madrid to Barcelona is, at heart, a trip between two ways of understanding Spain, and whether you do it on a silent AVE or get lost on the A-2 in search of a good plate of ternasco, the route never disappoints.
How to get from Madrid to Barcelona: quick summary
The fastest option is the AVE train, which covers the 621 km in approximately 182 minutes, while the car requires about 6 hours of driving and the bus stretches to 470 minutes. If time is your priority, choose the AVE; if you want the flexibility to stop in Tarragona, Reus or Alcalá de Henares, the car is unbeatable; and if your budget is tight, the plane or the bus may surprise you pleasantly.
Driving from Madrid to Barcelona
Driving from Madrid to Barcelona is 621 km and about 6 hours behind the wheel, almost entirely on toll-free dual carriageways and motorways that cross three autonomous communities with very different landscapes. The main route combines the A-2, the AP-2, the AP-7, the B-23 and a brief initial stretch along the M-23 in Madrid.
You leave the capital via the M-23 (Prolongación de O’Donnell), an urban stretch of about 5 km that connects with the A-2. The A-2, Autovía del Nordeste, is the backbone of the trip: some 317 km toll-free crossing Guadalajara and Zaragoza, with long, wide straight sections ideal for maintaining a steady pace. Near Zaragoza it links up with the AP-2, the Autopista Zaragoza-Mediterrània, which adds another 216 km, also toll-free and with less traffic, crossing southern Catalonia to the outskirts of Tarragona. There you take the AP-7, Autopista de la Mediterrània, for about 49 km, with sea views in some sections. Finally, the B-23 covers the last 15 km of access into Barcelona.
The road surface is in good condition throughout and service areas are frequent, especially on the A-2 and the AP-2. It is worth refuelling before leaving Madrid or in Zaragoza, since prices on the AP-2 stretch can be somewhat higher.
By train from Madrid to Barcelona
The fastest direct train between Madrid-Puerta de Atocha-Almudena Grandes and Barcelona-Sants takes 182 minutes, with an extremely high frequency of 31 trains per day operated by Renfe. The first train leaves at 06:16 and the last at 20:30, making it perfectly possible to go and return in a single day.
According to Renfe, there are three types of service on this route: the conventional AVE, with 25 trains a day and a journey time of 182 minutes; Ouigo, with 5 daily departures and also 182 minutes; and the AVE INT, with 1 train a day and 209 minutes. The difference between them lies mainly in the price and the luggage policy, with Ouigo being the cheapest option if you travel light and book in advance.
The departure station is Madrid-Puerta de Atocha-Almudena Grandes, perfectly connected to central Madrid, and the destination is Barcelona-Sants, from where you can reach the centre by metro or taxi in just a few minutes. Prices vary greatly depending on how far in advance you book, the time of day and the type of train, so it is not unusual to find tickets from very competitive fares if you book weeks ahead.
By bus from Madrid to Barcelona
The direct bus between Madrid and Barcelona takes 470 minutes (about 7 hours and 50 minutes) and is operated by ALSA and FlixBus, with prices ranging from €21 to €156 depending on how far in advance you book, the time of day and the class chosen. It is the slowest option, but it can also be the cheapest if you book early and travel at off-peak times.
Buses usually depart from Madrid’s main stations and arrive in the area around Barcelona-Sants station or at the Estació del Nord, depending on the company. Comfort is acceptable, with reclining seats and, on many services, on-board entertainment and wifi. For those in no hurry who want to save on accommodation by travelling overnight, the night bus is an interesting alternative.
By plane from Madrid to Barcelona
The direct flight between Adolfo Suárez Madrid-Barajas airport (MAD) and Barcelona-El Prat (BCN) lasts 80 minutes on average, with a minimum one-way price from €16 and an indicative maximum round-trip price of €87 according to Opodo. The airlines covering the route are Iberia, Air Europa and Vueling, the latter mentioned as the most punctual on comparison sites.
Although the flight time is short, you have to add the transfer to the airports, security checks and boarding, so the total door-to-door time rarely drops below 3 hours. Even so, if you manage to get a low fare and travel with hand luggage only, it can be the cheapest and fastest option in absolute terms. The exact number of daily flights is not specified, but frequency is high as this is one of the busiest air routes in Spain.
Recommended stops along the way
If you’re travelling by car, these eight verified stops let you turn the journey into a route full of flavour, history and landscapes that change with every kilometre.
- Tarragona (Tarragona): The great Catalan stop before reaching Barcelona. Its Roman amphitheatre facing the sea, the cathedral and the old town justify a long pause. It’s the point where the AP-2 meets the AP-7, so it feels very natural to make a detour here.
- Reus (Reus): A few kilometres from Tarragona, Reus is famous for its Modernista architecture and for being Gaudí’s birthplace. It’s a quieter stop, ideal for a coffee and a short stroll without straying too far from the main route.
- Alcalá de Henares (Alcalá de Henares): Just about 30 km from Madrid, it’s the first logical stop for those who don’t want to get up early. Its university and its calle Mayor are a UNESCO World Heritage Site, and its student atmosphere makes it perfect for a breakfast of churros before facing the journey.
- Torrejón de Ardoz (Torrejón de Ardoz): Very close to Alcalá, it’s a practical stop rather than a touristy one. Its shopping and dining areas near the A-2 make it a convenient option for refuelling or stretching your legs without a detour.
- Caspe (Caspe): Right in the province of Zaragoza, Caspe surprises with its historic centre and its reservoir, the mar de Aragón. It’s a lesser-known but very authentic stop, ideal for those seeking peace and a good plate of Aragonese cooking.
- Alcañiz (Alcañiz): Its Calatravan castle dominates the landscape and is one of the most impressive monuments in Bajo Aragón. The stop is worth it for the castle, the plaza de España and the chance to try ternasco de Aragón in a setting without crowds.
- Andorra (Andorra): Not to be confused with the country: this Andorra is a municipality in Teruel located in a mining area with an interesting industrial heritage. It’s a brief stop, more about geographical curiosity and landscape than grand monuments.
- Daganzo de Arriba (Daganzo de Arriba): A small municipality northeast of Madrid, very close to the start of the route. Its rural surroundings and tranquillity contrast with the proximity to the capital, making it a pleasant stop for those who prefer to avoid conventional service areas.
Where to sleep in Barcelona
Barcelona offers accommodation for every budget, from hostels and guesthouses from around 25-40€ per night in a shared room to mid-range hotels between 80 and 150€, and luxury hotels that exceed 250€. The best areas to stay depend on the type of trip.
The Eixample is the most balanced option: central, well connected, with plenty of dining options and impressive Modernista architecture. The Gothic Quarter and El Born are ideal for those seeking atmosphere, charming narrow streets and nightlife, although noise can be a drawback. Gràcia has more of a neighbourhood feel, with quiet squares and a less touristy atmosphere. For those arriving by train, the Sants area is practical thanks to its direct connection with the station, while Poblenou and the Fòrum area offer more modern options near the beach.
Where to eat en route
The route from Madrid to Barcelona is a culinary journey through three very different cuisines: Castilian, Aragonese and Catalan. These are the essential dishes you can find in the areas indicated.
- Cochinillo asado (roast suckling pig; area: Segovia): Although Segovia is not exactly on the main route, its suckling pig is a classic that many travellers seek out at the start of the journey. It is a whole suckling pig slowly roasted in the oven with pork lard, salt and water, resulting in crispy skin and meat that falls apart.
- Judiones de La Granja (large white beans; area: La Granja de San Ildefonso, Segovia): A hearty stew made with large beans, chorizo, morcilla, pancetta and pork ear, cooked slowly until the beans are tender. It is a winter dish, perfect for regaining strength before continuing the journey.
- Ternasco de Aragón (young lamb; area: Aragon, including Zaragoza): Young lamb, roasted or stewed, typical of Aragon, with potatoes, olive oil and spices. It is the star dish of the Zaragoza, Caspe or Alcañiz area, and a stop to try it turns the trip into an experience.
- Bacalao al ajoarriero (cod with garlic; area: Aragon): A stew of flaked cod with potatoes, peppers, tomato and garlic, cooked slowly until all the ingredients come together. A flavoursome and hearty dish found in traditional Aragonese inns and restaurants.
- Calçots con romesco (grilled spring onions with romesco sauce; area: Catalonia, especially Tarragona and Barcelona): Spring onions grilled over embers and served with romesco sauce, made with tomato, ñoras, almonds, hazelnuts, garlic and olive oil. The calçots season runs from November to April, and eating them with your hands at a masía or restaurant in Tarragona is quite an experience.
- Pa amb tomàquet (bread with tomato; area: Catalonia): Toasted bread rubbed with ripe tomato, olive oil and salt, often accompanied by cured meats such as ham or fuet. It is the basic accompaniment to any Catalan meal and the simplest way to start feeling at home in Barcelona.
- Rioja wine (area: La Rioja): Although the Madrid-Barcelona route does not pass through La Rioja, Rioja wine is a representative drink of Spain that can be found on any menu in the three regions. Made mainly with Tempranillo grapes, it is characterised by its balance and aromas of red fruits and spices.
- Cava (area: Catalonia, Penedès): A sparkling wine made using the traditional champenoise method, with Macabeo, Xarel·lo and Parellada grapes. Penedès is a short distance from Barcelona, and a toast with cava is the best way to round off the journey.
Frequently asked questions about the Madrid-Barcelona route
How long does it take to get from Madrid to Barcelona?
It depends on the mode of transport. By car, the 621 km can be covered in about 6 hours. By AVE train, the fastest time is 182 minutes (about 3 hours), with an AVE INT option of 209 minutes. By bus, the journey takes 470 minutes (7 hours and 50 minutes). By plane, the direct flight lasts 80 minutes, although you have to add the time getting to the airports and boarding.
Which is cheaper, the train or the bus?
The bus can be cheaper, with prices between €21 and €156 according to ALSA and FlixBus, while the AVE train tends to have higher fares, especially if you book at short notice. However, the plane can compete on price, with one-way tickets from €16 according to Opodo. The key is to book in advance and compare between Ouigo, ALSA, FlixBus and the airlines Iberia, Air Europa and Vueling.
Is it worth renting a car?
Yes, if you want to make stops in Tarragona, Reus, Alcalá de Henares, Caspe, Alcañiz or other towns along the route. The car gives you total flexibility and the journey along the A-2 and AP-2 is comfortable and toll-free. If you’re only going to be in Barcelona and don’t plan to leave the city, public transport is more practical and avoids the parking problem.
When is the best time to travel?
The best time to do this route is spring (March to May) and autumn (September to November), when temperatures are mild and the landscape is at its best. Summer in Barcelona can be very hot and busier with tourists, while winter is ideal for enjoying inland cuisine, such as the judiones de La Granja (white bean stew) or ternasco de Aragón (roast lamb), without the crowds.
💡 ¿Sabías que...?
- ● Barcelona fue fundada como Barcino, una pequeña ciudad de fundación romana, entre el siglo I a. C. y los inicios de la Edad Media. (https://www.barcelona.cat/es/conocebcn/la-historia)
- ● La Sagrada Familia aún no tiene fecha para ser acabada; se esperaba que el remate llegara en 2026, pero el pronóstico se ha retrasado a causa de la pandemia, y la construcción ya se prolonga más de 140 años. (https://www.abc.es/viajar/abci-diez-curiosidades-barcelona-quiza-desconocias-202202151417_noticia.html)
- ● La estatua de Cristóbal Colón, situada al final de las Ramblas, fue construida con motivo de la Exposición Universal de 1888 y apunta hacia Mallorca, no hacia América. (https://supercurioso.com/curiosidades-de-barcelona/)
- ● Las playas de arena de Barcelona se crearon para los Juegos Olímpicos de 1992; hasta entonces no había ninguna. (https://www.getyourguide.com/es-es/explorer/barcelona-ttd45/fun-facts-about-barcelona/)
- ● El panot, el adoquín con forma de flor de cuatro pétalos, es un emblema urbano de Barcelona; su origen se remonta a principios del siglo XX, cuando el Ayuntamiento buscaba un pavimento resistente y uniforme para las calles del Eixample. (https://historia.nationalgeographic.com.es/a/feliz-dia-merce-5-datos-que-quiza-no-conocias-sobre-historia-barcelona_24585)
- ● La Rambla son cinco calles en una: Canaletas, Estudios, San José, Capuchinos y Santa Mónica; según una prestigiosa web de arquitectura, es la séptima calle más famosa del mundo. (https://www.rtve.es/television/20240514/cinco-curiosidades-sobre-barcelona/16102622.shtml)
- ● Joan Miró (1893-1983) es el pintor más reconocido de la historia de la ciudad de Barcelona. (https://barcelonasecreta.com/personajes-de-barcelona-historia/)
- ● Barcelona tiene una estatua de la Libertad, más pequeña que la original y más oscura, que se encuentra en la Biblioteca Arús (Passeig Sant Joan, 26). (https://www.mochileandoporelmundo.com/curiosidades-de-barcelona/)
📍 También te puede interesar
Qué ver en Madrid →
Qué ver en Barcelona →
