How many hours from Madrid to Barcelona?
Arrival time from Madrid to Barcelona
6 h 50 min by road. Driving from Madrid to Barcelona takes about 6 hours 50 minutes at normal road speeds, over 617 km (383 miles) of road — a best case that assumes clear roads and no stops. With a 15-minute break after every 2 hours at the wheel, allow about 7 hours 35 minutes. A direct flight would cover 504 km (313 miles) in a straight line and take roughly 1 hour 10 minutes on board — about 3 hours 40 minutes door to door once airport time is counted. Flying is clearly faster, if a direct flight operates.
How this is calculated
The road distance and driving time were calculated by routing Madrid to Barcelona in Spain over OpenStreetMap data with the OSRM routing engine. The time is a free-flow figure: it assumes each road’s normal speed and nothing else. It does not include traffic, roadworks, fuel or food stops, checkpoints or the state of the road surface, so treat it as the best case and add a margin for the day.
The “with rest stops” figure adds one 15-minute break after each full 2 hours of driving — 3 on this route.
Flight time is an estimate, not a schedule: the straight-line distance divided by a typical cruise speed of 805 km/h, plus half an hour for taxi, climb and descent. We do not hold airline timetables and do not know whether a direct flight operates between Madrid and Barcelona; a connection adds hours. Door-to-door time adds 2.5 hours for getting to the airport, check-in, security and baggage.
Arrival times use the IANA time zone database, so a clock change during the journey is handled. Road data © OpenStreetMap contributors (ODbL); city coordinates from GeoNames (CC BY 4.0).
Last reviewed:
Madrid to Barcelona by road
| Road distance | 617 km (383 miles) |
|---|---|
| Driving time, non-stop | 6 h 50 min |
| With rest stops (3 × 15 min) | 7 h 35 min |
| Average speed implied | 91 km/h (56 mph) |
| Fuel at 8 L/100 km | about 49 litres |
Madrid to Barcelona by air
| Straight-line distance | 504 km (313 miles) |
|---|---|
| Time on board, direct flight | about 1 h 10 min |
| Door to door | about 3 h 40 min |
What time will you arrive in Barcelona?
Madrid and Barcelona keep the same time, so the hours you travel are the hours the clock moves. These arrivals are for departures on November 27, 2026; use the calculator at the top for any other date or time.
| Leave Madrid | By car, with rest stops | By plane, door to door |
|---|---|---|
| 06:00 | 13:35 | 09:40 |
| 09:00 | 16:35 | 12:40 |
| 12:00 | 19:35 | 15:40 |
| 18:00 | 01:35 (next day) | 21:40 |
| 22:00 | 05:35 (next day) | 01:40 (next day) |
Compare flying and driving with your own speeds, fuel price and airfare
More routes from Madrid and Barcelona
Frequently asked questions
How many hours is it from Madrid to Barcelona by road?
About 6 hours 50 minutes of driving without stops, or about 7 hours 35 minutes with 3 short rest stops. That is a free-flow estimate over 617 km of road; traffic, roadworks and road conditions can add to it.
How far is Madrid from Barcelona?
617 km (383 miles) by road, and 504 km (313 miles) in a straight line.
How long is the flight from Madrid to Barcelona?
Roughly 1 hour 10 minutes on board for a direct flight, estimated from the 504 km straight-line distance. Door to door, with about 2.5 hours of airport time, allow around 3 hours 40 minutes. A connecting itinerary takes longer.
Is it faster to fly or drive from Madrid to Barcelona?
Flying is clearly faster, if a direct flight operates. Driving takes about 7 hours 35 minutes with rest stops; flying takes about 3 hours 40 minutes door to door.
What is the time difference between Madrid and Barcelona?
Madrid and Barcelona keep the same time (as of November 27, 2026).
How long does it take from Barcelona to Madrid?
Essentially the same: the road distance is about 617 km in either direction, though one-way sections can change the driving time by a few minutes. Flight times differ slightly by direction because of prevailing winds, which this estimate does not model.