Marrakech to Rabat Train
Morocco Route

Marrakech to Rabat Train

The fastest way to travel between Marrakech and Rabat. Secure your seats today.

About 3h 20mDuration
330 kmDistance
Regular daytime departuresFrequency

Route Overview

A well-used route from Marrakech to Rabat for travelers heading back to the capital or connecting onward to northern Morocco.

Trip Highlights

Practical intercity link

This route gives travelers a straightforward rail option between Marrakech and Rabat.

Good for multi-city trips

Useful for travelers combining Marrakech, Rabat, and other major Morocco rail stops in one itinerary.

Seat Classes

ONCF First Class

ONCF First Class

$$

Travelers who want quieter cabins and assigned seating

  • Roomier cabin layout
  • Reserved seats on most services
  • Better fit for business or longer daytime trips
  • Useful balance between comfort and price
ONCF Second Class

ONCF Second Class

$

Budget-conscious intercity travel

  • Most common standard class option
  • Good fit for short and medium routes
  • Simple choice for flexible rail itineraries
  • Works well for everyday ONCF travel
Al Boraq First Class

Al Boraq First Class

$$$

High-speed trips between Tangier, Rabat, and Casablanca

  • Premium Al Boraq cabin environment
  • Best fit for faster trunk routes
  • Reserved high-speed seating
  • Useful when schedule certainty matters most
Al Boraq Standard Class

Al Boraq Standard Class

$$

Value-focused travelers on the high-speed corridor

  • Access to Morocco high-speed services
  • Good balance of speed and cost
  • Straightforward choice for Tangier corridor trips
  • Comfortable for medium-distance daytime travel

FAQ for Marrakech to Rabat

How long is the train from Marrakech to Rabat?

Typical trips are around 4h 20m, but exact timing depends on the ONCF service pattern and departure selected.

Is there a high-speed train from Marrakech to Rabat?

Some Morocco routes use the Al Boraq high-speed line, while others rely on standard ONCF intercity services.

How early should I book Marrakech to Rabat train tickets?

Book earlier for popular weekends, holiday periods, and the best-value first-class inventory on major city pairs.

Do I need to print my Marrakech to Rabat ticket?

Follow the ticket instructions shown after booking. Digital confirmation is often sufficient, but station or boarding requirements can still vary by service.

What class should I choose on the Marrakech to Rabat route?

Choose first class for a quieter ride or second class for better value on regular ONCF intercity services.