Casablanca to Rabat by Train: 7 Smart Tips for an Easy Trip
Casablanca to Rabat by train is one of the simplest journeys in Morocco: frequent services, a short ride and stations that put you in the middle of each city. It is also a trip where small choices matter, such as which Casablanca station to leave from and whether to get off at Rabat Ville or Rabat Agdal. Pick the wrong ones and you add a taxi ride, a detour or a wait on a platform you did not need to be on.
This guide covers the whole journey: how long it takes, which stations to use, how to buy tickets, what it costs, how to avoid delays, what to expect onboard and what to do when you arrive. Schedules, fares and station details change, so confirm everything with ONCF for your travel date before you go.
1. How Long Does Casablanca to Rabat by Train Take?
Plan on roughly an hour for the ride itself on a standard service, with the exact time depending on the train you choose and the stations you use.
Typical Journey Time
Published estimates put the train between Casablanca and Rabat at around an hour, with some travel planners showing about 1 hour 2 minutes between Casa-Port and Rabat Agdal on a direct service. The Al Boraq high-speed train, which links Casa-Voyageurs with Rabat Agdal, is considerably quicker, though it costs more. Treat these figures as guides, and check the timetable for your date.
Direct Trains and Available Services
Direct services run frequently through the day, and published sources describe an hourly pattern on at least some routes. Several types of train serve the line, including regular intercity trains and the Al Boraq high-speed service, and the type you take affects both the price and the time. Not every train stops at every station, so check where yours calls.
Why Your Departure and Arrival Stations Matter
The ride is short, so the first and last mile matter more than usual. A station that is close to your hotel can save more time than a faster train from a station that is far from it. Choose your stations before you choose your train.
2. Which Train Station Should You Use in Casablanca?
Casablanca has several stations, and the best one depends on where you are staying.
Casa Voyageurs: The Main Station to Consider
Casa-Voyageurs is Casablanca’s main station and the hub for long-distance services, including the Al Boraq trains to Rabat, Kenitra and Tangier. It has the most departures, so it is usually the safest choice if you are not sure.
Other Casablanca Stations and When They May Be Convenient
Casa-Port sits near the port and the old centre, and it can be handier if you are staying in the central or coastal districts. Published planners show direct services from Casa-Port to Rabat Agdal. Other stations, such as Oasis and Aïn Sebaâ, serve other parts of the city. Check which stations your chosen train serves, since not all services stop at all of them.
How to Reach the Station From Your Hotel or the Airport
From a city hotel, a taxi to the station is usually the simplest option, and Casablanca’s tram can also help depending on your location. From Mohammed V Airport, a railway station sits in the basement of Terminal 1, and trains connect the airport with Casa-Voyageurs in roughly half an hour. From there you can continue to Rabat, and some sources describe through services, though many travellers change at Casa-Voyageurs. Check the options on the ONCF site for your date.
3. Which Train Station Should You Choose in Rabat?
Rabat has two main stations for visitors, and they serve different parts of the city.
Rabat Ville: Convenient for Central Rabat
Rabat Ville is the central station, close to the heart of the city and handy for the medina, the main avenues and many hotels. It is served by regular intercity trains, and it is usually the better choice if you are staying in the centre.
Rabat Agdal: When It Makes More Sense
Rabat Agdal is in the modern Agdal district, with universities, offices and many hotels, and it is the Rabat stop for the Al Boraq high-speed trains. It makes sense if your accommodation is in Agdal, if you are travelling on Al Boraq or if you are continuing north on the high-speed line.
Choosing a Station Based on Your Accommodation and Plans
Look up your hotel’s address, and check which station is closer. If you are staying near the old medina or the Kasbah, Rabat Ville is usually more convenient. If you are staying in Agdal or arriving on Al Boraq, use Agdal. Both are within the city, so the difference is a short taxi or tram ride rather than a long one.
4. How to Buy Tickets for Casablanca to Rabat by Train
You can buy tickets online or at the station. Use the official channels for current schedules, availability and prices.
Booking Online Through ONCF
ONCF sells tickets on its booking platform and through its app. Online booking lets you compare trains, check availability and pay by card, and it is useful for the Al Boraq service, which can fill up at busy times. Make sure you are on the official ONCF site, since look-alike sites exist.
Buying Tickets at the Station
Stations have ticket counters, and many have self-service machines. This is fine for the regular Casablanca to Rabat service, where trains run often. Allow time for queues, especially at peak hours and holidays.
First Class vs Second Class
First class offers more space and a quieter carriage, while second class is cheaper and perfectly comfortable for a short trip. On a journey of around an hour, many travellers choose second class and save the upgrade for longer trips. The Al Boraq has both classes.
Checking Ticket Conditions Before Paying
Before you pay, read the conditions: which train the ticket is valid for, whether it can be changed or refunded and what happens if you miss it. Conditions can differ by fare and service, so check the details on the booking page.
5. How Much Does Casablanca to Rabat by Train Cost?
The fare depends on the service, the class and the date, so check the current price before you travel. This section is a short guide; for nationwide prices, see our separate article on train ticket costs in Morocco.
What Affects the Ticket Price?
The main factors are the type of train, the class and the ticket conditions. High-speed Al Boraq tickets cost more than regular intercity tickets, and prices may vary by date and demand.
First Class and Second Class Fares
Published planners have shown second-class fares for this route in the region of 35 to 75 dirhams, but these are estimates, and first class and Al Boraq cost more. Do not rely on a single figure. Check the fare for your train and date.
Where to Check the Current Price
Check the ONCF booking platform or the station counter for the current price. These are the only sources that reflect today’s fares and availability.
Is the Train Better Value Than a Taxi or Rental Car?
For one or two people, the train is usually far cheaper than a private transfer or a taxi for the roughly 90 km between the cities, and it avoids parking and traffic. For a group of four or more, a shared taxi or a car may narrow the gap. Compare the total cost for your party, including the transfers at each end.
6. Casablanca to Rabat by Train: How to Find the Right Train and Avoid Delays
A few habits keep the journey smooth.
Check the Timetable for Your Travel Date
Timetables change with the day of the week, holidays and engineering work. Look up the schedule for your date on the ONCF site, rather than relying on a general pattern.
Arrive at the Station With Enough Time
Allow time to find the station, buy a ticket if needed and reach the platform. A margin of at least 20 to 30 minutes is sensible, and more on busy days or if you are buying at the counter.
Find Your Platform and Confirm the Destination
Check the departure boards for your train and platform, and confirm the destination and stops. Some trains continue beyond Rabat, to Kenitra or Tangier, and some skip certain stations. If in doubt, ask staff or a fellow passenger.
Keep Your Ticket Accessible
Inspectors check tickets on board, and you may need your ticket to pass through the station barriers. Keep it where you can reach it, whether on paper or on your phone.
Check for Schedule Changes Before Leaving
Look at the ONCF site or app again on the day of travel. Delays, cancellations and platform changes can happen, and a quick check before you leave your hotel saves a wasted trip.
7. What to Expect on the Train
The ride is short and straightforward.
Seating, Luggage and Onboard Comfort
Carriages are air-conditioned on many services, and there is space for bags on racks and in luggage areas. Seats may be numbered on some trains and unreserved on others. Keep your belongings with you, and keep valuables in a small bag. Our guide to travelling Morocco with luggage covers handling bags on trains in more detail.
Traveling With Children
Short journeys are usually easy with children. Board early to find seats together, and keep snacks and a small activity to hand. Check the ticket rules for children’s fares when you book.
Food, Drinks and Essential Items
An hour-long ride needs little preparation. Bring water and a snack, and a charger or power bank. Services and catering vary by train, so do not count on buying food onboard.
What to Do if You Miss Your Train
Go to the ticket counter or an information desk, and ask about your options. Whether your ticket can be used on a later train depends on its conditions, and trains on this route are frequent, so you may not wait long. Check the policy before you buy, and keep your ticket.
What to Do After Arriving in Rabat
The way from the station to your accommodation depends on which one you reach.
Getting From Rabat Ville to the City Center
Rabat Ville is in the centre, so many hotels, the medina and shops are within a short walk or a short taxi ride. Rabat’s tram also runs through the city, and taxis wait outside the station. Check your route before you arrive.
Getting From Rabat Agdal to Your Accommodation
Rabat Agdal is in the Agdal district, and many hotels and restaurants are nearby. For the old medina and the Kasbah, take a taxi or the tram toward the centre.
Using Taxis and Local Transport
Petit taxis are the easiest way to cross the city. Ask the driver to use the meter, or agree the fare before you set off. Keep small notes ready for payment. Our guide to travelling between Morocco’s major cities covers transport options more broadly.
Planning Your First Stops in Rabat
If you arrive in the morning, drop your bags at your hotel and head to the Kasbah of the Udayas and the medina, then continue to the Hassan Tower and the Mausoleum of Mohammed V. Allow time for lunch and a rest, since the city is spread out. Continuing north later? Our guide to getting from Rabat to Tangier covers the next leg.
Is a Day Trip From Casablanca to Rabat Worth It?
For many visitors, yes. The distance is short, and trains are frequent, so you can leave in the morning and be back by evening.
How Much Time to Allow for Sightseeing
A full day gives you time for the main sights without rushing. Allow roughly five to seven hours in the city, plus about an hour each way for the train and the transfers at each end.
Places to Prioritize During a Short Visit
On a short visit, prioritise the Kasbah of the Udayas, the medina, the Hassan Tower and the Mausoleum of Mohammed V, and perhaps the Chellah if you have time. Check opening hours before you go, since they can change.
When Staying Overnight Makes More Sense
Stay overnight if you want to see the sights at a relaxed pace, visit the nearby coast or town of Salé or continue north the next day. If you are heading on to Tangier or Chefchaouen, staying in Rabat can also break up the journey.
Casablanca to Rabat by Train vs Other Transport Options
The train is the standard choice, but the alternatives suit some travellers.
Train vs Bus
Buses run between the cities and can be cheaper, but they are usually slower and less predictable than the train, since they depend on road traffic. Published planners show bus journeys of nearly two hours on this route. For most travellers, the train is the better choice.
Train vs Taxi or Private Transfer
A taxi or private transfer is door to door, which helps with heavy luggage, late arrivals or a group, but it costs more and depends on traffic. For one or two people travelling light, the train is cheaper and often as fast.
Train vs Rental Car
A rental car makes sense if you plan to continue to other regions, but parking and traffic in both cities can be a hassle. For a simple city-to-city trip, it is rarely worth it.
Which Option Is Best for Your Travel Plans?
Choose the train for a quick, cheap and comfortable journey between city centres. Choose a taxi or a private transfer for a group or late arrival, and a car if the trip is part of a longer road journey.
Frequently Asked Questions About Casablanca to Rabat by Train
How long is the train journey from Casablanca to Rabat?
Roughly an hour on regular services, with the exact time depending on the train and the stations. The Al Boraq high-speed train between Casa-Voyageurs and Rabat Agdal is faster. Check the ONCF timetable for your date.
How much is a train ticket from Casablanca to Rabat?
It depends on the service, class and date. Published estimates for second class have been in the region of 35 to 75 dirhams, but first class and Al Boraq cost more. Check the current fare on the ONCF booking platform or at the station.
Which Casablanca station should I use?
Casa-Voyageurs is the main station and has the most departures, including Al Boraq. Casa-Port can be handier for the central and coastal districts. Choose the one closest to your hotel that serves your train.
Should I get off at Rabat Ville or Rabat Agdal?
Rabat Ville is best for the centre, the medina and the Kasbah, while Rabat Agdal suits the Agdal district and is the Rabat stop for Al Boraq. Check your hotel’s location first.
Do I need to book train tickets in advance?
Not always, since regular trains run often and tickets can be bought at the station. Booking in advance is wise for the Al Boraq service and for busy days and holiday periods.
Can I buy Casablanca–Rabat train tickets online?
Yes. Use the official ONCF booking platform or app, and check the ticket conditions before paying.
Are trains between Casablanca and Rabat frequent?
Yes. Published sources describe frequent, roughly hourly services on parts of the route, and the pattern varies by the day and the type of train. Check the timetable for your date.
Is the train the easiest way to travel between Casablanca and Rabat?
For most travellers, yes. It is quick, inexpensive and links the city centres. A taxi or private transfer can be easier with heavy luggage or a group.
Can I visit Rabat from Casablanca in one day?
Yes. With frequent trains and a journey of around an hour, a day trip is practical, and a full day gives you time for the main sights.
Final Tips for Traveling From Casablanca to Rabat by Train
The Casablanca to Rabat by train journey is easy once you pick the right stations and check the timetable. These seven tips bring the advice together:
- Check the journey time for your train, and remember that Al Boraq is faster than regular services.
- Choose your Casablanca station by your hotel: Casa-Voyageurs for the most options, Casa-Port for the centre and coast.
- Choose your Rabat station by your plans: Rabat Ville for the centre, Rabat Agdal for Agdal and Al Boraq.
- Buy tickets through ONCF, online or at the station, and read the conditions first.
- Check the current fare for your service and class, instead of relying on a fixed price.
- Arrive early, confirm your platform and keep your ticket handy.
- Plan the last stretch from the station to your accommodation, and check the schedule again on the day.
With these in place, a trip that takes about an hour also feels that simple. Confirm schedules, fares and station details with ONCF before you travel.
