Best train routes Morocco

white train with the distance of mountain during daytime
By Alternatif | Published February 28, 2026 | 4 min read

Introduction to Morocco’s Train Network

Morocco’s train network is an efficient way to explore the country, with modern trains and a relatively well-developed infrastructure. The national railway company, ONCF (Office National des Chemins de Fer), operates most of the train routes, offering a convenient and comfortable mode of transportation for both locals and tourists. In this article, we will delve into the best train routes in Morocco, highlighting the most popular and scenic routes.

Route 1: Marrakech to Fez

This route is one of the most popular train journeys in Morocco, covering a distance of approximately 470 kilometers. The train journey takes around 5-6 hours, passing through the scenic Middle Atlas mountains and offering breathtaking views of the surrounding landscape. The train stops at several stations along the way, including the historic city of Meknes, allowing passengers to explore the local culture and history.

  • The train journey from Marrakech to Fez operates several times a day, with both first and second-class seats available.
  • The first-class seats offer more comfort and legroom, while the second-class seats are more affordable and still provide a comfortable ride.
  • Passengers can enjoy the scenic views of the Middle Atlas mountains, as well as the opportunity to experience the local culture and cuisine.

Route 2: Tangier to Casablanca

This route is another popular train journey in Morocco, covering a distance of approximately 340 kilometers. The train journey takes around 4-5 hours, passing through the scenic coastal towns and offering stunning views of the Atlantic Ocean. The train stops at several stations along the way, including the historic city of Rabat, allowing passengers to explore the local culture and history.

  • The train journey from Tangier to Casablanca operates several times a day, with both first and second-class seats available.
  • The first-class seats offer more comfort and legroom, while the second-class seats are more affordable and still provide a comfortable ride.
  • Passengers can enjoy the scenic views of the Atlantic Ocean, as well as the opportunity to experience the local culture and cuisine.

Route 3: Marrakech to Oujda

This route is a lesser-known train journey in Morocco, covering a distance of approximately 760 kilometers. The train journey takes around 10-11 hours, passing through the scenic Atlas mountains and offering breathtaking views of the surrounding landscape. The train stops at several stations along the way, including the historic city of Fez, allowing passengers to explore the local culture and history.

  • The train journey from Marrakech to Oujda operates several times a week, with both first and second-class seats available.
  • The first-class seats offer more comfort and legroom, while the second-class seats are more affordable and still provide a comfortable ride.
  • Passengers can enjoy the scenic views of the Atlas mountains, as well as the opportunity to experience the local culture and cuisine.

Conclusion

Morocco’s train network offers a convenient and comfortable way to explore the country, with modern trains and a relatively well-developed infrastructure. The best train routes in Morocco, including Marrakech to Fez, Tangier to Casablanca, and Marrakech to Oujda, offer breathtaking views of the surrounding landscape and the opportunity to experience the local culture and history. Whether you are a seasoned traveler or a first-time visitor, Morocco’s train network is an excellent way to discover the beauty and charm of this incredible country.

Frequently Asked Questions About Morocco Train Travel

How do I buy train tickets in Morocco?

You can buy tickets at ONCF train stations, through the ONCF app or website (oncf-voyages.ma), or at authorized travel agencies. First class sells out quickly on popular routes — book online 1–2 days ahead for peak times. Second class tickets are usually available on the spot.

Is the Al Boraq high-speed train worth it?

Absolutely. The Al Boraq TGV connects Casablanca to Tangier in just 2 hours 10 minutes (vs. 5+ hours by regular train). Prices start around 149 MAD in second class and 229 MAD in first class. The trains are modern, punctual, and comfortable — one of the best value high-speed trains in Africa.

Can I take luggage on Moroccan trains?

Yes, there is no strict luggage limit. Overhead racks and floor space are available. For the Al Boraq, there are dedicated luggage areas. Keep valuables with you at all times, especially on busy routes between Casablanca and Marrakech.

Are Moroccan trains safe for solo travelers?

Yes, Moroccan trains are generally safe. First class is quieter and more comfortable for solo travelers. Avoid empty compartments at night on older trains. The Al Boraq and newer trains have open-plan carriages with good visibility and security staff.

Loved it? Share it!

Leave a Reply

Your email address will not be published. Required fields are marked *

wpChatIcon
wpChatIcon