Travelling around Morocco by train is a wonderful way to discover the country's changing landscapes, historic cities and everyday life. One moment, you are passing through green farmland, and the next, you are approaching a busy city filled with traditional markets and colourful streets.
Morocco has a well-connected railway network that makes travelling between popular destinations convenient, comfortable and affordable. Whether you are planning a weekend getaway or a longer holiday, train travel offers a relaxed way to explore the country.
Understanding Morocco's Railway Network
Morocco's national railway network is operated by the Office National des Chemins de Fer (ONCF). It connects several major destinations, including Marrakech, Casablanca, Rabat, Tangier, Meknes and Fes.
Travellers can choose between three main train services:
Al Boraq: Africa's first high-speed train service.
Al Atlas: Regular intercity trains connecting major destinations.
TNR: Regional shuttle trains serving selected cities and surrounding areas.
Most intercity trains offer first-class and second-class seating, allowing passengers to travel according to their budget and comfort preferences.
Popular Train Routes in Morocco
Choosing the right railway route can help you save time and make the most of your holiday.
Train RouteApproximate Journey TimeTangier to Casablanca2 hours 15 minutesTangier to Rabat1 hour 20 minutesCasablanca to Marrakech2 hours 45 minutes to 3 hoursCasablanca to Fes3.5–4 hoursMarrakech to Fes6.5–7 hoursCasablanca to RabatAround 1 hour
Journey times may vary depending on train schedules, connections and railway maintenance.
Experiencing Morocco's Al Boraq High-Speed Train
The Al Boraq connects Tangier with Kenitra, Rabat and Casablanca. Its modern double-decker carriages, comfortable seating and air-conditioned interiors make longer journeys enjoyable.
It is particularly useful for travellers who want to explore northern Morocco without spending several hours on the road.
How to Buy Train Tickets in Morocco
Train tickets can be purchased through the official ONCF Voyages website, ticket counters or self-service machines at railway stations.
Booking early can help you find lower fares, especially during weekends, public holidays and busy tourist seasons. Ticket prices depend on the route, departure time, travel class and availability.
International visitors should also arrange their entry documents before booking their holiday. Eligible travellers can follow the Morocco eVisa application process to understand the online form, document requirements and submission steps.
Our eVisa assistance service offers online applications, processing options, application tracking and customer support to simplify travel preparations.
Most Scenic Train Journeys in Morocco
Casablanca to Marrakech
This journey passes through agricultural fields, open plains and small settlements. The changing scenery offers an interesting introduction to inland Morocco.
Rabat to Fes
Passengers can enjoy views of rolling countryside, farmland and rural communities before reaching Fes, a city famous for its traditional craftsmanship and historic medina.
Tangier to Rabat
The northern railway journey offers glimpses of green landscapes and agricultural regions, particularly during spring.
First Class or Second Class: Which Is Better?
Second class is a practical choice for budget-conscious travellers and shorter journeys. First class generally provides more personal space and additional comfort.
For longer trips, such as Marrakech to Fes, upgrading to first class may be worthwhile.
Reaching Destinations Without Railway Stations
Popular destinations such as Chefchaouen, Essaouira and Agadir are not currently connected directly by passenger trains. Visitors can continue their journeys using buses or private transfers.
Supratours offers connecting bus services to selected destinations beyond Morocco's railway network.
Useful Tips for Travelling by Train in Morocco
Reserve tickets early during peak travel periods.
Arrive at the railway station at least 20–30 minutes before departure.
Keep your passport and train ticket accessible.
Carry drinking water and light snacks.
Confirm your departure station before travelling.
Final Thoughts
Exploring Morocco by train offers more than convenient transportation. It gives travellers an opportunity to enjoy the countryside, discover different cities and experience local life at a comfortable pace. With a little advance planning, your railway journey can become one of the most memorable parts of your Moroccan holiday.



