Travel time
Estimated 3h30 - 4h30
Train Tickets Morocco
Compare train schedules from Marrakech to Rabat with secure online booking.
Secure payment and instant confirmation for international travelers.
Tickets sell out quickly. Book early for best prices.
Search & Book
Compare departures, pay securely, and receive instant confirmation by email.
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.
Estimated 3h30 - 4h30
Typical range 140 - 220 MAD depending on class and season.
Operated by ONCF with departures throughout the day between Marrakech and Rabat.
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.
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.
Things to do in Rabat
Browse tours, day trips, and experiences curated by GetYourGuide.
| 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.
Search live schedules, compare operators, and secure tickets in minutes.
Instant confirmation by email for international travelers.
Compare departures, choose your seat, and receive confirmation by email.
Travel time varies by departure and operator. Use the booking widget to compare live durations.
Buses are often the lowest-cost option, while trains can be faster. Compare options to find the best price for your date.
Trains are typically faster and more comfortable on main routes. Buses are great for wider coverage and budget-friendly fares.
Yes. Most travelers use international cards to book online securely. You receive confirmation by email.
Yes. International travelers can book online securely and receive confirmation by email.