background

Marrakesh to Tangier Trains

15
Oct
Return

Departure schedule

Morning departures

Fastest trip5 hrs 42 min
Longest trip10 hrs 6 min
Earliest02:50
Latest11:35
Departures12

Afternoon departures

Fastest trip5 hrs 42 min
Longest trip8 hrs 30 min
Earliest12:35
Latest15:35
Departures5

Travelling from Marrakesh to Tangier by Train

Planning a trip between two cities as different as Marrakesh and Tangier, and trying to find the best way to link them for your next trip? ONCF operates direct trains covering the roughly 580 km distance in as little as 4 hours 20 minutes, including Al Boraq high-speed service connecting through Kenitra and a stop in Fez along certain routes, with tickets typically ranging from €15 to €45 depending on class and how far in advance you book. Ryanair also flies this route, offering 4 nonstop flights weekly out of Marrakech, with the shortest flight time at 1 hour 15 minutes and direct flights available on Tuesday, Wednesday, Friday, and Saturday; the cheapest one-way flight recently found was €17, and January is typically the cheapest month to fly, making it an affordable choice for travelers who'd rather not track train schedules. For comparison, driving takes around 6 to 7 hours by car, and buses cover the route in roughly 8 to 9 hours at a lower price than the train, with every day departures from most operators giving plenty of flexibility whether you're travelling midweek or over a weekend.

Marrakesh to Tangier trains information

Marrakesh
Marrakech Train Station, MoroccoMarrakesh Bus Station, MoroccoMarrakesh CTM Bus Station, Morocco
511 km
Tangier
Tanger Ville, MoroccoTangier Bus Station, Morocco
5 h 42 m
Shortest travel time
$41
Lowest train ticket cost
17
Avg. daily departures
02:50
Earliest departure
15:35
Latest departure

Marrakesh, often called the ochre-colored city, welcomes around 3 million tourists each year and is known for its bustling markets, the labyrinth of narrow alleyways dividing its artisan quarters, and landmarks like the Bahia Palace, with its intricate tilework and peaceful courtyards, and the Ben Youssef Madrasa, known for geometric wood carvings and reflective courtyards — the medina itself is a UNESCO World Heritage Site, and Jemaa el-Fnaa Square transforms into an open-air food market at night.

Popular questions about trains from Marrakesh to Tangier

Yes — Tangier Ibn Battouta Airport remains the main gateway for flights arriving from Marrakech, offering a quick option for travelers who'd rather skip the longer rak-to-tanger overland journey, especially around busy travel months like Nov or Aug.