San Juan, Puerto Rico → Mexico City, Mexico · ✈ 4h 50min · 🚗 56h 23min
1,874 nautical miles · Time difference: -3h behind · Direction: west
The distance from San Juan to Mexico City is 3,470 km (2,156 miles). The fastest way to travel is by flight. A direct flight takes approximately 4h 50min.
The straight-line distance from San Juan, Puerto Rico to Mexico City, Mexico is approximately 3,470 kilometers (2,156 miles or 1,874 nautical miles). This measurement uses the Haversine formula, computing the great-circle distance — the shortest path between two points on Earth's surface.
Mexico City is located west of San Juan. San Juan is in North America, in the San Juan region of Puerto Rico, while Mexico City is in North America, in Central, Mexico. Both cities are in North America.
| Mode | Distance | Est. Time | Best For |
|---|---|---|---|
| ✈️ Flight | 3,470 km | ~4h 50min | Best option for speed |
| 🚗 Drive | ~4,511 km | ~56h 23min | Long journey, consider stops |
Our recommendation: flight is typically the best way to travel from San Juan to Mexico City. For 3,470 km, flying saves significant time and is usually the most practical choice.
Based on an estimated road distance of 4,511 km, fuel costs for driving from San Juan to Mexico City are approximately $361–$677 USD (at $0.08–$0.15 per km, depending on vehicle efficiency and local fuel prices). Additional costs may include tolls, parking, and accommodation for longer trips.
San Juan sits at 18.4655°N, 66.1057°W, while Mexico City is located at 19.4326°N, 99.1332°W. The initial compass bearing from San Juan to Mexico City is 277° (W), so a great-circle flight path leaves San Juan heading roughly W. Because the Earth is curved, the actual heading shifts gradually along the route — pilots and navigation systems update it continuously instead of holding a single fixed compass bearing.
The latitude difference is 0.97° and the longitude difference is 33.03°. Each degree of latitude represents about 111 km, which is one reason cross-latitude routes feel longer even when the map looks similar to east–west journeys.
The geographic midpoint between San Juan and Mexico City is approximately 19.7027°N, 82.5702°W. This is the great-circle halfway position — the spot where you would be exactly 1,735 km from each city. On long-haul flights this point usually falls over open ocean or remote terrain, which is why in-flight maps often look "empty" mid-route.
Mexico City is roughly 3 hours behind San Juan. When it is 09:00 in San Juan, it is approximately 06:00 in Mexico City. A 3-hour shift is small enough that most travelers adjust within a day. Daylight saving time can shift the offset by an hour during certain months, so confirm the exact difference for your specific travel dates.
San Juan is a major city in Puerto Rico with a population of approximately 318,441. Located in the San Juan region, it is an important hub in North America. Despite its smaller size, San Juan plays an important regional role in Puerto Rico and attracts visitors year-round.
→ See all distances from San Juan
Mexico City is a notable city in Mexico with a population of approximately 9,209,944. Situated in the Central region, it serves as a key destination in North America. Mexico City is one of Mexico's largest cities, offering major airport hubs, extensive public transport, and a wide range of accommodation options.
→ See all distances from Mexico City
3,470 km is a long-distance route that typically requires air travel. This is comparable to spanning a large continent. For context, London to Dubai is about 5,500 km.
The 3,470 km between San Juan and Mexico City means a beam of light could travel this distance in approximately 11.6 milliseconds — but a flight still takes 4h 50min.
The straight-line distance from San Juan to Mexico City is approximately 3,470 kilometers (2,156 miles, 1,874 nautical miles).
A direct flight takes approximately 4h 50min, based on 800 km/h cruising speed plus 30 minutes for takeoff and landing.
Estimated driving time is approximately 56h 23min, based on 80 km/h average speed and roads being ~30% longer than straight-line distance.
Mexico City is approximately -3h behind compared to San Juan.
The estimated road distance is approximately 4,511 km, which is about 30% longer than the 3,470 km straight-line distance.
📍 Data: Coordinates from OpenStreetMap contributors. Distances calculated using the Haversine formula. Travel times are estimates only. Last verified: April 21, 2026.