find-journey
Morocco by train
Morocco is one of Africa's best countries to explore by train. Modern railways connect Tangier, Rabat, Casablanca, Meknes, Fes, Marrakech and many other destinations. The country's flagship Al Boraq high-speed train links Tangier with Casablanca at speeds of up to 320 km/h, while comfortable intercity trains serve the rest of the network.
Book train travel in Morocco in two ways:
- Separate train tickets to and within Morocco
- Fully organised rail holidays with hotels and fixed itineraries
On this page, you will find both options clearly explained.
Train tickets to and within Morocco
With HappyRail, you can book train tickets to and within Morocco. Since 2002, we have specialised in international rail travel and work with railway operators around the world, including Morocco's national railway, ONCF.
- Domestic ONCF train tickets
- High-speed Al Boraq services
- Comfortable intercity trains throughout Morocco
- Rail & ferry travel between Spain and Morocco
- Official rail fares
- No booking fees
In short: book train tickets to and within Morocco in one place, from high-speed trains to scenic rail journeys across the country.
Start booking in the international train planner
Organised rail holidays in Morocco
HappyRail also offers fully organised rail holidays in Morocco, with train tickets, hotels and carefully planned itineraries arranged before departure.
- Rail holidays across Morocco
- City breaks to Marrakech and Fes
- Hotels close to the railway station
- Train tickets included
- Clear itineraries and travel documents
- Rail specialists since 2002
HappyRail offers both separate train tickets and complete rail holidays throughout Morocco.
Popular rail routes in Morocco
- Tangier – Casablanca: high-speed Al Boraq service
- Tangier – Rabat: fast and frequent connections
- Casablanca – Marrakech: one of Morocco's busiest rail routes
- Rabat – Fes: through the heart of Morocco
- Fes – Oujda: towards eastern Morocco
Trains in Morocco
Al Boraq
Africa's first high-speed railway, operating between Tangier, Kenitra, Rabat and Casablanca at speeds of up to 320 km/h.
ONCF Intercity
Comfortable long-distance trains connecting Morocco's major cities, including Marrakech, Fes, Meknes, Oujda and Tangier.
Popular destinations in Morocco by train
Marrakech
The famous Red City, known for its markets, palaces and vibrant atmosphere.
Casablanca
Morocco's largest city and the country's main railway hub.
Fes
Home to one of the world's largest medieval medinas.
Tangier
Gateway between Europe and Africa, connected by ferry to Spain and by high-speed rail to Casablanca.
More rail holidays worldwide
High-speed Al Boraq trains up to 320 km/h
Comfortable trains between Tangier, Rabat, Casablanca & Marrakech
Rail & ferry travel from Spain to Morocco
Morocco is one of Africa's best countries to explore by train. Modern railways connect Tangier, Rabat, Casablanca, Meknes, Fes, Marrakech and many other destinations. The country's flagship Al Boraq high-speed train links Tangier with Casablanca at speeds of up to 320 km/h, while comfortable intercity trains serve the rest of the network.
Book train travel in Morocco in two ways:
- Separate train tickets to and within Morocco
- Fully organised rail holidays with hotels and fixed itineraries
On this page, you will find both options clearly explained.
Train tickets to and within Morocco
With HappyRail, you can book train tickets to and within Morocco. Since 2002, we have specialised in international rail travel and work with railway operators around the world, including Morocco's national railway, ONCF.
- Domestic ONCF train tickets
- High-speed Al Boraq services
- Comfortable intercity trains throughout Morocco
- Rail & ferry travel between Spain and Morocco
- Official rail fares
- No booking fees
In short: book train tickets to and within Morocco in one place, from high-speed trains to scenic rail journeys across the country.
Start booking in the international train planner
Organised rail holidays in Morocco
HappyRail also offers fully organised rail holidays in Morocco, with train tickets, hotels and carefully planned itineraries arranged before departure.
- Rail holidays across Morocco
- City breaks to Marrakech and Fes
- Hotels close to the railway station
- Train tickets included
- Clear itineraries and travel documents
- Rail specialists since 2002
HappyRail offers both separate train tickets and complete rail holidays throughout Morocco.
Popular rail routes in Morocco
- Tangier – Casablanca: high-speed Al Boraq service
- Tangier – Rabat: fast and frequent connections
- Casablanca – Marrakech: one of Morocco's busiest rail routes
- Rabat – Fes: through the heart of Morocco
- Fes – Oujda: towards eastern Morocco
Trains in Morocco
Al Boraq
Africa's first high-speed railway, operating between Tangier, Kenitra, Rabat and Casablanca at speeds of up to 320 km/h.
ONCF Intercity
Comfortable long-distance trains connecting Morocco's major cities, including Marrakech, Fes, Meknes, Oujda and Tangier.
Popular destinations in Morocco by train
Marrakech
The famous Red City, known for its markets, palaces and vibrant atmosphere.
Casablanca
Morocco's largest city and the country's main railway hub.
Fes
Home to one of the world's largest medieval medinas.
Tangier
Gateway between Europe and Africa, connected by ferry to Spain and by high-speed rail to Casablanca.
More rail holidays worldwide
High-speed Al Boraq trains up to 320 km/h
Comfortable trains between Tangier, Rabat, Casablanca & Marrakech
Rail & ferry travel from Spain to Morocco
