Train from Marrakech to Rabat
Overview
The train from Marrakech to Rabat is the smart way to travel between the two cities: about 4 hours 20 minutes centre to centre, direct, with no change of train, no airport queues and no baggage weighing. Haqqi Tours offers Marrakech to Rabat train tickets in every class on ONCF Al Atlas intercity train - we check availability and the cost for your dates, send the price through WhatsApp, and issue the e-ticket once you confirm. Read on for the cheapest train ticket tips, the timetable, the stations and how to book, or go straight to the form.
Highlights
- Train from Marrakech to Rabat in about 4 hours 20 minutes - direct, no change
- Operated by ONCF Al Atlas intercity train - 2nd class and 1st class
- Departs Marrakech railway station (Gueliz), arrives Rabat Ville
- Several a day - we find the departure that fits your day
- Cheapest train ticket from Marrakech to Rabat: we verify every fare type for your travel date
- Seats, children's tickets, luggage and group bookings handled by our booking desk
- Fill in the form - we message you in the WhatsApp chat with seats and the price, you confirm, the e-ticket is issued
- Haqqi Tours also provides transfers and tours at both ends of the Marrakech to Rabat route
Full Description
Train from Marrakech to Rabat at a glance
The train from Marrakech to Rabat in numbers, as operated by ONCF Al Atlas intercity train: around 4 hours 20 minutes on board, about 330 km, direct, with no change of train, several a day. Departure is from Marrakech railway station (Gueliz); arrival at Rabat Ville. We offer tickets in 2nd class and 1st class and handle seat reservations, children and luggage questions in the same WhatsApp thread.
- Route: Marrakech to Rabat (about 330 km)
- Operator: ONCF Al Atlas intercity train
- Journey time: about 4 hours 20 minutes
- Connection: direct train
- Frequency: several a day
- Departure station: Marrakech railway station (Gueliz)
- Arrival station: Rabat Ville
- Classes: 2nd class and 1st class
- Booking: form on this page, confirmation by WhatsApp, electronic ticket by message
The line follows the Casablanca route and continues up the Atlantic coast to the capital; some departures run through, while others change at Casablanca Voyageurs.
Cheapest train ticket from Marrakech to Rabat: how to pay less
The cheapest train ticket from Marrakech to Rabat is almost always the one booked earliest for an off-peak departure. Our booking desk applies the same rules on every booking:
- Book early - fares on this route open weeks or months ahead and the lowest tiers sell first
- Travel mid-week and mid-day - Tuesday to Thursday departures after the morning rush are generally the cheapest
- Avoid the first and last trains of the day, which carry commuters and business passengers at higher fares
- Let us know if your dates are flexible - moving by a day, or by an hour, often halves the fare
- Ask about children's, youth and senior fares - most operators on this route discount them
- Book both directions together - a return or two singles, whichever comes out cheaper on your dates
When you fill out the form, mention if you are flexible. We compare the fares across the day and send the cheapest Marrakech to Rabat train ticket first, then the alternatives.
How to book train tickets from Marrakech to Rabat with Haqqi Tours
The easiest way to book train tickets from Marrakech to Rabat is to let us do it. The form above asks only for the essentials; everything else - seat preferences, a pushchair, a bicycle, a connection later that day - you tell us through WhatsApp when we message you to confirm the seats and the price. We provide the ticket in your name, explain how boarding works at Marrakech railway station (Gueliz) and stay reachable during the journey.
- Step 1 - fill in the form: date, one-way or return, adults and children, class
- Step 2 - we message you in the WhatsApp chat with the available departures, the seats and the cost
- Step 3 - you confirm the departure you prefer and we arrange payment in the same chat
- Step 4 - we issue the electronic ticket and send it to you; we stay in touch until you arrive in Rabat
Haqqi Tours also provides what happens around the train: a private transfer to Marrakech railway station (Gueliz) with the luggage, a driver waiting at Rabat Ville, and tours in Rabat once you are there. Mention it on WhatsApp and it goes on the same confirmation.
Timetable of the Marrakech to Rabat train
Several a day - that is how often the train from Marrakech to Rabat runs with ONCF Al Atlas intercity train. The fastest services take about 4 hours 20 minutes; some departures are a little slower where they make extra stops. The first trains of the morning suit a full day in Rabat; the late-afternoon departures are popular with travellers who want to sleep in their own bed and arrive in the evening.
If you are connecting to a flight or another train at Rabat, let us know: we build in a safe margin and choose a departure that leaves room for a delay.
Is there a direct train from Marrakech to Rabat?
Direct - and that is the main reason passengers choose the train over flying between Marrakech and Rabat. No connection, no second platform to find, and the journey time of about 4 hours 20 minutes is exactly what the timetable says. Haqqi Tours books the direct service by default.
Departure: Marrakech railway station (Gueliz)
Marrakech railway station (Gueliz) is where the Marrakech to Rabat train begins. We send the platform and coach details with the ticket when the operator publishes them, and a short note on how boarding works there - whether tickets are scanned at a gate, checked on board, or both. Arrive with a small margin; on this route the doors close a minute or two before the timetabled departure.
- Haqqi Tours offers a private transfer from your hotel in Marrakech to the station on request
- Ask us which hall or level your train leaves from - big stations have more than one
- Arrive 20-30 minutes early; the platform is shown on the boards shortly before departure
- Keep the electronic ticket on your phone and the ID used for booking together - some operators check both
Arrival: Rabat Ville
The train arrives at Rabat Ville - Rabat is Morocco's capital, a calm Atlantic city with the Kasbah of the Udayas, the Hassan Tower and the royal mausoleum of Mohammed V. From the platform you are minutes from taxis, local transport and the city itself. Haqqi Tours arranges a private transfer from Rabat Ville to your hotel in Rabat with a driver waiting at the platform exit, which for a family with bags is the easiest way to finish the Marrakech to Rabat journey.
Many travellers continue from Rabat to somewhere else the next day. We provide those tickets too, so one WhatsApp conversation covers the whole itinerary.
Classes and what it is like on board the Marrakech to Rabat train
What is the train from Marrakech to Rabat like inside? Modern coaches with reserved seats, tables for two or four, racks for suitcases, sockets and typically Wi-Fi of varying quality. In 2nd class and 1st class the differences are space and quiet more than anything else. Over about 4 hours 20 minutes the extra comfort of the higher class is worth it for some passengers and not for others; we tell you the cost of both and let you choose.
- Wi-Fi on many trains on this route - useful for work, not reliable for streaming
- Quiet coaches and family areas on selected services - let us know when booking
- Bicycles, pushchairs and large luggage accepted within the railway's rules, which we spell out
- Pets are allowed on many services with a small ticket - tell us if one is travelling
Children, luggage and groups on the Marrakech to Rabat train
Three things people worry about on the train from Marrakech to Rabat and need not: children, bags and groups. Children get their own fare band and a seat next to you; suitcases go on the racks free of charge; groups sit together in reserved blocks. Put the numbers on the form and we handle the rest - including a transfer with enough room for everyone at each end.
Things to do in Rabat after the train
The reasons travellers take the train to Rabat are the Chellah necropolis, the old medina and Rue des Consuls, the Andalusian garden, the Mohammed VI Tower and the Bouregreg marina. Rabat is Morocco's capital, a calm Atlantic city with the Kasbah of the Udayas, the Hassan Tower and the royal mausoleum of Mohammed V. Eat mint tea with pastries, tagine with lemon and olives and couscous on Fridays while you are there.
Haqqi Tours can provide guided day tours, tickets and private drivers in Rabat; ask when you book the train and we send the options.
Best time to take the train from Marrakech to Rabat
Spring and autumn are the most pleasant; summer is warm and breezy on the coast; winter is mild and rainy, and the bridges over the Bouregreg are busiest at weekday morning and evening rush hours. For the train itself, spring and autumn bring the best mix of availability and fares; summer and holiday periods sell out earliest, so book the Marrakech to Rabat train as soon as your dates are fixed. Winter services run normally, with occasional weather delays on mountainous or coastal stretches.
Train, plane or bus from Marrakech to Rabat?
Weighing a flight against the train from Marrakech to Rabat? Add the time to the airport, check-in, security and the trip in from the arrival airport, and the train is usually as fast door to door and far less tiring - about 4 hours 20 minutes on board. The bus is the budget option, worth it for some passengers, slower for all. We book whichever suits you; on this route the train is our first recommendation.
Return train from Rabat to Marrakech
The Rabat to Marrakech train is the same service in reverse, about 4 hours 20 minutes, direct. Haqqi Tours provides the return ticket in the same conversation; if you are not yet sure of the return date, we book the outbound now and the return when you know, with no penalty for deciding later.
How much does the train from Marrakech to Rabat cost?
"How much is the train ticket from Marrakech to Rabat?" is the first question we get, and the honest answer is that it depends on when you travel and when you book. Fares open months ahead at their lowest level and rise as seats sell; peak days, holidays and the first and last departures of the day sit higher; first class and flexible tickets cost more than a fixed second-class seat. Haqqi Tours offers the current cost for your travel date quickly of receiving the form - no estimates, the actual fare.
What we do include in the price we send: the ticket itself in the class you chose, the seat reservation where the railway requires one, and our service - checking the timetable, booking, sending the electronic ticket and answering questions before and during the journey. There are no hidden extras added at the end.
Why book your Marrakech to Rabat train ticket with Haqqi Tours
Booking with Haqqi Tours means the train ticket from Marrakech to Rabat is one message away, not one website away. We look up seats and the cost, we book, we send the ticket, and we stay reachable. Add a transfer or a tour and the whole journey sits on one confirmation. Complete the form to start.
On board
- Children's fares by age band, seats next to the adults
- Tickets checked on board or at the gate; keep the e-ticket and your ID handy
- Power sockets and folding tables at most seats; luggage racks in every coach
- Wi-Fi on many trains between Marrakech and Rabat; quiet coaches on request
- No luggage weighing or fees - suitcases, pushchairs and skis within the operator's rules
Before you travel
- Be at the station 20-30 minutes before departure; doors close shortly before the timetabled time
- Haqqi Tours arranges private transfers between your hotel and both stations
- Left-luggage, cafés and kiosks at both stations for early arrivals or late departures
- Lifts and ramps at both stations; tell us if a passenger needs assistance and we arrange it
Good to know
- Book the return with the outbound to compare a return fare with two singles
- Arrive at Marrakech railway station (Gueliz) with 20-30 minutes to spare
- Keep passports or ID with the electronic ticket - some operators check both on board
- Send us two possible dates and we tell you which is cheaper
- Mid-week, mid-day departures are typically the cheapest and quietest
Good to know
Frequently Asked Questions
Straight answers to what travellers ask us most, before they book.
Do children need a ticket on the Marrakech to Rabat train?
Children travel on their own fare band under ONCF Al Atlas intercity train's rules - free for the youngest on most services, discounted for older children. Put the ages on the form and we seat them beside you at the right fare.
Is it better to take the train or fly from Marrakech to Rabat?
Almost always the train on this route: about 4 hours 20 minutes from one city centre to the other, no airport transfers, no security queue and no baggage fees. We provide flights as well and will tell you honestly if flying suits your dates better.
What if my train is delayed?
Delays are rare on this route but happen. If you have a transfer booked with us the driver tracks the train; if you have a connection we chose a safe margin; and our WhatsApp desk is available during the journey.
Where does the train arrive in Rabat?
The train pulls into Rabat Ville. From there taxis and metro, tram or bus are steps away, and a Haqqi Tours driver can be waiting at the platform exit with your name if you add a transfer.
What happens if I miss the train?
It depends on the fare: fixed-departure tickets are valid only for that train, flexible ones can be used on the next. We spell out the rules of your ticket before any payment and help in the WhatsApp chat if something goes wrong on the day.
Is Wi-Fi available on the train?
Many trains between Marrakech and Rabat offer Wi-Fi, with quality that varies by service; power sockets at most seats keep phones and laptops charged for the journey.
Is there a direct train from Marrakech to Rabat?
Yes - the Marrakech to Rabat train is direct, operated by ONCF Al Atlas intercity train. One ticket, one seat, no change.
Is there a luggage limit on the train?
No weighing and no fees on this route: you bring what you can carry and lift onto the racks. Pushchairs, skis and bicycles are accepted within the operator's rules, which we clarify if they apply to you.
How early should I be at Marrakech railway station (Gueliz)?
Twenty to thirty minutes is enough for a domestic or European departure; a bit more if the station has a ticket gate or security check, which we tell you about. Doors close a minute or two before the timetabled time.
How much does the train from Marrakech to Rabat cost?
It varies with the day and the time of the train, the class and how far ahead you book. We do not print prices because they change daily; send the form and we reply with the real cost of the Marrakech to Rabat train ticket for the date you travel.
How often does the train from Marrakech to Rabat run?
The service runs several a day. Let us know whether you prefer morning, midday or evening and we send the departures for the date you travel with the cost of each.
Can I change or cancel my train ticket?
That depends on the fare you chose: flexible tickets can be changed or refunded, the cheapest promotional fares usually cannot. We spell out the conditions before you confirm and handle any later change for you in the same chat.
When is the best time to book the Marrakech to Rabat train?
The moment your dates are fixed - fares on this route open low and rise as seats sell, and holiday, weekend and summer departures fill first. Booking early is the single biggest saving.
How do I book train tickets from Marrakech to Rabat?
Send the short form on this page - travel date, one-way or return, passengers and class. Our booking desk replies through WhatsApp with the departures for that day, the seats we can hold and the cost; once you confirm, the e-ticket comes back in the same chat.
Can I choose my seat?
Where the rail company allows seat selection we choose for you - a table for a family, a window in the quiet coach for a solo traveller, seats together for a group. Tell us your preference by WhatsApp.