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
56th farthest from the sea of 182 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
- 2nd farthest from the sea of the 4 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) |
| San Antonio | United States | 194 km (121 miles) |
| Houston | United States | 34 km (21 miles) |
| Austin | United States | 200 km (124 miles) |
| Fort Worth | United States | 399 km (248 miles) |
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 8, 2026 with the same coastline data as the distance to coastline calculator. All distances are straight lines over the Earth's surface.