Skip to content
Distance between cities

Madrid to Guadalajara distance

Madrid and Guadalajara are 50.4 km (31.3 mi) apart in a straight line and 56.6 km (35.2 mi) apart by road: about 44 min of driving without stops, mostly on the A-2 and the M-23. 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 Madrid to Guadalajara: the straight line and the driving route
By road
56.6 km (35.2 mi)
Driving time
44 min
Straight line
50.4 km (31.3 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 50.4 km (31.3 mi) geodesic on the WGS84 ellipsoid
By road 56.6 km (35.2 mi) fastest driving route (OSRM)
Driving time 44 min no stops, no traffic
Road detour +12% 1.12 times the straight line
Average speed 76 km/h (47 mph) along the route, without stops
Bearing 62° (northeast) leaving Madrid toward Guadalajara
Midpoint 40.5266° N, 3.4301° W near Daganzo de Arriba (Madrid)
Halfway by road Near Alcalá de Henares (Madrid) 28.3 km from each city by road
Time difference None both share the same time
Elevation Madrid: 645 m (2,116 ft) · Guadalajara: 692 m (2,270 ft) IGN (Spain)
Population Madrid: 3,506,730 · Guadalajara: 92,834 INE population register, January 1, 2025

Madrid to Guadalajara by road

The fastest driving route is 56.6 km (35.2 mi) long and takes about 44 min without stops or traffic. It runs mostly on the A-2 (42.0 km), the M-23 (4.7 km), and the M-40 (3.0 km).

It goes through 2 autonomous communities: the Community of Madrid (40.4 km) and Castilla–La Mancha (16.2 km). That’s an average of 76 km/h (47 mph), and at under two hours you can do it without stopping. 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 Guadalajara are 50.4 km (31.3 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.

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

From Madrid, Guadalajara lies to the northeast (bearing 62°), and from Guadalajara, Madrid lies to the southwest.

Halfway between Madrid and Guadalajara

Halfway along the straight line, 25.2 km (15.7 mi) from each city, is the point 40.5266° N, 3.4301° W. It falls near Daganzo de Arriba (Madrid, pop. 10,764), 3.1 km away. The nearest town of 20,000 people or more is Alcalá de Henares (Madrid, pop. 203,208), 7.4 km away.

By road, the halfway point is 28.3 km (17.6 mi) from each city, near Alcalá de Henares (Madrid, pop. 203,208), 3.2 km away. The two midpoints almost coincide (5.6 km apart), because the road doesn’t stray far from the straight line.

The two cities

Madrid sits at 645 m (2,116 ft) and Guadalajara at 692 m (2,270 ft), 47 m (154 ft) higher.

Madrid has 3.5 million people and Guadalajara 92,834 people (INE population register, January 1, 2025).

Frequently asked questions

How many kilometers is it from Madrid to Guadalajara?

50.4 km (31.3 mi) in a straight line and 56.6 km (35.2 mi) by road on the fastest route (mostly on the A-2 and the M-23).

How long is the drive from Madrid to Guadalajara?

About 44 min without stops or traffic, according to OSRM with OpenStreetMap data.

Where is the halfway point between Madrid and Guadalajara?

In a straight line, near Daganzo de Arriba (Madrid). By road, 28.3 km from each city, near Alcalá de Henares (Madrid).

Which direction is Guadalajara from Madrid?

Northeast: the straight line leaves Madrid on a bearing of 62° (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 Madrid

All distances

Sources