Morocco Train Tickets: How to Book Online in 2026 [Guide]
![Morocco Train Tickets: How to Book Online in 2026 [Guide]](https://static.moroccotrain.com/images/articles/cover-1778341342294.png)
Key Takeaway: The Al Boraq high-speed train connects Tangier to Casablanca in a blistering 2 hours and 10 minutes, with first-class fares averaging 320 MAD ($32). Secure your seats at least 48 hours early. Afternoon departures routinely sell out during peak season. Skip the notorious foreign credit card errors by grabbing your Morocco train tickets online directly through our booking platform. Consider purchasing a "Ticket+" option on Al Boraq, which for a small premium (around 20-30 MAD) offers greater flexibility to change your departure time without a fee—a lifesaver if your plans shift.
Picture the absolute chaos of a Marrakech ticket counter on a busy Friday afternoon. Hundreds of tourists sweat in a slow-moving queue under the glaring sun, while locals navigate the crowds with practiced ease. The departures board flashes red, signaling yet another sold-out train to the coast. The air is thick with frustration and the smell of diesel. Securing your Morocco train tickets does not have to end in this kind of stress. You can easily bypass this madness. Smart travelers lock in their seats weeks before their flight even lands, arriving at the station calm, with a barcode on their phone and a clear plan.
Understanding the 2026 Morocco Rail Network

Forget everything you assumed about North African public transit. Morocco operates the fastest commercial trains on the entire African continent, a point of immense national pride. The system is modern, efficient, and connects the country's major economic and tourist hubs with remarkable speed. You just need to understand how the two-tiered system is organized before you buy your passes.
Al Boraq High-Speed vs. Al Atlas Conventional Trains
- Al Boraq (High-Speed): These double-decker French TGV trains run up to 320 km/h along the Atlantic coast. They connect Tangier, Kenitra, Rabat, and Casablanca, often with additional stops at stations like Bouznika. They feature a dedicated café car, spacious luggage areas, and reliable air conditioning. Power outlets are available at every seat in first class and typically between seats in second class.
- Al Atlas (Conventional): These are the traditional, slower trains linking the inland imperial cities and beyond. They serve Marrakech, Fes, Meknes, Oujda, and the junction city of Meknes. While older, they are the workhorses of the network. Air conditioning can be inconsistent, especially on summer journeys through the interior, and luggage space is more limited to overhead racks.
Key Booking Policies: Dynamic Pricing & Payment Hurdles
- Dynamic Pricing: Ticket sales open exactly 30 days before departure at midnight Moroccan time. The first batch of tickets is the cheapest. Fares increase significantly as the travel date approaches, and can jump by 30-50% if purchased on the day of travel.
- Payment Hurdles: The official ONCF (Office National des Chemins de Fer) website has a payment gateway that is notoriously finicky for international cards. It often requires 3D Secure authentication, a protocol many foreign cards aren't enrolled in, leading to failed transactions.
The Moroccan rail system splits into two distinct tiers: the ultra-modern 320 km/h Al Boraq high-speed line hugging the coast and the traditional, scenic Al Atlas network serving the heartland.
How to Book Morocco Train Tickets Online in 2026

I always tell travelers to manage their expectations based entirely on their specific route. The shiny Al Boraq feels exactly like a premium European service—smooth, quiet, and efficient. The older Al Atlas trains are rumbling, reliable workhorses that offer a more local, and occasionally more adventurous, travel experience.
Booking the Al Boraq High-Speed Experience
This is the undisputed pride of Moroccan infrastructure. The journey on the Tangier to Casablanca Train takes roughly two hours. You glide past coastal farms, glimpses of the ocean, and modern industrial zones in complete air-conditioned silence. First-class Al Boraq tickets offer massive legroom, dedicated luggage racks, access to the VIP lounge at Tangier and Casa Voyageurs stations, and a complimentary newspaper or magazine. Expect to pay about 320 MAD ($32) for a first-class seat. Second class runs closer to 220 MAD ($22). Do yourself a favor. Check latest prices on moroccotrain.com to lock in your preferred departure time, especially for the popular 12:00 and 17:00 departures.
Booking the Al Atlas Conventional Service
Heading inland to the ancient medinas requires a bit more patience and planning. Taking the Casablanca to Fes Train takes about four hours on the conventional tracks. First class buys you a guaranteed assigned seat in a six-person glass-partitioned compartment, offering more privacy and slightly better padding. Second class means an eight-person compartment where the air conditioning occasionally struggles during the July heat, and the atmosphere can be more crowded and lively. A first-class ticket costs roughly 175 MAD ($17.50), a small price for guaranteed comfort. Grab your tickets via moroccotrain.com to guarantee you aren't stuck standing in the aisle for hours.
2026 Train Class & Fare Comparison
| Train Type | Route Example | Duration | Average 1st Class Fare | Average 2nd Class Fare | Action |
|---|---|---|---|---|---|
| Al Boraq | Tangier to Rabat Train | 1h 20m | 250 MAD ($25) | 175 MAD ($17.50) | Book Al Boraq |
| Al Atlas | Marrakech to Casablanca Train | 2h 40m | 180 MAD ($18) | 130 MAD ($13) | Book Al Atlas |
| Al Atlas | Fes to Marrakech Train | 6h 30m | 330 MAD ($33) | 230 MAD ($23) | Book Al Atlas |
Step-by-Step Online Booking Guide for 2026
If you have decided to skip the station queues, the online booking process is straightforward when using a reliable platform. Here is exactly how to secure your seats before you arrive in North Africa.
Step 1: Select Your Route and Date
Start by entering your departure and arrival cities. Remember that dynamic pricing means fares are lowest exactly 30 days before travel. If you are planning a multi-city itinerary, map out your dates carefully to align with the 30-day booking window for each leg of the trip. Be flexible with your times; a 09:05 departure might be significantly cheaper than the 09:35 one on the same route.
Step 2: Choose Your Travel Class
As mentioned earlier, the price gap between first and second class is often minimal, especially on the Al Atlas network. For a journey like the Tangier to Casablanca Train, the upgrade might only cost $10. Select first class to guarantee a reserved seat, extra legroom, and access to dedicated luggage racks. For overnight or very long journeys (like Fes to Marrakech), the comfort upgrade is non-negotiable.
Step 3: Enter Passenger Details
You will need to provide the names of all passengers exactly as they appear on their passports. The conductor will scan the QR code on your ticket and occasionally ask for matching identification, especially on the high-speed Al Boraq routes. Ensure you enter your email address correctly, as this is where your e-ticket will be delivered.
Step 4: Complete Secure International Payment
This is where most travelers stumble on the official site. Moroccan banking gateways can be overly sensitive. By choosing to book Morocco train tickets online through our portal, you bypass the strict Moroccan 3D Secure banking requirements. You can pay using your standard US, UK, or European credit card without triggering frustrating fraud alerts. You'll receive a confirmation with a QR code and a PDF ticket, which you can save to your phone or print.
Why Official Booking Fails for International Tourists
Let's address the massive elephant in the room right now. The state railway operator, ONCF, runs a visually appealing website. But their payment processing gateway is an absolute nightmare for international tourists, causing countless failed transactions and abandoned bookings.
The Infamous 3D Secure Payment Trap
Moroccan banking regulations require incredibly strict 3D Secure authentication protocols. Most US, UK, and Australian cards fail silently right at the checkout screen. You will waste hours trying different browsers, clearing cookies, and calling your bank, only to see the dreaded "Transaction Refusée" (Transaction Refused) error. According to TripAdvisor's Morocco Forums and countless traveler blogs, this payment glitch remains the number one complaint among independent travelers. Avoid this massive headache entirely. Book at moroccotrain.com instead, where international cards process securely in your home currency without triggering these regional banking fraud alerts.
The Impact of Dynamic Pricing on Costs
Waiting to buy your tickets at the station physically costs you money and can derail your plans. Fares operate on a strict dynamic scale. A ticket bought on the actual departure day can cost 30% more than one bought two weeks prior. For popular segments like the Fes to Tangier Train (which requires a transfer), waiting means risking a completely sold-out train on one leg of your journey. Or worse, you end up stuck in a middle seat facing backward near the noisy restrooms because all the window and aisle seats were taken days earlier.
Popular 2026 Train Routes, Durations & Costs

Planning a seamless itinerary requires looking at hard numbers and realistic travel times. The rail network connects the major tourist hubs beautifully, but it's a star network centered on Casablanca. Remember that deep southern destinations like Agadir, Essaouira, or the Sahara (Merzouga/Ouarzazate) have no train service at all—you'll need a bus or a car for those.
The High-Speed Coastal Corridor
This is where the high-speed network truly shines. The Rabat to Tangier Train is an absolute breeze. It whisks you away to the north in under 90 minutes. Local business commuters and university students heavily use this specific line. Morning (7-9 AM) and late-afternoon (4-7 PM) departures sell out incredibly fast, especially on Fridays and Sundays. First-class tickets hover around 250 MAD ($25). Secure your spot early and book train tickets online to keep your travel schedule intact.
The Inland Imperial Cities Circuit
Traveling between Fes, Rabat, and Marrakech is scenic but noticeably slower. Taking the Fes to Rabat Train takes about three hours. You will pass through gorgeous rolling agricultural lands, fields of sunflowers, and endless olive groves. Always book first class on Al Atlas trains for journeys over two hours, as the tiny $5 price difference is worth the guaranteed seat, power outlet, and generally quieter compartment. For those heading further south, the Casablanca to Marrakech Train 2026: Tickets & Schedule guide details the 2.5-hour journey perfectly, including station transfer advice in Casablanca.
2026 Route & Pricing Table
| Route | Train Type | Est. Time | 2nd Class Fare | 1st Class Fare | Pro Tip | Action |
|---|---|---|---|---|---|---|
| Casablanca to Marrakech Train | Al Atlas | 2h 40m | 130 MAD | 180 MAD | Trains depart from Casa Voyageurs. Arrive early to navigate the large station. | Check Dates |
| Tangier to Fes Train | Al Boraq + Al Atlas | 4h 15m | 240 MAD | 330 MAD | Requires transfer at Kenitra. Tickets sold as a single journey. | Check Dates |
| Rabat to Casablanca Train | Al Boraq | 0h 55m | 90 MAD | 130 MAD | Frequent service. Also stops at Casa Port for some departures. | Check Dates |
| Marrakech to Fes Train | Al Atlas | 6h 30m | 230 MAD | 330 MAD | Long journey. Book first class for comfort. Bring snacks and entertainment. | Check Dates |
Luggage Allowances & Onboard Amenities on Moroccan Trains
First-time visitors often worry about traveling with large suitcases. The Moroccan rail network is surprisingly accommodating, but knowing the unwritten rules and being prepared helps immensely.
Baggage Rules & Storage on ONCF Trains
Officially, there are no strict weight limits for luggage on ONCF trains. However, you must be able to carry and lift your own bags without assistance. On the high-speed Al Boraq, you will find large luggage racks at the end of each carriage and smaller overhead racks above the seats. On the older Al Atlas trains, luggage must fit in the narrower overhead racks above your seat. If you have a massive 30kg suitcase, lifting it above your head in a crowded second-class compartment is a serious challenge and often blocks the aisle. Consider a soft-sided, collapsible bag for easier storage.
Food, Drink, and Wi-Fi Availability
Do not expect high-speed or reliable internet on your journey. While Al Boraq trains advertise onboard Wi-Fi, the connection is often weak and frequently drops as the train speeds through rural areas. It's best for checking emails, not streaming. Download your movies, music, or podcasts before leaving your hotel. As for dining, the Al Boraq features a dedicated cafeteria car serving coffee, tea, soft drinks, pre-packaged sandwiches, pastries, and snacks. The Al Atlas trains rely on a vendor pushing a small snack cart down the aisle. The selection is usually limited to chips, biscuits, water, and instant coffee or tea. Always bring your own snacks and a full water bottle for journeys longer than two hours. Vendors do not accept credit cards—cash (small denominations of MAD) only.
7 Pro Tips for Flawless Moroccan Train Travel in 2026
I have ridden these specific rails dozens of times over the years. A few insider tricks make the journey infinitely smoother and far less stressful.
- Pack your own snacks and water. The food cart on Al Atlas trains is notoriously unreliable and limited. Grab a fresh sandwich (a "pocquette" from a local bakery) and a large bottle of water from a station kiosk or supermarket before boarding.
- Sit on the correct side for scenery. When taking the Marrakech to Rabat Train northbound, request a seat on the left (west-facing) side. You get much better views of the Atlantic coast as you approach Casablanca. For the Fes to Tangier Train via Al Boraq, the right side offers occasional views of the Rif mountains.
- Know your Casablanca stations. Casa Voyageurs is the main hub for all long-distance and high-speed (Al Boraq) trains. Casa Port only serves local commuter trains (RER) heading to the airport (via bus connection) and to Rabat. Double-check your ticket!
- First class means dedicated luggage space. Second-class overhead racks fill up instantly with massive backpacks and suitcases. If you travel with a large suitcase, the first-class upgrade pays for itself in reduced stress and guaranteed space in the carriage-end racks.
- Bypass the ONCF payment block. Do not waste your vacation fighting with Moroccan bank gateways. Use our platform to book train tickets online with your regular Visa, Mastercard, or Amex. You get instant confirmation and a mobile-friendly ticket.
- Mind the Ramadan 2026 schedule. If you travel during the holy month in 2026 (starting mid-February), train frequencies drop significantly, especially in the late afternoon. Evening schedules shift heavily to accommodate Iftar (the breaking of the fast). Book even further in advance during this period.
- Skip the station taxi sharks. Drivers waiting directly outside Casa Voyageurs or Marrakech stations routinely overcharge tourists by refusing to use the meter. Walk one block away from the station exit to hail a petit taxi and insist on the meter ("compteur, s'il vous plaît"). Alternatively, use the Careem or inDrive apps for upfront pricing. Read our detailed guide on the Marrakech Railway Station for more survival tactics.
Knowing the difference between Casa Port and Casa Voyageurs stations will save you from missing your high-speed connection entirely—a common and costly mistake.
Frequently Asked Questions: Morocco Train Tickets
How do I book Morocco train tickets online for 2026?
You can book Morocco train tickets online through specialized platforms like moroccotrain.com to successfully bypass the frequent payment rejections of foreign credit cards on the official state website. The process is secure and accepts major international cards.
When is the best time to buy my Morocco train tickets?
You should buy your Morocco train tickets at least 48 hours before departure, although booking exactly 30 days in advance is recommended to secure the lowest dynamic pricing fares. Last-minute purchases risk sold-out trains and premium pricing.
How much does the Al Boraq high-speed train cost in 2026?
The Al Boraq high-speed train costs approximately 320 MAD ($32) for a first-class seat and roughly 220 MAD ($22) for second-class travel between Tangier and Casablanca. Prices vary slightly based on demand and time of day.
Can international travelers use foreign credit cards for Morocco train tickets?
International travelers frequently encounter errors when using non-Moroccan credit cards on the official ONCF railway site due to 3D Secure authentication issues. Third-party booking platforms like moroccotrain.com are the most reliable alternative for seamless payment.
What is the main difference between Al Boraq and Al Atlas trains?
Al Boraq is a modern, high-speed service reaching 320 km/h along the coastal corridor between Tangier and Casablanca. Al Atlas trains are traditional, slower rail links connecting inland cities like Marrakech, Fes, and Meknes with the coastal hub of Casablanca.
Is there a first class lounge at the train stations?
Yes, holders of first-class Al Boraq tickets have access to the "Salon Club" lounges at Tangier Ville and Casa Voyageurs stations. These offer comfortable seating, free Wi-Fi, refreshments, and a quiet space to wait before boarding.
