Private tours across Morocco · English & Spanish-speaking driversWhatsApp +212 662 864041 · Free quote within a few hours

Tangier to Marrakech: Train, Drive or Private Desert Tour?

Going from Tangier to Marrakech? Also, you have three main options: the train, a direct drive, or a private tour through Chefchaouen, Fes and the Sahara. First, the train is fast and cheap. Then, the drive is flexible. Finally, a private tour turns the journey into the highlight of your trip. This guide compares all three.

Quick answer: by train, plan about 5.5 to 6 hours with one change in Casablanca. By road, the direct drive is about 580 km, or around 6 hours without stops. However, the best way to see Morocco is a 5-day or longer private tour that links Tangier to Marrakech through the desert.

Tangier to Marrakech: Your Options

OptionTimeBest for
Train (Al Boraq + classic train)About 5.5 to 6 hoursFast and budget-friendly
Overnight trainAbout 10 hoursSaving a hotel night
Direct driveAbout 6 hours without stopsFlexibility
Private tour via Fes and the Sahara5 days or moreSeeing the best of Morocco on the way

By Train

The high-speed Al Boraq links Tangier and Casablanca in about 2 hours 10 minutes. Then, a classic train continues to Marrakech in roughly 3 hours. As a result, the whole trip takes about 5.5 to 6 hours with the change. In addition, an overnight train with sleeper berths runs between Tangier and Marrakech. Check times and book on ONCF, because schedules change.

Want to do this trip?
See our selection: Tours From Tangier

Good to know: a new high-speed line from Kenitra to Marrakech is under construction, and it should cut about two hours from this trip in the coming years.

By Road

The direct drive follows the motorway south via Rabat and Casablanca, about 580 km in total. In addition, it takes around 6 hours without stops. However, the motorway route skips the most beautiful places. Therefore, most travelers prefer to take more time.

The Scenic Way: A Private Tour Through the Sahara

Instead of a long transfer, you can travel slowly and see the blue town of Chefchaouen, the medina of Fes and the Erg Chebbi dunes. For example, our 5-day desert tour from Tangier to Marrakech via Merzouga covers the essentials. For more time, browse all our tours from Tangier.

  • Chefchaouen: the blue town of the Rif. Read our Chefchaouen guide.
  • Fes: the old medina, a UNESCO World Heritage Site.
  • The Sahara: a camel trek and a night in a desert camp near Merzouga.
  • The kasbah road: Todra Gorge, the Dades Valley and Ait Ben Haddou.

Arriving from Spain

Many travelers reach Tangier by ferry. Moreover, the fast ferry from Tarifa arrives at Tangier Ville port in about one hour. Meanwhile, ferries from Algeciras usually arrive at Tanger Med, about 45 km east of the city, in around 1.5 hours. For the full guide, read our page on Morocco tours from Spain.

Tangier to Marrakech Distance and Travel Time

Marrakech is about 580 to 600 km from Tangier by motorway, at the opposite end of the country. Here is how the options compare:

OptionApproximate timeNotes
Train: Al Boraq to Casablanca + Al Atlas to MarrakechAbout 5.5 hoursFastest public option; one change at Casa Voyageurs
Overnight sleeper trainAbout 9 to 10 hoursSaves a hotel night; couchettes available
Bus (CTM)About 9 to 10 hoursCheapest, but long
FlightAbout 1.5 hours in the air, when availableAdd airport transfers and check-in
Private car by motorwayAbout 7 to 8 hoursDoor to door, best split with a night in Rabat
Private tour via Chefchaouen, Fes and the Sahara5 to 10 daysThe route most travellers choose

Check timetables on the official ONCF website before you travel.

Tangier to Marrakech by Train

Thanks to the Al Boraq high-speed line, the train is now the quickest way overland. You ride Al Boraq from Tangier Ville to Casa Voyageurs in about two hours, then change to a classic Al Atlas train to Marrakech. Book a single ticket that includes both trains, choose first class in high season, and leave enough time for the connection. There is also an overnight train with couchettes, a practical choice if you arrive late in Tangier by ferry and want to wake up in Marrakech.

Arriving by Ferry and Continuing South

Ferries from Tarifa usually arrive at Tangier City Port, close to Tangier Ville station. Most ferries from Algeciras arrive at Tanger Med, about an hour east of the city. Your private driver can meet you at either port and start the journey immediately. Read our page on Morocco tours from Spain.

Splitting the Drive: Rabat or Casablanca

If you prefer to travel by private car, eight hours in one day is tiring. A night in Rabat, with the Kasbah of the Udayas and the Hassan Tower, or a stop at the Hassan II Mosque in Casablanca makes the journey much more pleasant. Read things to do in Rabat and things to do in Casablanca.

The Best Way: From Tangier to Marrakech through the Sahara

For most travellers, the journey from Tangier to Marrakech is the trip itself. A private tour crosses the Rif to Chefchaouen, continues to Fes, climbs the Middle Atlas to the dunes of Merzouga and returns west through the Todra Gorge, the Dades Valley and Ait Ben Haddou. Compare the 5-day desert tour from Tangier to Marrakech, the 6-day tour via Fes, the 7-day Sahara desert tour and the 10-day grand tour from Tangier. All routes are on our tours from Tangier page.

Arriving in Marrakech

Marrakech station is in Gueliz, 10 to 15 minutes by taxi from the medina. Taxis stop at the nearest gate of the old city, and your riad usually sends someone to help with luggage. Read things to do in Marrakech and our 3 days in Marrakech itinerary.

Which Option Should You Choose?

Choose the day train for speed and the night train to save a hotel night. Choose a private transfer if you arrive at Tanger Med, travel with family or carry a lot of luggage. And choose a private tour if you want to see Chefchaouen, Fes and the Sahara on the way. Tell us your ferry or flight time, the number of travellers and how many days you have, and we will send you a free quote with a suggested route within a few hours.

Tips for the Journey

  • Allow extra time for passport control at the port, especially in summer and on holiday weekends.
  • Withdraw dirhams in Tangier; small shops, cafés and taxis usually prefer cash.
  • Book trains early during holidays, when Moroccans living in Europe travel home.
  • Save your riad address offline before arriving in Marrakech.
  • n

  • On the night train, keep valuables with you and bring a light jacket, as the air conditioning can be cold.
  • n

  • If you plan a desert tour, pack warm clothes for the night in the camp, even in spring and autumn.

Tangier to Marrakech by Bus or Plane

CTM and other companies run long-distance buses from Tangier to Marrakech, usually via Rabat and Casablanca. They are cheap and comfortable, but the journey takes most of the day or night. Flights between Tangier and Marrakech are short, but they do not run every day, and once you add transfers and check-in, the train is often just as quick.

Best Time to Travel from Tangier to Marrakech

The journey is possible all year. Spring and autumn are ideal if you want to stop in Chefchaouen, Fes and the Sahara on the way, with pleasant days and cool nights. Summer is the busiest season on the ferries and trains, so book in advance, and the desert is very hot. In winter, the north can be rainy and the Middle Atlas may have snow, so a private driver is the safest way to cross the mountains. For a month-by-month overview, read the best time to visit Morocco.

Want to do this trip?
Private tour with a local driver, tailor-made route and a free quote within a few hours.

Tangier to Marrakech FAQ

How long is the train from Tangier to Marrakech?

About 5.5 to 6 hours, with a change in Casablanca. Also, the overnight train takes longer, but saves a hotel night.

How far is Tangier from Marrakech by road?

About 580 km, or around 6 hours on the motorway without stops.

Is there a direct train from Tangier to Marrakech?

Day trips usually need a change in Casablanca. However, the overnight sleeper train runs directly.

What is the best way to travel from Tangier to Marrakech?

If you have time, a private tour via Chefchaouen, Fes and the Sahara is the best way. If you are short on time, take the train.

Can I start a Sahara tour in Tangier?

Yes. In addition, our tours from Tangier reach the desert and finish in Marrakech, Fes or back in Tangier.

Which port does the ferry from Spain use?

Ferries from Tarifa use Tangier Ville, in the city. Ferries from Algeciras usually use Tanger Med, east of the city. Always check your ticket.

Stopping in Fes first? Read Tangier to Fes.

Plan Your Trip from Tangier

Tell us your arrival date and your time in Morocco, and we’ll plan the route to Marrakech. Contact us, or build your own route with our Morocco custom tours.

Planning your Morocco trip?

Tell us your dates and number of travelers and we will send you a private route with a price within a few hours.

Get my free quoteWhatsAppDesign my custom tour

MET
Written by the Morocco Experience Tours team, led by founder and guide Mohamed Azeroual

We are local drivers and guides who organize private trips across Morocco every week: the Sahara, the Atlas and the imperial cities. We review this guide with our on-the-ground experience. Last updated: November 22, 2026 · About us