
Introduction
Traveling across Morocco doesn’t have to eat up your precious daytime hours. With ONCF night trains, you can journey between major cities while you sleep, arriving refreshed and ready to explore. Whether you’re heading from Marrakech to Tangier or Casablanca to Oujda, the ONCF overnight train offers comfort, convenience, and cost savings — all in one.
Why Choose the ONCF Night Train?

Taking the night train in Morocco comes with several advantages:
- Save on Accommodation Costs – Sleep on the train instead of paying for a hotel.
- Maximize Your Time – Spend the day sightseeing, and travel at night.
- Comfortable Sleeping Compartments – Private cabins for individuals, couples, or families.
- Eco-Friendly Travel – Lower carbon footprint compared to flying.
Popular ONCF Night Train Routes
While not all Moroccan train lines operate overnight, here are some key routes:
Route | Departure Time (approx.) | Arrival Time (approx.) | Duration | Price Range |
---|---|---|---|---|
Marrakech → Tangier | 21:00 | 07:00 | 10 hrs | 350–450 MAD (sleeper) |
Casablanca → Oujda | 20:50 | 07:40 | 11 hrs | 320–430 MAD (sleeper) |
Rabat → Tangier | 22:30 | 06:00 | 7.5 hrs | 280–380 MAD (sleeper) |
(Schedules and prices may vary; always check the latest on ONCF’s website before booking.)
Types of Sleeping Options
ONCF night trains offer different comfort levels:
- 1st Class Sleeper – Private cabins with two or four beds, bedding provided.
- 2nd Class Reclining Seats – Budget-friendly option but less comfortable for long journeys.
- Compartments for Families or Groups – Secure and private for up to four travelers.

How to Book an ONCF Night Train
- Train Station Counters – Buy tickets directly at major stations.
- Mobile App – ONCF’s app allows booking and ticket management on the go.
Pro Tip: Book early, especially during weekends or holidays, as sleeper cabins sell out quickly.
Travel Tips for a Smooth Night Train Journey
- Bring earplugs or an eye mask for better rest.
- Pack light to fit luggage in your compartment.
- Keep valuables close and secure.
- Confirm your platform and departure time in advance.
Conclusion
The ONCF night train is one of the smartest ways to travel in Morocco — offering comfort, cost savings, and the unique experience of waking up in a new city. Whether you’re traveling for adventure or business, booking a night train can turn travel time into restful downtime.