Morocco travel planning ·

Train Travel in Morocco: Plan a Car-Free Trip

Passenger train traveling through a Moroccan landscape.
Digitally generated editorial illustration.

By Karama Travel · Last updated:

A train trip in Morocco is an effective way to connect cities and cut down long road days, but rail will not build an entire itinerary on its own. Plan in two layers: first, the major stops that work well by rail — including the Casablanca–Rabat–Kenitra–Tangier corridor served by Al Boraq — then the places that require another mode. You might begin in Casablanca or Tangier, combine Rabat, Fez or Marrakech according to actual departures, and arrange a separate road leg for Chefchaouen, the desert, the Atlas or a remote stay. Always check the exact journey, stations and availability for your date with the official ONCF timetable tool before booking. This guide explains how to combine rail and road; it does not sell tickets or replace confirmation from ONCF.

Rail works best on main corridors, not at every stop

Use the train first for stages where it saves an uninteresting long drive or a car round trip: arriving in Casablanca, stopping in Rabat, staying in the north, or travelling between connected inland cities. ONCF presents Al Boraq as the link between Casablanca and Tangier, serving Casa Voyageurs, Rabat Agdal, Kenitra and Tangier on that corridor (ONCF — Al Boraq destinations). That makes a logical backbone for a trip without a rental car.

However, “Morocco by train” does not mean rail reaches the door of every riad, village, valley or camp. Stations are interchange points: you still need to plan the walk, taxi, tram where available, coach or transfer to your accommodation. For a destination without a station, the Moroccan National Tourist Office says that Supratours can take over where there is no rail station (Visit Morocco). Check the actual service, timetable and conditions with the relevant operator for your travel day; do not infer them from an itinerary online.

Draw the trip in two layers

Start with nights, not a stack of cities. First map the rail hubs that fit your arrival, departure and urban priorities. Then add the “last miles”: airport to first station, station to hotel, an excursion beyond the rail network, and final station to airport. This prevents the assumption that a city shown as connected on a map automatically makes the whole program easy.

One possible logic, not a timetable, is to combine Tangier, Rabat and Casablanca by train on the north-west corridor, then allow a road day for a destination with no station. Likewise, Casablanca can be a starting point for historic cities before a road continuation to mountains or desert. If you are weighing city stops, our seven-day Casablanca, Rabat, Fez and Marrakech itinerary helps assess the overall pace; the focus here is choosing the right mode for each leg.

Put a train into the program only after testing your actual stations and date. A connection that works on paper can become uncomfortable with luggage, children, a late flight arrival or a station far from the hotel.

Three itinerary patterns that suit rail, then road

1. A car-free urban north. Start in Tangier or Casablanca, link Tangier, Rabat and Casablanca by train according to the ONCF result, then spend two nights where you genuinely want to visit. This suits travellers who prefer medinas, museums, seafronts and restaurants to driving days. Do not assume Chefchaouen has a station: treat it as a separate road leg. Our Tangier–Chefchaouen guide compares that decision.

2. Cities followed by a rural break. Build a rail-based stay between larger cities first, then add one or two nights in the Atlas, Essaouira, Chefchaouen or a valley. Train connects the parts where it works; a vehicle becomes a targeted service rather than something imposed for the whole trip.

3. An urban line plus a long extension. Use rail to reach the city where you collect a transfer or begin a road circuit toward the desert. This separation is clearer than claiming a “train-only” trip: it lets you compare the rail ticket and land transport separately, with realistic meeting times.

In all three cases, leave a buffer night before a return flight when your final major move relies on a connection or a long road. It is not a guarantee against every disruption; it is sensible program margin.

Check the ONCF journey before building around it

Use the official journey planner as a feasibility test, not a final-minute formality. Enter the departure station and arrival station, then the date and passengers. Compare departure and arrival times, any changes, the proposed class and the real time you have before and after the train. ONCF Voyages is the appropriate starting point for schedules, availability and purchase.

Do not only search “Casablanca” or “Marrakech” in a browser: note the station name shown by the result, then consider where it is in relation to your hotel and next activity. After a flight, allow for leaving the airport, baggage collection and the transfer to the station before accepting a connection. For an evening train, ask the accommodation how arrival is handled instead of assuming reception is available at every hour.

Check again as departure approaches. ONCF asks users to follow the actual operating plan regularly, and its works and traffic page publishes works impacts and traffic status. An old screenshot or blog post is not an equivalent confirmation.

Morocco train tickets: buy the right journey

A Morocco train ticket must match the train you will actually take, not merely the city name. Before paying, reread the date, time, stations, class, passenger count and the spelling of the name where the ticket is named. ONCF’s terms say a ticket is valid only for its stated train, date, time, class and route; they also state that the named e-ticket holder must be able to show valid ID at inspection (ONCF general conditions). Keep both ticket and identification accessible, rather than packed at the bottom of a suitcase.

Do not give your group one universal refund rule: after-sales terms depend in particular on fare and deadline. Read the rule shown for the ticket you purchase and check it again if the program changes. Equally, do not state a fare or baggage allowance based on someone else’s experience; prices, availability and rules can change.

ONCF recommends that ticketed passengers arrive at the station at least fifteen minutes before departure, and its terms state that platform access closes before departure. Arrive earlier if you need to find the platform, manage a child, print a document or buy locally. This margin protects the coherence of the trip, not a last-minute ticket.

Treat each station as a small travel stage

A station is not just a point on a reservation. The night before, write down its exact name, your accommodation address, planned way of getting there, the next hotel’s contact details and a fallback if your phone battery runs out. Ask the property whether it can arrange a taxi, or agree a clear meeting point. Leave time for checks and platform changes.

Travel lighter where your route involves frequent hotel changes. A large suitcase is possible, but it slows stairs, pavements, taxis and changes. Families and travellers with reduced mobility should ask ONCF and accommodation providers about suitable assistance in advance and avoid a tight connection. Do not assume the same facilities or help at every station; explain the need before confirming.

Rail also makes it possible to separate sightseeing from transfer. Arrive at the station, settle in, then explore the next day instead of turning a travel day into a race against time.

If your itinerary begins with a flight into Casablanca, also read our guide to choose your first transfer from Mohammed V Airport around your station, address, luggage and arrival time.

When a private driver makes more sense than rail

Choose a road leg with a driver when it connects a city to an off-network stop, when a party has substantial luggage, when a child needs breaks, or when the program strings together several off-network places in one day. It can also simplify a late arrival or a station far from accommodation. It should not be presented as compulsory as soon as you leave the train: compare door-to-door duration, passenger count, luggage, need for stops and the cost of the whole program.

For a separate mobility request, our private driver in Morocco page explains the service framework. With Karama Travel, a driver day must be confirmed for the program, vehicle, passengers, luggage and availability; published daily rates notably exclude fuel, tolls, parking and valet, and a driver is not automatically a tourist guide. Where several services need to fit together, also read how to organize a Morocco tour with a driver.

That complementarity is the core idea: rail for the corridors where it is efficient, a driver only for the road link your program needs, and written terms so you know what is included.

A checklist that prevents imaginary car-free routes

Before buying the first ticket, check: the station in every city; the door-to-door transfer to the hotel; the last train or transfer compatible with your arrival; the exact ticket and its rules; nights placed after long links; and a contingency plan if a stage changes. Do not squeeze the desert, Chefchaouen, the Atlas and the coast into one week just because they are all in Morocco. A calmer route with three or four bases is often more enjoyable than one that changes hotel every night.

Karama Travel can help coordinate accommodation, targeted road transfers and a travel program, without replacing ONCF as a ticket seller. To review your sequence of cities, dates and luggage needs, contact the team through the contact page. Train schedules, availability, vehicle and final price must remain confirmed for your precise project.

Sources to consult

Frequently asked questions

Can you visit all of Morocco by train?

No. Rail works on several main corridors, but many destinations, valleys, dunes and villages require another journey. Check every stage and the final transfer.

Which station should I choose in Casablanca or Rabat?

Choose the station shown for your ONCF journey, then compare its location with your hotel and next leg. The city name alone is not enough.

Should I buy an ONCF ticket far in advance?

Availability depends on date and journey. Use the ONCF tool for your actual date, then buy after checking stations, time, class and the chosen ticket’s conditions.

Is an ONCF e-ticket enough to board?

You must retain a valid ticket, and the named e-ticket holder must be able to present valid identification at inspection under ONCF’s conditions.

When should I arrange a driver on a rail itinerary?

A driver can suit an off-network stop, substantial luggage, necessary breaks or several places in one day. Request a separate quote and written inclusions.

Contact us · +212 704 402 200