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–4,140Train, 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,140–5,085Fly 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,815Fly 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 653–3,995Train, 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 15mMAD 2,019–10,955
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 650 - MAD 4,000 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 4,200.
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,100 - MAD 5,500.
It takes approximately 4h 25m to get from Madrid to Rabat, including transfers.
Rabat is 1h behind Madrid. It is currently 9:00 PM in Madrid and 8:00 PM in Rabat.
There are 1817+ 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,500
- 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,600
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 27m
- When
- Every day
- Estimated price
- MAD 370–3,900
- 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,500
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- MAD 410–2,700
- Website
- airarabia.com
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
- 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 600–4,100
- 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
- Every 3 hours
- Estimated price
- MAD 800–1,400
- 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 4 hours
- Estimated price
- MAD 500–900
- 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
- 3 times a day
- Estimated price
- MAD 430–750
- 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
- Twice daily
- Estimated price
- MAD 700–1,100
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Almeria
- Ave. Duration
- 6h 50m
- Frequency
- Once daily
- Estimated price
- MAD 1,000–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,300–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 950–6,421
- Schedules at
- balearia.com
- Seating
- MAD 950
- Cabin
- MAD 4,281
- Car - Seat
- MAD 3,090
- Car - Cabin
- MAD 6,421
- 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






































