Skip to content
Distance between cities

Barcelona to Málaga distance

Barcelona and Málaga are 770 km (478 mi) apart in a straight line and 965 km (600 mi) apart by road: about 10 hr 50 min of driving without stops, mostly on the A-92 and the AP-7. Below you’ll find the route map, both halfway points, the bearing, the approximate flight time and where every figure comes from.

By the All Map Tools Team

Map from Barcelona to Málaga: the straight line and the driving route
By road
965 km (600 mi)
Driving time
10 hr 50 min
Straight line
770 km (478 mi)
  • Driving route
  • Straight line
  • Straight-line midpoint
  • Halfway by road
Straight line vs driving distance

Lambert azimuthal equal-area projection centered on the midpoint. Route: FOSSGIS OSRM with data © OpenStreetMap contributors, calculated on November 1, 2026; simplified line.

Missing a road? Fix it on OpenStreetMap

The figures

Figure Value
Straight line 770 km (478 mi) geodesic on the WGS84 ellipsoid
By road 965 km (600 mi) fastest driving route (OSRM)
Driving time 10 hr 50 min no stops, no traffic
Road detour +25% 1.25 times the straight line
Average speed 89 km/h (55 mph) along the route, without stops
Bearing 230° (southwest) leaving Barcelona toward Málaga
Midpoint 39.0983° N, 1.2273° W near Carcelén (Albacete)
Halfway by road Near Yecla (Murcia) 483 km from each city by road
Time difference None both share the same time
Approximate flight 1 hr 30 min estimate: 30 min + the straight line at 800 km/h
Elevation Barcelona: 13 m (43 ft) · Málaga: 6 m (20 ft) IGN (Spain)
Population Barcelona: 1,731,649 · Málaga: 599,063 INE population register, January 1, 2025

Barcelona to Málaga by road

The fastest driving route is 965 km (600 mi) long and takes about 10 hr 50 min without stops or traffic. It runs mostly on the A-92 (263 km), the AP-7 (249 km), and the A-7 (177 km).

It goes through 5 autonomous communities: Catalonia (193 km), the Valencian Community (272 km), Castilla–La Mancha (12.6 km), the Region of Murcia (187 km), and Andalusia (300 km). That’s an average of 89 km/h (55 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 5 stops of 20 minutes, the trip takes about 12 hr 30 min. At about 8 hours behind the wheel a day, it’s a 2-day drive. The time is OSRM’s estimate with OpenStreetMap data: no traffic and speeds somewhat below the limits, so real trips can differ.

Straight-line distance and bearing

In a straight line, the shortest distance over the Earth’s surface, Barcelona and Málaga are 770 km (478 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.

The road is 25% longer: for every 100 km in a straight line you drive 125. That’s a normal detour between two cities. Of the 120 Spanish driving pairs in this series, it ranks 46th for detour (the average is 24%).

From Barcelona, Málaga lies to the southwest (bearing 230°), and from Málaga, Barcelona lies to the northeast. The straight line reaches Málaga on a bearing of 226°: on a sphere the bearing keeps changing along the way, which is why the shortest route looks slightly curved on a flat map.

Halfway between Barcelona and Málaga

Halfway along the straight line, 385 km (239 mi) from each city, is the point 39.0983° N, 1.2273° W. It falls near Carcelén (Albacete, pop. 483), 7.1 km away. The nearest town of 20,000 people or more is Almansa (Albacete, pop. 24,615), 27.9 km away.

By road, the halfway point is 483 km (300 mi) from each city, near Yecla (Murcia, pop. 36,453), 6.7 km away. The two midpoints are 55.3 km apart: if you want to meet halfway, the one on the road is the useful one.

By plane

A direct flight would take about 1 hr 30 min. That’s an estimate: 30 minutes for takeoff, climb, descent and landing, plus the 770 km straight line at 800 km/h (about 497 mph), a typical airliner cruising speed. Real schedules depend on wind, routing and airports, and not every pair has a direct flight.

The two cities

Barcelona and Málaga sit at almost the same elevation: 13 m (43 ft) and 6 m (20 ft).

Barcelona has 1.7 million people and Málaga 599,063 people (INE population register, January 1, 2025).

Frequently asked questions

How many kilometers is it from Barcelona to Málaga?

770 km (478 mi) in a straight line and 965 km (600 mi) by road on the fastest route (mostly on the A-92 and the AP-7).

How long is the drive from Barcelona to Málaga?

About 10 hr 50 min without stops or traffic, according to OSRM with OpenStreetMap data; with 5 stops of 20 minutes, about 12 hr 30 min.

Where is the halfway point between Barcelona and Málaga?

In a straight line, near Carcelén (Albacete). By road, 483 km from each city, near Yecla (Murcia).

How long is the flight from Barcelona to Málaga?

About 1 hr 30 min, estimated from the straight-line distance (770 km): 30 minutes for takeoff and landing plus the trip at 800 km/h. Real flight times vary with wind and routing.

Which direction is Málaga from Barcelona?

Southwest: the straight line leaves Barcelona on a bearing of 230° (0° is north and 90° is east).

Measure it yourself on the map

The same two cities, already set up in the tools: move the points, get the route by bike or on foot and download the map.

Similar pairs

The ones in this series whose cities are closest to these two, in case another one suits you better.

More distances from Barcelona

All distances

More distances from Málaga

Sources