ONCF stations

Train stations in Morocco mobility guide

For each major ONCF station: access to the city centre, whether you need to rent a car, regional connections, and practical tips on arrival.

Coming soon: Fes, Oujda, Casa-Oasis, Supratours Agadir & Tetouan, and other regional hubs. Want to see a station added in priority? Suggest a station.
Rail network

Travelling Morocco by train, station by station

Morocco's railway links Tangier, Rabat, Casablanca, Fes and Marrakech with a regularity the road cannot match. Understanding the role of each station helps you choose where to get off — and when the train stops being the right option.

The ONCF network is built around a north-south spine, extended from Tangier by the high-speed line. On that corridor the train beats the car on almost every count: journey time, cost, fatigue, and no parking to deal with on arrival. It is also the only mode that drops you downtown, minutes on foot from the medinas of Rabat or Tangier.

Beyond Marrakech the rail line ends. Essaouira, Agadir, Ouarzazate, the desert and the southern Atlantic are reached by long-distance coach, grand taxi or car. Many successful itineraries combine both: train to the terminus, then a vehicle for the stretch the railway does not serve.

Some cities have several stations with different purposes. In Casablanca, Casa-Port serves the seafront and short shuttles while Casa-Voyageurs handles long distances; in Rabat, Rabat-Ville opens onto the medina while Rabat-Agdal is easier by road. Picking the right station genuinely changes your first half hour on the ground.

  • Book busy corridors early

    On Tangier–Casablanca and Casablanca–Marrakech, fast trains fill up during holidays and festivals.

  • Check the station, not just the city

    Two stations in the same city can leave you in very different districts, with one taxi ride more or less.

  • Plan the onward leg

    When your final destination has no station, arrange the coach or taxi relay before booking the train.

Each station page details access, the lines served and the main journeys from there, with observed durations.