Travel advice

Morocco train tickets: book, verify and manage the journey

Buying an ONCF ticket is not only about choosing a time. Check the exact station, fare rules, exchange conditions and an offline copy before travelling.

By MOP editorial team
Traveller checking an electronic ticket in a modern Moroccan railway station

Trains connect many of Morocco’s major cities, but a successful booking involves more than choosing between first and second class. Selecting the wrong station, misunderstanding exchange rules or losing access to a ticket without mobile data can complicate an otherwise simple journey.

This MOP guide is based on the Office National des Chemins de Fer’s official channels. Timetables, seats and prices remain dynamic. Check them on ONCF Voyages when purchasing and again before departure.

Use the official channel and exact station

The ONCF Voyages website and official application allow travellers to search, buy an e-ticket and manage a booking. Tickets are also sold at station counters and machines. Avoid pages that imitate the official interface or request payment without identifying the ticket seller.

Before searching, identify the exact station. Casablanca, Rabat and other urban areas have more than one stop. A city name is not enough: the departure station must fit the accommodation, connection and time available.

Read the ticket before paying

Check the date, departure time, origin, destination, train type, class and number of passengers. When several fares are offered, open the attached conditions instead of automatically choosing the lowest amount.

General conditions can change. Promotional, flexible and semi-flexible tickets do not necessarily carry the same exchange and refund rights. Keep a copy of the terms displayed at the point of purchase together with the confirmation.

Keep the e-ticket available offline

After payment, download the confirmation and make sure the code used at inspection is readable. Store the document on the phone and, where possible, in a second offline location. A clear screenshot can help retrieve information, but the official file remains the reference.

Never post the ticket code, booking reference or personal details on social media. Those elements can enable another person to access the booking. Retain the email address used for the purchase as well.

Understand exchanges and cancellations

ONCF’s official aftersales page says e-tickets can be exchanged or cancelled online before departure, subject to the fare conditions. A ticket purchased at a station generally needs to be handled at a station. Availability on the new train and any fare difference continue to apply.

Do not turn that general rule into a promise of a full refund. Read the conditions for the specific fare. Make a required change as soon as possible and wait for confirmation before treating it as complete.

What happens after a missed train

ONCF describes a tolerance that may allow a traveller to obtain a new ticket at the departure station for the same route and comfort up to thirty minutes after the original departure, subject to seats and the applicable ticket. This is not a reason to arrive late.

If the train is missed, go immediately to the service indicated at the station with the ticket and useful identification. Do not pay for a second ticket before asking which official options remain available.

Prepare for platform access

The sales conditions say platform access opens according to the station and train frequency, never earlier than forty minutes before departure. Arriving only a few minutes before the scheduled time leaves little room for orientation, inspection or a platform change.

Allow for the journey to the station, the correct entrance and extra time for luggage or assistance. Follow station screens and announcements: current information on site takes priority over an old timetable capture.

A checklist before leaving the accommodation

  • Official ticket stored offline with a readable code.
  • Exact date, time and stations checked.
  • Passenger names and class matched to the booking.
  • Fare conditions retained.
  • Sufficient phone battery and a backup option.
  • Transfer time to the station recalculated.
  • Onward connection planned with margin.

This list is especially useful for an early departure or a journey involving several segments.

Connect the booking with the itinerary

A train ticket does not solve the first and last kilometre. Check how to reach the station and how to continue after arrival. For a destination without rail, compare the road connection, waiting time and whether an intermediate night is more sensible.

The MOP travel planning guides add airport arrivals and regional routes to this method. The objective is not to sell one departure time, but to make the complete journey understandable.

Sources consulted