Rabat to Marrakech by train

A comfortable rail connection that avoids highway traffic and keeps timings predictable.

Overview

Typical duration
3h 30m–5h
Price range
140–320 MAD (2nd vs 1st class and booking time)
Mode
Train

Pricing + frequency

Price: 140–320 MAD (2nd vs 1st class and booking time)

Frequency: Several departures daily.

Timing note: Some services route via Casablanca.

Alternatives

Car

Flexible, but traffic around Casablanca can add delays.

Bus

Often cheaper, but slower and more stop-dependent.

Tips + pitfalls

Tips

  • Pick daylight departures if you want easy taxi/riad drop-off on arrival.
  • If you’re traveling on Sunday, book earlier—popular return day.
  • Keep water and snacks for longer services.

Pitfalls

  • Platform changes can happen—watch station boards.
  • Some older trains have less luggage space—pack compact.

FAQ

Do you need to book Rabat to Marrakech train tickets?

Recommended for weekends and holidays; otherwise same-day is often possible.

Is 1st class worth it?

If you want quieter cars and more space, yes—especially during peak travel times.

Can you do Rabat → Marrakech as a day trip?

It’s possible but long. Better as an overnight transfer so you can enjoy the evening in Marrakech.

Want a custom Morocco plan?

Tell TravelOS your dates, style, and budget—get a personalized itinerary in minutes.

City guides

  • Rabat travel guide

    Rabat is Morocco’s calm capital—clean, walkable, and rich in history without the intensity of larger tourist hubs.

  • Marrakech travel guide

    Marrakech is Morocco’s most iconic city: a maze-like medina, historic palaces, and a modern food-and-design scene—perfect for first-timers and culture lovers.