android
eSIM compatibility check

November 5, 2026

Morocco trains 2026: Al Boraq, ONCF tickets, prices

Morocco trains 2026: Al Boraq and Al Atlas times from ONCF's new timetable, fares from 49 DH, foreign cards, e-tickets, airport train. Checked 5 Nov.

An orange-and-white ONCF train on a Moroccan line, seen from a footbridge

Photo: oussama laabidate — Pexels

Our go-to pick for Morocco: eSIM Maroc, a partner of this site. €24 for 7 days · 1 GB a day at full speed, then 512 kbps · from €6 for 1 day. Prices checked on 12 November 2026.

See eSIM Maroc plans

Morocco's trains, run by the national railway ONCF, are the quickest way between Tangier, Rabat, Casablanca, Marrakech and Fès: the Al Boraq high-speed train links Tangier and Casablanca in 2 h 17, and Al Atlas intercity trains take about 2 h 55 from Casablanca to Marrakech under the timetable in force since 14 September 2026. The cheapest fares ONCF publishes are fixed at 89 DH (about €8.10 or £6.80) in second class on Al Boraq and 49 DH on Al Atlas, for a limited number of seats bought in advance. You buy on oncf-voyages.ma or in the ONCF Voyages app and show the QR code on your phone.

This guide puts ONCF's own timetables, fares and rules, all read on 5 November 2026, in one place: a route table with journey times, paying with a foreign card, the airport train, luggage, sleepers to Oujda and what happens to your phone signal on board. For networks, eSIMs and everything else about getting online in the country, start from our Morocco travel internet hub.

Coming by sea to Tangier, or travelling in February or March 2027? Our ferry guide from Spain to Morocco covers the crossing, and our Ramadan in Morocco guide explains how the month changes the timetables.

Key takeaways

  • Al Boraq runs hourly between Casa Voyageurs, Rabat Agdal, Kénitra and Tanger Ville, 06:00 to 21:00; Casablanca to Tangier takes 2 h 17.
  • Cheapest published fares: 89 DH (2nd) or 129 DH (1st) on Al Boraq from Tangier with Yalla, booked at least 7 days ahead; 49 DH on Al Atlas; from 60 DH on the airport train.
  • Pay online with Visa or Mastercard through Morocco's CMI gateway; your bank's 3-D Secure code comes to your home number, so keep that SIM switched on.

The network: Al Boraq, Al Atlas, shuttles and night trains

ONCF ran 2,295 km of lines and carried 55.6 million passengers in 2025, 5.6 million of them on Al Boraq, according to the key figures on its home page. For a visitor the network comes down to four products, each with its own timetable sheet on ONCF's timetable page.

What are Al Atlas and TNR trains?

Al Atlas is ONCF's name for its conventional intercity trains, with first and second class and a reserved seat in both classes. They run Marrakech–Casablanca–Rabat–Fès about every hour, and also Tangier–Fès and Casablanca–Oujda and Nador. TNR, short for Trains Navettes Rapides, are the shuttles of the Casablanca and Rabat region, including the line to Mohammed V airport.

  • Al Boraq: high speed, four stations only, Tanger Ville, Kénitra, Rabat Agdal and Casa Voyageurs. Hourly from 06:00 to 21:00 from both ends with no 13:00 departure; the 06:00 does not run on Sundays and holidays, the 20:00 only on Fridays and Sundays (timetable from 14 September 2026).
  • Al Atlas: Marrakech–Fès from 04:30 to 18:35 out of Marrakech (Marrakech–Fès sheet), plus Tangier–Fès, Tangier–Oujda, Casablanca–Oujda and Nador, Casablanca–Safi and Casablanca–Oued Zem.
  • TNR shuttles: Casa Port–Rabat–Kénitra, Casablanca–El Jadida, Casablanca–Settat and Casa Voyageurs–Mohammed V airport.
  • Night trains: sleeper and couchette cars inside Al Atlas trains between Casablanca or Rabat and Oujda or Nador, and on the Marrakech–Tangier axis.

The rails stop short of Essaouira, Agadir, Chefchaouen, the Atlas and the Sahara; there you continue by coach (see below). All timetables are in local time, and Moroccan clocks have stayed on GMT all year since 20 September 2026 (Le360), the same as London in winter. Our Morocco travel tips cover the rest of the trip planning.

Two station pairs trip people up. Al Boraq uses Rabat Agdal, not Rabat Ville, and Casa Voyageurs, not Casa Port. Al Atlas trains stop at both Rabat stations, while the Casablanca–Rabat shuttles start at Casa Port (shuttle timetable).

How long does the train take between Moroccan cities, and what does it cost?

Casablanca to Tangier takes 2 h 17 by Al Boraq, Marrakech to Casablanca about 2 h 55 and Marrakech to Fès about 7 hours by Al Atlas, with the lowest published fares starting at 49 DH. We read the times off ONCF's timetables valid since 14 September 2026 and the fares off ONCF's own fare pages on 5 November 2026. Euro figures use Bank Al-Maghrib's reference rate of 4 November 2026, 1 EUR = 10.9876 MAD (1 GBP = 13.168 MAD).

RouteTrainTime2nd / 1st class fare (5 Nov 2026)
Casa Voyageurs – Tanger VilleAl Boraq, hourly2 h 17Yalla 89 DH (€8.10) / 129 DH (€11.74), bought 7+ days ahead
Rabat Agdal – Tanger VilleAl Boraq1 h 22Yalla 89 / 129 DH
Kénitra – Tanger VilleAl Boraq49 minYalla 89 / 129 DH
Casa Voyageurs – Rabat AgdalAl Boraq50 minShown at booking (no fixed fare published)
Casa Port – Rabat VilleTNR shuttle1 h 21Shown at booking
Marrakech – Casa VoyageursAl Atlas, about hourly2 h 53 to 2 h 58Yalla Al Atlas 49 DH (€4.46) in 2nd, limited seats
Marrakech – Rabat AgdalAl Atlasabout 3 h 55Yalla Al Atlas 49 DH, limited
Marrakech – FèsAl Atlas, direct6 h 58 to 7 h 03Yalla Al Atlas 49 DH, limited
Casa Voyageurs – FèsAl Atlasabout 4 h 05Yalla Al Atlas 49 DH, limited
Fès – Tanger VilleAl Atlas, 2 direct trains a day each way4 h 12 to 4 h 56Yalla Al Atlas 49 DH, limited
Marrakech – Tanger VilleAl Atlas + Al Boraq, change at Casa Voyageurs5 h 47 (05:30 to 11:17)Shown at booking
Casa Voyageurs – OujdaAl Atlas by day / overnight10 h 27 / 10 h 04Couchette 370 DH, double sleeper 480 DH, single 670 DH
Mohammed V airport – Casa VoyageursTNR shuttle, hourly43 minFrom 60 DH (€5.46)
Mohammed V airport – Marrakech / Fès / TangerShuttle + connectionDepends on connectionFrom 198 / 203 / 194 DH

Connections are where time goes: Marrakech to Tangier is 5 h 47 at best, using the 05:30 Al Atlas to Casa Voyageurs and the 09:00 Al Boraq. Fès to Tangier has only two direct trains a day in each direction on the Tangier–Fès sheet; otherwise change at Kénitra or Sidi Kacem.

Why there is no standard fare for every route

ONCF prices most tickets like an airline. Its 2019 traveller guide, still offered on its site, describes several price levels per train that rise as seats sell, and the booking site oncf-voyages.ma only shows a price once you pick a train and a date. The fixed fares in the table are those ONCF publishes in writing: Yalla Al Boraq at 89 DH in second and 129 DH in first class on the three Tangier routes, bought at least 7 days before travel; Yalla Al Atlas at 49 DH in second class with a limited number of seats; the airport train's “from” fares; and the sleeper prices.

Both Yalla fares are “non échangeable et non remboursable” and cannot be combined with discount cards. Sales open 3 months before departure (ONCF reservation page), so for Tangier the simplest saving is booking a week ahead. Staying a while and aged 31 to 59? The Carte 31-59 ans costs 100 DH (about €9.10) for 12 months and takes 15% off return tickets bought online on Al Boraq and Al Atlas; you apply at a station with ID and a photo.

Flex, Semi-flex or Non-flex?

Other tickets come with one of three conditions, set out in ONCF's after-sales rules:

Fare conditionRefundExchange
Yalla (Al Boraq or Al Atlas)NoneNone
Non-flexNoneNone
Semi-flex50% before departureOnce, before departure
Flex100% up to 24 h before; 80% in the last 24 hUp to five times, before departure

E-tickets can be cancelled on the website or in the app up to 30 minutes before departure; tickets bought at a counter or machine are cancelled or exchanged only at a station. Missed your train? At the departure station you can get a new ticket for the same route and class up to 30 minutes after the original departure, while seats remain.

First or second class, and the sleeper trains

Both classes have reserved seats. On Al Boraq, ONCF's traveller guide (2019 edition, still offered for download) lists individual seats with headrests, footrests, fold-down tables and power sockets in both classes, and roomier reclining seats with reading lamps in first. A bar car sells meals and coffee (cafeteria page, no prices published).

A first-class Al Boraq ticket also opens the Al Boraq lounge at Casa Voyageurs, Rabat Agdal, Kénitra and Tanger Ville, with free Wi-Fi, sockets, water and hot and cold drinks, whether you board there directly or on a connection.

Is first class worth it?

  • For: on the Tangier routes the Yalla first-class fare is only 40 DH (about €3.60) above second class; you get the lounge and its Wi-Fi before departure; on a 7-hour Marrakech–Fès run, a wider reclining seat counts.
  • Against: on a 50-minute Casablanca–Rabat hop the gain is small; outside Yalla, ONCF publishes no first-class price, so you only see the gap when you book, and late bookings widen it.

Sleepers to Oujda and Nador

ONCF's night train page lists 670 DH (about €61) for a single sleeper, 480 DH for a double sleeper and 370 DH for a couchette in a four-berth compartment, without saying whether the double price is per person. Singles run on Casablanca–Oujda and Casablanca–Nador, doubles on Casablanca–Oujda, couchettes on Casablanca–Oujda and Marrakech–Tangier. Sleeper passengers get a welcome kit with toiletries, slippers, earplugs and water, breakfast is offered at the arrival station, and ONCF says to buy these berths at a station well in advance.

On the Casablanca–Oriental sheet, the overnight train leaves Casa Voyageurs at 21:07 and reaches Oujda at 07:11; the return leaves Oujda at 21:45 and arrives at 07:55. The Marrakech–Tangier sheet shows the night train leaving Marrakech at 20:00 and reaching Kénitra at 00:39, with no Kénitra–Tangier times, so check in the app that the couchette runs through to Tangier on your date.

How do you buy ONCF train tickets with a foreign card?

Buy on oncf-voyages.ma or in the ONCF Voyages app with a Visa or Mastercard: the payment runs through Morocco's CMI gateway in dirhams, and your bank will usually ask for a 3-D Secure code. ONCF's terms say card data “are transmitted directly to the Centre Monétique Interbancaire” (CMI), and CMI's FAQ says cards bearing the Visa, Mastercard, Maestro, JCB, Diners Club, Discover, UnionPay or CMI logos are accepted by all its merchants, American Express only where the merchant has a separate contract.

  1. Install ONCF Voyages (Arabic, French and English; version 2.1.1 of 3 August 2026, rated 2.3 out of 5 by 905 users in the Moroccan App Store) or open oncf-voyages.ma. The information site oncf.ma is in French only.
  2. Search your stations and date, then choose the train, class and fare (Yalla, Non-flex, Semi-flex or Flex). In the app you can also pick your seat number (ONCF app page).
  3. Enter the traveller's name and ID details as they appear on the passport: inspectors check ID against e-tickets.
  4. Pay by card. CMI charges in dirhams and your bank converts at its own rate; a foreign card is debited within 48 hours. Your bank then asks for its 3-D Secure confirmation, by text message or in its app.
  5. The e-ticket arrives by email and stays in the app. Download the PDF too: ONCF says it “remains accessible offline”.
  6. If no email arrives, call 2255 or file a claim on oncf2255.ma, as the terms of sale advise.

Step 4 is where bookings fail. If your home SIM is off, or SMS does not reach you abroad, the code never comes and CMI shows “Authentification 3-D Secure échouée”. Keep your home line on for texts and put mobile data on an eSIM, as our guide to keeping your number while travelling explains; ask your bank or carrier what receiving texts abroad costs. Our Morocco apps guide covers the ONCF app alongside taxis and maps.

Buying at the station or an agency

Counters and ticket machines take cards, cash and cheques (how to buy, ONCF). Yalla tickets are also sold at the partner agencies Chaabi Cash, Tasshilat, Barid Cash and Cash Plus, useful if a foreign card is refused online. Sleepers are sold at stations.

At the station and on board: tickets, luggage and rules

ONCF's terms set the timings: platforms open at most 40 minutes before departure, you should be at the station at least 15 minutes ahead with your ticket, and gates close 2 minutes before the train leaves. After that you are not let through, even with a ticket.

Your ticket on the phone

Show the QR code in the app or on the PDF; there is no need to print it (ONCF). Two traps: photos or copies of a paper ticket are refused, and the named holder of an e-ticket must show a passport or other ID. You may forward an e-ticket by WhatsApp or SMS to a companion, as long as they carry their own ID.

Travelling without a valid ticket, or on another train than the one printed, costs the highest fare for the trip plus up to 20%, at least 20 DH extra. Children under 4 travel free on a lap; from 4 to 15 they pay the child fare.

Luggage, bikes and pets

There is no checked baggage. You keep your bags with you, each up to 1.2 m × 0.6 m × 0.4 m, and on Al Boraq they go on racks above the seats and at the ends and middle of each coach. Folded bicycles and surfboards in a bag up to 1.2 m × 0.9 m, skis, folded pushchairs and folding wheelchairs are accepted, one item per passenger. Small cats and dogs travel in a cage with an “Animal” ticket, but not in sleepers.

Calls, smoking and delays

Phone calls are not allowed in the compartments: ONCF asks you to take them on the platforms at the ends of the coaches. Smoking is banned on trains, in stations and on platforms under law 15-91. If an Al Boraq train arrives an hour or more late, or an Al Atlas train two hours or more, you can claim a free ticket for the same route and class at the arrival station by showing your ticket.

Ramadan brings a special timetable that ONCF publishes just before the month; our Ramadan 2027 guide for Morocco has the dates and what changes. ONCF also adds trains for Eid and school holidays: for the October 2026 break it ran 30 Al Boraq trains a day (ONCF, 15 October 2026).

How do you get from Casablanca airport to the city by train?

Walk five minutes from Terminal 1 to the ONCF station and take the hourly shuttle: Casa Voyageurs is 43 minutes away and fares start at 60 DH (about €5.50 or £4.60). Follow the “Gare ONCF” signs along a covered walkway, ONCF says on its airport train page, and allow 10 minutes before departure.

The current timetable has trains from the airport every hour from 05:55 to 22:55, calling at Bouskoura and Casa Oasis, and from Casa Voyageurs every hour from 05:57 to 22:57. ONCF's page gives the service as 05:30 to 23:00; trust the timetable, and if you land after 22:00, passport control and baggage may make the last train tight.

Casa Voyageurs is where you change for Al Boraq to Rabat and Tangier and for Al Atlas to Marrakech and Fès, and ONCF advertises through fares from the airport: from 90 DH to Rabat, 104 DH to Kénitra, 194 DH to Tangier, 198 DH to Marrakech and 203 DH to Fès. Its FAQ says standard luggage is fine and that children under 12 travel free on this service; the general terms say under 4, so ask at the counter if it matters.

The airport line is being rebuilt. ONCF's Grand Casablanca programme includes a new Mohammed V airport station with tracks for the high-speed line and an “Aéroexpress”, with 24 months of works planned (ONCF, 28 September 2026). On works weekends the shuttle can be replaced by Supratours coaches, as on 5 and 6 September 2026. To be online before you reach the station, see our guide to getting connected at Casablanca and Marrakech airports.

Is there Wi-Fi and mobile signal on Moroccan trains?

Stations have free Wi-Fi, trains promise none, and the mobile signal is weakest on Al Boraq itself: the regulator measured 25 Mbps and 500 ms latency between Kénitra and Tangier. ONCF's station services page offers free Wi-Fi and power points in stations, and the first-class lounges have their own. None of the ONCF pages we read mentions Wi-Fi on board, which matches our survey of Wi-Fi in Moroccan airports, riads and trains.

The ANRT's 2024 mobile data campaign, run from 6 November to 18 December 2024, is the only official test on trains. Results were the same for Maroc Telecom, Orange Maroc and inwi:

Rail line (ANRT, Nov–Dec 2024)DownloadUploadLatency
Casablanca – Marrakech53 Mbps26 Mbps89 ms
Rabat – Fès (conventional)51 Mbps25 Mbps91 ms
Rabat – El Jadida (conventional)55 Mbps28 Mbps51 ms
Sidi Kacem – Tangier (conventional)56 Mbps22 Mbps136 ms
Fès – Oujda35 Mbps15 Mbps63 ms
Kénitra – Tangier (Al Boraq)25 Mbps9 Mbps500 ms
All rail lines46 Mbps21 Mbps156 ms

Fifty megabits is plenty for maps, messages and video calls. The problem on Al Boraq is latency: at 500 ms calls lag and pages hang, and videos took almost 3 seconds to start in the tests. Download your e-ticket, films and offline maps before boarding, and see our network guide to Fès, Chefchaouen and Tangier for the north.

What to set up before your first train

  • Two lines: keep the home SIM on for bank codes and put data on a Moroccan plan. The eSIM we recommend is eSIM Maroc, a partner of this site: 7 days for €24 on 5 November 2026, with 1 GB a day at full 4G/5G speed, then 512 kbps, hotspot included, starting at your first connection in Morocco.
  • ONCF on WhatsApp: save the M'ONCF assistant, +212 667 652 255 (chatbot page); WhatsApp runs over your data. The 2255 hotline is a Moroccan short number.
  • Live traffic: join ONCF's WhatsApp channel or open “ONCF INFO Trafic” in the app for works and delays (works page). The separate ONCF Trafic app that ONCF still links was in neither the App Store nor Google Play on 5 November 2026.
  • Data budget: a train day is mostly messages and maps; our Morocco data calculator gives daily budgets by traveller profile.

Where the train stops: Supratours and CTM coaches

For Essaouira, Agadir, Chefchaouen, Tétouan, Ouarzazate, Zagora or Merzouga you continue by coach. ONCF sells Supratours coaches in the same booking engine: the station list on oncf.ma includes Agadir, Essaouira, Chefchaouen, Tétouan, Ouarzazate, Zagora, Merzouga, Laâyoune and Dakhla, and the app listing calls Supratours its “complementary road transport”. Supratours' own website showed no readable content on 5 November, so check times and fares in ONCF Voyages.

CTM, the other national coach company, advertises more than 200 departures to over 100 destinations in three ranges, Premium, Confort Plus and Confort (CTM network page), with free Wi-Fi and USB charging advertised on its home page. Its FAQ sets rules that differ from the train:

  • No printing: show the e-ticket at the agency on the day.
  • Tickets are not refundable; changes are possible online or at an agency up to 12 hours before departure.
  • Two hold bags of up to 20 kg each, with a sum of dimensions of 170 cm, from 5 DH per bag; a hand bag of 40 × 50 × 16 cm inside.
  • Children under 4 ride free on a lap; from 4 they pay the full fare.

CTM's route pages gave a duration that does not fit the distance (eight hours for the 191 km from Marrakech to Essaouira), so we quote no CTM times or prices; use the search on ctm.ma. For the signal on the roads to the Atlas and the coast, see our road-trip connectivity guide.

When will Al Boraq reach Marrakech?

Not yet: the Kénitra–Marrakech high-speed line is under construction and ONCF has published no opening date. Work started on 24 April 2025; a year later ONCF reported land purchase complete, about 20 million m³ of earthworks done and 15 viaducts under way on the 430 km route (ONCF, 24 April 2026).

The targets announced at the launch, published on the government portal maroc.ma, are 1 h 15 from Casablanca to Marrakech, 1 h 40 from Rabat to Marrakech, 2 h 40 from Tangier to Marrakech, 35 minutes from Rabat to Casablanca airport and 3 h 40 from Fès to Marrakech. Today's timetable gives about 2 h 55, 3 h 55, 5 h 47 and 7 hours for the same trips.

The works already affect travellers. Since 14 September 2026 a second phase has brought a new timetable, shortened routes and the progressive closure of some Casablanca stations, including Facultés and Ennassim (ONCF, 31 August 2026). Weekend closures are announced at short notice, so check your train in the app the day before.

How we checked

On 5 November 2026 we read ONCF's own pages: the timetables valid since 14 September 2026, fare pages, terms of sale, after-sales rules and the airport, night-train, lounge, app and news pages. ONCF's servers leave out part of their security certificate, which is why earlier checks failed; we added the missing intermediate certificate published by its issuer and read every page with full verification. We built the route table ourselves from the timetable sheets and converted fares at Bank Al-Maghrib's rate of 4 November 2026; we bought no ticket.

Other sources: CMI for card payments, the ANRT for signal on the trains, maroc.ma for the high-speed targets, CTM's website and FAQ, Apple's App Store data and our partner's shop page. We could not read standard route fares, because oncf-voyages.ma shows them only inside its booking engine, so we print only fares ONCF publishes in writing. We found no statement on Wi-Fi aboard trains and no opening date for the Marrakech line.

Next step: arriving from Spain, read our guide to the ferry crossing and your phone at sea; travelling in February or March 2027, check the Ramadan timetable advice before you book. For data on the train, the eSIM we recommend is eSIM Maroc, a partner of this site; check first that your phone is on our list of eSIM-compatible phones.

Before you go

Our go-to pick for Morocco: eSIM Maroc, a partner of this site. €24 for 7 days · 1 GB a day at full speed, then 512 kbps · from €6 for 1 day. Prices checked on 12 November 2026.

See eSIM Maroc plans

Frequently Asked Questions

How long is the train from Casablanca to Marrakech?expand_more
About 2 h 55 on Al Atlas trains, which leave Casa Voyageurs roughly every hour under the timetable valid since 14 September 2026. Al Boraq does not go to Marrakech yet.
How much is Al Boraq from Tangier to Casablanca?expand_more
ONCF publishes a fixed Yalla fare of 89 DH in second class and 129 DH in first class for tickets bought at least 7 days ahead, while seats last. Other fares vary by train and date and are shown when you book.
Can I buy Moroccan train tickets online with a foreign card?expand_more
Yes. oncf-voyages.ma and the ONCF Voyages app take Visa and Mastercard through the CMI gateway, charged in dirhams, and your bank will usually ask for a 3-D Secure code sent to your phone.
Do I need to print my ONCF train ticket?expand_more
No. Show the QR code in the app or on the PDF with your passport. Photos or copies of a paper ticket are refused.
Is there a train from Casablanca airport to the city?expand_more
Yes. An hourly ONCF shuttle leaves the airport from 05:55 to 22:55 and reaches Casa Voyageurs in 43 minutes, from 60 DH, a five-minute walk from Terminal 1.
Is there Wi-Fi on Al Boraq trains?expand_more
ONCF offers free Wi-Fi in stations and first-class lounges, not on board. Mobile data works, but the regulator measured high latency between Kénitra and Tangier, so download what you need before boarding.

Check your own phone in seconds

The free eSIM Check app reads your device's real hardware capabilities — no guesswork.

On iPhone or a computer? Search any model with our eSIM compatibility checker.

Get it on Google Play

Related articles