background

Tangier to Marrakesh Trains

27
Oct
Return

Departure Schedule

Morning departures

Fastest trip5 hrs 37 min
Longest trip9 hrs 57 min
Earliest05:45
Latest11:50
Departures11

Afternoon departures

Fastest trip5 hrs 37 min
Longest trip9 hrs 47 min
Earliest12:00
Latest17:00
Departures8

Evening departures

Fastest trip5 hrs 37 min
Longest trip5 hrs 37 min
Earliest18:00
Latest19:00
Departures2

Travelling from Tangier to Marrakesh by Train

This guide covers everything needed to plan the Tangier-to-Marrakesh 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 580 km by rail or 498 km by air. ONCF trains run hourly between Tangier and Marrakesh Station, with the earliest train departing Tangier at 7:00 AM and the last leaving at 10:00 PM. All train services require a transfer, usually in Casablanca, so traveling from Tanger Ville to Marrakech takes about 5 hours 51 minutes, or as little as 4 hours 20 minutes on the best Al Boraq high-speed connections through Kenitra. Tickets typically range from €15 to €45 depending on class and how far ahead you book. Ryanair and Royal Air Maroc fly this route from Tangier Ibn Battouta Airport (TNG) to Marrakech (RAK) in about 1.3 hours, with the cheapest flights starting at US$21 and January usually the cheapest month. Buses run by operators such as CTM cost between €17.99 and €27.89 and take about 8 to 9 hours, while driving takes around 6 to 7 hours.

Tangier to Marrakesh trains Information

Tangier
Tanger Ville, MoroccoTangier Bus Station, Morocco
502 km
Marrakesh
Marrakech Train Station, MoroccoMarrakesh Bus Station, MoroccoMarrakesh CTM Bus Station, Morocco
5 h 37 m
Shortest travel time:
$42
Lowest ticket cost:
21
Avg. daily departures:
05:45
Earliest departure:
19:00
Latest departure:

Tangier, where the Atlantic Ocean meets the Mediterranean Sea at Cape Spartel, operated as an International Zone from 1923 to 1956 and has a history as a hub for expatriate bohemians. Its cosmopolitan vibe blends Spanish, French, Arabic, and Amazigh influences, and the Kasbah offers sweeping views of the Strait of Gibraltar. Marrakesh, founded in the 11th century by the Almoravid dynasty, served as the seat of royal power for southern Morocco and is also known as the "Red City" or "Ochre City." The city has strong ties to Amazigh heritage and classical Arab-Andalusian craftsmanship, and its vibrant, theatrical atmosphere peaks at Jemaa el-Fnaa Square after dark. Its medina, a UNESCO World Heritage Site, welcomes around 3 million tourists each year. Both cities distinctly reflect different historical trajectories, which is what makes pairing them so rewarding. Marrakech's summer highs reach 45°C while Tangier averages 29°C, so spring and autumn are the best seasons for both.

Popular questions about trains from Tangier to Marrakesh

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.