Best way to travel from Barcelona to Madrid

Best way to travel from Barcelona to Madrid

Travel guide updated for 2027

I have done the Barcelona–Madrid trip more times than I can count: on the early AVE with a coffee, on a 7 am flight I regretted, and by car with a stop for lunch in Rioja that turned into a night. Each way has its moment. Which one is “best” depends on how much time you have and what you want from the day or days. Below I compare every option by real door-to-door time and cost, explain the 3 driving routes worth considering, and show how to turn the journey into 2 or 3 days in wine country without driving at all. I hope you find this helpful!

Pilar (Barcelona team)

Quick answer. For most travellers the high-speed train is the best way from Barcelona to Madrid: about 2h30–3h city centre to city centre, around 30 departures a day with three operators (Renfe AVE, Iryo and Ouigo), and realistic fares of €50–90 if booked a few weeks ahead. Flying saves no time once you add airport transfers and security. On a tight budget, the bus is the cheapest option, from around €30, but it takes 7h30–9h. Driving takes about 6 hours on motorways, so it only makes sense if you stop on the way: Zaragoza, or the wine region of Rioja. If you want the stop without the driving, take the train to Rioja and continue with a private wine tour to Madrid. Transforming the transfer into a tour can be the highlight of your trip!

Barcelona to Madrid: all options compared

Option Door-to-door time Realistic cost per person What you get between the cities Best for
High-speed train 3–3h30 (2h30–3h on board) €50–90 one way, booked a few weeks ahead A fast, comfortable view of Spain through the window Getting there quickly and spending your time in Madrid
Plane 3h30–4h (about 1h15 in the air) €80–150 with airport transfers Airports and security queues Connecting to a flight at Madrid-Barajas
Bus 7h30–9h €35–50 A long day on the road The tightest budgets
Car 6h direct, or 2–3 days with stops About €310 with 2 sharing: rental with full insurance, one-way fee, tolls and fuel Your own road trip, but someone spends it at the wheel Travellers who want to stop on the way
Train + private wine tour 3 days €1,150–1,480 all-inclusive: 2 nights, premium tastings, lunches, guide Two days in Rioja and Ribera del Duero: villages, cellars, long lunches, and you never drive Making the journey part of the holiday
See the 3-day tour →

Realistic mid-season prices checked October 2026: standard fares booked a few weeks ahead, not promotional "from" prices. The tour price depends on the season and on how many travel together.

Madrid North barcelona tour small

Madrid to Barcelona Private tour via Bilbao and San Sebastian

A fantastic 10 day private tour from Madrid to Barcelona that includes the wine regions of Rioja and Ribera del Duero and the amazing cities of Bilbao and San Sebastian. You will also enjoy hidden gems like Segovia and Burgos. Excellent vehicles, guides and hotels to ensure you travel in style in Spain … Read More

Thumbnail of Barcelona to Madrid wine tour with a Rioja win country landscape

Barcelona to Madrid via Rioja and Ribera del Duero

Probably the best way to travel from Barcelona to Madrid. This is a fantastic 3 day private vacation package to travel from Barcelona to Madrid. We have selected fantastic hotels, meals and amazing wineries. Travel in style with our luxury vehicles and relax and enjoy while you learn from our senior and friendly guides. This will be a highlight in your trip for sure! … Read More

How far is Barcelona from Madrid?

Updated on: October 30, 2026

Barcelona and Madrid are about 505 km (314 miles) apart in a straight line and about 620 km (385 miles) by road on the A-2 motorway. By high-speed rail the distance is roughly 620 km, covered in 2h30–3h. Driving direct takes around 6 hours without stops.
So no, they are not close enough for a relaxed day trip, but they are close enough that the journey itself can become one of the best days of your holiday.

Barcelona to Madrid by train

Updated on: October 30, 2026

The high-speed train is the fastest and easiest way between the two cities. Non-stop trains take about 2h30–2h40 and most services take 2h45–3h15, from Barcelona Sants to Madrid Puerta de Atocha (a few use Madrid Chamartín). There are around 30 departures a day.

Three companies run the line:

  • Renfe AVE, the national operator, with the most departures and the most flexible fares. Renfe stopped running its low-cost Avlo brand on this route in September 2025.
  • Iryo, Italian-owned, with comfortable trains and good onboard catering.
  • Ouigo, the low-cost option, with promotional fares from around €10 but luggage and seat choice paid separately.

Price: about €50–90 one way. Booking 4–8 weeks ahead makes the biggest difference; fares rise sharply in the last few days.

My tip: arrive at Sants 30 minutes early, as there is a security check.

Barcelona to Madrid by plane

Updated on: October 30, 2026

The flight itself is short, about 1h15, and there are frequent departures with Vueling, Iberia and Air Europa. But door to door it takes 3h30–4h once you add getting to El Prat, security and the transfer from Madrid-Barajas into the city. For most trips the train wins on time, comfort and emissions.
Flying makes sense in one case: when you are connecting to an international flight at Madrid-Barajas. Bear also in mind that Atocha station is at the heart of Madrid. This is not the case for the airport. Madrid airport is not far from the city center, but it is at last a 20 minutes ride by taxi (plus bear in mind the cost)

Barcelona to Madrid by bus

Updated on: October 30, 2026

The bus is the cheapest option, from around €30, but it takes 7h30–9h. ALSA runs the main service from Barcelona Nord bus station to Madrid’s Estación Sur, and some services continue to Barajas airport. It is worth it only if your budget is very tight or you book too late for a cheap train.

Driving from Barcelona to Madrid

Updated on: October 30, 2026

The direct drive is about 620 km and takes around 6 hours without stops, mostly on the AP-2 and A-2 motorways via Zaragoza. Since 2021 the AP-2 and AP-7 have been toll-free, so the main costs are fuel (about €60–80 per car) and the car itself. If you rent in Barcelona and return in Madrid, expect a one-way fee on top.

Is it worth driving from Barcelona to Madrid?

Honestly, not if you just drive straight through. The motorway crosses long, dry stretches of Aragon and Castile, and you arrive tired after 6 hours when the train would have taken 2h30.

But getting from Barcelona to Madrid doesn’t have to be just about reaching your destination. Travellers with enough time will discover so much more if both cities are connected in 2 or 3 days. The journey itself can become a highlight of your trip. From scenic drives through Spain’s wine regions to cultural stops in historic towns, there’s plenty to discover along the way.

So driving from Barcelona to Madrid is absolutely worth it if you make stops. Zaragoza, the Monasterio de Piedra or the medieval town of Sigüenza turn the trip into a good day. Rioja and Ribera del Duero, two of Spain’s great wine regions, turn it into a short holiday. The catch with the wine route is obvious: whoever drives cannot really taste.

 

Driving in Spain as a visitor: what you need

  • Licence: EU and UK licences are fine. If you hold a US licence, Spain requires an International Driving Permit alongside it, and some rental companies will ask for it.
  • Low emission zones: central Madrid and Barcelona restrict access by the DGT environmental sticker. Spanish rental cars carry it; a foreign-registered car must be registered with each city in advance or risk a fine of around €200.
  • Parking: park on arrival and leave the car. In both city centres parking is expensive and driving is slow; choose a hotel with a garage.
  • Alcohol: the limit is 0.5 g/l of blood (0.3 for drivers with less than two years’ experience) and checks are frequent. On a wine route, plan who drives.
  • Driving style: Spanish motorways are excellent and quiet away from the cities; you drive on the right.

Have a Question?

Have a look first at our Q&A section or contact us

Barcelona to Madrid road trip: 3 routes compared

If you have two or three days, these are the three routes I recommend. Distances and driving times are approximate, without detours.

Route Distance · driving time Ideal length Highlights Wines
Via Zaragoza & Sigüenza ≈ 650 km · 6h30 2 days Poblet Monastery, Zaragoza's Basilica del Pilar, Monasterio de Piedra waterfalls, Medinaceli's Roman arch, a night in Sigüenza Conca de Barberà, Cariñena, Calatayud
Via Rioja & Ribera del Duero ≈ 850 km · spread over 3 days 3 days Tapas on Calle Laurel in Logroño, the walled village of Laguardia, Haro's historic cellars, Burgos Cathedral, Aranda's underground cellars, Peñafiel castle Rioja, Ribera del Duero
Via Valencia ≈ 710 km · 7h 2–3 days Roman Tarragona, the Ebro Delta, Peñíscola castle, Valencia and the Albufera, a detour to Cuenca Utiel-Requena
Prefer not to drive the wine route? Take the train to Rioja and continue with a private 3-day wine tour to Madrid →

What does each option really cost over 3 days?

Updated on: October 30, 2026

A train ticket for €50 and a 3-day tour are not the same thing, so comparing them directly is misleading. If you take the train you still spend those days somewhere, sleeping, eating and doing things in Madrid. The calculator below compares like with like: three days from Barcelona to Madrid by train, by car through wine country, or with a private tour. With our interactive Barcelona to Madrid price trip calculator you will be able to compare routes, things to enjoy and also prices. 

Barcelona to Madrid: choose your route

Tap a route to see it on the map. Distances and driving times are approximate, without detours.

Schematic map, not to scale.

What do 3 days from Barcelona to Madrid really cost?

A train ticket and a 3-day trip are not the same thing. If you take the train, you still spend those days somewhere. This compares like with like: three days, two nights, from Barcelona to Madrid.

Break the journey in wine country

Updated on: October 30, 2026

Here is the option most travel guides miss. Rioja sits roughly halfway between Barcelona and Madrid if you go north, and Ribera del Duero lies on the way back down. Together they make the most rewarding way to cover the distance: two or three days of vineyards, medieval villages and long lunches instead of a day lost to transport.

You can do it yourself by car (see the routes above), but then someone spends the trip at the wheel instead of in the cellar. The alternative we designed for exactly this journey:

Barcelona to Madrid via Rioja and Ribera del Duero, private 3-day tour

  • Day 1: morning train from Barcelona to Logroño, then to your hotel in Laguardia, the walled village at the heart of Rioja Alavesa.
  • Day 2: a private day in Rioja with your guide, including lunch at the Marqués de Riscal bistro, then on to Burgos for the night.
  • Day 3: Ribera del Duero and its underground cellars, arriving at your Madrid hotel in the early evening.

Included: the train to Logroño, private transport, a local guide on days 2 and 3, four winery visits, two lunches with wine and two nights in hand-picked hotels with breakfast. It works just as well for two people as for a family.

See the full itinerary and dates

Have a Question?

Have a look first at our Q&A section or contact us
Barcelona to Madrid

We trust you have found this information on getting from Barcelona to Madrid interesting. If you are planning to travel from Barcelona to San Sebastian you may be interested also in the post we show above.

FAQ - Best way to get from Barcelona to Madrid

Can you do a day trip from Barcelona to Madrid? Yes, by high-speed train: leave Barcelona around 7 am, arrive about 9:30 and take an evening train back. You get 8–9 hours in Madrid, enough for the Prado, the Royal Palace and lunch, but it is a long day. If you can, stay at least one night.

Is it better to take the train or fly from Barcelona to Madrid? The train. Door to door it is as fast or faster than flying (3–3h30 against 3h30–4h), it runs city centre to city centre and there are no liquid rules or long security queues. Fly only if you are connecting to another flight at Madrid-Barajas.

Is the train or the bus better from Barcelona to Madrid? The train, unless the price difference matters a lot to you. The bus takes 7h30–9h against 2h30–3h; booked a few weeks ahead, low-cost train fares are often as cheap as the bus.

Is the train ride from Barcelona to Madrid scenic? In parts. You pass the vineyards and hills of Catalonia, the Ebro valley around Zaragoza and the wide, empty plateau of Castile, beautiful in its own way but at 300 km/h it goes by quickly. For real scenery, stop on the way.

Is it difficult for Americans to drive in Spain? Not really: motorways are excellent and you drive on the right. You need an International Driving Permit with your US licence, and it is best to avoid driving in the centres of Madrid and Barcelona, which have low emission zones and expensive parking.

Can I stop in Rioja on the way from Barcelona to Madrid? Yes. Rioja is about 4 hours from Barcelona by train or car, and Ribera del Duero is on the way down to Madrid, so the detour adds one or two days. You can drive it yourself or join our private 3-day tour, which starts with the train from Barcelona.

Which station does the train arrive at in Madrid? Most trains arrive at Madrid Puerta de Atocha, next to the Prado and Retiro Park; a few go to Chamartín in the north of the city. Check your ticket, as they are about 20 minutes apart by commuter train

Other interesting posts

Bridge over the Duero in Aranda de Duero
blog

How to get to Ribera del Duero

Ribera del Duero is one of the most prestigious wine regions in Spain. Here are some tips on how to reach this fantastic wine region by car, bus and train.
In this post we look at how to get to the fantastic wine region of Ribera del Duero, such as how to get to Ribera del Duero from Barcelona, Madrid, Sevilla, San Sebastian and more. … Read More

Vineyards in Rioja
blog

How to get to Rioja from Madrid

Here we look at how to get to Rioja from Madrid- by car, bus or train. There is so much to see in Rioja and it is worth taking a trip up to the wine region whilst you are enjoying your holiday or getaway in Madrid.. Rioja is one of the most famous wine regions in Spain, and has many things to see and do. If you are already visiting Madrid and are thinking about taking a trip up to Rioja for a weekend of wine tasting and exploring, there are various travel options to suit your needs. … Read More

  Yes    No