Serenity Morocco
Need help planning?
Morocco's ONCF railway network connects the country's major cities efficiently and affordably. From the Al Boraq high-speed train to scenic cross-country routes, this guide covers routes, tickets, classes, station guides, and everything you need to travel Morocco by rail.
ONCF (Office National des Chemins de Fer) operates Morocco's railway system, connecting over 30 stations across the country's most visited cities. Train travel is comfortable, affordable, scenic, and avoids the stress of navigating Moroccan roads.
The crown jewel of the network is the Al Boraq, Africa's first high-speed train, which covers Tangier to Casablanca in just 2 hours at speeds up to 320 km/h. Combined with regular services reaching Marrakech, Fes, Meknes, Rabat, and Oujda, trains are the smartest way to see Morocco's imperial cities.
Total rail network
Al Boraq top speed
Stations nationwide
Ticket price range
All prices are approximate 2026 fares. Book at oncf-voyages.ma for current schedules.
| Route | Duration | 2nd Class (MAD) | 1st Class (MAD) | Frequency | Type |
|---|---|---|---|---|---|
| Tangier - Casablanca | 2h 10min | 149 | 229 | 12/day | Al Boraq |
| Tangier - Kenitra | 1h 30min | 100 | 170 | 12/day | Al Boraq |
| Casablanca - Marrakech | 3h 00min | 100 | 150 | 9/day | Regular |
| Casablanca - Fes | 3h 30min | 120 | 185 | 6/day | Regular |
| Casablanca - Rabat | 1h 00min | 50 | 80 | Every 30min | Shuttle |
| Rabat - Fes | 2h 30min | 100 | 150 | 8/day | Regular |
| Rabat - Meknes | 2h 00min | 80 | 125 | 6/day | Regular |
| Marrakech - Fes | 7h 00min | 160 | 250 | 3/day | Regular |
| Fes - Oujda | 5h 00min | 120 | 185 | 3/day | Regular |
| CMN Airport - Casa Voyageurs | 0h 30min | 50 | 70 | Every hour | Shuttle |
Inaugurated in November 2018, the Al Boraq (named after the mythical creature in Islamic tradition) connects Tangier to Casablanca at speeds up to 320 km/h. Built by Alstom using TGV Duplex technology, it reduced the journey from 4 hours 45 minutes to just 2 hours 10 minutes.
| Feature | First Class | Second Class |
|---|---|---|
| Seating | 2+1 (wide, reserved) | 2+2 (standard, unreserved on regular trains) |
| Air conditioning | Always | Newer trains only |
| Crowding | Rarely crowded | Can be very crowded at peak times |
| Price premium | 40-50% more than 2nd class | Base fare |
| Power outlets | Yes (newer trains) | Limited/none |
| Recommended for | Journeys over 2 hours, families | Short trips, budget travelers |
Our recommendation: For journeys under 1 hour (e.g., Casablanca-Rabat), second class is perfectly fine. For longer routes (Casablanca-Marrakech, Casablanca-Fes), first class is worth the $5-10 upgrade for the comfort and guaranteed seat.
Main hub for all routes
Morocco's busiest and most important station. All long-distance routes pass through here. Recently renovated with modern facilities including a food court, ATMs, luggage storage, and a taxi rank outside.
Southern terminus
Located in the Gueliz new city, about 15 minutes by taxi from the medina. Modern station with cafes, ticket counters, and a taxi rank. The station is the southern end of the ONCF network — trains do not continue south beyond Marrakech.
Gateway to Fes el-Bali
Located in the Ville Nouvelle (new city), about 20 minutes by taxi from the medina. The station has ticket counters, waiting areas, and limited food options. Petit taxis (red) wait outside but cannot enter the medina — they drop you at the nearest gate.
Capital city hub
Centrally located and walkable to many attractions including the Hassan Tower and Kasbah of the Udayas. Well-connected by tram to other parts of the city. Modern station with full amenities.
Al Boraq northern terminus
The main station for Tangier, serving both regular and Al Boraq services. Located in the city center near the port area. Modern facilities with Al Boraq waiting lounge.
Book at oncf-voyages.ma or the ONCF app. Pay with international credit cards. E-tickets are sent by email — show on your phone or print. Booking opens 30 days in advance.
Best for: Al Boraq, advance booking, promotional fares
Available at all stations. Cash (MAD) or card accepted. Queues can be long at peak times, so arrive 30 minutes before departure. Staff speak French and often English.
Best for: Same-day travel, paying cash, asking questions
Automated machines at major stations accept cash and cards. Available in French, Arabic, and English. Faster than counters for simple point-to-point tickets.
Best for: Quick purchases, avoiding queues
Arrive 15-20 minutes early
Trains generally depart on time. Allow extra time at busy stations like Casa Voyageurs.
Carry your passport
Occasionally checked on trains along with your ticket. Always have valid ID.
Bring snacks and water
While cafe cars exist on some trains, smaller services have no food. Station vendors sell sandwiches and drinks.
Download offline maps
Phone signal can be patchy on some routes. Download Google Maps offline for navigation at destination.
Guard your luggage
Keep bags visible and within reach. Use overhead racks in your line of sight. Lock zippers if possible.
Confirm your platform
Platforms are announced on screens and by PA system (usually in French and Arabic). Ask staff if unsure.
Respect quiet cars
First class is generally quieter. Keep phone calls brief and volume low.
Plan connections carefully
Allow at least 30 minutes for connections at Casa Voyageurs. Check schedules in advance.
The ONCF network covers the northern half of Morocco. For these popular destinations, alternative transport is needed.
Bus from Marrakech (2.5 hours, ~70 MAD) or private transfer
Bus from Fes (4 hours, ~75 MAD) or grand taxi
Bus from Marrakech (4 hours, ~90 MAD) or private car over Tizi n'Tichka
Private car or bus from Marrakech (9-10 hours) via Ouarzazate
Bus from Marrakech (3 hours, ~110 MAD) or domestic flight (1 hour)
Grand taxi or bus from Fes (1 hour) or Meknes
For destinations beyond the rail network, our chauffeur service provides comfortable door-to-door transfers across all of Morocco.
While trains are great for city-to-city travel, our private transfers and chauffeur services cover the entire country — including destinations the railway does not reach.
Or call us directly at +212 701 664 704
Second class tickets range from 50-160 MAD ($5-16) and first class from 80-250 MAD ($8-25) depending on the route. Al Boraq high-speed tickets cost 149-350 MAD ($15-35). Children under 4 travel free and ages 4-12 get 50% off.
Al Boraq is Africa's first high-speed train, connecting Tangier to Casablanca in 2 hours 10 minutes at speeds up to 320 km/h. It runs 12 times daily and offers both economy and first class with WiFi, power outlets, and a cafe car.
Yes, at oncf-voyages.ma or the ONCF mobile app. International credit cards are accepted. E-tickets are sent by email. Station counters and ticket machines are also available for same-day purchases.
First class has wider seats (2+1 configuration), reserved seating, air conditioning, more legroom, and quieter carriages. Second class has 2+2 seating and can be crowded. First class costs about 40-50% more. For trips over 2 hours, the upgrade is worth it.
Take the airport shuttle train to Casa Voyageurs (30 minutes, hourly). Transfer to a Marrakech-bound train (3 hours). Total journey about 4 hours. Alternatively, a direct private transfer takes 2.5-3 hours by road.
Yes, direct trains run 3 times daily and take about 7 hours via Casablanca, Rabat, and Meknes. First class costs around 250 MAD ($25). An overnight departure option is available for those who prefer to travel while sleeping.
Moroccan trains are generally safe and widely used by both locals and tourists. Keep belongings close, especially in second class. First class offers reserved seating and less crowding. Night trains are safe but secure luggage properly.
No, the train network does not reach the Sahara. From Marrakech, you need overland transport (bus, grand taxi, or private car) to reach the desert gateway towns of Merzouga and M'Hamid — approximately 8-10 hours of driving through spectacular scenery.
Self-drive tips, costs, insurance, and the best driving routes across Morocco.
Private driver services covering all of Morocco, including destinations trains cannot reach.
Entry requirements, visa-free countries, and customs information for Morocco.
Complete beginner's guide covering everything you need for your first Morocco trip.
Need help planning your Morocco transport?
Whether by train, private car, or chauffeur, we make getting around Morocco effortless.
Plan Your Transportation