MoroccoPrices.com
Train Ticket
Home/Prices/Train Ticket
Transport

Morocco Train Ticket Prices (2026): ONCF Fares, Al Boraq & Intercity Routes

2026 ONCF train fares in Morocco including Al Boraq high-speed rates, Casablanca-Marrakech tickets, and 1st vs 2nd class pricing

Updated Sep 9, 2026

Morocco price guide

How much does train ticket cost in Morocco?

Operated by the Office National des Chemins de Fer (ONCF), Morocco’s modern railway system is one of the most efficient and reliable public transit networks in Africa. Connecting key tourist destinations—including Tangier, Rabat, Casablanca, Meknes, Fes, and Marrakech—trains offer predictable, climate-controlled comfort without the hassle of highway traffic or road navigation. Understanding ticket tiers, dynamic pricing models (YALLA discount fares), and class options ensures smooth travel planning.

Quick reference

Typical price

per journey

CategoryTransport
Updated2026

Price examples

Typical amounts in MAD

ONCF ticket pricing relies on route distance, service speed (Al Boraq high-speed vs. Al Atlas intercity), class tier (1st vs. 2nd class), and how far in advance tickets are purchased:

Short Commuter / Shuttle Ride (e.g., Casa-Port to Rabat Agdal or Airport TNR)
Standard Intercity Express (Al Atlas: Casablanca to Marrakech / Fes in 2nd Class)
High-Speed Bullet Train (Al Boraq: Tangier to Casablanca in 2nd Class)
Premium Long-Distance 1st Class (Al Boraq / Al Atlas: Assigned Seats & Extra Legroom)

ONCF offers advance booking YALLA promotional tickets starting at just 49 MAD for Al Atlas lines and 89 MAD for Al Boraq lines when reserved online at least 7 days before departure.

Purchase e-tickets directly online through the official ONCF portal (`oncf-voyages.ma`) or the ONCF VOYAGES app to avoid waiting lines at major hubs like Casa-Voyageurs or Marrakech Station. Foreign Visa and Mastercard bank cards are widely accepted online. Alternatively, automated ticket vending machines (Billetterie Automatique) and ticket counters exist at all principal stations.

ONCF applies dynamic yield management to high-speed Al Boraq departures; peak morning and late afternoon commuter slots carry higher base fares than midday departures. Standard Al Atlas trains feature fixed distance rates. Upgrading from 2nd Class to 1st Class generally adds 30% to 50% to the ticket cost, granting reserved assigned seating, wider seats, individual power outlets, and quieter air-conditioned carriages.

01

Train category (Al Boraq 320 km/h high-speed rail vs. Al Atlas standard intercity vs. TNR commuter shuttle)

02

Travel class (2nd Class open unassigned seating vs. 1st Class designated seat reservations)

03

Booking lead time (Early-bird YALLA promo fares vs. same-day walk-up counter purchases)

04

Departure time (Off-peak midday vs. peak morning/evening business traveler hours)

05

Distance between rail corridors (e.g., Marrakech to Fes 6.5hr vs. Rabat to Casablanca 50min)

Taking the train is the preferred mode of travel between northern and central Moroccan cities. Major terminals like Marrakech, Tangier-Ville, Rabat-Agdal, and Casa-Voyageurs feature modern food courts, luggage lockers, ATM facilities, and dedicated Petit Taxi stands right outside the main doors.

A useful rule when comparing private guide prices

Book 1st Class for peak travel dates or long journeys (like the 6.5-hour Marrakech to Fes run) to guarantee a spacious reserved seat with a dedicated power outlet.

If taking Al Boraq from Tangier to Casablanca, arrive at the station at least 15 minutes before departure for security luggage scanning at the platform gates.

Be attentive to city station names: Casablanca has two main stations (Casa-Voyageurs for intercity/airport connections and Casa-Port for local shuttles); Rabat has Rabat-Ville and Rabat-Agdal.

Children under 4 travel free (without taking up a separate seat), while kids aged 4 to 11 receive roughly a 30% to 50% discount on standard fares.

Keep your physical ticket stub or digital QR code handy throughout the journey, as ONCF ticket inspectors scan codes on board and at station exit turnstiles.

Budget 120 to 220 MAD ($12–$22 USD) per major intercity connection in 2nd Class. To maximize savings across a multi-city Morocco itinerary, purchase your Al Boraq and Al Atlas tickets 1 to 2 weeks online in advance to catch 49 MAD to 89 MAD YALLA discount fares.

More price guides

Explore related costs

Comparing transport options across Morocco? See our guides to airport taxis, Petit Taxis, CTM buses, and car rentals. For routes and booking advice, read our trains and buses guide.

View all prices

Prices are reference estimates intended to help with planning and comparison.