Winner: Advancing International Rail TravelBranchBranchWinner2024 Global Recognition AwardGlobal Recognition Award*

Trains in Morocco: Info, Map and Tickets Online

Get real-time train timetables

Download the Rail Monsters app today

qr code
apple
google
mi
huawei
Route image

Schedule & Ticket Prices for top routes in Morocco

9Jun
1
Seats
Casablanca
Rabat

Each ticket has information about

Departure Time

Travel time

Arrival Time

Changes

Brand name / Train type

Ticket price

Morning trains

06:00
CasablancaCasa Voyageurs
51m
06:51
RabatRabat Agdal
Direct
Al Boraq 1001
from
1570 USD
1
51m, Direct
06:00
CasablancaCasa Voyageurs
06:51
RabatRabat Agdal
from
1570 USD
1
Direct
High-speed
06:10
CasablancaCasa Voyageurs
59m
07:09
RabatRabat Ville
Direct
TL 101
from
981 USD
1
59m, Direct
06:10
CasablancaCasa Voyageurs
07:09
RabatRabat Ville
from
981 USD
1
Direct

Day trains

12:00
CasablancaCasa Voyageurs
51m
12:51
RabatRabat Agdal
Direct
Al Boraq 1025
from
1570 USD
1
51m, Direct
12:00
CasablancaCasa Voyageurs
12:51
RabatRabat Agdal
from
1570 USD
1
Direct
High-speed
12:02
CasablancaCasa Port
Secondary station
1h 17m
13:19
RabatRabat Ville
Direct
TNR 23
from
883 USD
1
1h 17m, Direct
12:02
CasablancaCasa Port
Secondary station
13:19
RabatRabat Ville
from
883 USD
1
Direct

Evening trains

18:00
CasablancaCasa Voyageurs
51m
18:51
RabatRabat Agdal
Direct
Al Boraq 1049
from
1570 USD
1
51m, Direct
18:00
CasablancaCasa Voyageurs
18:51
RabatRabat Agdal
from
1570 USD
1
Direct
High-speed
18:05
CasablancaCasa Port
Secondary station
1h 12m
19:17
RabatRabat Agdal
Direct
TNR 47
from
883 USD
1
1h 12m, Direct
18:05
CasablancaCasa Port
Secondary station
19:17
RabatRabat Agdal
from
883 USD
1
Direct
Route image
day

First train

06:00
night

Last train

23:59
distance

Travel duration

1h 4m
daily-departure

Daily departures

294
departure-station

Departure station

Casablanca
changes-type

Changes

direct
arrival-station

Arrival station

Rabat
ticket-price

Ticket price

from $5
fastest-s

Fastest trip

41m
longest-s

Longest trip

3h 12m

Your Complete Guide to Train Travel in Morocco

Morocco has the most developed passenger rail network in North Africa, operated by ONCF. The headline service is Al Boraq, Africa's first high-speed train, running between Tanger Ville, Kenitra, Rabat Agdal, and Casa Voyageurs at up to 320 km/h on its dedicated high-speed section. Tangier to Casablanca takes about 2 hours 10 minutes, while Rabat to Tangier can take around 1 hour 20 minutes. Casablanca to Rabat is the country's busiest corridor, with frequent departures from Casa Voyageurs to Rabat Ville and Rabat Agdal throughout the day. ONCF also runs Al Atlas intercity trains on conventional lines from Casablanca to Marrakech, Fes, Meknes, Oujda, Safi, and El Jadida. Casablanca to Marrakech usually takes about 2 hours 40 minutes, and Casablanca to Fes takes roughly 3 hours 40 minutes depending on stops. There is no operational international passenger rail from Morocco to neighboring countries in 2026, so rail travel focuses on domestic routes. Major stations such as Casa Voyageurs, Tanger Ville, Marrakech, Fes, and Rabat Agdal handle most long-distance departures.

How to Buy Train Tickets in Morocco

Purchasing train tickets in Morocco through Rail Monsters is streamlined and convenient. Focus on high-speed train services, such as the Al Boraq, to travel efficiently between major cities like Casablanca, Rabat, and Tangier. With our user-friendly platform, you can easily buy your tickets in advance, utilize various international payment methods, and benefit from our excellent customer support available around the clock.
1
Digital Ticket Delivery
Receive booking confirmation by email, with ticket details and boarding information for your selected ONCF train.
2
Domestic ONCF Coverage
Find tickets for Al Boraq and Al Atlas routes serving Casablanca, Rabat, Tangier, Marrakech, Fes, Meknes, and Oujda.
3
24/7 Multilingual Support
Rail Monsters support staff assist with Morocco train bookings, changes, refunds, and station questions at any time.
4
Book ONCF Al Boraq Tickets
Search Al Boraq high-speed trains between Tanger Ville, Kenitra, Rabat Agdal, and Casa Voyageurs through Rail Monsters.
5
Pay Online for Moroccan Rail
Use major credit and debit cards or supported digital payment methods to complete your Morocco train booking online.
6
Reserve Popular Routes Early
Book ahead for Casablanca-Rabat, Tangier-Casablanca, and Casablanca-Marrakech, especially around weekends and Moroccan holiday periods.
1
Digital Ticket Delivery
Receive booking confirmation by email, with ticket details and boarding information for your selected ONCF train.
2
Domestic ONCF Coverage
Find tickets for Al Boraq and Al Atlas routes serving Casablanca, Rabat, Tangier, Marrakech, Fes, Meknes, and Oujda.
3
24/7 Multilingual Support
Rail Monsters support staff assist with Morocco train bookings, changes, refunds, and station questions at any time.
4
Book ONCF Al Boraq Tickets
Search Al Boraq high-speed trains between Tanger Ville, Kenitra, Rabat Agdal, and Casa Voyageurs through Rail Monsters.
5
Pay Online for Moroccan Rail
Use major credit and debit cards or supported digital payment methods to complete your Morocco train booking online.
6
Reserve Popular Routes Early
Book ahead for Casablanca-Rabat, Tangier-Casablanca, and Casablanca-Marrakech, especially around weekends and Moroccan holiday periods.

Morocco Railway Network Map

Morocco's rail map centers on the Atlantic corridor from Tangier through Kenitra, Rabat, and Casablanca. Al Boraq uses the high-speed line between Tangier and Kenitra, then continues on upgraded tracks to Casa Voyageurs. Conventional ONCF lines run south to Marrakech and Safi, east through Meknes and Fes toward Oujda, and west to El Jadida. Rabat Agdal and Casa Voyageurs act as key interchange points.

How to buy train tickets in Morocco

On Rail Monsters, search Moroccan train routes by entering origin, destination, and date. Compare ONCF Al Boraq and Al Atlas options by departure time, travel duration, and class where available. Select First Class or Second Class when offered, then complete payment online. Advance booking is useful on Tangier-Casablanca, Casablanca-Rabat, and Casablanca-Marrakech. Rail Monsters sends booking confirmation and ticket details by email. Carry a passport or ID that matches the booking name, as staff may check passenger details on board or at the station.

How to buy train tickets in Morocco

icon

Ticket office on station

icon

Rail Monsters mobile app

icon

Rail Monsters website

Payment Information

Rail Monsters accepts major credit and debit cards plus supported online payment methods for Morocco train tickets. Prices are displayed before payment, with the final amount confirmed at checkout. After purchase, Rail Monsters sends a payment receipt and booking confirmation to the email address used during checkout. For ONCF routes such as Casa Voyageurs to Rabat Agdal, Tanger Ville, Marrakech, or Fes, keep the confirmation accessible on your phone and carry matching passenger ID for inspection when requested.

Search for Morocco on our platform

Choose the best time and class that fits you, add to cart and checkout

Receive your ticket to your email or our apps

Take the train in Morocco

We accept payments:

payment-logos
payment-logos

Average rating & reviews

4.7
starstarstarstarstar
Among mobile stores and search platforms
4.7
starstarstarstarstar
Among mobile stores and search platforms
Easy purchase and process
We went from Tokyo station to Hiroshima for the first time. We bought our tickets online, printed the tickets and had no issues. Great experience
avatarDenise Harston
Thank you very much for your support
Even with very short time frame you suceeded to change our tickets. We are very gratefull. You are the best.
avatarMitja Bostner
Thank you, David!
Could not thank David from Rail Monsters enough, i made a couple of errors in my booking for japan and he fixed them asap with no hassle, customer service A1
avatarAlan
Local Guide
Wonderful trip from Tokyo to Kyoto. Excellent service.
avatarMarius-Adrian Nicoara
Very kind and helpful staff
Very kind and helpful staff who were very diligent and thorough in helping secure tickets for a sold out train. Thank you so much!
avatarAllison Makhoul

FAQ and Facts About Trains in Morocco

Can I reach Marrakech by train in Morocco?

Yes. ONCF Al Atlas trains serve Marrakech station from Casablanca, Rabat, Fes, and other cities with connections through Casa Voyageurs. Casablanca to Marrakech takes about 2 hours 40 minutes, while Rabat to Marrakech usually requires travel via Casablanca and takes around 3 hours 40 minutes to 4 hours. Marrakech station sits in the Gueliz area, roughly 3 km from Jemaa el-Fnaa by taxi or local bus.

Are trains in Morocco reliable?

ONCF runs frequent service on the core Casablanca-Rabat-Kenitra-Tangier corridor, where Al Boraq and TNR trains carry heavy daily traffic. Al Boraq services use reserved seating and modern signaling on the high-speed section between Tangier and Kenitra. Conventional Al Atlas trains to Marrakech, Fes, and Oujda can be more affected by single-track sections and peak demand. Arriving 20 to 30 minutes before departure is sensible at Casa Voyageurs, Rabat Agdal, and Marrakech.

What ticket classes are available on Al Boraq?

Al Boraq trains normally offer First Class and Second Class, both with reserved seats. First Class has a 2+1 seating layout and more space, while Second Class uses a 2+2 layout. Al Atlas intercity trains also usually offer First and Second Class, though trainsets vary by route. Morocco has ONCF subscription and discount products for some passengers, sold by ONCF; Rail Monsters focuses on individual train tickets for specific routes and dates.

Who operates trains in Morocco?

ONCF, the Office National des Chemins de Fer, operates Morocco's national passenger rail network. It runs Al Boraq high-speed trains between Tanger Ville and Casa Voyageurs via Kenitra and Rabat Agdal, plus Al Atlas intercity trains on conventional lines to Marrakech, Fes, Meknes, Oujda, Safi, and El Jadida. ONCF also operates TNR suburban services around Casablanca, Rabat, and Kenitra.

How long is the train from Casablanca to Marrakech?

The ONCF train from Casa Voyageurs to Marrakech usually takes about 2 hours 40 minutes to 3 hours, depending on the departure and intermediate stops. Trains run on the conventional line south from Casablanca and arrive at Marrakech station, west of the medina and Gueliz district. This route is one of Morocco's most used intercity services, so Friday afternoons, Sundays, and holiday periods can sell quickly.

Why take the train instead of driving in Morocco?

The ONCF train keeps long-distance travel centered on major stations rather than highway driving between cities. Casablanca to Rabat takes about 1 hour on many departures, avoiding traffic on the A1 corridor. Tangier to Casablanca by Al Boraq takes around 2 hours 10 minutes, which is often faster than driving the full route. Rail also suits city-to-city trips where arrival at Casa Voyageurs, Rabat Ville, or Marrakech station reduces the need for intercity buses.

Why should I book Morocco train tickets in advance?

Advance booking helps on Morocco's busiest rail corridors, especially Al Boraq between Tangier, Rabat, and Casablanca. Reserved seats on popular morning, evening, Friday, and Sunday departures can sell out during school breaks, Eid travel periods, and summer weekends. Casablanca-Marrakech and Casablanca-Fes also see strong demand. Booking several days ahead gives more choice of departure times and class, particularly for First Class seats on Al Boraq and Al Atlas trains.

How do I book Morocco train tickets through Rail Monsters?

Enter your departure station, arrival station, and travel date on Rail Monsters. Compare available ONCF options by departure time, travel duration, and class, then select your preferred Al Boraq or Al Atlas train. Complete payment online with a supported card or payment method. Rail Monsters sends your booking confirmation and ticket information by email, including the details needed for your trip from stations such as Casa Voyageurs or Tanger Ville.
Learn more information at our
Country Guide

ONCF

ONCF

Discover Morocco's beautiful landscapes with ONCF.