Travelling in Morocco by Train: Routes, Tips & Scenic Journeys Across the Country

Travel Morocco by train with ease using the ONCF rail network. Discover scenic routes between Marrakech, Fes, Casablanca, and Tangier with tips on comfort, tickets, and travel times across Morocco’s most iconic cities.

MOROCCOTRAVEL TOOLS & TIPS

In recent years, train travel in Morocco has truly captivated the hearts of both locals and adventurous tourists alike! With an extensive network that seamlessly connects major cities with breathtaking regions, the train has become the ultimate choice for those eager to dive into the country's vibrant offerings. The many perks of choosing the train over other forms of transport are truly remarkable, elevating your travel experience to new heights! Traveling by train allows you to sit back and admire the stunning landscapes that unfold outside your window, making each journey not just a means of transport, but a scenic adventure that adds to your memories of Morocco.

One of the standout benefits of train travel in Morocco is its unmatched convenience! The extensive rail system boasts direct routes to must-see destinations, cutting down on the time and hassle often linked with road travel. Major cities like Casablanca, Marrakech, and Fes are effortlessly accessible, making it a breeze for travelers to organize well-structured itineraries. The comfort of onboard services, such as seating arrangements that allow for relaxation and refreshments, further enhances the appeal of this mode of travel. Plus, train stations in Morocco are strategically situated, often just a stone's throw away from city centers, ensuring easy access to all the local attractions! Visitors can walk straight from the platform into the heart of each city, ready to explore its unique sights and sounds without the need for complicated transportation plans.

Finally, train journeys in Morocco are not just about getting from one place to another; they are incredibly scenic experiences that showcase the nation's diverse geography. From the arid landscapes of the south to the lush valleys and mountain ranges, the vistas you encounter while traveling by train can be breathtaking. As you move through the countryside, you may also experience a sense of connection with the land, as the train glides past traditional villages and farmers tending to their fields. It’s a journey that deepens your appreciation for the beauty and culture of Morocco in a way that few other forms of transportation can offer.

people walking on hallway during daytime
people walking on hallway during daytime
Most Popular Train Routes in Morocco

Here are the main destinations that lots of travellers use when visit Morocco. but is important to know that trains do not go to popular travel destinations like the Sahara Desert (Merzouga, Zagora) the Atlas Mountains (Imlil, Dades, Ouarzazate)or coastal towns like Essaouira. You will always need buses or tours beyond the train network for these destinations.

Marrakech ↔ Fes

6.5–7.5 hours

This is one of the most popular long-distance train journeys in Morocco, connecting two of the country’s most culturally rich cities. The route takes you from Marrakech’s lively energy and bustling souks to Fes’ ancient, maze-like medina. Along the way, the scenery shifts from urban landscapes to rural countryside and rolling hills, making it a great way to experience Morocco’s geographic diversity in one journey. You arrive at Fes Railway Station (Gare de Fès Ville), from where it’s a short taxi ride into the historic medina.

Casablanca ↔ Marrakech

2.5–3 hours

This is a fast and frequently used route that links Morocco’s economic capital with its most famous tourist city. It’s a smooth and efficient journey, often used by travellers arriving at Casablanca airport before heading straight to Marrakech. The route passes through coastal plains and inland landscapes, offering a quick but scenic transition between two very different cities. You arrive at Marrakech Train Station, located a short taxi ride from the medina and Jemaa el-Fnaa.

Fes ↔ Tangier

4–5 hours

This scenic northern route connects Morocco’s historic heart with its breezy coastal gateway. The journey moves from the cultural depth of Fes through rolling hills, farmland, and greener landscapes before reaching the Atlantic and Mediterranean-influenced city of Tangier. It’s a relaxing and varied ride that showcases Morocco’s northern geography. You arrive at Tangier Ville Station, which is close to the port, marina, and a short ride from the medina.

Casablanca ↔ Tangier (High-Speed Train)

2 hours

This is Morocco’s fastest and most modern train route, operated on the high-speed Al Boraq line. It offers a smooth, efficient journey between two of the country’s most important cities, making it ideal for travellers short on time. The experience is comfortable and contemporary, with minimal travel stress. You arrive at Tangier Ville Station, a modern terminal located near the waterfront and well connected to the city centre.

a large building with a clock on the front of it
a large building with a clock on the front of it
It starts with how easy it feels

Booking trains in Morocco is honestly much easier than most people expect. You can buy tickets directly through the official system run by the ONCF rail network, either online, through their app, or simply at the station on the day you travel. For most short routes, turning up and buying a ticket is totally fine. For popular long-distance journeys like Marrakech to Fes or Casablanca to Tangier, it’s usually better to book a day or two ahead — especially in peak season when trains can fill up quickly.

At the station, everything is fairly straightforward. There are clear boards, staff around to help, and platforms are usually easy to find. It’s not chaotic or confusing once you’re there — just a simple check-in-and-go system.

The trains themselves are comfortable, but not overly fancy. Think clean, air-conditioned carriages, decent seating, and a generally relaxed atmosphere. On longer journeys, you’ll see a mix of locals commuting between cities and travellers moving across the country, which gives it a nice everyday feel. It’s not luxury travel — but it doesn’t need to be. The experience is more about ease and reliability than anything flashy.

Is first class worth it?

Short answer: yes, most of the time — especially for tourists.

First class in Morocco usually means:

  • Reserved seat (no worrying about finding space)

  • More legroom and slightly wider seats

  • Quieter carriages with fewer crowds

  • A more comfortable experience on long journeys

Second class is perfectly fine for shorter trips like Casablanca ↔ Rabat or Marrakech ↔ Casablanca. But once you’re doing longer routes — especially anything over 3–4 hours — first class starts to feel worth the small extra cost. It’s not about luxury, it’s about comfort and certainty. Knowing you have a seat, not dealing with busy carriages, and being able to settle in for a longer ride makes a noticeable difference.

The simple rule most travellers follow:

  • 🚆 Short trips → second class is fine

  • 🚆 Long trips → first class is worth it

  • 🚆 Busy routes or peak season → always book ahead

a train track with a palm tree in the foreground
a train track with a palm tree in the foreground
Why taking the train in Morocco is actually worth it

Taking the train in Morocco is one of those things that doesn’t sound particularly exciting at first — until you try it. It’s not about luxury or adventure in the traditional sense. It’s about how easy it makes everything. Morocco can feel intense in cities, busy in markets, and chaotic in transport — but the train cuts through all of that in the simplest way possible.

🚉 It takes the stress out of travelling

Travel in Morocco can sometimes feel busy and overwhelming — negotiating taxis, figuring out routes, or dealing with traffic. The train removes all of that. You show up at the station, find your platform, sit down, and leave. No stress, no confusion, no bargaining. It’s the kind of travel that just works in the background while you relax.

💸 It’s also one of the most cost-effective ways to travel

Another big advantage that often surprises travellers is just how good value train travel is. Compared to other options, trains usually sit in the sweet spot — affordable, predictable, and with no hidden extras. You pay one fare and that’s it. For travellers moving between multiple cities like Marrakech, Fes, Casablanca, and Tangier, the savings really add up over a trip.

🔒 It’s a safe way to travel

For most travellers, this is one of the biggest concerns — and the good news is that train travel in Morocco is widely considered safe and reliable. Trains are used every day by locals commuting between cities, students, families, and tourists. Stations are busy, monitored, and generally well-organised, especially in major hubs. On board, you’re in a shared public space with staff and other passengers throughout the journey, which adds to the sense of security and comfort. Like anywhere, it’s always sensible to keep an eye on your belongings, but overall, train travel is one of the most straightforward and low-risk ways to get around Morocco.

🌄 You actually see the country changing

One of the best surprises is what you see out the window. Instead of highways and tunnels, you get real Morocco passing by small towns and villages, wide open farmland, hills and changing landscapes and everyday life happening outside the cities

🧳 It feels local, not touristy

The train isn’t just for travellers — it’s what locals actually use every day. That makes the experience feel grounded and real. You’re not on a special tourist route; you’re just moving the same way everyone else does across the country. And that simplicity is what makes it work so well.

People stand in a long train corridor.
People stand in a long train corridor.

Traveling by train in Morocco presents an extraordinary opportunity to explore the country’s breathtaking landscapes while enjoying a comfortable and efficient mode of transportation! The Moroccan railway system is exceptionally well-developed, linking major cities such as Casablanca, Marrakech, and Tangier, enabling travelers to navigate the region with ease and excitement! This mode of travel not only provides convenience but also immerses adventurers in the diverse beauty of Morocco!

One of the most significant advantages of train travel in Morocco is the chance to soak in breathtaking views while journeying between destinations! Train routes often traverse picturesque settings, from expansive deserts to lush green hills, allowing passengers to witness the country’s rich geography come to life! Unlike other transportation options, trains provide roomy seating and ample space to move around, making the travel experience more enjoyable and far less stressful!

Moreover, train travel in Morocco represents a cost-effective solution for countless travelers! Tickets are typically reasonably priced, making train journeys accessible for those on a budget. Additionally, the reliability of train schedules ensures that travelers can plan their itineraries with confidence, minimizing potential delays that come with road travel or flight connections. Combining comfort, affordability, and reliability, train travel truly emerges as the ultimate choice for exploring the Moroccan landscape!

In conclusion, train travel in Morocco stands out as the best way to encounter the country's vibrant culture and stunning landscapes! By choosing trains, adventurers can relish a delightful blend of practicality and comfort while simultaneously indulging in the rich diversity of Morocco. With all these advantages, it’s abundantly clear that trains are not just a means of transportation but an unforgettable gateway to exploring and discovering the wonders of this enchanting nation!