Trains in Morocco: Al Boraq, routes, fares and how to book
Where Morocco's trains go, Al Boraq from Tangier to Casablanca, ONCF times and fares checked on 23 November 2026, and how to book with a foreign card.
Published

Morocco's trains link Tangier, Rabat, Casablanca, Marrakech, Fès and Oujda, and Al Boraq, the high-speed train, runs Tangier to Casablanca in 2h17; Essaouira, Agadir and Chefchaouen have no station. Book on oncf-voyages.ma, in the ONCF Voyages app or at the station, from 49 MAD (about £4) on a promo fare. We checked every time and fare below on ONCF's booking site on 23 November 2026, for trains on Thursday 10 December.
The network in a few lines
One main line follows the Atlantic from Tangier through Kenitra and Rabat to Casablanca, then turns inland to Marrakech, the end of the line in the south. Al Boraq runs at high speed from Tangier to Kenitra and on the conventional line to Casablanca. Every other day train is called Al Atlas.
A second line runs east from Casablanca and Rabat to Meknès, Fès and Oujda, with a branch to Nador, and Tangier joins it at Sidi Kacem. A shuttle serves Casablanca's Mohammed V airport. South of Marrakech and in the Rif mountains, there are no tracks.
Main routes, times and fares
One adult on the Flex fare, the most flexible one, checked on 23 November 2026 for 10 December.
| Route | Train | Time | Trains a day | Second class | First class |
|---|---|---|---|---|---|
| Tanger Ville – Casa Voyageurs | Al Boraq, direct | 2h17 | 14 | 270–295 MAD (£21–23) | 435 MAD (£33) |
| Tanger Ville – Rabat Agdal | Al Boraq, direct | 1h22 | 14 | 205–230 MAD (£16–18) | 335 MAD (£26) |
| Casa Voyageurs – Marrakech | Al Atlas, direct | 2h49 to 2h54 | 15 | 145–160 MAD (£11–12) | 215 MAD (£16) |
| Rabat Agdal – Marrakech | Al Atlas, direct | 3h57 | 15 | 185–200 MAD (£14–15) | 285 MAD (£22) |
| Tanger Ville – Marrakech | Al Boraq + Al Atlas, change at Casa Voyageurs | 5h37 | 18 | 360 MAD (£28) | 550 MAD (£42) |
| Casa Voyageurs – Fès | Al Atlas, direct | 3h55 to 4h05 | 18 | 155–165 MAD (£12–13) | 240 MAD (£18) |
| Tanger Ville – Fès | Al Atlas, direct | about 4h20 | 3 | 120 MAD (£9) | 200 MAD (£15) |
| Marrakech – Fès | Al Atlas, direct | 6h52 to 7h03 | 14 | 260 MAD (£20) | 420 MAD (£32) |
| Fès – Oujda | Al Atlas | 5h31 to 5h55 | 4 | 125 MAD (£10) | 203 MAD (£16) |
| Mohammed V airport – Casa Voyageurs | Shuttle | 41 min | 18 | 60 MAD (£5) | 80 MAD (£6) |
Many trains also sell cheaper Semi-flex and Non-flex fares, and Al Atlas trains have the Yalla fare: 49 MAD (about £4) in second class, limited seats, no changes, no refunds. Booking early pays: a second-class Semi-flex ticket from Casablanca to Marrakech cost 120–135 MAD (about £9–10) for 10 December and 95–110 MAD (about £7–8) for 21 January. On 23 November, sales ran up to 5 February 2027 and no further.
Al Boraq, the Tangier–Casablanca high-speed train
- Time: 2h17 to Casa Voyageurs, 50 minutes to Kenitra, 1h22 to Rabat Agdal
- Fare: 270–295 MAD (about £21–23) in second-class Flex, 435 MAD (about £33) in first
- Frequency: 14 trains a day each way; from Tangier, every hour from 06:00 to 19:00 except 13:00, then 21:00
- Stations: Tanger Ville, Kenitra, Rabat Agdal and Casa Voyageurs
The Yalla Al Boraq fare costs 89 MAD (about £7) in second class and 129 MAD (about £10) in first, all year, on every Al Boraq between Tanger Ville and Kenitra, Rabat Agdal or Casa Voyageurs. You must buy it at least seven days ahead; seats are limited, and you cannot change or refund it. On 23 November several trains on 21 January still showed it. For 27 November, only Flex and a few Semi-flex seats were left, at 225–245 MAD (about £17–19) in second class.
The trains are double-deck, and when you book you can ask for a window, an aisle, a single seat, or the upper or lower deck.
How to book, step by step
- On oncf-voyages.ma, which works in English, French and Arabic, type each station's exact name: Tanger Ville, Rabat Agdal, Casa Voyageurs, Marrakech.
- Pick the date, the number of passengers and children's ages.
- Compare trains and fares: Flex (full refund up to 24 hours before, 80% after), Semi-flex (50%, one change), Non-flex and Yalla (neither).
- On Al Boraq, set your seat preferences.
- Enter the passengers' names and your email. On board you show the e-ticket with photo ID.
- At payment, choose "Foreign credit cards". The site warns that this adds a service fee: on 23 November its fee calculator charged 2.94%, which is 4.27 MAD (under £1) on a 145 MAD ticket. Payment goes through CMI, the Moroccan banks' card processor.
- The ticket arrives as a PDF by email. Keep it on your phone: it carries a QR code and opens offline.
We took these steps from the site's code and its responses and stopped before paying, so we have not tested a foreign card.
If your card is declined, check your email first, as the site itself advises, because a ticket may already have been issued. Then try another card, or the ONCF Voyages app, which also lets you pick a seat number. Failing that, buy at the station: ticket desks take cash and cards, machines take cards only.
ONCF's terms of sale ask you to be on the platform 15 minutes before departure, and the platform closes 2 minutes before. A bag may not exceed 1.2 × 0.6 × 0.4 m. Board without a ticket and you pay the highest fare for the trip plus up to 20%.
The Casablanca airport train
- Time: 41 minutes to Casa Voyageurs, according to the booking site
- Fare: 60 MAD (about £5) in second class, 80 MAD (about £6) in first
- Frequency: hourly, 05:55 to 22:55 on 10 December
- Where: the station under Terminal 1, a 5-minute covered walk (follow "Gare ONCF")
The official pages disagree. ONCF's gives trains from 05:30 to 23:00; the airport's says 06:50 to 22:50 and about 30 minutes. Check your date on the booking site. There is a ticket machine inside the airport.
For Marrakech, you change at Casa Oasis: 3h42 in total, 14 departures from 07:55 to 20:55 (the last arrives at 00:37), 195–220 MAD (about £15–17) in second class and 295 MAD (about £23) in first. To Rabat, Tangier or Fès, ONCF lists fares from 90, 194 and 203 MAD (about £7, £15 and £16).
Uber works in Casablanca for the last stretch; see our guide to Uber in Morocco. Landing in Marrakech instead? Read Marrakech airport to the city centre.
Stations that trip people up
- Casablanca has several stations. Al Boraq and the trains to Marrakech and Fès use Casa Voyageurs; Casa Oasis is the change between the airport and Marrakech; Casa Port is by the port.
- In Rabat, Al Boraq stops at Rabat Agdal. From Tangier, Rabat Ville means a change at Kenitra (1h39).
- Meknès has two stations, Meknès and Meknès Al Amir; check which is nearer your hotel.
- Book "Marrakech", not "Sidi Brahim Stade Marrakech", which had no trains from Casablanca on 10 December.
- Tanger Ville is the only Tangier station on the list, and Supratours has an agency there, handy for Chefchaouen.
Where the train does not go
| Destination | Nearest station | Onward | Our guide |
|---|---|---|---|
| Essaouira | Marrakech | CTM or Supratours coach, grand taxi, transfer | Marrakech to Essaouira |
| Agadir | Marrakech | Coach, transfer or hire car | Marrakech to Agadir |
| Chefchaouen | Tanger Ville | Coach, grand taxi or transfer | Tangier to Chefchaouen |
| Merzouga and the desert | Marrakech or Fès | Organised tour, coach or hire car | No guide yet |
oncf-voyages.ma also sells Supratours coaches and train-plus-coach trips, and Essaouira, Agadir and Chefchaouen are on its list of destinations. If you arrive late or with heavy bags, a private transfer booked ahead can meet you at the station. Our other guides are on the Yalla home page.
Questions
How much is the train from Marrakech to Casablanca?
The same in both directions: from 49 MAD (about £4) on the Yalla fare to 160 MAD (about £12) in second-class Flex, and 215 MAD (about £16) in first, for 10 December 2026. It takes about 2h50, with 15 trains a day each way.
Is there a direct train from Tangier to Marrakech?
Not by day. The quickest is Al Boraq to Casa Voyageurs, then an Al Atlas: 5h37, from 300 to 360 MAD (about £23–28) in second class.
Can I show my ticket on my phone?
Yes, the PDF e-ticket is valid on a phone, even offline. Copies or photos of a paper ticket are refused, and the terms say nothing about screenshots, so keep the PDF.
Do children pay?
Under the terms of sale, under-4s travel free on a lap and 4 to 15-year-olds pay a child fare. The airport train page says under-12s ride free; we could not find out which rule applies on the shuttle.
Related guides

Is there Uber in Morocco? Cities, prices, inDrive and taxis
Uber runs in five Moroccan cities. Payment, airports, the legal position, inDrive, Careem, Yango, Bolt and petit taxis, checked on 23 November 2026.
Read more
Marrakech airport to the city centre and medina: bus, taxi, transfer
Marrakech Menara airport to the medina by taxi, bus, Uber or transfer: official zone fares, night rates, where cars stop, costs for 1 to 4 people.
Read more
Marrakech to Essaouira: bus, shared taxi, transfer or drive
Supratours and CTM coach times both ways, grand taxis, private transfers, driving and day trips, with prices in dirhams and pounds checked in November 2026.
Read more
Marrakech to Agadir: bus, private transfer or car hire
Marrakech to Agadir by CTM or Supratours coach, private transfer or hire car: timetables, fares, stations, A3 tolls and Taghazout, checked November 2026.
Read more
Tangier to Chefchaouen: bus, grand taxi or day trip
Tangier to Chefchaouen by CTM or Supratours coach, grand taxi via Tétouan or day trip: times, fares and stations both ways, checked 23 November 2026.
Read more