1,000+ travel companies
1,000+ travel companies
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
42K ratings
Google Play
136K reviews
Journey information
Overview: Train from Madrid to Rabat
Take a train from Madrid to Rabat and enjoy the approximately 1658 km long journey. Find schedules and pricing options for a convenient and affordable trip.
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Distance 1658 km |
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
FAQs: Madrid to Rabat train
Find answers to the most common questions about traveling from Madrid to Rabat by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Rabat, this guide helps you travel smarter and with confidence.

The train distance from Madrid to Rabat is 1658 km.
To travel from Madrid to Rabat, you can take a .
There is no night train service from Madrid to Rabat.
Booking trains from Madrid to Rabat in advance is advisable, especially during peak travel seasons or for long journeys, to ensure availability and secure better fares.
The journey from Madrid to Rabat by train, which includes a ferry crossing from Algeciras to Tangier, offers varied landscapes. Travellers can enjoy views of the Spanish countryside, coastal vistas near Gibraltar, and scenic Moroccan landscapes after crossing the Strait of Gibraltar.
To explore Rabat's highlights, such as the Kasbah of the Udayas, Hassan Tower, and the Royal Palace, 2 to 3 days are generally sufficient.
Currently, there is no direct train service available from Madrid to Rabat.
More options for your journey from Madrid to Rabat
Here are some other resources that might have the information you need
