Morocco by Train: Routes, Tickets & Practical Tips
Use Morocco’s rail network with more confidence: which cities connect well, how to book, what first class changes and where you still need road transport.
Trains are one of the easiest ways to link Morocco’s major northern and central cities. The trick is to build the route around the network instead of assuming every destination is a rail stop.
01 · Make the important decision first
Tangier to Marrakech
The main north–south corridor makes rail useful for Tangier, Rabat, Casablanca, Fès and Marrakech.
Book the important legs
Popular departures and first-class seats are worth checking before travel days become fixed.
Use road links wisely
Essaouira, Chefchaouen and the Sahara need buses, taxis, transfers or organised routes.
02 · The practical rule
01 · Build around the rail spine
Use trains for the long, predictable links and protect road days for places the network cannot reach. Check current schedules, station location and the final taxi connection before booking accommodation.
02 · First class or second class?
Both can work. First class usually offers more space and an assigned seat, while second class can be perfectly practical for shorter journeys. Choose based on timing, luggage and comfort rather than status.
03 · The station is part of the plan
Arrive with a little margin, keep tickets accessible and confirm how you will reach the riad or hotel at the other end—especially when arriving after dark.
Continue planning Morocco
Combine the rail guide with destination pages to create a route that does not waste time in transit.
03 · Frequently asked questions
Which Moroccan cities are connected by train?
Tangier, Rabat, Casablanca, Fès, Meknès and Marrakech are among the most useful destinations on the main network.
Do you need to book Moroccan trains in advance?
For important or popular journeys, booking ahead is sensible; shorter off-peak legs are often more flexible.
Does the train go to the Sahara or Essaouira?
No. Use road transport or a planned excursion for those destinations.
← Browse destinations · Travel planners · Visits Morocco home