Travel by train in Morocco

Trains connect many of Morocco’s larger cities. Before building a trip around one, check that both stops have rail service and that a suitable train runs on your date.

Illustrative travelers crossing a bright Moroccan train station concourse
Illustration.

Where rail fits

Morocco’s rail network links several major cities, including Tangier, Rabat, Casablanca, Fès and Marrakech. The high-speed Al Boraq line serves Tangier, Kenitra, Rabat and Casablanca, according to the Moroccan National Tourist Office. Rail does not serve every destination, so a bus or another road journey may be part of the same trip.

Plan the actual leg

  1. Search your origin, destination and travel date on ONCF’s booking site.
  2. Compare the departure and arrival stations as well as the time. A city’s station may be some distance from the area where you plan to stay.
  3. Check the class, ticket rules and connection shown for the train you choose before paying.
  4. Keep the ticket details available offline on travel day.

When you leave the rails

For a destination without a station, look at the coach connection before buying the train ticket. The tourist office says Supratours serves some places beyond the rail network. Even when the two legs look connected on a map, check where each one actually departs.

Schedules and prices are intentionally absent here. Use the operator’s live results for your dates.

Network references checked 29 November 2026: Moroccan National Tourist Office and ONCF.