background

Marrakesh to Tangier Trains

22
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

This guide covers everything needed to plan the Marrakesh-to-Tangier leg of a Morocco trip: train, flight, bus, and driving options with real prices and travel times, plus what to see once you arrive. It's built for travelers choosing between a fast rail connection and a slower, cheaper overland route, whether the priority is speed, budget, or scenery. Knowing the real numbers matters because the wrong choice can add hours to a journey of roughly 500 km by air or 580 km by rail. ONCF operates trains covering the distance in as little as 4 hours 20 minutes, including the Al Boraq high-speed service through Kenitra, though the trip usually involves changing trains in Casablanca. Tickets typically range from €15 to €45 depending on class and how far ahead you book, and the ride offers scenic landscapes through central and northern Morocco. For cheap flights, Ryanair and Royal Air Maroc are the popular airlines that fly this route, and direct flights from Marrakech (RAK) to Tangier Ibn Battouta Airport (TNG) take about 1.3 hours over a flight distance of 498 km, with Ryanair operating 4 nonstop flights weekly on Tuesday, Wednesday, Friday, and Saturday.

Marrakesh to Tangier trains Information

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

The cheapest one-way flight tickets recently found were €17, January is typically the cheapest month, and the best time to book flights is around 40 days in advance, since demand pushes fares up on weekends and in busy months like October and August. Buses are run by operators such as CTM and operate multiple trips daily with short breaks every few hours; ticket prices range from €17.99 to €27.89, and premium buses may have onboard toilets and fewer stops for extra comfort, though travelers should be aware of possible traffic delays on the 8 to 9 hour ride. Driving takes around 6 to 7 hours. Marrakesh, known for ochre-colored architecture and bustling markets, welcomes around 3 million tourists each year, and its medina is a UNESCO World Heritage Site, a labyrinth of narrow alleyways divided into artisan quarters. Tangier, where the Atlantic Ocean meets the Mediterranean Sea at Cape Spartel, has a Mediterranean climate with average highs of 29°C and offers sweeping views of the Strait of Gibraltar from the Kasbah, with Cafe Hafa, Grand Socco, and the Tangier American Legation Museum rounding out the highlights.

Popular questions about trains from Marrakesh to Tangier

Extensive Network

One platform, 34+ destinations, 700+ routes around the globe.

Convenient Booking

We speak your language and offer over 20 payment methods.

Excellent Rating

Read authentic Rail Ninja reviews and see what our travelers say about us.

Flexible Planning

You can conveniently book train tickets for up to a year in advance!

Real Human Support

Need a hand? Contact our customer support before or during your trip.