MoroccoWise
All travel guides

Practical & logistics

Train travel in Morocco: Tickets, Routes, and Tips

Plan a smoother rail trip with practical advice on Al Boraq, ONCF tickets, seat classes, luggage, and the routes trains actually serve.

9 min read
Train travel in Morocco: Tickets, Routes, and Tips

There is something satisfying about watching Morocco’s Atlantic coast and changing landscapes roll past your window instead of watching the road. Train travel in Morocco is comfortable, straightforward, and often a smart way to connect major cities—provided you know which places the rail network reaches and plan the last stretch of each journey. This guide covers Al Boraq, ticket options, seat classes, and simple luggage habits that make station days easier.

Know the routes: Al Boraq and conventional trains

A passenger train at a station in Morocco

ONCF, Morocco’s national railway operator, runs the high-speed Al Boraq between Tangier and Casablanca, with stops including Kenitra and Rabat-Agdal. Conventional services connect cities such as Casablanca, Rabat, Meknes, Fes, and Marrakech. The train is a great fit for a city itinerary along this corridor, but not every headline destination has a station: Chefchaouen, Essaouira, Agadir, and the Sahara need a bus, taxi, or another road transfer. Check the route and station names before booking; Casablanca and Rabat each have stations that serve different journeys.

Schedules and journey times can change with the timetable, service notices, and time of year. Check the live options on the official ONCF Voyages website close to your travel date. If rail does not cover the whole itinerary, our guide to getting around Morocco explains how to combine trains with buses and taxis.

Buy your ticket online or at the station

Train travel in Morocco is easiest to plan when you compare departures before travel day. For a popular departure or a fixed itinerary, book through ONCF’s official website or app where available. You can compare times and fares before reaching the station, and an advance booking can reduce the stress of securing your preferred departure during busy weekends, holidays, or school breaks. Confirm the passenger details and departure station before payment, and keep the ticket accessible on your phone or as a download. If you rely on a particular international card, allow time to use another payment method if the online transaction does not go through.

Travelers waiting for a train in Morocco

Buying in person is a good option if you prefer help from staff or are already at the station. Use the ticket counter or an official machine, check the departure board, and leave a little time for queues. Buying at the station does not guarantee a seat on a busy service, so avoid leaving a must-make journey until the last minute. Keep your ticket handy: staff may check it at the entrance, on board, or both.

First class or second class?

Train travel in Morocco offers two classes, and both get you to the same destination; the choice is mainly about price, seat reservation, and how much predictability you want. First class generally provides a reserved seat and a quieter, less crowded feel, which can be worthwhile on a longer trip or when you want to settle in with luggage. Second class is usually the better-value choice and can be perfectly comfortable, but busy departures may feel fuller. Check what the fare includes for the specific service rather than assuming every train has identical arrangements.

Al Boraq is the faster, more modern option on the Tangier–Casablanca route, while conventional trains serve other routes. Whichever you choose, arrive early enough to locate your platform, listen for announcements, and leave a buffer if you are connecting to another service or a flight. A train station transfer is part of the journey too; check how you will get between the station and your accommodation before you arrive.

Pack smart and keep luggage within reach

There is no airport-style checked-bag process for an ordinary rail trip: you take your bags on board and stow them yourself. Choose luggage you can lift onto a rack or manage through a carriage, and keep your passport, wallet, medication, and electronics in a smaller personal bag. Overhead racks and luggage areas can fill up, so board with enough time to find a suitable spot without blocking the aisle.

A scenic rail journey through Morocco

Keep valuables with you and place larger bags where you can keep an eye on them. Pack water, a snack for a longer journey, headphones, and a light layer; air conditioning can feel cool after waiting on a hot platform. If you need to move between carriages or stations, keep your hands free and avoid leaving a bag unattended while you buy food.

A calm station-day checklist

  • Match the station and departure time on your ticket to the live departure board.
  • Arrive with time to find your platform, especially at a station you have not used before.
  • Keep your ticket and valuables accessible, and stow bags without blocking doors or aisles.
  • Plan the taxi, tram, or bus at the destination as carefully as the train itself.

Train travel in Morocco can be one of the easiest parts of your itinerary with a little preparation. Pick the service that fits your route, use ONCF’s current information, and leave room for the station-to-hotel transfer. You will spend less time troubleshooting and more time enjoying the journey.