🇪🇸 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
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.
6h 49m
615 km · €71 fuel
See details ↓
Not realistic
615 km is far beyond a typical multi-day cycle tour. Try a shorter pair like a day or weekend stage.
7h 30m
FlixBus-eu
See details ↓
2h 5m
from €40
See details ↓
3h 28m
RENFE OPERADORA · Renfe Cercanias
See details ↓
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.
-
La Almunia de Doña Godina 🇪🇸 es
≈246 km≈ 14.6 km detour from the main route
-
Caspe 🇪🇸 es
≈369 km≈ 41.8 km detour from the main route
-
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
-
+0.2 km
restaurant · Barcelona
-
+0.3 km
restaurant · Madrid
-
+0.4 km
restaurant · Madrid
-
+0.5 km
restaurant
-
+0.5 km
restaurant · Barcelona
-
+0.5 km
restaurant · Madrid
Coffee · 6
-
+0.5 km
cafe · Madrid
-
+0.8 km
cafe · Barcelona
-
+0.4 km
OVNI
cafe
-
+0.6 km
cafe
-
+0.3 km
Can Pen
cafe
-
+0.4 km
Vianvi
cafe
Museums & history · 6
-
+1.4 km
museum · Madrid
-
+1.0 km
Font de Canaletes
artwork
-
+1.1 km
Monumento a Claudio Moyano
memorial
-
+1.3 km
Castell de Llorenç
castle
-
+1.4 km
Gat de Botero
artwork
-
+1.5 km
Sínia
monument
Outdoors · 3
-
+1.4 km
Pastelería Escribá Rambla De Les Flors
attraction
-
+3.1 km
Àrea de lleure de Sant Salvador
picnic site
-
+5.3 km
Mirador de la Rabassada
viewpoint
Stay the night · 6
-
+0.3 km
hotel · Madrid
-
+0.4 km
hotel · Madrid
-
+0.4 km
hotel
-
+0.4 km
hotel · Madrid
-
+0.5 km
hotel · Madrid
-
+0.5 km
hotel · Madrid
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 knowBarcelona
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 knowSpain'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 knowMadrid
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 knowMadrid
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
TipThe 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.
Fuel stations
Off-motorway stations close late evening
TipSpanish provincial fuel stations often close 22:00–07:00, especially in the south. Motorway services (Cepsa, Repsol on the autovía) run 24/7. If you're routing through an Andalusian backroad, fuel before sunset and don't bank on a small-town pump.
Contactless cards work at virtually every motorway pump
TipMajor brand stations (Shell, Total, BP, Repsol, Cepsa, OMV, Eni, Esso) take Visa and Mastercard contactless without an issue. American Express and Diners are spotty south of the Alps. A €100 pre-authorisation hold is normal — it releases within 5 days. Carry €50 cash for the rare independent station.
Money & connectivity
EU roaming covers calls, texts and data at no extra cost
TipYour home EU SIM works at home rates across every EU member, plus Iceland, Liechtenstein and Norway. The "fair use" cap on data only applies if you're abroad more than four months. For a 2-week road trip, just use your phone normally — but switch off "data roaming" if you're leaving the EU into UK / CH for any segment.
Emergency & breakdown
112 works everywhere in the EU and continental neighbours
TipSingle number for police, ambulance, fire — works from any phone, any network, any country. On motorways, the orange SOS pillars every 2km connect direct to the regional traffic control centre and pinpoint your location. Use them over your phone if you can — it speeds the response.
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 Nordeste322 km
-
AP-2 Autopista Zaragoza-Mediterráneo216 km
-
AP-7 Autopista de la Mediterrània49 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
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|
|
11°
3°
|
14°
3°
|
16°
5°
|
21°
9°
|
24°
11°
|
30°
18°
|
35°
20°
|
35°
21°
|
27°
15°
|
22°
12°
|
15°
7°
|
11°
3°
|
| 50mm | 17mm | 120mm | 44mm | 62mm | 43mm | 1mm | 6mm | 64mm | 87mm | 39mm | 30mm |
hot mild cold
🇪🇸 Barcelona
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec |
|---|---|---|---|---|---|---|---|---|---|---|---|
|
15°
5°
|
15°
6°
|
17°
9°
|
19°
10°
|
21°
13°
|
27°
19°
|
29°
21°
|
30°
22°
|
25°
18°
|
23°
15°
|
18°
10°
|
15°
6°
|
| 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
- Calle de la Cruz 0.1 km
- Plaza de las Cortes 0.2 km
- Plaza de Cánovas del Castillo
- Calle de Felipe IV 0.1 km
- Calle de Alcalá
- Calle de Alcalá 0.4 km
- Avenida de América 4 km
- Autovía del Nordeste (A-2) 143 km
- (A-2) 179 km
- Autopista Zaragoza-Mediterráneo (AP-2) 103 km
- Autopista Zaragoza-Mediterrània (AP-2) 113 km
- Autopista de la Mediterrània (AP-7) 49 km
- (B-23) 8 km
- (B-23) 6 km
- — 0.3 km
- Avinguda Diagonal (lateral mar) 4 km
- Avinguda Diagonal (lateral mar)
- 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.