There are 5 ways to get from Madrid to Rabat by plane, train, bus, or car ferry
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Fly to Rabat-Salé
best- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Rabat-Salé (RBA)plane MAD - RBA
4h 25mMAD 615–3,840Train, bus, car ferry
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambranotrain Ave
- Take the bus from Estación de Autobuses de Málaga to Salobreñabus
- Take the carferry from Motril to Nadorcarferry
- Take the train from Nador to Rabat Villetrain
20h 14mMAD 3,026–4,944Fly to Mohammed V International Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Mohammed V International Airport (CMN)plane MAD - CMN
- Take the train from Gare Oasis to Rabat Villetrain
7h 8mMAD 655–3,915Fly to Tangier Ibn Battouta Airport, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Tangier Ibn Battouta Airport (TNG)plane MAD - TNG
- Take the train from Tanger Ville station to Rabat Agdaltrain
6h 5mMAD 643–4,095Train, car ferry
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Almeriatrain Alv
- Take the carferry from Almeria to Nadorcarferry
- Take the train from Nador to Rabat Villetrain
26h 13mMAD 1,965–10,969
Madrid to Rabat by train, bus, car ferry, and foot
Comparing Your Travel Options
The cheapest way to get from Madrid to Rabat is to fly and train which costs MAD 600 - MAD 4,100 and takes 6h 5m.
The fastest way to get from Madrid to Rabat is to fly which takes 4h 25m and costs MAD 600 - MAD 3,900.
The distance between Madrid and Rabat is 793 km.
The best way to get from Madrid to Rabat without a car is to train and bus and car ferry which takes 20h 14m and costs MAD 3,000 - MAD 5,000.
It takes approximately 4h 25m to get from Madrid to Rabat, including transfers.
Rabat is 1h behind Madrid. It is currently 2:12 AM in Madrid and 1:12 AM in Rabat.
There are 400+ hotels available in Rabat.
What companies run services between Madrid, Spain and Rabat, Morocco?
Ryanair flies from Adolfo Suárez Madrid–Barajas Airport (MAD) to Rabat-Salé (RBA) once daily.
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Rabat-Salé
- Ave. Duration
- 1h 40m
- When
- Every day
- Estimated price
- MAD 550–3,900
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- MAD 260–3,200
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport
- Ave. Duration
- 1h 48m
- When
- Every day
- Estimated price
- MAD 600–4,600
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- MAD 420–1,300
- Website
- royalairmaroc.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport
- Ave. Duration
- 1h 45m
- When
- Every day
- Estimated price
- MAD 600–3,700
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 27m
- When
- Every day
- Estimated price
- MAD 360–4,000
- Website
- airarabia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport
- Ave. Duration
- 1h 50m
- When
- Friday and Sunday
- Estimated price
- MAD 550–3,200
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Wednesday, Thursday, Saturday, and Sunday
- Estimated price
- MAD 300–2,500
- Website
- flytap.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport via Lisboa
- Ave. Duration
- 3h 50m
- When
- Tuesday, Thursday, Saturday, and Sunday
- Estimated price
- MAD 1,400–2,100
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Monday, Thursday, and Sunday
- Estimated price
- MAD 460–3,800
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 50m
- Frequency
- Hourly
- Estimated price
- MAD 700–1,300
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 56m
- Frequency
- Every 2 hours
- Estimated price
- MAD 480–850
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 50m
- Frequency
- Every 4 hours
- Estimated price
- MAD 410–650
- Website
- Ouigo
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 3h 15m
- Frequency
- 3 times a day
- Estimated price
- MAD 650–1,100
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Almeria
- Ave. Duration
- 6h 48m
- Frequency
- Twice daily
- Estimated price
- MAD 950–1,500
- Website
- Renfe Viajeros
- Phone
- 2255
- [email protected]
- Website
- oncf-voyages.ma
Train from Nador to Rabat Ville
- Ave. Duration
- 9h 26m
- Frequency
- Once daily
- Estimated price
- MAD 230–470
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 230–320
- 1st Class
- MAD 340–470
Train from Gare Oasis to Rabat Ville
- Ave. Duration
- 1h 6m
- Frequency
- Hourly
- Estimated price
- MAD 35–75
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 35–55
- 1st Class
- MAD 55–75
Train from Tanger Ville station to Rabat Agdal
- Ave. Duration
- 1h 22m
- Frequency
- Hourly
- Estimated price
- MAD 95–190
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 95–140
- 1st Class
- MAD 140–190
Train from Nador to Rabat Ville
- Ave. Duration
- 9h 26m
- Frequency
- Once daily
- Estimated price
- MAD 230–470
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 230–320
- 1st Class
- MAD 340–470
- Phone
- +34 910 207 007
- Website
- ALSA
Bus from Estación de Autobuses de Málaga to Salobreña
- Ave. Duration
- 45 min
- Frequency
- Every 2 hours
- Estimated price
- MAD 85–140
- Website
- ALSA
- Phone
- +34 (0) 902 456 500
- Website
- Naviera Armas S.A.
Car ferry from Motril to Nador
- Ave. Duration
- 4h
- Frequency
- 3 times a week
- Estimated price
- MAD 2,200–3,000
- Website
- Naviera Armas S.A.
Car ferry from Almeria to Nador
- Ave. Duration
- 7h
- Frequency
- 4 times a day
- Estimated price
- MAD 850–9,000
- Website
- Naviera Armas S.A.
- Phone
- +34 912 66 02 15
- [email protected]
- Website
- balearia.com
Car ferry from Almeria to Nador
- Ave. Duration
- 7h
- Frequency
- 4 times a week
- Estimated price
- MAD 946–6,397
- Schedules at
- balearia.com
- Seating
- MAD 946
- Cabin
- MAD 4,265
- Car - Seat
- MAD 3,079
- Car - Cabin
- MAD 6,397
- Phone
- +39 010 209 4591
- [email protected]
- Website
- Grandi Navi Veloci
Car ferry from Almeria to Nador
- Ave. Duration
- 13h 30m
- Frequency
- 5 times a week
- Estimated price
- MAD 750–1,100
- Website
- Grandi Navi Veloci
Want to know more about travelling around Morocco
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
Train travel in Spain: A guide to Renfe
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide












































