AirOrSeaTravel — explore, book, travel, more
TangierRabat

Tangier to Rabat by train

Rabat lies 217 km (135 mi) south-west of Tangier, in the same time zone. What the numbers say about getting there.

By rail the journey is about 1 h 40 min at the speeds typical of Morocco rail, over roughly 264 km (164 mi) of track; the operator’s timetable is the number that counts.

TangierRabat

Open Rabat in Google Maps

The two ends, side by side
TangierRabat
CountryMoroccoMorocco
Population1 million1.7 million
Elevation20 m (66 ft)46 m (151 ft)
Time nowUTC+1 (Africa/Casablanca)UTC+1 (Africa/Casablanca)
Stations on recordnone listedRabat-Agdal, Rabat-City train station

Where to book trains from Tangier to Rabat

OmioCompares trains, buses and some flights across European operators in one search.Explore train options on Omio (opens www.omio.com in a new tab)
Every link above leaves this site.

We take no bookings for these providers and hold no reservation with them. The provider you choose handles payment, confirmation, changes and refunds. How that works.

Staying in Rabat

Our booking partner lists 763 places to stay in Rabat. Of the 348 with a star rating, the largest group is 3-star (168), and 18 are five-star. Across 186 properties with at least 50 reviews, the average guest score is 8.4 out of 10. Guests have left 105,553 reviews in total.

Book a hotel in Rabat

Live rooms and prices from our booking partner, booked and paid for here. Free cancellation is marked where it applies.

Common questions

How far is Rabat from Tangier?

217 km (135 mi) in a straight line, south-west of Tangier; by road roughly 264 km (164 mi).

How long does it take to get from Tangier to Rabat by train?

About 1 h 40 min, estimated from distance and typical speeds. Timetables and traffic decide the real figure.

Is there a time difference between Tangier and Rabat?

No, both are on Africa/Casablanca at the moment.

Where can I stay in Rabat?

Our booking partner lists 763 places to stay in Rabat, bookable on this site.

Where these facts come from

  • GeoNames (CC BY 4.0): population, elevation, time zone, postal codes
  • Wikidata (CC0): area, sister cities, visitor numbers, heritage listings, stations and ports
  • OurAirports (public domain): airports, runways
  • Natural Earth (public domain): map outlines

Data compiled 14 September 2026. Hotel and hostel figures are from our booking partner’s catalogue on that date. Journey times on this page are estimates from distance, not timetables; check the operator before you rely on one.