Search trains
Check live tickets and departures
Enter your origin, destination and date to see the departures listed for your trip.
Taking ONCF trains in Morocco
Morocco's trains are fairly simple once you separate the train types. Al Boraq covers the fast Tangier–Kenitra–Rabat–Casablanca corridor. Al Atlas handles longer trips to Marrakech, Fès, Meknès and other inland cities.
My quick rule is Al Boraq when you are travelling along the northern high-speed line, Al Atlas for the longer conventional routes, and TNR for short trips around Casablanca, Rabat and Kenitra.
The part that catches visitors out is the station name. Casablanca has Casa Voyageurs, Casa Port, Casa Oasis and Mohammed V Airport station. They are not interchangeable, so check the station printed on your ticket.
Rail network
A simple map of the ONCF network
I think of ONCF as three overlapping networks: the fast north-south line, the slower long-distance routes, and the short regional services around Casablanca, Rabat and Kenitra.
That split makes the stations easier to remember. Al Boraq uses Tanger Ville and Rabat Agdal. Longer intercity trains commonly start from Casa Voyageurs, Marrakech or Fès.
South of Casablanca, trains slow down. That is normal on the lines to Marrakech, Safi, Khouribga and Oued Zem. They still reach the cities most visitors want to connect.
When in doubt, start with the station and the train type, not the tourist headline.
Popular ONCF train routes
Popular ONCF train routes
Casablanca ↔ Marrakech
For Casablanca–Marrakech, I would use Casa Voyageurs and Marrakech station in Guéliz. Both are city stations, so you avoid an airport transfer at each end.
This is a regular intercity train, not Al Boraq. If a booking page calls every Moroccan train high-speed, ignore that label and check the actual train type.
Second class is enough for most people. I would look at first class when the price gap is small and you want more room for the roughly three-hour ride.
Marrakech station is outside the medina. Taxis wait outside, and the ride into the medina is a short taxi ride away.
Check Casablanca → Marrakech trains
Marrakech ↔ Casablanca
From Marrakech, board at the station in Guéliz and take the direct intercity train north.
Casa Voyageurs is the stop I would choose for most Casablanca arrivals.
Going on to Tangier? Change at Casa Voyageurs for Al Boraq. Going to Mohammed V Airport? Leave time for the separate airport train rather than treating it as one through service.
Check Marrakech → Casablanca trains
Casablanca ↔ Tangier
Casablanca–Tangier is the route Al Boraq was built for. Board at Casa Voyageurs and ride north through Rabat Agdal and Kenitra to Tanger Ville.
I would choose Al Boraq unless a conventional departure fits your day much better.
Class: Second class is already comfortable; first class is for extra space.
Check Casablanca → Tangier trains
Rabat ↔ Tangier
For Rabat–Tangier, use Rabat Agdal. That is the Al Boraq station, even though Rabat Ville may look more central on the map.
Once you are on board, it is a quick and simple ride north to Tanger Ville.
Arrival: Tanger Ville, the main northern station for Tangier.
Check Rabat → Tangier trains
Casablanca ↔ Rabat
Casablanca–Rabat is short enough that I would normally book second class and move on.
Stations: Casa Voyageurs, Rabat Ville and Rabat Agdal
Train type: TNR or intercity service; the live result decides which one runs
Check Casablanca → Rabat trains
Marrakech ↔ Fès
Marrakech–Fès takes time, but the train leaves you in the city rather than at an airport. That trade is worth it if you prefer city-centre travel.
Check your date before making plans around a direct train. If none is shown, change in Casablanca instead.
Class: On a trip this long, first class is easier to justify if the price gap is reasonable.
Check Marrakech → Fès trains
Tangier ↔ Kenitra
Kenitra is a short stop on the high-speed line and a handy change point between Tangier, Rabat and Casablanca.
Use it for: changing between Tangier, Rabat and Casablanca
Station note: Kenitra is on the main north-south corridor
Check Tangier → Kenitra trains
Casablanca ↔ Fès
Casablanca–Fès is normally an Al Atlas trip. In Casablanca, start at Casa Voyageurs.
Fès station is in Ville Nouvelle. If your hotel is in the medina, plan the short taxi ride after you arrive.
Stations: Casa Voyageurs and Fès station in Ville Nouvelle
Class: First class is worth checking when you want more quiet on this longer ride.
Check Casablanca → Fès trainsAfter the train
Book something to do when you arrive
Once your train is sorted, book a food tour, day trip or guided visit for the city on your itinerary.
Choose by route
Which train should you choose?
Already know where you're going? Use the table below to see which train to look for, where to board, how long the trip usually takes and whether first class is worth paying for.
| Route | Train type | Duration / frequency | Stations | Direct? | Fare note | Best for | Booking advice |
|---|---|---|---|---|---|---|---|
| Casablanca ↔ Tangier | Al Boraq | Fastest north-south link; many daily departures | Casa Voyageurs, Tanger Ville | Direct | Return offer has shown 189 MAD instead of 270 MAD | The headline high-speed route | Book Al Boraq first unless the timetable says otherwise |
| Casablanca ↔ Marrakech | Al Atlas / intercity | Long daytime ride; several daily departures | Casa Voyageurs, Marrakech | Direct | ONCF promos have shown fares from 49 Dh | City-centre travel without flying | Book early if you want that fare |
| Casablanca ↔ Fès | Al Atlas / intercity | Long eastbound trip; regular daily departures | Casa Voyageurs, Fès | Direct | ONCF promos have shown fares from 49 Dh | Reaching Fès and its old medina | Choose first class if you want a quieter long ride |
| Rabat ↔ Tangier | Al Boraq | Fast corridor trip; frequent departures | Rabat Agdal, Tanger Ville | Direct | ONCF north-corridor promos have shown 89 Dh | The quickest rail hop to Tangier | Use Rabat Agdal, not Rabat Ville, for Al Boraq |
| Rabat ↔ Marrakech | Al Atlas / intercity | Long all-day ride; several daily departures | Rabat Ville / Agdal, Marrakech | Direct | Live fare check | Station-to-station city travel | Plan a roomy connection if you are changing from Al Boraq |
| Rabat ↔ Fès | Al Atlas / intercity | Medium-long route; daily departures | Rabat Ville / Agdal, Fès | Direct | ONCF promos have shown fares from 49 Dh | Inland city travel | Good choice when you want to stay in the train instead of road transfer |
| Marrakech ↔ Tangier | Intercity + Al Boraq | Long daytime trip; the change depends on the date | Marrakech, Casa Voyageurs, Tanger Ville | Usually one change | Live fare check | Cross-Morocco rail without flying | Leave margin in Casablanca so the connection stays comfortable |
| Tangier ↔ Fès | Al Boraq + conventional train, or timetable-specific through service | Long trip; fewer departures than the main corridor | Tanger Ville, Fès, possibly Casablanca | Depends on the day | Live fare check | North-to-east rail planning | Check both direct and one-change options before you settle on the date |
| Tangier ↔ Oujda | Conventional long-distance rail | Very long trip; limited departures | Tanger Ville, Oujda, usually a central change station | Usually one change | Live fare check | Cross-country overland travel | Only book this once you have checked the full-day timetable |
| Meknes ↔ Fès | Conventional ONCF train | Short corridor hop; frequent departures | Meknès, Fès | Direct | Live fare check | Easy regional rail | Simple point-to-point travel |
| Casablanca ↔ Kenitra | TNR or Al Boraq; check the departure shown | Short corridor trip; very frequent | Casa Voyageurs, Kenitra | Usually direct | Live fare check | Business travel and fast transfers | Pick the departure that fits your day rather than chasing a specific class |
| Casablanca ↔ Mohammedia | TNR / regional service | Very short suburban hop; frequent departures | Casa Voyageurs, Casa Port, Mohammedia | Direct | Live fare check | Quick city-edge travel | Short city-edge trips |
| Casablanca ↔ Safi | Conventional intercity | Long southbound run; limited daily departures | Casa Voyageurs, Safi | Direct | Live fare check | Coastal southbound travel | Check the return time before you commit to a day trip |
| Casablanca ↔ Khouribga | Regional intercity | Moderate-length trip; daily departures | Casa Voyageurs, Khouribga | Direct | Live fare check | Inland business and local travel | Simple route, but still worth checking the station printed on the ticket |
| Casablanca ↔ Oued Zem | Regional intercity | Longer inland trip; limited departures | Casa Voyageurs, Oued Zem | Direct | Live fare check | Southern inland travel | Book only after you have checked the exact train time |
| Fès ↔ Taza | Regional train | Short-to-medium trip; regular departures | Fès, Taza | Direct | Live fare check | Eastern corridor hop | Good short route when you want rail instead of road |
| Fès ↔ Nador | Long-distance conventional rail | Long trip; limited departures | Fès, Nador | Sometimes via change | ONCF promos have shown fares from 49 Dh | Far-east planning | Check the full route before relying on a connection |
| Fès ↔ Oujda | Long-distance conventional rail | Long trip; limited departures | Fès, Oujda | Usually direct or one change | ONCF promos have shown fares from 49 Dh | Crossing the east of Morocco | Best booked only after you have checked the same-day timetable |
Price information
Morocco train fare examples
These are fare examples ONCF has published. Treat them as rough reference points, not promises: open the live search before you pay because fares and offers change.
| Fare example | Published fare | How I would use it |
|---|---|---|
| Casablanca → Marrakech | From 49 Dh | A low fare to compare against on the main southbound route |
| Casablanca → Fès | From 49 Dh | A starting point for an eastbound fare check |
| Fès → Oujda | From 49 Dh | Shows that long eastern trips can have low-fare offers |
| Fès → Nador | From 49 Dh | A reference point for this long-distance route |
| Tangier ← Kenitra | From 89 Dh | A north-corridor fare worth checking |
| Tangier ← Rabat | From 89 Dh | Compare this with other Al Boraq departures |
| Casablanca ↔ Tangier | 189 MAD instead of 270 MAD on return offers | Compare the return fare before booking |
| Casablanca ↔ Marrakech | 112 MAD instead of 160 MAD on return offers | Check the return option, not only a one-way fare |
| Fès ↔ Casablanca | 116 MAD instead of 165 MAD on return offers | A reference for the long intercity trip |
| Oujda ↔ Casablanca | 165 MAD instead of 235 MAD on return offers | A reference for the long eastbound trip |
| Nador ↔ Rabat | 130 MAD instead of 185 MAD on return offers | Check the return fare on this long route |
| Casablanca ↔ Mohammed V Airport | From 50 Dh | A fare reference for airport travel |
High-speed rail
Al Boraq high-speed trains
Al Boraq is Morocco's high-speed train. It runs between Tangier, Kenitra, Rabat and Casablanca and is the fastest rail choice on that corridor.
From Casablanca or Rabat to Tangier, I would check Al Boraq first. The conventional trains take longer, so choose one only when its time or price works better for you.
Seats are reserved. First class is quieter, while second class is comfortable enough for most trips. Bring normal luggage and treat Al Boraq as a city-to-city train, not an airport shuttle.
| Route type | Best train |
|---|---|
| Casablanca → Tangier | Al Boraq |
| Rabat → Tangier | Al Boraq |
| Marrakech → Tangier | Intercity to Casablanca, then Al Boraq |
| Casablanca → Fès | Al Atlas |
| Short Casablanca-Rabat regional trip | TNR / suitable intercity option |
Train comparison
Al Boraq vs Al Atlas vs TNR
Al Boraq
The fastest intercity option, built for Tangier, Rabat, Kenitra and Casablanca.
Best for: long north-south trips where time matters most.
Al Atlas
The long-distance conventional service for Marrakech, Fès, Meknès and other inland links.
Best for: direct city-center rail when speed is less important than coverage.
TNR
The regional service for short trips around Casablanca, Rabat and Kenitra.
Best for: quick hops where frequency and station convenience matter most.
| Train | Typical corridors | Reservation | Station pattern | Best for |
|---|---|---|---|---|
| Al Boraq | Tangier-Kenitra-Rabat-Casablanca | Reserved seating | Tanger Ville, Rabat Agdal, Casa Voyageurs | Fast north-south travel |
| Al Atlas | Marrakech, Fès, Meknès, Safi, Oued Zem and Khouribga | Usually reserved on long-distance services | Main city-center stations | Long intercity trips where direct rail exists |
| TNR | Casablanca-Rabat-Kenitra and nearby corridors | Reservation depends on departure | Casa Voyageurs, Casa Port, Rabat Ville, Rabat Agdal, Kenitra, Mohammedia | Short hops and commuter-style travel |
The simple version: Al Boraq has reserved seats, Al Atlas is usually reserved on the main long routes, and TNR depends on the departure. If you are travelling between Tangier, Kenitra, Rabat and Casablanca, start with Al Boraq.
For route details, see AlBoraqTrain.com.
Class advice
First class or second class?
First class mainly buys you more space and a calmer carriage. Second class is the better value on short and medium trips. The difference matters on Marrakech–Fès much more than on Casablanca–Rabat.
On Al Boraq, second class is already comfortable and reserved, so first class is an upgrade, not a requirement. On a conventional train, the extra space becomes more noticeable after several hours.
I would book second class for Casablanca–Rabat or Rabat–Kenitra. For Casablanca–Marrakech, Casablanca–Fès or Marrakech–Fès, I would compare the price and pay for first class if the difference is small.
First class
Choose first class when the trip is long or you want a quieter carriage.
On Al Boraq, first class gives you more space and a quieter carriage. On conventional ONCF trains, the main benefit is room to settle in for a long ride.
It makes the most sense on:
- Marrakech → Fès
- Casablanca → Fès
- Marrakech → Casablanca
- longer eastbound trips toward Oujda or Nador
It is usually less important on short trips such as Casablanca → Rabat.
Second class
I usually book second class for Moroccan train trips.
On Al Boraq, second class is reserved and perfectly good for Casablanca–Tangier or Rabat–Tangier.
On short conventional routes, I would keep the money and book second class.
Choose second class for:
- Casablanca → Rabat
- Rabat → Kenitra
- Casablanca → Mohammedia
- short and medium regional trips
On long conventional trips, book earlier when you can. Second class fills up faster around weekends and holidays.
Overnight trains
Overnight trains in Morocco
Morocco still has an overnight train on a few of its longest rail routes. The one most visitors are likely to care about is Marrakech–Tangier.
Instead of spending a large part of the day travelling north, you can leave Marrakech at night and cover the distance while you sleep. The overnight service is part of the Al Atlas network rather than Al Boraq, and the sleeping option on the Marrakech–Tangier route is a couchette, not a private single sleeper according to ONCF's current Train Hôtel information.
The main advantage is simple: you save the daytime hours for the trip itself. The trade-off is that a couchette is shared accommodation and will never feel like a hotel room.
Marrakech to Tangier overnight train
If your choice is between spending most of a day travelling north or sleeping on the train, the overnight service is worth checking.
You leave from Marrakech railway station and travel north on an Al Atlas night service toward Tangier. The couchette gives you a proper berth instead of making you sit upright through the night.
Do not confuse this with Al Boraq. Al Boraq does not run directly from Marrakech. The overnight train is an Al Atlas service.
Check the exact departure and arrival time for your date because timetables can change.
Check Marrakech → Tangier trainsOvernight train questions
Is there an overnight train from Marrakech to Tangier?
Yes. ONCF lists Marrakech–Tangier among its night-train routes. The sleeping accommodation currently advertised for this route is a couchette attached to an Al Atlas train.
Can I book a couchette from Marrakech to Tangier?
Yes. ONCF currently lists couchettes on the Marrakech–Tangier night route. The compartment has four berths, arranged as two upper and two lower beds facing each other.
Is there a single-bed sleeper from Marrakech to Tangier?
Not according to ONCF's current Train Hôtel information. ONCF lists single sleeper cars on Casablanca–Oujda and Casablanca–Nador, while Marrakech–Tangier is listed with couchettes. Check the live booking options for your travel date in case the product changes.
What is a couchette?
A couchette is a shared sleeping compartment with proper berths. On the ONCF night product, the couchette is arranged for four passengers. It is more comfortable for sleeping than a normal seat, but it is shared rather than private.
Is bedding provided?
ONCF describes its night accommodation as sleeping cars with proper beds and bedding. For the Marrakech–Tangier couchette, confirm the exact included bedding on the ticket or current booking screen before departure.
Is the couchette air-conditioned?
Yes. ONCF states that its night-train compartments are air-conditioned.
Does the Marrakech–Tangier couchette have a private toilet?
Do not expect a private en-suite toilet. ONCF does not advertise a private toilet for the Marrakech–Tangier couchette. Plan on shared carriage facilities unless your specific ticket says otherwise.
Is there a shower on the night train?
Do not count on a shower. ONCF does not advertise showers as part of the Marrakech–Tangier couchette product.
Where do I put my luggage?
Keep your luggage inside or close to your compartment wherever the carriage layout allows. Bring only what you can comfortably manage in a shared four-berth space, and keep passports, money and electronics with you.
Can couples share a couchette?
A couchette is a shared four-berth compartment. Do not assume that booking two berths guarantees a private compartment. If privacy matters, check the exact allocation rules when booking or ask ONCF before travel.
Is food included on the Marrakech–Tangier night train?
Do not rely on a full onboard meal being included with a couchette. Inclusions can differ by accommodation type. Check the ticket conditions and bring water and a snack.
How much is a Marrakech–Tangier couchette?
ONCF's current Train Hôtel page lists a 370 MAD couchette fare. Treat that as the operator's published product price rather than a permanent promise: check the live booking price for your travel date before paying.
Is the Marrakech–Tangier overnight train worth it?
Yes, if saving daytime matters more to you than having complete privacy.
A couchette lets you sleep while covering one of Morocco's longest rail routes. If you know you sleep badly in shared compartments, a daytime train connection may suit you better.
The overnight train is about saving time, not luxury.
Should I take the overnight train or Al Boraq?
From Marrakech, this is not a direct Al Boraq-versus-night-train choice. Al Boraq starts farther north on the Tangier–Kenitra–Rabat–Casablanca corridor.
During the day, a Marrakech–Tangier rail journey may involve conventional Al Atlas travel and an Al Boraq connection depending on the timetable. At night, ONCF offers the couchette option on the Marrakech–Tangier route.
Choose daytime if you want the faster modern high-speed section. Choose the couchette if you would rather travel while sleeping.
Which stations does the overnight journey use?
In Marrakech, use Marrakech railway station. In Tangier, the main rail station is Tanger Ville.
Always check the exact stations printed on your ticket before departure.
What time does the Marrakech–Tangier night train leave?
The exact departure can change with ONCF timetable updates, so do not rely on an old static time. Check the live timetable for your travel date.
What time does it arrive in Tangier?
Check the current ONCF or booking timetable for your date. Overnight schedules can change, and an old timetable is not worth missing a train over.
| Option | Privacy | Sleeping | Best for |
|---|---|---|---|
| Normal seat | Low | Seated | Cheapest/simple travel |
| Marrakech–Tangier couchette | Shared | Proper berth | Saving daytime |
| Single sleeper | Private | Proper bed | Available on selected other ONCF night routes, not currently listed for Marrakech–Tangier |
Other ONCF overnight routes
ONCF also lists night accommodation on Casablanca–Oujda and Casablanca–Nador.
Casablanca–Oujda has the broadest accommodation choice in ONCF's published Train Hôtel offer, including single, double and couchette products.
Casablanca–Nador is listed with single sleeper accommodation.
These products are different from the Marrakech–Tangier couchette, so always check the actual accommodation name before booking.
Stations
Which station do I actually need?
| City | Station | Choose it when... |
|---|---|---|
| Casablanca | Casa Voyageurs | Most long-distance trips and Al Boraq connections |
| Casablanca | Casa Port | Central Casablanca or local trips |
| Casablanca | Casa Oasis | Certain regional or airport-linked services |
| Casablanca | Mohammed V Airport | Flying into or out of CMN |
| Rabat | Rabat Agdal | Al Boraq and many intercity trips |
| Rabat | Rabat Ville | Central Rabat where served |
| Kenitra | Kenitra station | North-south corridor stop and Al Boraq transfers |
| Tangier | Tanger Ville | Main train station and Al Boraq |
| Marrakech | Marrakech | All rail trips to and from Marrakech |
| Fès | Fès | Main railway station for Fès |
Use the station printed on the ticket. A station that looks closer on the map may not serve your train.
Casa Voyageurs
Casa Voyageurs handles most long-distance departures to Marrakech, Tangier, Rabat and Fès.
Casablanca has other stations, but this is the first one I would check for an intercity ticket.
Open in Google Maps
Rabat Agdal
Rabat Agdal is the Rabat stop for Al Boraq and many intercity departures.
Rabat Ville is more central; use it only when your ticket names it.
Open in Google Maps
Tanger Ville
Tanger Ville is the main Tangier station and the northern end of the Al Boraq line.
It is outside the medina, so leave time for a taxi after the train.
Open in Google Maps
Marrakech
Marrakech station is in the modern city, not inside the medina.
The station is in the modern city, not the medina. Plan a taxi after arrival.
Open in Google Maps
Fès
Fès station is in Ville Nouvelle. If you are staying in the medina, continue by taxi.
Open in Google Maps
Kenitra
Kenitra is a key stop on the Al Boraq line.
It is a convenient change point when you are moving between Tangier, Rabat and Casablanca.
Open in Google MapsAirport rail
Casablanca Airport by train
The airport train does not make every long-distance trip direct. For Marrakech, Tangier or Fès, you will usually connect through Casablanca.
The station is inside Mohammed V Airport. Leave time to collect your luggage and find the platform before connecting to a long-distance train.
I would not book a tight connection after an international flight. Customs, luggage and flight delays can easily use up a short buffer.
Open airport station in Google MapsPlan your arrival
Make the most of your time in Morocco
Use the train for the long connection, then fill your arrival day with an activity close to where you are staying.
Booking
Ready to check your train?
Enter your origin, destination and date to see the departures listed for your trip.
Ticket rules
Ticket rules, changes and cancellations
Here is the part I would check before paying. Your ticket is tied to the train, date, time, class and route printed on it, so do not assume you can use it on another departure.
Before you board
- Keep the ticket with you for the whole trip. A named e-ticket requires valid ID, such as a passport.
- You can show an e-ticket as a readable PDF or barcode on your phone. A photo of a paper ticket is not the same thing.
- ONCF closes platform access two minutes before departure. Give yourself time to find the platform.
- If you lose a paper ticket, ONCF says it will not be refunded or duplicated. An e-ticket can be reissued from the ONCF website or app.
Changing the date or train
Non-Flex tickets cannot be exchanged. Semi-Flex tickets can be exchanged once before departure. Flex tickets can be exchanged up to five times before departure. The new train must have a seat, and you pay or receive any fare difference.
Only e-tickets bought online can be exchanged on the ONCF website or app. Tickets bought at a station must be changed at a station.
Canceling and getting a refund
The fare name matters more than the route. This is ONCF's published refund table for first- and second-class tickets:
| Fare | Cancel by | Refund |
|---|---|---|
| Non-Flex | Not applicable | No refund |
| Semi-Flex | Before departure | 50% of the ticket price |
| Flex | Up to 24 hours before departure | 100% of the ticket price |
| Flex | Within 24 hours of departure | 80% of the ticket price |
For an online e-ticket, cancel on the ONCF website or app at least 30 minutes before departure. For a ticket bought at a station, go to a station ticket office with the ticket or e-ticket. The refund follows the payment method and fare conditions. A return trip, connection or multi-passenger booking can be canceled in full or in part.
If ONCF cancels or delays your train
If ONCF announces a cancellation or a delay of one hour or more before departure on an Al Boraq or Al Atlas train, its conditions say you can choose a free exchange within one month or a full refund. For help with a disrupted trip, contact ONCF on 2255 and keep your original ticket.
These rules come from ONCF's English General Conditions of Sale. Read the fare conditions shown at checkout too, because ONCF can update its rules.
Onboard services
Luggage, food, toilets, Wi-Fi and power
Luggage
Bring a normal suitcase, board without rushing, and keep your passport and valuables with you.
Food
Take water and a snack for a long ride. Do not rely on finding a full meal onboard.
Toilets
Long-distance trains usually have toilets. Their condition can vary, so plan accordingly.
Wi-Fi
Do not plan your trip around Wi-Fi. Download what you need before boarding.
Power
Start with a charged phone and bring a power bank. Sockets depend on the train.
Children
Check the child fare shown for your route. The age rules are part of the booking conditions.
No train route
Where Morocco's railway does not go
These destinations are reached by road. If there is no railway station, take the bus or a road transfer instead of adding a pointless train connection.
Marrakech → Agadir
No train. Take the bus.
Marrakech and Agadir have no passenger train between them. Supratours and CTM are the bus options to check.
If Agadir is your destination, go by road from Marrakech.
Check CTM bus information Check Supratours routesMarrakech → Essaouira
There is no train to Essaouira.
From Marrakech, take a bus. Supratours and CTM are more sensible than routing through another city by train.
Check CTM bus information Check Supratours routesTangier → Chefchaouen
Chefchaouen has no railway station.
From Tangier, continue by bus, shared taxi or private transfer. There is no train to search for.
Check CTM bus informationFès → Chefchaouen
No train. Use the road.
Use CTM or another road service between Fès and Chefchaouen.
Check CTM bus informationCasablanca → Agadir
There is no direct train to Agadir.
Take a bus or fly. The rail-and-bus option through Marrakech is possible, but it adds time.
Check CTM bus information Check Supratours routesMarrakech → Ouarzazate
No railway crosses the High Atlas to Ouarzazate.
Take a bus, private transfer or rental car across the High Atlas.
Marrakech → Merzouga
There is no train to Merzouga.
The desert leg is by road. Most itineraries continue through Ouarzazate, Tinghir or Errachidia.
Fès → Merzouga
No passenger train reaches Merzouga from Fès.
Continue by long-distance bus or another road transfer.
Fès → Ifrane
Ifrane has no passenger railway station.
Take a bus, taxi or private transfer from Fès or Meknès.
Marrakech → Zagora
No train reaches Zagora.
This is a road-only trip. Use a coach or private transfer.
Beyond the railway
Find experiences beyond the train network
For places the railway does not reach, pair your rail trip with a local tour, transfer or day experience.
FAQ
Frequently asked questions
Can I buy ONCF tickets online?
Yes. Use the live search form on this page or an ONCF booking channel, then check the route, station and fare before paying.
Can foreigners book Moroccan trains online?
Yes. Visitors can book online when the payment method works with the booking channel. Keep the confirmation on your phone.
Is Al Boraq the fastest train in Morocco?
Yes. Al Boraq is the high-speed train between Tangier, Rabat, Kenitra and Casablanca.
Is there Al Boraq from Marrakech?
No. From Marrakech, take the conventional train to Casablanca first, then change to Al Boraq if you are continuing north.
Is there a train from Marrakech to Agadir?
No. Use a bus or private road transfer.
Is there a train from Marrakech to Essaouira?
No. Essaouira has no passenger railway.
Is there a train to Chefchaouen?
No. Chefchaouen has no railway station.
Which Casablanca station should I use?
For most long-distance trips, use Casa Voyageurs. Casa Port is closer to central Casablanca, and Mohammed V Airport has its own station.
Is Casa Voyageurs the airport station?
No. Mohammed V Airport has its own railway station.
Can I take the train from Casablanca Airport to Marrakech?
Yes, but expect a change depending on the timetable. The airport train does not mean a direct airport-to-Marrakech service.
Which Rabat station should I use?
Use Rabat Agdal for Al Boraq. Rabat Ville is the more central station for trips that serve it.
Is Marrakech station inside the medina?
No. Marrakech station is in the modern city. Take a taxi to the medina after you arrive.
Is first class worth it?
On Marrakech–Fès or Marrakech–Casablanca, I would compare the price because the ride is long. On Casablanca–Rabat, second class is usually enough.
Is second class comfortable?
Yes, especially on Al Boraq. On conventional trains, comfort depends more on the carriage and how busy the service is.
Do ONCF trains have air conditioning?
Many intercity and high-speed services are air-conditioned. Check the train type if this matters to you.
Is there Wi-Fi?
Do not count on Wi-Fi across the network. Download maps, tickets and entertainment before boarding.
Can I bring luggage?
Yes. Bring normal luggage, keep it close, and do not leave passports, money or electronics unattended.
Should I book Al Boraq in advance?
Yes, if you need a particular departure. Busy weekends and holidays are the times I would book early.
Can trains sell out?
Popular departures and first-class seats can sell out. Check early when your travel date is fixed.
Is Casablanca to Marrakech direct?
Yes. Direct intercity trains run between Casa Voyageurs and Marrakech.
Is Casablanca to Tangier direct?
Yes. Al Boraq runs directly from Casa Voyageurs to Tanger Ville.
Is Rabat to Tangier direct?
Yes. Take Al Boraq from Rabat Agdal to Tanger Ville.
Is Marrakech to Fès direct?
Some dates show a direct train and others may require a change. Check your date before booking hotels around the arrival time.
Can I go from Fès to Tangier by train?
Yes. The route may use a conventional train, Al Boraq or a change depending on the date. Check the live result.
Are Moroccan trains safe for tourists?
Yes, tourists use them every day. Keep your valuables with you and use the same basic care you would use on any busy train.
How early should I arrive?
Arrive early enough to find the platform and board calmly. You do not need airport-style check-in when you already have your ticket.
Are seats reserved?
Al Boraq and many intercity trains have reserved seats. TNR and some regional departures follow different rules.
Can I choose a seat?
Sometimes. The booking screen will show whether seat selection is available for that train.
Can I change my ticket?
That depends on the fare and booking channel. Read the change conditions before you confirm the purchase.
Can I cancel?
Cancellation rules depend on the fare and where you bought the ticket. Check those rules before paying.
Can I travel during Ramadan?
Yes. Trains continue to run, but check the timetable and allow extra time around Ramadan evenings and holidays.
Are trains busy during Eid?
Often. If you are travelling around Eid, book as soon as your dates are settled.
Privacy
Privacy on this page
This is a static travel guide. I do not ask you to create an account or enter payment details directly on this page.
The train search form and the booking links are operated by third-party services. When you use one, you leave this guide and that provider may handle your travel details, cookies or payment information under its own privacy rules. Read the provider's policy before submitting personal information.
For questions about a booking, contact the service that issued the ticket. Do not post passport, card or booking details publicly.