Madrid to Pamplona distance
Madrid and Pamplona are 316 km (197 mi) apart in a straight line and 387 km (241 mi) apart by road: about 4 hr 45 min of driving without stops, mostly on the A-2 and the CL-101. Below you’ll find the route map, both halfway points, the bearing and where every figure comes from.
By the Mapsfera Team
- By road
- 387 km (241 mi)
- Driving time
- 4 hr 45 min
- Straight line
- 316 km (197 mi)
- Driving route
- Straight line
- Straight-line midpoint
- Halfway by road
Lambert azimuthal equal-area projection centered on the midpoint. Route: FOSSGIS OSRM with data © OpenStreetMap contributors, calculated on October 31, 2026; simplified line.
The figures
| Figure | Value |
|---|---|
| Straight line | 316 km (197 mi) geodesic on the WGS84 ellipsoid |
| By road | 387 km (241 mi) fastest driving route (OSRM) |
| Driving time | 4 hr 45 min no stops, no traffic |
| Road detour | +22% 1.22 times the straight line |
| Average speed | 81 km/h (51 mph) along the route, without stops |
| Bearing | 32° (northeast) leaving Madrid toward Pamplona |
| Midpoint | 41.6235° N, 2.6872° W near Tardelcuende (Soria) |
| Halfway by road | Near Almazán (Soria) 194 km from each city by road |
| Time difference | None both share the same time |
| Elevation | Madrid: 645 m (2,116 ft) · Pamplona: 440 m (1,444 ft) IGN (Spain) |
| Population | Madrid: 3,506,730 · Pamplona: 209,094 INE population register, January 1, 2025 |
Madrid to Pamplona by road
The fastest driving route is 387 km (241 mi) long and takes about 4 hr 45 min without stops or traffic. It runs mostly on the A-2 (138 km), the CL-101 (70.5 km), and the AP-15 (69.0 km).
It goes through 5 autonomous communities: the Community of Madrid (40.4 km), Castilla–La Mancha (99.3 km), Castile and León (140 km), La Rioja (9.5 km), and Navarre (97.6 km). That’s an average of 81 km/h (51 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 5 hr 25 min. 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, Madrid and Pamplona are 316 km (197 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 40 Spanish pairs in this series, it ranks 17th for detour (the average is 24%).
From Madrid, Pamplona lies to the northeast (bearing 32°), and from Pamplona, Madrid lies to the southwest.
Halfway between Madrid and Pamplona
Halfway along the straight line, 158 km (98.3 mi) from each city, is the point 41.6235° N, 2.6872° W. It falls near Tardelcuende (Soria, pop. 414), 4.8 km away. The nearest town of 20,000 people or more is Soria (pop. 41,025), 24.2 km away.
By road, the halfway point is 194 km (120 mi) from each city, near Almazán (Soria, pop. 5,544), 3.7 km away. The nearest town of 20,000 people or more is Soria (pop. 41,025), 28.9 km away. The two midpoints are 20.9 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
Madrid sits at 645 m (2,116 ft) and Pamplona at 440 m (1,444 ft), 205 m (673 ft) lower.
Madrid has 3.5 million people and Pamplona 209,094 people (INE population register, January 1, 2025).
Frequently asked questions
How many kilometers is it from Madrid to Pamplona?
316 km (197 mi) in a straight line and 387 km (241 mi) by road on the fastest route (mostly on the A-2 and the CL-101).
How long is the drive from Madrid to Pamplona?
About 4 hr 45 min without stops or traffic, according to OSRM with OpenStreetMap data; with 2 stops of 20 minutes, about 5 hr 25 min.
Where is the halfway point between Madrid and Pamplona?
In a straight line, near Tardelcuende (Soria). By road, 194 km from each city, near Almazán (Soria).
Which city is higher, Madrid or Pamplona?
Madrid, at 645 m (2,116 ft); Pamplona sits at 440 m (1,444 ft).
Which direction is Pamplona from Madrid?
Northeast: the straight line leaves Madrid on a bearing of 32° (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.
- Distance between two points Measure the distance between any two places or points on the map, in miles or kilometers.
- Straight line vs driving distance Compare the as-the-crow-flies distance with the real driving distance and see how much the road adds.
- Halfway point Find the exact halfway point between two places and see it on the map, ready to share.
More distances from Madrid
All distances- Madrid to Lisbon 505 km straight line · 627 km by road · 6 hr 45 min
- Madrid to Porto 423 km straight line · 555 km by road · 6 hr 20 min
- Madrid to Paris 1,052 km straight line · 1,268 km by road · 13 hr 25 min
- Madrid to Barcelona 506 km straight line · 617 km by road · 6 hr 50 min
- Madrid to Valencia 302 km straight line · 355 km by road · 3 hr 55 min
- Madrid to Seville 391 km straight line · 534 km by road · 5 hr 55 min
Sources
- Driving route: FOSSGIS OSRM, car profile (calculated on October 31, 2026) · FOSSGIS e.V.
- Roads, streets and places · © OpenStreetMap contributors (ODbL)
- Straight line, bearings and midpoint (geodesics on the WGS84 ellipsoid) · GeographicLib (C. F. F. Karney)
- Location and elevation of Spanish cities (gazetteer and DEM) · Instituto Geográfico Nacional (CC BY 4.0)
- Population register, January 1, 2025 · INE (Spain)
- Places near the midpoints: Mapsfera gazetteer (GeoNames, INE, IGN and Census) · Mapsfera
- Time zones (timezone-boundary-builder outlines and the IANA database) · © OpenStreetMap contributors (ODbL)
- Map: provinces (IGN), states (US Census Bureau) and countries (Natural Earth) · IGN, Census and Natural Earth
- Methodology