Train Tickets Morocco

Marrakech to Rabat Train Tickets

Compare train schedules from Marrakech to Rabat with secure online booking.

Secure payment and instant confirmation for international travelers.

Check schedules & prices

Tickets sell out quickly. Book early for best prices.

Check schedules & prices
Official operators: ONCF, CTM, Supratours Secure booking
Secure payment Instant confirmation Tourist-friendly booking

Search & Book

Check schedules & prices

Compare departures, pay securely, and receive instant confirmation by email.

Route overview

The Marrakech to Rabat train is a comfortable way to reach Morocco’s capital. ONCF runs multiple daily services with reserved seating on many departures.

Travelers often connect via Casablanca, making this a strong option for business trips or multi‑city itineraries.

Travel time

Estimated 3h30 - 4h30

Price guidance

Typical range 140 - 220 MAD depending on class and season.

Operators and service

Operated by ONCF with departures throughout the day between Marrakech and Rabat.

Stations & boarding

Trains depart from Marrakech station and arrive at Rabat Agdal, the central station for most visitors. Arrive 30–45 minutes early to find your platform.

Marrakech train station

Rabat Agdal train station

Booking advice

Secure your seat early for midday departures, especially in spring and summer when tourist traffic rises.

Your ticket confirmation is sent by email. Keep it accessible for station checks and boarding.

Travel tips for this route

  • Rabat Agdal is well connected by taxis and trams for city access.
  • If you’re visiting Rabat for a day trip, choose an early departure and a late return.
  • Carry a power bank for longer journeys.

Why book with MYticket

  • Search Morocco train tickets, Morocco bus tickets, and private transfers in one platform.
  • Secure online payment with clear confirmation for international travelers.
  • Instant email delivery so you can travel with a digital ticket.

Things to do in Rabat

Top experiences in Rabat

Browse tours, day trips, and experiences curated by GetYourGuide.

See all activities

Train vs bus comparison

Feature Train Bus
Duration Often faster on main routes Varies by traffic and stops
Price Mid to higher range Often lower cost
Comfort Higher comfort, first and second class Comfortable coaches, depends on operator
Recommendation Best for speed and comfort Best for budget or routes without rail

Exact schedules and prices depend on your date and operator. If no train service exists on this route, buses and transfers are the main options.

Who this route is best for

  • Visitors heading to Morocco’s capital for government or embassy visits
  • Travelers connecting onward to Tangier
  • Those who want rail comfort for a longer journey

Route snapshot

  • Departing from Marrakech station
  • Arriving in Rabat station
  • Typical travel time: 3h30 - 4h30
  • Typical price range: 140 - 220 MAD

How to book

Search live schedules, compare operators, and secure tickets in minutes.

Instant confirmation by email for international travelers.

Search Marrakech to Rabat train tickets

Compare departures, choose your seat, and receive confirmation by email.

FAQ

How long is the trip from Marrakech to Rabat?

Travel time varies by departure and operator. Use the booking widget to compare live durations.

What is the cheapest way to travel from Marrakech to Rabat?

Buses are often the lowest-cost option, while trains can be faster. Compare options to find the best price for your date.

Is it better by train or bus?

Trains are typically faster and more comfortable on main routes. Buses are great for wider coverage and budget-friendly fares.

Can I pay with an international card?

Yes. Most travelers use international cards to book online securely. You receive confirmation by email.

Can tourists book tickets online?

Yes. International travelers can book online securely and receive confirmation by email.

Popular routes near Marrakech and Rabat

Compare schedules and prices for popular routes with our booking partner.

Rabat

Marrakesh

Casablanca