Introduction

Traveling by train in Morocco is one of the most comfortable, affordable, and scenic ways to explore the country. Whether you’re hopping on the high-speed Al Boraq train from Tangier to Casablanca, or taking the scenic route from Marrakech to Fes, Morocco’s national railway operator ONCF offers a modern and reliable service.

In this guide, we’ll show you exactly how to book ONCF train tickets online, check schedules, view prices, and choose the right class — so you can travel stress-free.


Why Book ONCF Train Tickets Online?

Booking your train tickets in advance online has many advantages:

  • Guarantee Your Seat – Avoid last-minute ticket sellouts.
  • Save Time – No need to wait in line at the station.
  • Plan Your Trip – Secure the exact time and class you prefer.
  • Exclusive Online Discounts – Sometimes cheaper than buying on-site.

Step-by-Step Guide to Booking ONCF Train Tickets Online

Here’s how you can book your tickets in just a few minutes:

1. Visit the Official ONCF Website or Partner Platforms

You can book directly through the ONCF official website or trusted travel platforms like 12Go, which offers tickets in English and multiple currencies.

2. Select Your Route and Date

  • Enter your departure and arrival stations.
  • Choose your travel date and time.

3. Choose Your Train and Class

ONCF offers two main classes:

  • First Class – Larger seats, more comfort, air conditioning.
  • Second Class – Affordable, still comfortable, no seat reservation in some cases.

For Al Boraq high-speed trains, seats are always reserved.

4. Confirm Prices

Prices vary depending on:

  • Train type (high-speed vs. regular)
  • Class of travel
  • Time of booking (earlier bookings may be cheaper)

5. Make Payment

ONCF accepts:

  • Credit & debit cards (Visa, Mastercard)
  • Mobile payments (Morocco-based)

If booking here, you can pay via PayPal, Apple Pay, and international cards.

6. Receive Your E-Ticket

  • You’ll receive a PDF ticket by email.
  • Print it or keep it on your phone to scan at the station.

ONCF Train Schedule & Popular Routes

Here are some of the most popular ONCF routes:

RouteDurationPrice (From)Train Type
Tangier – Casablanca2h 10m150 MADAl Boraq
Marrakech – Casablanca2h 30m90 MADRegular
Rabat – Tangier1h 20m120 MADAl Boraq
Marrakech – Fes6h 30m160 MADRegular

Tips for Booking ONCF Train Tickets

  • Book Early – High-speed trains can sell out days in advance.
  • Check Peak Times – Fridays and Sundays are busier.
  • Travel Off-Peak – Cheaper and less crowded.
  • Use Partner Sites – If you need English language and international payment options.

Final Thoughts

Whether you’re traveling for business or leisure, booking your ONCF train tickets online makes your journey smoother and more enjoyable. With Morocco’s growing high-speed rail network, destinations like Tangier, Casablanca, Rabat, and Kenitra are now just a short ride away.

Book your Morocco train tickets now and enjoy a fast, comfortable, and scenic journey through one of the most beautiful countries in the world.