Madrid to Lisbon distance
Madrid and Lisbon are 505 km (314 mi) apart in a straight line and 627 km (389 mi) apart by road: about 6 hr 45 min of driving without stops, mostly on the A-5 and the A6. Below you’ll find the route map, both halfway points, the bearing, the approximate flight time, the time difference and where every figure comes from.
By the Mapsfera Team
- By road
- 627 km (389 mi)
- Driving time
- 6 hr 45 min
- Straight line
- 505 km (314 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 | 505 km (314 mi) geodesic on the WGS84 ellipsoid |
| By road | 627 km (389 mi) fastest driving route (OSRM) |
| Driving time | 6 hr 45 min no stops, no traffic |
| Road detour | +24% 1.24 times the straight line |
| Average speed | 93 km/h (58 mph) along the route, without stops |
| Bearing | 250° (west) leaving Madrid toward Lisbon |
| Midpoint | 39.6042° N, 6.4541° W near Casar de Cáceres (Cáceres) |
| Halfway by road | Near Santa Amalia (Badajoz) 313 km from each city by road |
| Time difference | 1 hour behind Lisbon compared with Madrid |
| Approximate flight | 1 hr 10 min estimate: 30 min + the straight line at 800 km/h |
| Population | Madrid: 3,506,730 · Lisbon: 517,802 INE population register, January 1, 2025; GeoNames |
Madrid to Lisbon by road
The fastest driving route is 627 km (389 mi) long and takes about 6 hr 45 min without stops or traffic. It runs mostly on the A-5 (397 km), the A6 (158 km), and the A2 (56.3 km).
Of the 627 km, 411 km are in Spain and 213 km are in Portugal. That’s an average of 93 km/h (58 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 3 stops of 20 minutes, the trip takes about 7 hr 45 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 Lisbon are 505 km (314 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.
The road is 24% longer: for every 100 km in a straight line you drive 124. That’s a normal detour between two cities. Of the 10 cross-border pairs in this series, it ranks 7th for detour (the average is 31%).
From Madrid, Lisbon lies to the west (bearing 250°), and from Lisbon, Madrid lies to the northeast. The straight line reaches Lisbon on a bearing of 246°: 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 Madrid and Lisbon
Halfway along the straight line, 253 km (157 mi) from each city, is the point 39.6042° N, 6.4541° W. It falls near Casar de Cáceres (Cáceres, pop. 4,511), 5.7 km away. The nearest town of 20,000 people or more is Cáceres (pop. 96,651), 16.0 km away.
By road, the halfway point is 313 km (195 mi) from each city, near Santa Amalia (Badajoz, pop. 3,881), 6.3 km away. The nearest town of 20,000 people or more is Don Benito (Badajoz, pop. 37,986), 20.5 km away. The two midpoints are 72.6 km apart: if you want to meet halfway, the one on the road is the useful one.
Time difference and flight
Lisbon is 1 hour behind Madrid all year (Western European Time versus Central European Time): when it’s 12:00 in Madrid, it’s 11:00 in Lisbon.
A direct flight would take about 1 hr 10 min. That’s an estimate: 30 minutes for takeoff, climb, descent and landing, plus the 505 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
Madrid has 3.5 million people (INE population register, January 1, 2025) and Lisbon 517,802 people (GeoNames).
Frequently asked questions
How many kilometers is it from Madrid to Lisbon?
505 km (314 mi) in a straight line and 627 km (389 mi) by road on the fastest route (mostly on the A-5 and the A6).
How long is the drive from Madrid to Lisbon?
About 6 hr 45 min without stops or traffic, according to OSRM with OpenStreetMap data; with 3 stops of 20 minutes, about 7 hr 45 min.
Where is the halfway point between Madrid and Lisbon?
In a straight line, near Casar de Cáceres (Cáceres). By road, 313 km from each city, near Santa Amalia (Badajoz).
How long is the flight from Madrid to Lisbon?
About 1 hr 10 min, estimated from the straight-line distance (505 km): 30 minutes for takeoff and landing plus the trip at 800 km/h. Real flight times vary with wind and routing.
What’s the time difference between Madrid and Lisbon?
Lisbon is 1 hour behind Madrid all year: when it’s 12:00 in Madrid, it’s 11:00 in Lisbon.
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 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
- Madrid to Zaragoza 274 km straight line · 315 km by road · 3 hr 30 min
More distances from Lisbon
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)
- Location and population of cities outside Spain and the US · GeoNames (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