Madrid to Barcelona Distance by Road
Madrid to Barcelona – Quick Distance Facts
Road Distance
via A-2 and AP-2 motorways
Driving Time
without major traffic stops
As the Crow Flies
straight-line distance
How to Drive from Madrid to Barcelona
The most popular route for the Madrid to Barcelona driving distance is the A-2 and AP-2 motorway northeast through Zaragoza. This is a partly toll road offering the fastest and most direct connection between Spain's two largest cities.
Take the A-2 motorway northeast from Madrid to Zaragoza. Approx. 2h 30min (~325 km). Free motorway section.
Continue northeast on the AP-2 toll motorway from Zaragoza to Lleida. Approx. 1h 00min (~150 km).
Continue on the AP-2/A-2 east into Barcelona. Approx. 1h 30min (~160 km).
Madrid to Barcelona Travel Time by Speed
Wondering how long does it take to drive from Madrid to Barcelona at different speeds? Here is the estimated time for the ~620 km road distance:
| Average Speed | Estimated Time | Notes |
|---|---|---|
| 80 km/h | ~7h 45min | Mixed roads, city sections |
| 100 km/h | ~6h 12min | Mainly motorway driving |
| 120 km/h | ~5h 10min | Spanish motorway speed limit |
Note: These times cover driving only and do not include toll stops, fuel breaks or city traffic entering Barcelona. Real total journey time is typically 5h 45min to 7h depending on traffic and stops.
Madrid to Barcelona vs Other Popular European Routes
Frequently Asked Questions — Madrid to Barcelona Distance
How far is Madrid from Barcelona by road?
The driving distance from Madrid to Barcelona is approximately 620 km via the A-2 and AP-2 motorways through Zaragoza.
How long does it take to drive from Madrid to Barcelona?
The Madrid to Barcelona driving time is approximately 5 hours 45 minutes non-stop via the AP-2 motorway. Including toll stops and rest breaks, allow 6h 30min to 7h total.
What is the Madrid to Barcelona distance as the crow flies?
The straight-line distance between Madrid and Barcelona is approximately 504 km. The actual road distance is ~620 km via the motorway route through Zaragoza.
Is the motorway from Madrid to Barcelona a toll road?
The AP-2 section between Zaragoza and Barcelona is a toll road — expect to pay approximately €15–€20 one way. The A-2 section from Madrid to Zaragoza is free. There is a free alternative via the N-II national road but it takes significantly longer.
How do I calculate the Madrid to Barcelona distance?
Use the free distance calculator at the top of this page. It shows the exact road distance, driving time and a full interactive Google Maps route — instantly and for free.
Also check: Rome to Milan distance — road distance, driving time and full route map.