Skip to content
Distance between cities

Barcelona to Pamplona distance

Barcelona and Pamplona are 354 km (220 mi) apart in a straight line and 431 km (268 mi) apart by road: about 5 hr 20 min of driving without stops, mostly on the A-2 and the A-22. Below you’ll find the route map, both halfway points, the bearing and where every figure comes from.

By the All Map Tools Team

Map from Barcelona to Pamplona: the straight line and the driving route
By road
431 km (268 mi)
Driving time
5 hr 20 min
Straight line
354 km (220 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 354 km (220 mi) geodesic on the WGS84 ellipsoid
By road 431 km (268 mi) fastest driving route (OSRM)
Driving time 5 hr 20 min no stops, no traffic
Road detour +22% 1.22 times the straight line
Average speed 81 km/h (50 mph) along the route, without stops
Bearing 298° (northwest) leaving Barcelona toward Pamplona
Midpoint 42.1164° N, 0.2881° E near Olvena (Huesca)
Halfway by road In Castejón del Puente (Huesca) 215 km from each city by road
Time difference None both share the same time
Elevation Barcelona: 13 m (43 ft) · Pamplona: 440 m (1,444 ft) IGN (Spain)
Population Barcelona: 1,731,649 · Pamplona: 209,094 INE population register, January 1, 2025

Barcelona to Pamplona by road

The fastest driving route is 431 km (268 mi) long and takes about 5 hr 20 min without stops or traffic. It runs mostly on the A-2 (109 km), the A-22 (106 km), and the A-132 (69.5 km).

It goes through 3 autonomous communities: Catalonia (184 km), Aragon (195 km), and Navarre (52.0 km). That’s an average of 81 km/h (50 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 2 stops of 20 minutes, the trip takes about 6 hr. 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 Pamplona are 354 km (220 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.

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

From Barcelona, Pamplona lies to the northwest (bearing 298°), and from Pamplona, Barcelona lies to the southeast. The straight line reaches Pamplona on a bearing of 295°: 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 Pamplona

Halfway along the straight line, 177 km (110 mi) from each city, is the point 42.1164° N, 0.2881° E. It falls near Olvena (Huesca, pop. 63), 2.5 km away. The nearest town of 20,000 people or more is Huesca (pop. 55,454), 57.7 km away.

By road, the halfway point is 215 km (134 mi) from each city, in Castejón del Puente (Huesca, pop. 359). The nearest town of 20,000 people or more is Huesca (pop. 55,454), 50.9 km away. The two midpoints are 19.8 km apart: if you want to meet halfway, the one on the road is the useful one.

By plane

No flight time is given: under 500 km (311 miles) in a straight line, time at the airport outweighs time in the air.

The two cities

Barcelona sits at 13 m (43 ft) and Pamplona at 440 m (1,444 ft), 427 m (1,401 ft) higher.

Barcelona has 1.7 million people and Pamplona 209,094 people (INE population register, January 1, 2025).

Frequently asked questions

How many kilometers is it from Barcelona to Pamplona?

354 km (220 mi) in a straight line and 431 km (268 mi) by road on the fastest route (mostly on the A-2 and the A-22).

How long is the drive from Barcelona to Pamplona?

About 5 hr 20 min without stops or traffic, according to OSRM with OpenStreetMap data; with 2 stops of 20 minutes, about 6 hr.

Where is the halfway point between Barcelona and Pamplona?

In a straight line, near Olvena (Huesca). By road, 215 km from each city, in Castejón del Puente (Huesca).

Which city is higher, Barcelona or Pamplona?

Pamplona, at 440 m (1,444 ft); Barcelona sits at 13 m (43 ft).

Which direction is Pamplona from Barcelona?

Northwest: the straight line leaves Barcelona on a bearing of 298° (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 Pamplona

Sources