Train Schedule for Travel to and From Marrakesh, Morocco

Train Schedule for Travel to and From Marrakesh Morocco
Rosmarie Wirz/ Getty Images

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

Departs Arrives
06:00 08:38
08:00 10:38
10:00 12:38
11:00 13:38
12:00 14:38
14:00 16:38
15:00 17:35
16:00 18:38
18:00 20:38
20:30 23:18

Train Schedule from Casablanca to Marrakesh

Departs Arrives
06:15 09:01
09:35 12:14
11:35 14:14
12:35 15:14
13:35 16:14
15:35 18:14
16:35 19:09
17:35 20:14
19:35 22:14
21:35 00:14

Train Schedule from Marrakesh to Fez

The train from Marrakesh to Fez also stops in Casablanca, Rabat and Meknes.

Departs Arrives
06:00 12:35
08:00 14:35
10:00 16:35
11:00 17:09
12:00 18:35
14:00 20:35
16:00 22:35
18:00 00:35

Train Schedule from Fez to Marrakesh

The train from Fez to Marrakesh also stops in Meknes, Rabat and Casablanca. 

Departs Arrives
05:35 12:14
07:35 14:14
08:35 15:14
09:35 16:14
11:35 18:14
12:35 19:09
13:35 20:14
15:35 22:14
17:35 00:14

Train Schedule from Marrakesh to Tangier

Departs Arrives Change Station
06:00 12:10 Casa Voyageurs
06:00 14:40 Sidi Kacem
08:00 13:10 Casa Voyageurs
10:00 15:10 Casa Voyageurs
10:00 18:45 Sidi Kacem
11:00 16:10 Casa Voyageurs
12:00 17:10 Casa Voyageurs
14:00 19:10 Casa Voyageurs
14:00 22:35 Sidi Kacem
15:00 23:10 Casa Voyageurs
18:00 23:10 Casa Voyageurs
20:30 07:00 N/A

Train Schedule from Tangier to Marrakesh

Departs Arrives Change Station
07:35 16:14 Sidi Kacem
09:55 16:14 Casa Voyageurs
10:55 16:14 Casa Voyageurs
11:30 20:14 Sidi Kacem
12:55 18:14 Casa Voyageurs
13:25 22:14 Sidi Kacem
13:55 20:14 Casa Voyageurs
14:55 20:14 Casa Voyageurs
15:30 00:14 Sidi Kacem
16:55 22:14 Casa Voyageurs
23:20 09:01 N/A

Train Schedule from Marrakesh to Meknes

Departs Arrives
06:00 11:50
08:00 13:50
10:00 15:52
11:00 16:35
12:00 17:50
14:00 19:52
16:00 21:50
18:00 23:52

Train Schedule from Meknes to Marrakesh

Departs Arrives
06:13 12:14
08:13 14:14
09:07 15:14
10:13 16:14
12:13 18:14
13:07 19:09
14:13 20:14
16:13 22:14
18:13 00:14

This article was updated and re-written in part by Jessica Macdonald on June 2 2019. 

Was this page helpful?