Skip to content
FromToEurope

🇪🇸 Same-country drive · Spain

Driving from Madrid to Barcelona

Drive Spain's A-2 and AP-7 from Madrid to Barcelona. Discover practical tips for this 615km journey, including tolls and fuel.

Drive time
6h 49m
Distance
615 km
Same day?
Yes, doable
under 8 h
Fuel cost
≈ €71
petrol · diesel ≈ €64
Tolls
≈ €55
per-km
EV charging
Unknown
not yet surveyed
Countries
🇪🇸 Spain
1 country
On this page

Route map

Route options

Other paths OSRM found between the two cities — handy when traffic, tolls, or scenery matter more than raw speed.

Alternative

+49m
Distance:
695 km
(+79 km)
Duration:
7h 38m

Via: Autovía del Este · AP-7 · C-32 · A-7

How else can you make this trip?

Driving is the focus of this guide; here's how cycling, coach, and (soon) train and plane stack up for the same pair.

What the drive is like

Drafted from the route's computed data on April 24, 2026 and reviewed against the route summary card. Read our methodology.

The journey from Madrid to Barcelona begins by merging onto the A-2 motorway heading northeast, a familiar start within Spain's extensive road network. After about 300 kilometers, you'll transition to the AP-2, a toll motorway, offering a faster, often less congested route through the Aragon region. Keep an eye out for signage indicating the AP-7, which will eventually lead you towards the Catalan coast and the approach to Barcelona.

As you drive, you'll notice the landscape gradually shifting from the arid plains of central Spain to the more varied terrain approaching the Pyrenees foothills. Fuel stops are plentiful along both the A-2 and AP-2, but prices can fluctuate, so it's worth comparing options, particularly as you get closer to major cities. The AP-2 is a tolled road, and while it speeds up your progress, budget accordingly for these fees. Unlike many cross-border European journeys, this route stays within Spain, so you won't encounter different currencies or border formalities, but be aware of speed limit variations between national motorways and autopistas.

Approaching Barcelona, the AP-7 will guide you through the final stretches, often presenting a busier, more urban driving environment. The B-23 serves as a crucial connector, feeding you directly into the city's ring roads and onward to your final destination. Familiarize yourself with Barcelona's low-emission zones if you plan to drive within the city center, as these can affect access depending on your vehicle's emissions standard. The final approach into Barcelona can be heavily trafficked, especially during peak hours, so allow extra time for navigation and parking.

Route highlights

  • Leaving Madrid on the A-2
  • Aragon landscape changes on AP-2
  • Transition to AP-7 towards the coast
  • B-23 connector into Barcelona
  • Navigating Barcelona's urban approach

Trip plan

How to think about the drive: one day, split, or overnight.

Long day — start early

Doable in one day but it is a full day behind the wheel. Start before 9am, plan one proper lunch stop, keep the driver rested.

Distance:
615 km
Duration:
6h 49m (free-flow, no traffic)

Where to stop

Places along the route that make natural breaks for coffee, lunch, or a night.

  1. La Almunia de Doña Godina 🇪🇸 es

    ≈246 km

    ≈ 14.6 km detour from the main route

  2. Caspe 🇪🇸 es

    ≈369 km

    ≈ 41.8 km detour from the main route

  3. Montblanc 🇪🇸 es

    ≈492 km

    ≈ 15.9 km detour from the main route

Along the way

Places to stop for coffee, a bite, a view, or the night — from OpenStreetMap.

Food · 6

Coffee · 6

Museums & history · 6

  • Museo Arqueológico Nacional

    museum · Madrid

    +1.4 km
  • Font de Canaletes

    artwork

    +1.0 km
  • Monumento a Claudio Moyano

    memorial

    +1.1 km
  • Castell de Llorenç

    castle

    +1.3 km
  • Gat de Botero

    artwork

    +1.4 km
  • Sínia

    monument

    +1.5 km

Outdoors · 3

Stay the night · 6

Key moves

Things to know before you set off — borders, sides of the road, tolls.

Tolls on motorways in ES

Budget for motorway tolls — France, Italy, Spain, and Portugal charge per-km, Croatia and Greece by section. Contactless cards work almost everywhere; have one loaded.

Must-know before you go

The things a driver from another country wouldn't think to ask about — fines, stickers, payment cards, opening hours.

City access & emission zones

ZBE Rondes — register your foreign plate before driving in

Must know

Barcelona

Barcelona's low-emission zone covers everything inside the Rondes (B-10 / B-20), Mon–Fri 7:00–20:00. Old diesels and pre-2000 petrol cars are banned. Foreign plates with compliant emission classes still need to register at the city portal — without registration, the camera flags you regardless. Fines start at €100.

Madrid, Barcelona, Sevilla now run ZBE low-emission zones

Must know

Spain's Zonas de Bajas Emisiones (ZBE) cover central Madrid (24/7), Barcelona inside the Rondes (weekdays 7:00–20:00), Sevilla, Valencia and a growing list. Foreign plates need to register at the city portal in advance — your Euro emission class determines whether you get in. Without registration, cameras log entry and the fine reaches your home address.

Foreign plates must be pre-registered to enter the centre

Must know

Madrid

Cameras read your plate but don't know your emission class. Without registration on Madrid's portal (madrid.es/zbe), the system flags you regardless of the car's actual rating, and the fine reaches your home address weeks later via cross-border collection. Register before you set off.

Madrid 360 / ZBEDEP — pre-2000 cars banned outright

Must know

Madrid

Madrid Central (now ZBEDEP) is one of the strictest emission zones in Europe. Within the 4.7 km² central perimeter (formerly Distrito Centro), vehicles registered before 2000 are banned outright; the rest need to match Spain's "Etiqueta Ambiental" rating. Operates 24/7. Fine is €200 per entry.

Tolls, vignettes & road payment

Most Spanish tolls were abolished in 2024

Tip

The AP-1, AP-7 (Bilbao stretch) and most of the Mediterranean coast highways are now toll-free. A handful remain: AP-9 (Galicia), AP-66 (León–Asturias), Catalonia's C-32/C-16 tunnel approach. Spain is no longer a high-toll country for cars — your fuel + a few specific bridge fees is the realistic budget.

Rules, fees, and thresholds change. Always verify against the official source the day before you drive — this page is a checklist, not a legal reference.

Main roads

The highways this route spends the most kilometres on.

  • A-2 Autovía del Nordeste
    322 km
  • AP-2 Autopista Zaragoza-Mediterráneo
    216 km
  • AP-7 Autopista de la Mediterrània
    49 km
  • B-23
    15 km

Route character

How much of the drive is motorway vs. secondary vs. rural.

Motorway drive — fast, predictable, uneventful.

Motorway
95%
Secondary
2%
Other / rural
3%

Drive difficulty

At-a-glance feel: how demanding is this drive for one driver?

Overall

Moderate

Manageable but pay attention — long enough that a second driver or a planned lunch break is smart.

  • Long drive: 6h 49m behind the wheel at free-flow speeds.

Fuel & tolls

Rough cost expectation for a typical EU passenger car. Treat as an estimate — pump prices change weekly.

Petrol (RON 95)

≈ €71

46.2 L × €1.53 / L · 7.5 L/100 km

Diesel

≈ €64

36.9 L × €1.74 / L · 6 L/100 km

Electric (DC fast)

≈ €69

108 kWh × €0.64 / kWh · 17.5 kWh/100 km

Public DC fast charging — slower AC charging at home or hotels typically costs about half.

Motorway tolls & vignettes

≈ €55

  • ES — €0.09/km on the motorway network (≈ 615 km in-country ≈ €55) Toll-free on the A-network; charged only on AP roads.

Prices last refreshed 2026-05-04.

Weather by month

Average daytime high / overnight low and typical monthly rainfall, over the past five years.

🇪🇸 Madrid

Month
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
11°
14°
16°
21°
24°
11°
30°
18°
35°
20°
35°
21°
27°
15°
22°
12°
15°
11°
50mm 17mm 120mm 44mm 62mm 43mm 1mm 6mm 64mm 87mm 39mm 30mm

hot mild cold

🇪🇸 Barcelona

Month
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
15°
15°
17°
19°
10°
21°
13°
27°
19°
29°
21°
30°
22°
25°
18°
23°
15°
18°
10°
15°
19mm 38mm 74mm 66mm 66mm 41mm 61mm 42mm 123mm 86mm 40mm 66mm

hot mild cold

Next 5 days at Barcelona

Live forecast — refreshes every few hours.

  • Tue 12

    🌧️

    15° / 14°

    5.4mm

  • Wed 13

    ☀️

    18° / 14°

    1.4mm

  • Thu 14

    ☀️

    18° / 14°

    3.2mm

  • Fri 15

    17° / 13°

    2.9mm

  • Sat 16

    16° / 11°

Forecast: MET Norway

Directions

Turn-by-turn summary of the main manoeuvres, generated by OSRM.

Show all 18 manoeuvres
  1. Calle de la Cruz 0.1 km
  2. Plaza de las Cortes 0.2 km
  3. Plaza de Cánovas del Castillo
  4. Calle de Felipe IV 0.1 km
  5. Calle de Alcalá
  6. Calle de Alcalá 0.4 km
  7. Avenida de América 4 km
  8. Autovía del Nordeste (A-2) 143 km
  9. (A-2) 179 km
  10. Autopista Zaragoza-Mediterráneo (AP-2) 103 km
  11. Autopista Zaragoza-Mediterrània (AP-2) 113 km
  12. Autopista de la Mediterrània (AP-7) 49 km
  13. (B-23) 8 km
  14. (B-23) 6 km
  15. 0.3 km
  16. Avinguda Diagonal (lateral mar) 4 km
  17. Avinguda Diagonal (lateral mar)
  18. Carrer d'Aribau

By coach from Madrid to Barcelona

Indicative duration of the fastest direct long-distance coach found in the FlixBus and BlaBlaCar Bus EU schedules.

Travel time
7h 30m
Direct
Operator
FlixBus-eu
Departures / day
~1
Approximate based on the published schedule.
Show coach corridor on map

Schedules sourced from the FlixBus and BlaBlaCar Bus GTFS feeds via transport.data.gouv.fr. Times are indicative; verify on the operator's site before booking.

Booking link coming soon.

By plane from Madrid to Barcelona

Indicative travel time on a non-stop flight, based on great-circle distance, average commercial cruise speed (850 km/h), and a 90-minute allowance for taxi, security, and boarding.

Total time
2h 5m
Door-to-door from :from airport.
In the air
36 min
At ~850 km/h cruise speed.
On the ground
90 min
Taxi + security + boarding (typical short-haul).
Route
MAD → BCN
504 km great-circle.

Indicative fare: from €40 — fares vary by season, day of week, and how far ahead you book. Always check the airline or a meta-search before planning around this number.

Show flight path on map

Estimate-only. We don't pull live schedules or fares for flights — see the methodology page for how this number is computed.

Air travel emits roughly 5–10× the CO₂ per passenger-km of rail for the same distance.

By train from Madrid to Barcelona

Fastest cross-border rail itinerary from the public Transitous planner. Times reflect a typical Monday-morning departure on the next available service-day.

Fastest journey
3h 28m
3 changes
Lead operator
RENFE OPERADORA
+ 1 more
Alternatives
5
Itineraries returned by the planner.

Trains on the fastest itinerary

  • AVE 03141

All operators across alternatives

  • RENFE OPERADORA
  • Renfe Cercanias

Includes a high-speed rail leg (TGV, ICE, AVE, Frecciarossa-class).

Show route on map

Routing via the public Transitous OTP planner (community-run MOTIS instance). Cached 24 hours; verify on the operator's site before booking.

Frequently asked

Is the AP-2 motorway toll-free?

No, the AP-2 is a toll motorway and incurs fees. The A-2 is largely toll-free but some sections might be under concession.

What is the typical speed limit on the A-2 and AP-2?

The standard speed limit on Spanish motorways (autopistas and autovías) is generally 120 km/h, but always check posted signs as it can vary.

Are there many service areas along the route?

Yes, both the A-2 and AP-2 have frequent service areas offering fuel, food, and restrooms.

Do I need any special permits to drive in Barcelona?

Drivers should be aware of Barcelona's low-emission zone (Zona de Baixes Emissions - ZBE) regulations, which may restrict access for certain vehicles based on their emissions sticker.

How does fuel cost compare between Madrid and Barcelona?

Fuel prices can vary across Spain. It's often cheaper to fill up away from major cities or directly on the autopista service stations. Compare prices as you travel.

How this page is built

Compiled by COD Solutions Oy from open European data — OSRM over OpenStreetMap for the route geometry, Open-Meteo for monthly climate normals, OpenStreetMap via Overpass for sights along the route, and Google Gemini drafts the narrative and FAQ from the computed route data. See our methodology for refresh cadence and limitations.

Keep exploring