Ever stared at a travel map and felt that familiar headache coming on? You know the one—trying to figure out how to get from point A to point B without wasting half your trip in transit. If you’re heading to Morocco, I’ve got good news: the train system here is actually one of the best in Africa, and it’s a game-changer for getting around.
Fast fact: the Al Boraq high-speed train hits speeds of 300 km/h. That means you can get from Tangier to Casablanca in just over two hours. It’s efficient, clean, and honestly, a lot better than fighting traffic.
This guide cuts through the noise. I’ll walk you through exactly how to buy tickets, which routes are worth your time, and the specific gear you need to pack. No fluff, just the logistics you need to own your trip.
Key Takeaways
Speed Matters: The Al Boraq connects Tangier and Casablanca in two hours and ten minutes. It uses Alstom Avelia Euroduplex double-decker trains—the same tech as the French TGV.
Smart Booking: You can score tickets for as low as 89 dirhams if you book ahead. But heads up: the official site often rejects US credit cards, so have a backup plan.
The Night Shift: The overnight train to Marrakech saves you a hotel bill, but the private single sleepers are gone. You’ll be in a 4-berth couchette, so bring earplugs.
Construction Watch: A massive expansion is underway to extend high-speed lines from Kenitra to Marrakech. Expect some schedule tweaks in 2026 as they build toward the 2030 World Cup goals.
Station Hacks: Tangier Ville has a legit First Class lounge with free coffee. Rabat Agdal has a McDonald’s and Paul bakery right inside—perfect for a quick refuel.
Table of Contents

Benefits and Popularity of Train Travel in Morocco
Forget the cramped rental car and the chaotic road signs. Train travel here gives you legroom and a front-row seat to the High Atlas Mountains without the stress of driving.
Why should I travel by train in Morocco?
It comes down to three things: speed, comfort, and price. The Al Boraq high-speed train is a beast. It cuts the travel time between the coast and the business hubs by more than half. Instead of a five-hour slog, you’re sipping coffee and watching the world go by at 186 mph.
It’s also the smarter choice for the environment. Rail travel in Morocco generates significantly less CO2 per passenger than driving solo. Plus, the price is right. Even First Class tickets are cheaper than a standard tank of gas back home.
ONCF railways runs a tight ship. You get reserved seating, decent air conditioning (crucial in July), and snack carts. It’s the preferred way for locals to commute, which means the system is built for reliability, not just for sightseeing.
For timetables and planning, you can check Morocco trains, but I’ll show you the insider way to book further down.
Who uses trains more in Morocco: locals or tourists?
You might think it’s a tourist trap, but it’s actually the opposite. Locals dominate the rails here. On any given Tuesday, the cars are packed with guys in suits heading to meetings in Rabat and students going back to university in Kenitra.
That said, tourists are catching on, especially for the “Imperial Cities” route—Fes, Meknes, Marrakech, and Rabat. I remember sitting across from a group of Spanish guys on their way to surf in Kenitra. We swapped stories about the best spots to eat in Tangier while the train tore through the countryside.
Even in peak season, it feels balanced. The system handles the volume well. Whether you’re a backpacker or a business pro, the setup works. You can pay with Mastercard or Visa at the counters, so you don’t need to hoard cash just to get a ticket.
Types of Trains in Morocco
Morocco basically has two gears: super fast and classic cruise. Knowing the difference will save you from booking the wrong ride.
| Feature | Al Boraq (High-Speed) | Al Atlas (Classic) |
|---|---|---|
| Speed | Up to 320 km/h (199 mph) | Max 160 km/h (100 mph) |
| Best For | Tangier to Casablanca/Rabat | Fes, Marrakech, and beyond |
| Comfort | Modern, double-decker, quiet | Older carriages, decent legroom |
| AC Status | Excellent | Usually good (First Class recommended) |
What is the Al Boraq high-speed train?
This is the crown jewel. Launched by King Mohammed VI in 2018, Al Boraq is the first high-speed rail line in Africa. They use Alstom Avelia Euroduplex trains—these are the exact same double-decker models you see zooming across France.
I took this from Tangier to Casablanca, and it was smooth. No rattling, no noise. You have power outlets at your seat, plenty of luggage space, and a cafeteria car on the upper deck. In 2025, a Second Class ticket runs about 149 to 224 dirhams ($15-$23), while First Class is around 243 to 300 dirhams ($25-$31). For the upgrade, you get wider seats and a much quieter cabin—worth it if you need to get work done.
What are Al Atlas classic trains?
These are the workhorses. Al Atlas classic trains connect the cities the high-speed line hasn’t reached yet, like Fes and Marrakech. They aren’t as flashy, but they get the job done.
My trip from Fes to Marrakech took about six hours. It’s a slower pace, but the scenery is killer. You roll past olive groves and dry hills that look like something out of a movie. Tickets are cheaper here—often under $30 for a long haul.
Pro Tip: Always book First Class on Al Atlas. The price difference is usually less than $10, but you get a guaranteed seat in a 6-person compartment. Second Class can be a free-for-all with unassigned seating on some older lines, and you don’t want to stand for four hours.
Are there overnight trains in Morocco, like from Tangier to Marrakech?
Yes, but the game has changed. The night train leaves Tangier around 23:25 and gets you into Marrakech the next morning. It saves you a travel day, which is huge.
Here is the critical update for 2026: Private single-person sleeper cabins are gone. They stopped offering them a few years back. Now, your best option is a couchette compartment. These have four bunks (used to be six, so it’s a bit better now).

Warning: There are no power outlets inside the couchette compartments. Charge your phone to 100% before you board or bring a high-capacity power bank. Also, bring earplugs—the walls are thin.
A bed in a 4-person couchette costs about 370 to 450 dirhams. You get clean sheets, a pillow, and a blanket. It’s not the Ritz, but it beats sleeping upright in a chair.
Major Train Routes in Morocco
Most guys stick to the main “T” shape network: Tangier down to Casablanca, and then east to Fes or south to Marrakech.
What is the route from Tangier to Casablanca?
This is the flagship run. You depart from Tanger Ville station and arrive at Casa Voyageurs. Trains run hourly from 6 AM to 9 PM.
The trip takes just two hours and ten minutes. You barely have time to watch a movie. The train hits top speed after Kenitra, and watching the speedometer in the cabin hit 300 km/h is pretty cool. If you book a few weeks out, you can snag a “promo” fare for as low as 89 dirhams.
How do I travel from Tangier to Rabat by train?
It’s the same Al Boraq line, just a shorter hop. You’ll be in Rabat in one hour and twenty minutes. This is perfect for a day trip to see the Hassan Tower or the Kasbah of the Udayas.
You’ll arrive at Rabat Agdal station, which is modern and massive. Just like the Casablanca run, buying early saves you money. A walk-up Second Class ticket is about 115 dirhams, but First Class is only a bit more at roughly 180 dirhams. Go for the upgrade; the legroom is superior.

If you’re connecting, check the Rabat to Casablanca train schedules to time it right.
What are the details of the Casablanca to Marrakech train route?
This is where the high-speed track ends (for now). You’ll switch to an Al Atlas train at Casa Voyageurs. The ride to Marrakech takes about two hours and forty minutes to three hours.
Construction is heavy on this route right now. They are building the high-speed extension to Kenitra and Marrakech to be ready for the 2030 World Cup. In 2026, this means you might see some schedule adjustments or slower sections near worksites. Just check the ONCF app for real-time updates.
How can I connect to Meknes and Fes by train?
From Rabat or Casablanca, you take the Al Atlas line east. The trip to Fes is about four hours from Casablanca. If you want to see the Roman ruins at Volubilis, get off at Meknes. It’s a quick 39-minute train ride between Fes and Meknes.
Economy tickets are a steal at around $23. You can use the Rail Ninja App or Moroccan train tickets site to check times. But honestly, buying at the station is usually fine for this route unless it’s a holiday.
How to Buy Train Tickets
This is the part that trips most people up. The system works, but it has quirks—especially for foreign credit cards.
How can I book train tickets online in Morocco?
The official site is www.oncf-voyages.ma. You can book up to three months in advance.
The “3D Secure” Problem: Many American guys get their cards declined on the ONCF site because it uses a strict “3D Secure” verification that some US banks don’t play nice with. If your card fails twice, don’t keep trying—it will just lock your account.
If the official site fails you, use a reliable third-party agency like 12Go or Bookaway. They charge a small service fee, but they accept all major cards and send you the QR code ticket instantly. It’s worth the extra couple of dollars to avoid the headache.
Can I buy train tickets at station counters?
Absolutely. If you’re flexible, just walk in. There are two ways to buy:
- Self-Service Kiosks: These are everywhere in the lobby. They have an English language option and take cards. Fast and easy.
- Ticket Counters: Go here if you have cash or need to book a sleeper cabin. You must show your passport to book a couchette or sleeper.
Key Train Stations in Morocco
These aren’t the dusty platforms you might picture. The main stations are like modern airports—clean, secure, and full of amenities.
What facilities are available at Tangier Ville Station?
Tangier Ville is the northern hub. It’s sleek and right in the city. If you bought a First Class Al Boraq ticket, you get access to the Al Boraq Lounge. It’s a quiet space away from the crowds with comfortable chairs, free Wi-Fi, and complimentary coffee and juice.
Hungry? There’s a food court with standard options. Need cash? ATMs are plentiful. Taxis wait right outside, but walk past the sharks at the door to the street for a better rate.
What should I know about Rabat Agdal Station?
This place is massive—3,500 square meters. It opened recently and is the main stop for the capital.
Inside, you’ll find familiar names. There is a McDonald’s and a Paul bakery (great for baguettes and coffee) right in the station. It’s perfect for grabbing a meal between transfers. The station is clean, has solid restrooms, and digital boards everywhere keeping you updated.
What to expect at Marrakech Station?
Gare de Marrakech is a beauty—it looks like a palace with its huge archway. It’s right near the city center in the Gueliz district.
It gets busy. There’s a KFC and a McDonald’s if you need comfort food, plus local cafes for mint tea. If you’re heading out on a Supratours bus to the coast, the bus terminal is right next door—super convenient.
Tips for Train Travel in Morocco
I’ve learned a few things the hard way. Here’s how to smooth out your trip.
When is the best time to travel by train in Morocco?
Friday afternoons are rush hour—everyone is heading home for the weekend or prayer. Avoid it if you can. Sunday evenings are also packed with students returning to school.
Ramadan affects schedules. During the holy month, trains might pause around sunset so staff can break their fast (Iftar). If you travel then, bring water and snacks, though sometimes they hand out dates and water on board.
What are the luggage policies on Moroccan trains?
Officially, you can bring one large suitcase (up to 23kg) and a hand bag. In reality, they rarely weigh them unless you’re hauling massive cargo.
- The Porter Hustle: You’ll see guys in official-looking lanyards grabbing bags to help. They are porters, not railway staff, and they will demand payment. If you want the help, negotiate the price first (20-30 dirhams is fair). If you don’t, wave them off firmly.
- Storage: On Al Boraq, there are large racks at the end of each car. Keep an eye on your bag at stops, but generally, it’s safe.
What onboard amenities are available on trains in Morocco?
First Class on Al Boraq gives you individual power outlets and reading lights. Second Class usually has shared outlets between seats, but they don’t always work.
Wi-Fi is advertised, but it can be spotty. I always use a local eSIM (more on that below) to create my own hotspot. The onboard cafeteria serves sandwiches, coffee, and soda. It’s basic, so I usually grab a sandwich from Paul at the station before boarding.
Alternatives to Train Travel in Morocco
Sometimes the train doesn’t go where you want. Here is how to fill the gaps.
How do bus connections to Agadir and Essaouira work?
The train stops at Marrakech. To get to the beach, you need a bus. Supratours is owned by the railway ONCF, so their schedules link up perfectly.
For Essaouira, you can buy a “Comfort Plus” bus ticket. It costs a little more (around 140 dirhams total), but you get a leather recliner seat and way more legroom. The bus leaves right from the Marrakech train station lot. It takes about 3 hours.

| Destination | Mode | Travel Time | Approx. Cost |
|---|---|---|---|
| Essaouira | Supratours Bus | 3 Hours | 100-140 MAD |
| Agadir | Supratours Bus | 3.5 Hours | 110-130 MAD |
What tram services are available in major Moroccan cities?
Casablanca and Rabat have excellent tram systems. They are clean, cheap (6 dirhams a ride), and safe. In Casablanca, the tram stops right in front of Casa Voyageurs station. It’s the easiest way to get downtown without haggling with a taxi driver.
Travel Essentials for Train Journeys
You don’t need much, but these items save the day.
Which powerbanks and travel accessories are useful for train trips?
- Power Bank: Anker is my go-to. You need at least 10,000mAh, especially for the night train where there are no plugs in the couchette.
- eSIM: Don’t rely on train Wi-Fi. Grab an eSIM from Maya.net or Airalo before you land. It’s cheap data and keeps you connected to maps.
- VPN: If you need to access banking apps or stream Netflix, use ExpressVPN. It’s fast and reliable in Morocco.
- Debit Card: A card like Revolut or Wise is perfect for ATMs. They give you the real exchange rate and cut out foreign transaction fees.
Why is comfortable footwear important for exploring cities after train travel?
You walk a lot in Morocco. The medinas are car-free zones, which means you are the vehicle. Wear breathable, sturdy sneakers. You’ll be dodging donkey carts and navigating uneven cobblestones the second you step off the train.
How Will Train Travel in Morocco Evolve in 2026?
The future is fast approaching. A massive $10.3 billion investment is pushing the high-speed line south. The goal is to connect Kenitra to Marrakech with high-speed rail by 2030.
Right now, in 2026, you will see heavy construction along the route. This might cause minor delays, but the payoff will be a trip from Tangier to Marrakech in under three hours. For now, enjoy the mix of cutting-edge speed and classic rail charm—it’s a ride you won’t forget.
People Also ask
What is Al Boraq, and why should I consider it for my Morocco trip in 2026?
Al Boraq is Africa’s first high-speed train, hitting 200 mph to get you from Casablanca’s Casa Voyageurs station to Tangier in just over two hours. It cuts the travel time in half compared to driving and offers far more legroom than you’d expect.
How do I buy tickets for Al Boraq trains?
You can try booking on the official ONCF website, but it often rejects US credit cards, so buying your ticket at the station a few days early is usually the safest move. If you do book online, grabbing your seat in advance can save you about 30% thanks to dynamic pricing.
Are there any tips for first-time travelers using Al Boraq?
Since the large luggage racks at the end of each car fill up quickly, you should arrive at the platform 20 minutes early to claim space for your bags. Make sure you head to the Casa Voyageurs station, as the high-speed line does not run from the central Casa Port location.
Does riding Al Boraq offer good views of Morocco?
For the best scenery, snag a window seat on the left side when heading north to catch unbeatable views of the Atlantic coastline as you zip toward the strait.
Resources
- https://railmonsters.com/blog/2025/05/22/train-travel-in-morocco/ (2025-05-22)
- https://www.crossroadsculturalexchange.com/blog/trains (2025-07-25)
- https://www.maroc.ma/en/news/al-boraq-first-high-speed-train-africa-symbol-performance-sustainable-commitment (2025-04-25)
- https://ingasadventures.com/2023/01/17/morocco-by-train/ (2023-01-17)
- https://www.moroccotrains.com/al-atlas-trains
- https://www.seat61.com/train-travel-in-morocco.htm
- https://en.wikipedia.org/wiki/Rail_transport_in_Morocco
- https://www.moroccotrains.com/casablanca-to-marrakech-train
- https://www.moroccotrains.com/fez-to-meknes-train
- https://www.moroccotrains.com/tangier-ville-train-station
- https://railmonsters.com/r/morocco/c/rabat/s/rabat-agdal
- https://www.moroccotrains.com/marrakech-train-station
- https://www.theblondeabroad.com/the-ultimate-guide-to-traveling-by-train-in-morocco/
- http://morocco-railways.com/en/Morocco-Train-Baggage
- https://railmonsters.com/blog/2025/05/22/morocco-train-travel-guide/ (2025-05-22)
- https://exploreessaouira.com/how-to-get-from-agadir-to-essaouira/ (2025-10-31)
- https://www.tripadvisor.com/ShowTopic-g298349-i9865-k10942175-Bus_train_Essaouira_Agadir-Essaouira_Marrakech_Safi.html (2017-10-16)
- https://www.orient-memories.com/en/destinations/morocco/explore/transport-options-locally-in-morocco
- https://marocmama.com/what-shoes-to-wear-in-morocco-a-comprehensive-guide/
- https://www.reuters.com/world/africa/morocco-launches-10-billion-rail-expansion-plan-2025-04-24/ (2025-04-24)
