Colorful, chaotic and steeped in history, the imperial city of Marrakesh is one of Morocco's most popular destinations. It's also a fantastic base for exploring the rest of the country, not least because of its excellent railway connections. From Marrakesh's easily navigable train station, you can travel to other major cities including Casablanca, Fez, Tangier and Meknes. As well as being amazingly efficient, Morocco's trains are considered clean and safe. Tickets are well-priced, too, making this one of the most budget-conscious methods of getting around.
Buying Your Tickets
In the past, it was only possible to purchase Moroccan train tickets from your chosen station of departure. Now, however, you can plan ahead by researching and paying for tickets on the website of the national railway operator, ONCF. If you'd rather wait until you're in-country, trains usually have plenty of space and buying tickets on the day of departure is no problem. If you plan on traveling during peak times (including public holidays and particularly Ramadan), it's a good idea to book in advance. If you have problems booking online, you can make a reservation at the station a few days ahead, either in person or via a hotelier or travel agent.
First Class or Second Class?
Trains in Morocco come in two styles, both with air-conditioning. The newer style has open carriages with seats arranged on either side of a central aisle, while older trains have separate compartments with two rows of seats facing each other. On these older trains, first class compartments have six seats, while second class compartments have eight seats and are therefore more crowded. Whichever style your train is, the major difference between first and second class is that in the former, you will be given a designated seat; while seats in second class are first come, first served. It's up to you what's more important – a guaranteed seat, or a cheaper ticket.
Some of the overnight schedules listed below are for sleeper trains. These have "comfort carriages" with single beds so that you can get a good night's sleep. Traveling at night is a great way to save money as it means paying for one less hotel stay.
Schedules To and From Marrakesh
Below, we've listed current schedules for some of the most popular routes to and from Marrakesh. These are subject to change, so it's always worth checking the latest timetables upon arrival in Morocco (especially if you have to be somewhere at a specific time). However, Moroccan train schedules change relatively infrequently – so at the very least, the ones listed below offer a helpful guideline.
Train Schedule from Marrakesh to Casablanca
Train Schedule from Casablanca to Marrakesh
Train Schedule from Marrakesh to Fez
The train from Marrakesh to Fez also stops in Casablanca, Rabat and Meknes.
Train Schedule from Fez to Marrakesh
The train from Fez to Marrakesh also stops in Meknes, Rabat and Casablanca.
Train Schedule from Marrakesh to Tangier
Train Schedule from Tangier to Marrakesh
Train Schedule from Marrakesh to Meknes
Train Schedule from Meknes to Marrakesh
This article was updated and re-written in part by Jessica Macdonald on June 2 2019.