Marrakech is the starting point for most trips around Morocco. Trains run north to Casablanca, Rabat and Fes, coaches go west to the coast and south over the Atlas, and private drivers can take you anywhere. This guide compares the options for each major destination.

Timetables, fares and journey times change. Treat the figures below as a guide and check with ONCF (trains), Supratours or CTM (coaches) before you travel.

At a glance

Destination Road distance By train By coach By car
Casablanca About 240 km About 2.5–3 hours About 3–4 hours About 2.5–3 hours
Rabat About 330 km About 4 hours About 4–5 hours About 3.5–4 hours
Fes About 530 km About 6.5–7 hours About 7–8 hours About 6.5–7 hours
Tangier About 580 km About 5–6 hours (change in Casablanca) Long – train is better About 6 hours
Chefchaouen About 600 km No railway – train to Tangier or Fes, then road 10 hours or more with changes About 7–8 hours
Essaouira About 190 km No railway About 3 hours About 2.5–3 hours
Agadir About 250 km No railway About 3–3.5 hours About 3 hours
Ouarzazate About 200 km No railway About 4.5 hours About 4 hours (mountain pass)
Merzouga (Sahara) About 560 km No railway A long day – limited services 9–10 hours without stops

By train (ONCF)

Marrakech station is in the new town (Gueliz), about 10 minutes by taxi from the medina. Morocco’s national railway, ONCF, runs trains north on the classic line.

  • Casablanca – the busiest route, with departures throughout the day, about 2.5 to 3 hours. Most trains arrive at Casa Voyageurs station.
  • Rabat – about 4 hours, on the same line.
  • Fes and Meknes – about 6.5 to 7 hours. Some trains are direct, others need a change. Second class is often listed at roughly 220–310 dirhams, first class higher.
  • Tangier – take a train to Casablanca and change to the Al Boraq high-speed train, which reaches Tangier in about 2 hours 10 minutes. Allow about 5 to 6 hours in total.

Classes and tickets

  • First class has assigned seats and more space; second class is cheaper and can be crowded at busy times.
  • Book on the ONCF website or app, or at the station. On some trains, fares vary with demand, so booking early is often cheaper. Before weekends and holidays, book a few days ahead.
  • Bring your passport – you may be asked for it when buying or checking tickets.

The overnight train to Tangier

For years a night train with couchettes ran between Marrakech and Tangier. In late 2026 it has been reported as suspended because of the high-speed line works. Check with ONCF before you plan around it.

The future high-speed line

A high-speed line from Kenitra to Marrakech has been under construction since April 2025 and is expected to open around 2029. Once it does, Tangier to Marrakech is planned to take about 2 hours 40 minutes.

By coach

Two companies run reliable, comfortable long-distance coaches:

  • Supratours – run by ONCF; its station is next to Marrakech railway station. It sells combined coach-and-train tickets.
  • CTM – Morocco’s main coach company, with its own station in the new town. Check the departure point on your ticket.

Typical routes:

  • Essaouira – about 3 hours, several departures a day.
  • Agadir – about 3 to 3.5 hours on the motorway.
  • Ouarzazate – about 4.5 hours over the Tizi n’Tichka pass in the High Atlas.
  • Merzouga – coaches exist but take most of a day with limited departures. See how to get to Merzouga.

Buy tickets online or at the station a day or two ahead in high season. Large bags go in the hold, sometimes for a small fee.

By private driver or tour

Trains and coaches are good value between big cities, but they cannot take you to the places between them: the Atlas Mountains, kasbahs, argan cooperatives, the Sahara. A private driver lets you stop for photos and lunch whenever you like, and picks you up and drops you off at your riad.

Driving yourself

The motorways (to Casablanca, Rabat, Fes, Agadir and Tangier) are good and have tolls. Mountain roads such as the Tizi n’Tichka pass to Ouarzazate are slow, winding and sometimes affected by snow in winter. Avoid driving at night outside cities, and never plan to drive into a medina.

Which option is best?

  • Marrakech ↔ Casablanca or Rabat – the train.
  • Marrakech → Tangier – train to Casablanca, then Al Boraq.
  • Marrakech → Essaouira or Agadir – coach, or a private transfer if you want stops.
  • Marrakech → Fes – the train if you just need to get there; a 3-day Sahara tour if you want to see the desert on the way.
  • Marrakech → Ouarzazate or the Sahara – a tour or private driver; coaches work for budget travellers with time.

For help planning the order of your trip, see the classic first-time Morocco route and how many days you need in Morocco. To get to the station, see getting around Marrakech.

Frequently asked questions

How do I get from Marrakech to Casablanca?

The train is easiest – about 2.5 to 3 hours, with departures through the day from Marrakech station in the new town. By road it is about 240 km on the motorway. Coaches also run the route.

Is there a train from Marrakech to Fes?

Yes. Trains take about 6.5 to 7 hours, sometimes with a change. Many travellers prefer to break the journey in Rabat or Casablanca, or to travel overland via the Sahara on a multi-day tour.

How do I get from Marrakech to Essaouira?

There is no train. Supratours and CTM coaches take about 3 hours, and the road is about 190 km. A day trip or private transfer lets you stop at argan cooperatives on the way.

Is there a high-speed train from Marrakech?

Not yet. The Al Boraq high-speed train runs between Tangier, Rabat and Casablanca. The extension to Marrakech is under construction and is expected around 2029.

Should I book train tickets in advance?

For weekends, holidays and first class, booking a few days ahead on the ONCF website or app is wise. Fares on some trains vary with demand. Off-peak, you can usually buy at the station.

Hallo Marokko Editorial Team

The editorial team of Hallo Marokko, a Morocco-based service planning private tours for German-speaking travellers. Information is current as of the last update date; please also check official sources before you travel.