Morocco by trainONCF and Al Boraq.
Yes, between the main cities. ONCF trains link Tangier, Rabat, Casablanca, Fes, Meknes and Marrakech; Al Boraq, Africa’s first high-speed train, runs Tangier to Casablanca in about 2 hours 10 minutes, and direct trains run Marrakech to Fes in roughly six and a half to seven hours. The railway stops at Marrakech, so the south is by road.
| Journey | Service | Takes |
|---|---|---|
| Tangier → Casablanca | Al Boraq | about 2 h 10 |
| Marrakech → Fes | Direct, no change | about 6½–7 h |
| Rabat → Casablanca | Frequent trains | a short hop |
| Casablanca → Marrakech | Conventional | see oncf.ma |

The line
The network, drawn.
Al Boraq, Africa’s first high-speed train, opened in 2018. It links Tangier with Casablanca via Kenitra and Rabat in about 2 hours 10 minutes, on a dedicated high-speed line as far as Kenitra.
Direct trains run between Marrakech and Fes, via Casablanca, Rabat and Meknes, in roughly six and a half to seven hours, with no change.
A high-speed line from Kenitra to Marrakech is being built, due around 2029; timetables may change while the work goes on.
Checked October 2026 against en.wikipedia.org, en.wikipedia.org, railwaygazette.com, oncf.ma. Rules change: confirm with your own government before you travel.
Where the trains stop
The stops, city by city.

Tangier
The northern end of Al Boraq. Taxis to the city port and to Tanger Med for ferries.
Kenitra
Where the high-speed line from Tangier meets the conventional network; trains for Meknes and Fes head inland beyond it.

Rabat
The capital, with frequent trains to Casablanca and Al Boraq stops.

Casablanca
Casa-Voyageurs, the hub for many long-distance trains and the southern end of Al Boraq.

Marrakech
The southernmost major stop, in a modern station near Gueliz.

Meknes
On the Fes line: an easy stop to break the Marrakech–Fes journey.
Fes
The station is in the new town; taxis take you to the medina gates.
Oujda
The eastern end of the line, near the Algerian border.
On board
Classes, tickets and tips.
- Al Boraq, first class
- Roomier seats and quieter carriages on the high-speed train, with an onboard refreshment service.
- Al Boraq, second class
- The same fast journey in standard seats.
- Conventional first class
- Air-conditioned, quieter and with more space than second class: the comfortable choice for long days such as Marrakech–Fes.
- Conventional second class
- A numbered seat on every ticket in busier carriages, widely used by Moroccan travellers, and the budget choice. Only TNR commuter shuttles have unreserved second class.
- Night train
- ONCF has run an overnight train with couchettes between Tangier and Marrakech. Check the current timetable before planning around it.

- Book on oncf.ma or the ONCF app, or at station counters. Book Al Boraq and first class ahead, especially at weekends and holidays.
- Bring water and snacks for long journeys; station kiosks and cafés are at the main stops.
- Keep valuables with you rather than on the rack, and luggage you can lift yourself.
- A high-speed line from Kenitra to Marrakech is being built, due around 2029; timetables may change while the work goes on.

Beyond Marrakech
Where the rails stop.
The railway stops at Marrakech: the Atlas, the Sahara, the gorges and most of the coast are reached by road. Many travellers take the train between the northern cities and a private driver for the south.
Morocco by train: your questions
What is the Al Boraq train in Morocco?
Al Boraq, Africa’s first high-speed train, opened in 2018. It links Tangier with Casablanca via Kenitra and Rabat in about 2 hours 10 minutes, on a dedicated high-speed line as far as Kenitra.
Can I travel from Marrakech to Fes by train?
Yes. Direct trains run between Marrakech and Fes, via Casablanca, Rabat and Meknes, in roughly six and a half to seven hours, with no change. Many travellers break the journey in Rabat or Meknes.
How do I book train tickets in Morocco?
Book on oncf.ma or the ONCF app, or at station counters. Book Al Boraq and first class ahead, especially at weekends and holidays.
Which cities does the train reach?
Morocco’s trains are run by ONCF, the national railway, on a network that links the north and the Atlantic cities with Fes, Oujda in the east and Marrakech in the south. The railway stops at Marrakech: the Atlas, the Sahara, the gorges and most of the coast are reached by road.
Is first class worth it on Moroccan trains?
On long journeys, many travellers think so: first class is quieter and roomier, and on conventional trains it gives you more space for a full day such as Marrakech–Fes.
Is there a sleeper train in Morocco?
ONCF has run an overnight train with couchettes between Tangier and Marrakech. Check the current timetable before planning around it.

After you ask for a quote
What you get within 24 hours
Your proposal contains
- A day-by-day route, with the driving time between stops
- Stays matched to your style (riads, kasbahs, desert camps or hotels), named so you can look them up
- Which moments are private to you, and which are shared, such as a camp’s dining tent
- An itemised quote: what is included and what is not
- Who is planning your trip, and how to reach them on WhatsApp
- Free, with no obligation to book
Before you pay a deposit, we confirm
- Opening days for the places on your route, including Friday and holiday closures
- Meal stops along the way, and any dietary needs
- Prayer or Shabbat timing, if it matters to you
- Step-free access, wherever you need it
- The vehicle class for your group and your luggage
Before you pay a deposit, we confirm
- Opening days for the places on your route, including Friday and holiday closures
- Meal stops along the way, and any dietary needs
- Prayer or Shabbat timing, if it matters to you
- Step-free access, wherever you need it
- The vehicle class for your group and your luggage
Every trip is private and priced to your dates, so there is no fixed price list. Ask, and the proposal shows the full cost before anything is booked.
Who plans your trip
The train where it shines. A driver where it stops.
المغربⵜⴰⴳⵍⴷⵉⵜ ⵏ ⵍⵎⵖⵔⵉⴱThe Kingdom of Morocco


