AirOrSeaTravel is an independent guide. Bookings on this page are completed on the provider’s own website. How we are funded.

AirOrSeaTravel — find your way there
Marrakesh · Morocco

Trains to Marrakesh

Stations on record, the cities within reach by rail, and estimated times from distance.

Wikidata lists 1 railway station in Marrakesh: Marrakesh railway station. Which one a service uses is set by the operator, so check the station name on the ticket, not just the city.

Rail routes from Marrakesh

Trains from Marrakesh: distances and estimated journey times
RouteCountryDistanceEstimated time
Marrakesh to SafiMorocco138 km (86 mi)about 1 h 4 min
Marrakesh to KhouribgaMorocco173 km (107 mi)about 1 h 19 min
Marrakesh to AgadirMorocco203 km (126 mi)about 1 h 34 min
Marrakesh to CasablancaMorocco220 km (137 mi)about 1 h 41 min
Marrakesh to TemaraMorocco275 km (171 mi)about 2 h 6 min
Marrakesh to RabatMorocco286 km (178 mi)about 2 h 12 min
Marrakesh to SaléMorocco291 km (181 mi)about 2 h 14 min
Marrakesh to KenitraMorocco321 km (199 mi)about 2 h 28 min
Marrakesh to MeknesMorocco340 km (211 mi)about 2 h 36 min
Marrakesh to FesMorocco387 km (240 mi)about 2 h 58 min
Marrakesh to TazaMorocco470 km (292 mi)about 3 h 36 min
Marrakesh to TangierMorocco503 km (312 mi)about 3 h 51 min
Marrakesh to OujdaMorocco660 km (410 mi)about 5 h 4 min

Distances are straight-line; road and rail routes run about 15–25% longer. Times are estimates from distance and typical speeds, not timetables.

Where to buy train tickets

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.

Common questions

Which railway stations does Marrakesh have?

Marrakesh railway station.

How are the journey times on this page worked out?

From straight-line distance and typical speeds for each mode, so they are estimates for planning, not timetables. Road and rail routes run 15–25% longer than the straight line.

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.