11 min read

Morocco Train Tickets: How to Buy Online in 2026 [Guide]

Key Takeaway: The high-speed Al Boraq takes just 2 hours and 10 minutes between Tangier and Casablanca, costing roughly $25 for a first-class seat. Always upgrade to first class for guaranteed luggage space and assigned seating on any route longer than an hour. To avoid the notorious foreign credit card blocks at the station, book your Morocco train tickets online before you arrive.

Picture yourself gliding past the sun-baked olive groves of northern Morocco at 320 kilometers per hour. The air conditioning hums quietly. Your mint tea hasn't spilled a single drop. If you want this effortless experience, figuring out your Morocco train tickets: how to buy online 2026 is your very first step. Because showing up at the station hoping for a seat on the next departure is a rookie mistake. Moroccan trains sell out fast. And the official ticketing system routinely rejects foreign credit cards.

I have spent countless hours riding these rails. From the ultra-modern high-speed lines down the Atlantic coast to the slower, rhythmic night trains heading south. The rail network here is the absolute best in Africa. But buying a ticket requires a bit of insider strategy.

Quick Overview: Morocco Train Tickets at a Glance

Photo illustrating Quick Overview: Moroccan Trains at a Gla
Photo illustrating Quick Overview: Moroccan Trains at a Gla

Skip the rental car. Ignore the domestic flights. Here is exactly what you need to know about securing your Morocco train tickets and riding the rails this year:

  • Booking Window: Tickets become available exactly 30 days before departure.
  • Payment Reality: The official state railway (ONCF) website blocks about 90% of US, UK, and European credit cards.
  • Train Types: You will ride either the high-speed Al Boraq or the conventional Al Atlas trains.
  • Luggage Limits: There are no strict weight limits, but you must be able to lift your own bags up the steep carriage steps.
  • Station Names: Major cities have multiple stations. Always double-check which one you need (e.g., Casa Voyageurs vs. Casa Port).

Morocco Train Tickets: How to Buy Online 2026

Photo illustrating Morocco Train Tickets: How to Buy Online
Photo illustrating Morocco Train Tickets: How to Buy Online

Here is the frustrating truth about Moroccan rail travel. The trains themselves are fantastic, but the payment gateway is stuck in the past.

The Official Website Hurdle

If you try to buy tickets directly through the ONCF (Office National des Chemins de Fer) website, you will likely hit a wall. In 2026, the official Moroccan railway website still routinely rejects international credit cards, making third-party booking platforms essential for foreign travelers. You will select your route, pick your seat, enter your details, and then watch the payment fail. Over and over again. According to independent rail experts at The Man in Seat 61, this card processing issue has persisted for years.

The Better Way to Book

You have two realistic options. You can wait until you arrive in Morocco, go to the station, and buy a ticket in person using cash or a physical card. But this means risking sold-out trains. If you are traveling during the summer, Ramadan, or any major holiday, second-class tickets disappear days in advance.

The smarter play is using a dedicated agency. You pay a small service fee, but your foreign card actually works. You get the PDF ticket emailed instantly. Just secure your Moroccan rail passes before your flight, and you can walk straight past the ticket queues onto the platform.

How to Read Your Morocco Train Tickets

Once you finally secure your Morocco train tickets online, you need to know how to read them. The official PDFs are printed in French and Arabic, which can confuse first-time visitors.

Look for the word "Voiture" – this is your carriage number. Do not confuse this with your actual train number. Next, find "Place" – this is your assigned seat. In first class, your seat is guaranteed. In second class on Al Atlas trains, a seat number might be printed, but during peak times, locals often treat it as open seating.

"Départ" is your departure time, and "Arrivée" is your arrival time. Moroccan trains operate on a 24-hour clock. A 2:00 PM departure will be listed as 14:00.

Always keep your digital or printed ticket handy. Conductors will scan the QR code shortly after departure, and you will often need to scan it again at the electronic turnstiles to exit your destination station.

Al Boraq vs. Al Atlas: Which Train Should You Choose?

Photo illustrating Al Boraq vs. Al Atlas: Which Train Shoul
Photo illustrating Al Boraq vs. Al Atlas: Which Train Shoul

Morocco operates two entirely different rail experiences. Knowing the difference dictates your itinerary.

High-Speed Al Boraq

This is the pride of the fleet. The Al Boraq connects Tangier, Kenitra, Rabat, and Casablanca. It hits speeds of 320 km/h (200 mph). The Al Boraq high-speed train slashes the journey from Casablanca to Tangier to just two hours and ten minutes, saving you over three hours compared to driving. The carriages are double-decker, pristine, and aggressively air-conditioned. If you are taking the Casablanca to Tangier Train, this is your only logical option.

Standard Al Atlas

For everywhere else, you take the Al Atlas. These conventional trains run to Marrakech, Fes, Meknes, and Oujda. They travel at standard speeds (around 120-160 km/h). They are older but perfectly comfortable. If you are riding the Fes to Rabat Train, you will be on an Al Atlas.

Comparing Morocco's Two Train Networks (2026 Data)
Feature Al Boraq (High-Speed) Al Atlas (Conventional) Action
Top Speed 320 km/h 160 km/h Book Now
Major Routes Tangier, Rabat, Casablanca Marrakech, Fes, Meknes Book Now
Seat Assignment Mandatory in all classes Mandatory in 1st, random in 2nd Book Now
Onboard Cafe Yes (Boraq Cafeteria) Yes (Trolley service only) Book Now

Need more details on the high-speed network? Check our Al Boraq High-Speed Train: Tickets & Routes [2026 Guide] for a deep dive into the schedules.

First Class vs. Second Class: Is the Upgrade Worth It?

Photo illustrating First Class vs. Second Class: Is the Upg
Photo illustrating First Class vs. Second Class: Is the Upg

I get this question constantly. Should you pay for first class? The short answer is an absolute, undeniable yes.

First-class tickets in Morocco cost only $5 to $12 more than second class, making it the most cost-effective luxury upgrade in North African travel.

In second class on the Al Atlas trains, you sit in an open-plan carriage or a compartment of eight people. It gets crowded. The luggage racks fill up instantly. If you board at a middle station, you might be standing in the aisle with your suitcase wedged between your knees.

First class gives you a larger, deeply reclining seat. The compartments hold only six people instead of eight. More importantly, you get dedicated space for your bags. For a detailed breakdown of carriage layouts, read our guide on the Seats of Morocco Trains.

First Class vs. Second Class Experience
Class Seat Layout Luggage Space Average Price (Casa-Marrakech) Booking
First Class 3 across (1-2 layout) Ample, dedicated racks $22 - $28 USD Check Fares
Second Class 4 across (2-2 layout) Limited overhead space $14 - $18 USD Check Fares

Do your future self a favor. Check latest prices on moroccotrain.com and select the first-class option. Your knees will thank you.

Popular Train Routes and 2026 Fares

Planning your itinerary means knowing the distances. Morocco looks small on a map. It isn't.

Casablanca to Marrakech

This is the classic tourist corridor. The Casablanca to Marrakech Train takes about 2 hours and 40 minutes. It runs roughly every two hours. A first-class ticket will cost you about 210 MAD (roughly $21 USD) in 2026. The scenery shifts dramatically from coastal sprawl to red-earth desert as you head south.

Marrakech to Casablanca

Heading back north? The Marrakech to Casablanca Train follows the exact same schedule. Book an afternoon departure to watch the sunset hit the rugged hills outside Settat.

Tangier to Casablanca

This is the flagship route for the Al Boraq high-speed network. The Tangier to Casablanca Train covers the distance in a record-breaking 2 hours and 10 minutes. Fares fluctuate slightly based on demand, but expect to pay around $25 to $35 USD for a premium first-class seat. Secure your seats early to lock in the best rate.

Tangier to Fes

There is no high-speed line to Fes yet. This journey takes about 4 hours and 30 minutes on the standard Al Atlas train. Tickets run about $18 USD in second class and $26 USD in first class. It is a gorgeous, winding route through the Rif Mountains.

Rabat to Marrakech

Connecting the administrative capital to the primary tourist hub, the Rabat to Marrakech Train takes about 3 hours and 30 minutes. You will ride the Al Boraq down to Casablanca, then seamlessly transfer to an Al Atlas train for the remainder of the journey south.

8 Pro Tips for Morocco Train Travel

Riding the train here is easy, but a few local tricks make it effortless.

  1. Know your Casablanca stations: Casa Voyageurs is the main hub for long-distance and high-speed trains. Casa Port only handles local commuter trains and the airport link. Do not go to Casa Port expecting to catch a train to Marrakech.
  2. Print your tickets: While digital QR codes usually work, the scanner guns used by ONCF conductors sometimes struggle with screen glare. A printed PDF never fails.
  3. Pack your own snacks: The Al Boraq has a decent cafe car. The Al Atlas trains only have a rolling cart with basic chips and instant coffee. Grab fresh pastries from a local bakery before you board.
  4. Beware the taxi hustle: When you arrive at a major station, ignore the drivers shouting at the exit doors. Walk 50 meters past the station limits, and flag down a passing "Petit Taxi." Insist they use the meter. Read our Marrakech Railway Station: 5 Tips to Skip Queues & Taxi Scams for specific advice on handling this.
  5. Airport transfers: If you are flying into CMN, you can catch a train from the basement of Terminal 1 straight to Casa Voyageurs. Check our Casablanca Airport to Train Station: 2026 Transfer Guide for the timetable.
  6. Book 30 days out: The absolute best fares and seat selections open exactly one month prior. Use a service where you can book train tickets online to bypass the payment errors.
  7. Ramadan Travel Adjustments: Train schedules shift significantly during the holy month of Ramadan. Evening departures are often paused around sunset so the crew can break their fast. Always double-check 2026 holiday timetables before finalizing your plans.
  8. Luggage Security: While train travel in Morocco is incredibly safe, petty theft can happen if you leave bags unattended. Keep your valuables in a small daypack at your seat, and place larger suitcases on the dedicated racks at the end of your carriage.

Frequently Asked Questions

How far in advance can I buy Morocco train tickets?

Morocco train tickets can be purchased exactly 30 days before your departure date for both high-speed and conventional routes. Booking early is highly recommended as popular routes often sell out, especially during peak tourist seasons.

Do Morocco train tickets sell out?

Yes, popular routes like the Al Boraq high-speed line often sell out several days in advance, particularly for first-class seating. To ensure you get your preferred departure time, you should book your Morocco train tickets as soon as the 30-day window opens.

Can I use a US credit card on the ONCF website?

The official ONCF website frequently rejects international credit cards from the US, UK, and Europe due to local payment gateway restrictions. Most foreign travelers find it necessary to use a third-party booking platform to successfully secure tickets online.

What is the difference between Al Boraq and Al Atlas trains?

Al Boraq is the flagship high-speed rail service connecting Tangier to Casablanca in just over 2 hours, while Al Atlas refers to the standard intercity trains serving the rest of the country. Al Boraq requires mandatory seat reservations, whereas Al Atlas is more flexible but can be crowded.

Is first class worth it on Moroccan trains?

Yes, upgrading to first class provides guaranteed assigned seating and dedicated luggage space, which is highly recommended for any journey longer than 60 minutes. The price difference is usually minimal, often costing only about $10-$15 more than second class.

Which train station should I use in Casablanca?

Use Casa Voyageurs station for all high-speed Al Boraq connections and long-distance travel to Marrakech or Fes. Casa Port is primarily used for regional commuter trains and is located closer to the city center and the harbor.