How far is Mexico City from the sea?
Mexico City lies well inland, 245 km (152 miles) from the nearest coastline in a straight line. The nearest stretch of coast is in Veracruz, Mexico.
To the coast
245 km
152 miles · straight line
Nearest land border
731 km
with United States
Setting
Far inland
349th farthest from the sea of 861 cities
Mexico CityNearest point on the coast
How far are you from the sea?
Measure from where you are standing. On a phone this uses GPS, so the answer is for your exact spot, not the city centre.
Mexico City at a glance
- Coordinates
- 19.4285° N, 99.1277° W
- Region
- Distrito Federal, Mexico
- Distance to the coast
- 245 km (152 miles), in a straight line
- Nearest point on the coast
- 20.6417° N, 97.1654° W (Veracruz, Mexico)
- Nearest land border
- 731 km (454 miles), with United States
- Among Mexico's cities
- 5th farthest from the sea of the 10 cities measured
Nearby cities and the coast
| City | Country | To the coast |
|---|---|---|
| Puebla | Mexico | 199 km (124 miles) |
| Santiago de Querétaro | Mexico | 305 km (190 miles) |
| León de los Aldama | Mexico | 344 km (214 miles) |
| Zapopan | Mexico | 193 km (120 miles) |
| Monterrey | Mexico | 253 km (157 miles) |
| Brownsville | United States | 35 km (22 miles) |
Explore Mexico
Questions
How far is Mexico City from the sea?
Mexico City lies well inland, 245 km (152 miles) from the nearest coastline in a straight line. The nearest stretch of coast is in Veracruz, Mexico.
Is that the driving distance?
No. 245 km (152 miles) is the straight-line distance from the city centre to the nearest point on the shore. The drive to a beach is longer, often much longer, and depends on the roads.
How far is Mexico City from the nearest border?
Mexico City is 731 km (454 miles) from the nearest land border, with United States, in a straight line.
Where in Mexico City is this measured from?
From the city's centre point (19.4285° N, 99.1277° W). A large city spreads out, so some neighbourhoods are closer to the sea than this and some farther. For an exact figure from where you are, use your own location.
Measured by MapGO on October 19, 2026 with the same coastline data as the distance to coastline calculator. All distances are straight lines over the Earth's surface.