Skip to content
FromToEurope

🇪🇸 Same-country drive · Spain

Driving from Barcelona to Madrid

Drive from Barcelona to Madrid on Spain's AP-7, AP-2, and A-2 motorways. Essential tips for this 616 km Spanish road trip.

Drive time
6h 50m
Distance
616 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

+53m
Distance:
695 km
(+79 km)
Duration:
7h 44m

Via: A-3 · 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.

You'll join the B-23 motorway just outside Barcelona, quickly merging onto the AP-7 toll road heading west. This section is a straightforward introduction to Spain's efficient motorway network, carrying you through rolling Catalan countryside towards the Aragon region. Keep an eye out for signage directing you onto the AP-2, a crucial part of this journey that bypasses some of the smaller towns and keeps you making steady progress towards the capital. The AP-2 is a toll road, so be prepared for occasional payment points as you rack up the kilometres.

As you push further inland, the landscape begins to shift subtly, becoming drier and more rugged, typical of the Iberian plateau. You'll eventually transition from the AP-2 onto the A-2 autovía, which is largely toll-free. This is where the drive really opens up, offering long, straight stretches as you approach Zaragoza. The Z-40 ring road will help you navigate around Zaragoza efficiently, ensuring you don't get caught up in city traffic before rejoining the A-2.

The final leg of your journey is almost entirely on the A-2. This section is familiar territory for many Spanish drivers, a direct and predictable route connecting two of the country's major cities. The transition from Aragon into the Community of Madrid is marked by a change in vegetation and sometimes a noticeable increase in traffic density as you get closer to the urban sprawl. Prepare for the A-2 to become busier as you approach Madrid, with multiple lanes and higher speeds common on this main artery. Familiarise yourself with Madrid's traffic regulations and potential low-emission zones if you plan on driving into the city centre.

Route highlights

  • AP-7 toll road out of Barcelona
  • AP-2 connection towards Aragon
  • Zaragoza bypass on the Z-40
  • Long stretches of the A-2 autovía
  • Increasing traffic density near Madrid

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:
616 km
Duration:
6h 50m (free-flow, no traffic)

Where to stop

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

  1. Montblanc 🇪🇸 es

    ≈123 km

    ≈ 17.1 km detour from the main route

  2. Caspe 🇪🇸 es

    ≈246 km

    ≈ 42.7 km detour from the main route

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

    ≈370 km

    ≈ 15.8 km detour from the main route

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.

Long rural stretch on B-23

Plan for about 14 km of two-lane country roads. Slower than motorway, but often the pretty part — fewer overtakes after dark.

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
    320 km
  • AP-2 Autopista Zaragoza-Mediterrània
    214 km
  • AP-7 Autopista de la Mediterrània
    49 km
  • B-23
    14 km
  • Z-40; A-2 Autovía del Nordeste
    7 km

Route character

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

Motorway drive — fast, predictable, uneventful.

Motorway
95%
Secondary
3%
Other / rural
2%

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 50m 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

37 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 (≈ 616 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.

🇪🇸 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

🇪🇸 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

Next 5 days at Madrid

Live forecast — refreshes every few hours.

  • Tue 12

    ☀️

    15° / 11°

    0.1mm

  • Wed 13

    🌧️

    19° / 9°

    15.4mm

  • Thu 14

    ☀️

    20° / 8°

  • Fri 15

    ☀️

    15° / 8°

    0.4mm

  • Sat 16

    ☀️

    17° / 6°

Forecast: MET Norway

Directions

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

Show all 15 manoeuvres
  1. Carrer d'Aribau 0.9 km
  2. Avinguda Diagonal (lateral muntanya)
  3. Avinguda Diagonal 0.1 km
  4. (B-23) 14 km
  5. (B-23) 2 km
  6. Autopista de la Mediterrània (AP-7) 49 km
  7. Autopista Zaragoza-Mediterrània (AP-2) 113 km
  8. Autopista Zaragoza-Mediterráneo (AP-2) 101 km
  9. Autovía del Nordeste (A-2) 22 km
  10. Autovía del Nordeste (Z-40; A-2) 7 km
  11. Autovía del Nordeste (A-2) 262 km
  12. Autovía de Castilla-La Mancha (A-2) 32 km
  13. Avenida de América (A-2) 4 km
  14. Calle de Alcalá 0.4 km
  15. Calle de la Cruz

By coach from Barcelona to Madrid

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

Travel time
7h 20m
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 Barcelona to Madrid

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
BCN → MAD
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 Barcelona to Madrid

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 26m
2 changes
Lead operator
RENFE OPERADORA
+ 1 more
Alternatives
5
Itineraries returned by the planner.

Trains on the fastest itinerary

  • AVE 03130
  • C4a

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

Are there tolls on the Barcelona to Madrid route?

Yes, sections of the AP-7 and AP-2 are toll roads (autopistas de peaje). The A-2 is largely a toll-free autovía.

What is the difference between an AP and an A road in Spain?

AP roads (Autopista de Peaje) are typically toll motorways, often with higher standards and less traffic. A roads (Autovía) are also dual-carriageways but are generally toll-free and may have more entry/exit points.

Do I need a vignette for this drive?

No, vignettes are not required for driving on Spanish motorways. Payment is usually made per section of toll road.

What is the speed limit on Spanish motorways?

The general speed limit on Spanish autopistas and autovías is 120 km/h, though this can vary. Always check signage for specific limits.

Are there fuel stations along the main route?

Yes, there are numerous service areas and fuel stations located at regular intervals along the AP-7, AP-2, and A-2 motorways.

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, and Google Gemini drafts the narrative and FAQ from the computed route data. See our methodology for refresh cadence and limitations.

Keep exploring