ℹ️ Some links are affiliate links — we may earn a commission at no extra cost to you. How we stay honest.

Barcelona to Madrid: How to Travel

Quick Answer

The distance from Barcelona to Madrid is 621 km. The AVE high-speed train is the clear winner for Barcelona to Madrid. It covers 621 km in just 2.5 hours, departing from Barcelona Sants and arriving at Madrid Atocha — both centrally located. Book on Renfe's website 2–3 months ahead for fares starting at €30. Flying only makes sense if you're catching a connection at Madrid Barajas.

How to Get from Barcelona to Madrid

ModeDurationCostBest For
🚆 Train 2h 30m €30–€120 Most travelers — the best balance of speed, comfort, and price
✈️ Fly 1h 20m (flight only) €25–€100 Those connecting to onward flights from Madrid airport
🚌 Bus 6h 30m–8h €15–€35 Budget travelers with time to spare
🚗 Drive 6h–6h 30m €70–€100 (fuel + tolls) Road trippers wanting to explore towns between the two cities
💡 Pro Tip

The best option depends on your priorities — read the detailed breakdown below.

🚆 Train from Barcelona to Madrid

Duration: 2h 30m | Cost: €30–€120

Pros

  • High-speed AVE is fast and comfortable
  • City-center stations
  • Generous luggage allowance

Cons

  • Peak fares can be pricey
  • Sells out during holidays
  • Limited flexibility with fixed seats

✈️ Fly from Barcelona to Madrid

Duration: 1h 20m (flight only) | Cost: €25–€100

Pros

  • Frequent shuttle flights
  • Can be very cheap with Vueling or Ryanair
  • Fast flight time

Cons

  • Airport transfers add 1.5–2 hours each side
  • Baggage fees
  • Environmental impact higher

🚌 Bus from Barcelona to Madrid

Duration: 6h 30m–8h | Cost: €15–€35

Pros

  • Very affordable
  • Comfortable seats on ALSA buses
  • Multiple daily departures

Cons

  • Long journey
  • Less comfortable than train
  • Traffic delays possible

🚗 Drive from Barcelona to Madrid

Duration: 6h–6h 30m | Cost: €70–€100 (fuel + tolls)

Pros

  • Stop at Zaragoza en route
  • Flexibility for side trips
  • Good for groups

Cons

  • Toll roads add up
  • Long monotonous stretches
  • Parking in Madrid is expensive

Our Recommendation

The AVE high-speed train is the clear winner for Barcelona to Madrid. It covers 621 km in just 2.5 hours, departing from Barcelona Sants and arriving at Madrid Atocha — both centrally located. Book on Renfe's website 2–3 months ahead for fares starting at €30. Flying only makes sense if you're catching a connection at Madrid Barajas.

Book Your Barcelona to Madrid Trip

Barcelona and Madrid are Spain's two largest cities, and the rivalry between them extends to football, culture, and cuisine. Fortunately, getting between them is easy thanks to Spain's excellent high-speed rail network. The AVE train, introduced in 2008 on this route, cut the journey time from over 6 hours to just 2.5 hours.

The Puente Aéreo (air shuttle) between Barcelona El Prat and Madrid Barajas was once the world's busiest air route. While train competition has reduced flight demand, airlines still operate 20+ daily flights. Budget carriers like Vueling frequently offer fares under €30, though by the time you add transfers, the train is almost always faster door-to-door.

If you're driving, the AP-2 motorway via Zaragoza is the standard route. Consider a lunch stop in Zaragoza to see the Basílica del Pilar — it breaks up the drive nicely and adds a third Spanish city to your trip without much detour.

Frequently Asked Questions

Is the AVE train from Barcelona to Madrid worth it?

Absolutely. It's the fastest and most convenient option. The trains are modern, comfortable, and run frequently throughout the day. Book early for the best fares.

How do I book cheap AVE tickets?

Use the Renfe website or app. Tickets open about 60–90 days before departure. 'Promo' fares start at €30 but sell out fast. The 'Flexible' fares are refundable but cost 2–3x more.

Can I use a Eurail pass on the AVE?

Yes, but you must make a seat reservation (€10–€20 supplement). Reservations can sell out, so book as early as possible.

What's the best airport for connecting flights in Madrid?

Madrid Barajas (MAD) is a major hub for Iberia and connects to Latin America, Africa, and all of Europe. Terminal 4 handles most long-haul flights.

Plan Your Complete Trip

✈️ Flights

🏨 Hotels

🚗 Car Rental

🛡️ Insurance

💰 Budget Travel

Get Our Free Europe Road Trip Checklist

Country-by-country driving requirements, packing list, and emergency contacts — all in one PDF.

BTS

BestTravelScout Editorial Team

Our editorial team researches and tests travel products hands-on, comparing prices and policies across dozens of providers to bring you honest, data-backed recommendations.

✅ Fact-checked 🔄 Updated quarterly 🔍 Our methodology
About our team →
Search Flights