Rome2Rio

Marrakesh to Medina Rabat trains

Find Transport to Medina Rabat

View schedule
QR code to download the Rome2Rio app

Download the Rome2Rio travel app

Scan QR code with your phone to download the app

Download on the App StoreGet it on Google Play

Trip Overview

The average train between Marrakesh and Medina Rabat takes 3h 38m and the fastest train takes 3h 37m. There is a train service every few hours from Marrakesh to Medina Rabat. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.

3h 38m
Duration
335 km
Distance
MAD 160
Average price
Hourly
Frequency

Marrakesh to Medina Rabat train times

Trains run hourly between Marrakesh and Medina Rabat. The earliest departure is at 5:50 AM in the morning, and the last departure from Marrakesh is at 9:00 PM which arrives into Medina Rabat at 1:00 AM. All services run direct with no transfers required, and take on average 3h 38m. The schedules shown below are for the next available departures.

Departing Saturday, November 14, 2026

  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  • Show more

Departing Sunday, November 15, 2026

  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  • Show more

Departing Monday, November 16, 2026

  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  • Show more

Departing Tuesday, November 17, 2026

  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  • Show more

Departing Wednesday, November 18, 2026

  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  • Show more

Departing Thursday, November 19, 2026

  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  • Show more

Departing Friday, November 20, 2026

  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  •  → 

    train train 3h 37m • Direct
  • Show more

Frequently asked questions

Want to know about travelling from Marrakesh to Medina Rabat? We have put together a list of the most frequently asked questions from our users such as: What is the cheapest mode of transport? What is the quickest option? How much do tickets usually cost? and many more.

Map of how to get from Marrakesh to Medina Rabat.ExpandLaunch map view
  • Distance: 334.9 km
  • Duration: 3h 38m

What companies run services between Marrakesh, Morocco and Medina Rabat, Morocco?

Moroccan Railways (ONCF) operates a train from Marrakech to Rabat Ville hourly. Tickets cost MAD 130–270 and the journey takes 3h 37m.

Operators