How to Train From Fes to Marrakech

Taking the train from Fes to Marrakech is a fun and scenic experience! The trip takes 6.5 hours, and along the route you have beautiful views of mountains, valleys, and desert landscapes.

While I traveled Morocco, I used the train system to go from Fes to Casablanca, and to Marrakech. I found the Moroccan train system is a very reasonably priced, safe, and comfortable mode of transportation in Morocco

Bab Rcif, one of the gates into the old medina in Fes, Morocco
Bab Rcif in Fes

How to Train From Fes to Marrakech: The Basics

To take the train from Fes to Marrakech, you’ll use ONCF (Office National des Chemins de fer du Maroc), which is Morocco’s national railway company. ONCF provides an extensive and reliable train network that connects major cities and tourist destinations across the country.

Is there a direct train from Fes to Marrakech?

Yes, several direct trains from Fes and Marrakech run every day. The trains depart once every hour or so, and the trip takes 6.5 hours. You can buy either an economy class ticket or a first class ticket for this direct train.

Train Station in Fes

Fes Railway Station is conveniently located in the center of Fes. The station is about a 15 minute drive from the Fes medina. 

The station has all the amenities you need, including ticket counters, waiting lounges with comfortable seating, and information desks to assist with inquiries. The station also has several cafes where you can have a meal, as well as a convenience store. 

the exterior of Fes Railway Station with palm trees and grey skies
Fes Railway Station

Train Station in Marrakech

Marrakech has one main train station called Marrakech Railway Station (Gare de Marrakech in French). It is located near the city center, which makes it easily accessible to both locals and tourists. The drive from the station to the old Medina of Marrakech is about 15 minutes. 

Marrakech Railway Station has plenty of amenities, including ticket counters, waiting areas, restrooms, and a luggage storage facility. There are also shops, cafes, and restaurants where you can grab a meal or refreshments. 

How to Book a Train Ticket from Fes to Marrakech

You can buy your ONCF train tickets in person, or online. You can get information on timetables and prices on the ONCF website.  

You have the option to book through the website using a credit card – this is what I did. The site is in French and can be a bit slow, but it does work. If your French isn’t strong, open up Google Translate to help you through the checkout process. 

You can also buy your tickets at the train station in person. Head to the nearest train station to book. In advance is always best (especially if you want to book first class). In the station you can pay by credit card or by cash. 

If you’re okay with economy class, you can usually buy a ticket the day of. Most train routes run regularly so it’s rare to have every seat sold out. That said, if you want to guarantee your train time, book in advance.  

If you buy your ticket through the website, you can download the PDF of the tickets to print them or show them on your phone when boarding a train. If you buy your ticket in the station, you’ll be given a printed ticket. I opted to download the PDF on my phone, which worked perfectly for boarding the train. 

a woman walking on a station platform to board the train from fes to marrakech
Boarding the train from Fes to Marrakech

Fes to Marrakech Train Ticket Prices

How much you pay for your ticket from Fes to Marrakech will vary based on when you’re traveling (weekend or a weekday), how in advance you book your tickets, and what class you book. 

Typically, a train ticket from Fes to Marrakech in Economy Class will start at around $19 USD per ticket. First Class seats cost about $28 USD per ticket.

ONCF Train Classes: Economy Class Vs. First Class

Every train in Morocco is divided up into compartments, and there are two classes to choose from. Both economy and first class are comfortable. 

ONCF Economy Class

In ONCF economy class, you’ll find rows of seats, or compartments that have 8 seats in each. The seats are clean and comfy. Economy class cars have restrooms and places to stow your storage. When you book an economy class ticket, you won’t have a reserved seat. You’ll just find whatever seat is free. 

ONCF First Class

In first class on ONCF, you’ll have all the same perks as economy class. The main differences are that seats are a bit bigger (compartments have only 6 seats), and you’re able to reserve a seat. If you’re traveling in a group of 2 or more, reserving a seat is a nice perk because it ensures you’ll get to sit together. 

interior view of the Fes Railway Station, where you'll start your journey by train from fes to marrakech
Inside the Fes Railway Station

Amenities on The Train From Fes to Marrakech

The train from Fes to Marrakech has train attendants who can assist you in boarding the train, finding your seat, and help with any questions you may have.

The trains have clean washrooms, and plenty of storage space for stowing your luggage. All cars have air conditioning, so you’ll be comfortable the whole trip.

ONCF trains typically have a food trolley. It will come around offering tea, coffee, sandwiches, and snacks for purchase. 

During Ramadan, the trolley service isn’t available. If you’re on the train from Fes to Marrakech during Ramadan, it’s best not to snack or drink beverages (including water), when traveling during daylight hours.

Most local people around you will be fasting, and as a guest in Morocco, it’s respectful to follow suit and refrain from eating or drinking. The trip from Fes to Marrakech isn’t a couple hours, so just be sure to have a meal and drink lots of water before you board the train. 

6 Tips for Taking the Train From Fes to Marrakech

Ready to take the train from Fes to Marrakech? Here are 6 tips to keep in mind for your trip. 

1. Double Check the Schedule and Arrive Early

Moroccan trains usually run on time, so be sure to check the schedule online or at the station, and arrive at the station early. By arriving early, you’ll have time to find your way around the station, figure out which platform to go to, and board the train without rushing. Plus, you’ll have time to grab a snack or mint tea from one of the station’s cafes. 

2. Respect Local Customs 

It’s important to respect local customs while in Morocco, including when you’re traveling by train. Women travelers can show cultural respect by wearing long, loose-fitting clothing that covers the upper arms, knees, chest, midriff and back. Men can show respect by covering their shoulders and their legs. 

While many Moroccans in tourist areas speak some English, learning a few basic French and Arabic phrases can go a long way in navigating the train system (and the country in general). 

Small steps like these can help you be a respectful visitor in Morocco, and a more responsible tourist.

3. Bring Snacks and Water

The train from Fes to Marrakech does have a snack trolly that comes around, but you might want to pack some snacks and water for your journey anyways. Just remember that if it’s Ramadan, refrain from eating in front of people, and be discreet. 

4. Secure Your Belongings

Train travel in Morocco is generally safe, but it’s always wise to take precautions against petty theft. Stow your luggage nearby, and use luggage locks to keep your bags secure. Throughout your train trip from Fes to Marrakech, keep an eye on your luggage. 

5. Bring Entertainment

The train ride from Fes to Marrakech is about 6.5 hours. It’s not super long, but you may want to bring some entertainment just in case. I recommend bringing a book, and having some podcasts (like my travel podcast, Curious Tourism!) downloaded to your phone. There isn’t any WiFi on the train. To get online, you’ll need an e-sim or a local sim card. 

6. Reserve the Window Seat

Getting a window seat is a must on the train from Fes to Marrakech! You’ll have beautiful views of desert landscapes, mountainous regions, towns, and cities. It’s worth spending the journey taking in the scenery – it will give you a sense of how diverse Morocco’s landscapes are. 

a busy street in marrakech morocco
Marrakech medina

Train Travel in Morocco: Fes to Marrakech

Taking the train from Fes to Marrakech is an easy and comfortable way to get between these two beautiful cities. Train ticket prices are super reasonable, and the trains are efficient and fast. 

I really enjoyed train travel in Morocco because the views of the Moroccan countryside are amazing. And, going on trains gives you an opportunity to interact a bit with local people. If you’re traveling between cities in Morocco, the train is the way to go.

More from Pina Travels on Morocco: