Skip to main content
Barcelona Sagrada Familia at golden hour

Distance from Madrid to Barcelona

Driving distance
383 mi
617 km
Straight-line
314 mi
505 km
🚗 Drive time
6 hr 29 min
approx.
✈️ Flight time
1 hr 5 min
nonstop

Madrid to Barcelona is Spain's most important domestic route — 390 miles northeast across the Meseta and through Zaragoza. Renfe's AVE high-speed train covers it in 2 hours 30 minutes at up to 300 km/h, making it one of Europe's most compelling train journeys.

The drive on the A-2 passes through the dramatically flat Castilian plateau before climbing through Aragon to the coastal strip. Zaragoza, Spain's fifth-largest city, makes an excellent stop.

Stops Along the Way

📍
Zaragoza

Spain's underrated fifth city — the spectacular Basílica del Pilar and Aljafería Palace make it one of the finest quick stops on any Spanish road trip.

Tips for This Trip

The AVE is one of Europe's best high-speed trains

At 2h30m, Renfe's AVE is faster door-to-door than flying for most travellers — no airport queues, central stations, and punctuality above 95%.

Book AVE tickets well in advance

Early booking on Renfe's website can secure tickets for €20–50 each way. Last-minute prices can be €80–120.

The drive involves Spanish tolls

The A-2 between Zaragoza and Barcelona requires tolls totalling around €25–30 for a one-way trip.

🏨 Hotels in Barcelona

Compare 2M+ properties on Booking.com — free cancellation on most stays. Filter by price, neighborhood, and traveler ratings.

Search Hotels in Barcelona

Affiliate link — we may earn a small commission at no extra cost to you.

Frequently Asked Questions

Barcelona is about 310 miles (499 km) from Madrid in a straight line, and approximately 390 miles (628 km) by road via the A-2 motorway northeast through Zaragoza.