How far is Rabat from the sea?

Rabat is on the coast: the nearest shoreline is 1.6 km (1 mile) away in a straight line. The nearest stretch of coast is in Rabat - Salé - Zemmour - Zaer, Morocco.

To the coast

1.6 km

1 mile · straight line

Nearest land border

247 km

with Spain

Setting

On the coast

768th farthest from the sea of 861 cities

RabatNearest 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.

Rabat at a glance

Coordinates
34.0132° N, 6.8326° W · Plot these coordinates
Region
Rabat - Salé - Zemmour - Zaer, Morocco
Distance to the coast
1.6 km (1 mile), in a straight line
Nearest point on the coast
34.0275° N, 6.8279° W (Rabat - Salé - Zemmour - Zaer, Morocco)
Nearest land border
247 km (153 miles), with Spain
Among Morocco's cities
2nd farthest from the sea of the 4 cities measured

Nearby cities and the coast

CityCountryTo the coast
CasablancaMorocco1.5 km (0.9 miles)
FesMorocco133 km (83 miles)
TangierMorocco1.3 km (0.8 miles)
MálagaSpain0.4 km (0.2 miles)
SevilleSpain66 km (41 miles)
LisbonPortugal2.2 km (1.3 miles)

Nearest big cities

The cities and towns around each of the big cities nearest to Rabat. Distances are straight lines.

Tools for Rabat

Plot Rabat's coordinates on a map

Paste a latitude and longitude and see it on the map.

Open in workspace
Height above sea level in Rabat

Height above sea level, or a profile along a line.

Open in workspace
Administrative areas of Rabat

Country, region and district for any point.

Open in workspace
Places near Rabat

Find the places within a radius you choose.

Open in workspace
Distance from Rabat to the nearest border

Straight-line distance to the nearest border.

Open in workspace
Draw lines and shapes over Rabat

Markers, lines, shapes and labels. Free, no sign-up.

Open in workspace
Find the acreage of a plot in Rabat

Trace a field or plot and read its area in acres or hectares.

Open in workspace

Explore Morocco

Questions

How far is Rabat from the sea?

Rabat is on the coast: the nearest shoreline is 1.6 km (1 mile) away in a straight line. The nearest stretch of coast is in Rabat - Salé - Zemmour - Zaer, Morocco.

Is that the driving distance?

No. 1.6 km (1 mile) 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 Rabat from the nearest border?

Rabat is 247 km (153 miles) from the nearest land border, with Spain, in a straight line.

Where in Rabat is this measured from?

From the city's centre point (34.0132° N, 6.8326° 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.