safarRoute mapPlan in Safar
  1. Safar
  2. Spain
  3. Barcelona to Madrid
Map of the way from Barcelona to MadridBarcelonaMadrid
Open the interactive map

How to get from Barcelona to Madrid

Of the ways we hold from Barcelona to Madrid, the quickest is by car: about 5 h 35 min. Each way is below, with where its times come from; our timetables do not cover every operator.

The ways to get there

  1. Barcelona

    Barcelona

    Spain · Tourist hotspot

    Barcelona has winding old-city streets, hidden squares and notable modernist architecture. People visit for its historic sights, lively streets and restaurants serving excellent food.

    • historic
    • lively nights
    • backpacker hub

    Photo: dronepicr · CC BY 2.0

    About Barcelona

  2. Bus to Madrid · about 7 h 20 min · at least 1 a day, Wed, Thu, Fri, Sat, SunFrom a published timetable · runs to 17 Nov 2026

    Drive to Madrid · about 5 h 35 min · 620 km by roadRoad time from OpenStreetMap routing

  3. Madrid

    Madrid

    Spain · Tourist hotspot

    Madrid is a large, cosmopolitan city with a royal history and a mix of historic and modern culture. People visit for its major art collections, architecture and regional food.

    • historic
    • lively nights
    • foodie

    Photo: Dmitry Dzhus from London · CC BY 2.0

    About Madrid

Departures are lower bounds: the timetables we hold do not cover every operator. Check times before you travel.

On the way

Towns near the straight line from Barcelona to Madrid; the road or the rails may not pass through them.

Where to go next from Madrid

Routes that take this hop

Make it part of your trip

Safar plans the whole route around Barcelona and Madrid: which stops to keep, the order, how long to stay and how to get between them.

Other hops from Barcelona