Train Guide

Morocco Train Guide

Everything you need to know about Morocco trains, ONCF tickets, and rail travel.

Use this guide to plan routes and book online with confidence.

Secure payment Email ticket delivery Tourist-friendly booking

Search & Book

Check schedules & prices

Compare departures, pay securely, and receive instant confirmation by email.

Train travel essentials

ONCF trains connect Morocco’s biggest cities with fast, reliable service. The high-speed Al Boraq line is the quickest option between Tangier, Rabat, and Casablanca.

Main corridors

Casablanca–Rabat–Tangier and Casablanca–Marrakech are the busiest routes.

Classes

First class is quieter and roomier; second class offers the best value.

Booking tip

Reserve early for high-demand departures, especially weekends.

Who this is best for

  • First time rail travelers
  • Tourists planning multiple stops
  • Anyone booking ONCF tickets online

Why book with MYticket

  • Search Morocco train tickets, Morocco bus tickets, and private transfers in one platform.
  • Secure online payment with clear confirmation for international travelers.
  • Instant email delivery so you can travel with a digital ticket.

How to book

Search live schedules, compare operators, and secure tickets in minutes.

Instant confirmation by email for international travelers.

Search Morocco train tickets

Compare schedules and book online in minutes.

Popular routes near Casablanca and nearby cities

Compare schedules and prices for popular routes with our booking partner.

Casablanca

Rabat

Tangier