There are 6 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 816–2,750Fly to Tangier Ibn Battouta Airport, train
cheapest- 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 8mMAD 569–2,835Train, 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 car ferry from Motril to Nadorcarferry
- Take the train from Nador to Rabat Villetrain
20h 14mMAD 1,562–3,516Bus, car ferry, train
- Take the bus from Estación Sur de Autobuses to Almería Puertobus
- Take the car ferry from Almeria to Nadorcarferry
- Take the train from Nador to Rabat Villetrain
25h 16mMAD 1,311–7,851Fly 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 13mMAD 706–2,925Train, car ferry
- Take the train from Madrid Chamartín to Almeriatrain Ic
- Take the car ferry from Almeria to Nadorcarferry
- Take the train from Nador to Rabat Villetrain
27h 7mMAD 1,705–8,132
Madrid to Rabat by bus, car ferry, foot, and train
Questions & Answers
The cheapest way to get from Madrid to Rabat is to fly and train which costs MAD 550 - MAD 2,900 and takes 6h 8m.
The fastest way to get from Madrid to Rabat is to fly which takes 4h 25m and costs MAD 800 - MAD 2,800.
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 1,500 - MAD 3,600.
It takes approximately 4h 25m to get from Madrid to Rabat, including transfers.
Rabat is 1h behind Madrid. It is currently 6:13 AM in Madrid and 5:13 AM in Rabat.
There are 1798+ 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) 4 times a week.
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Rabat-Salé
- Ave. Duration
- 1h 40m
- When
- Friday, Saturday, and Monday
- Estimated price
- MAD 700–2,600
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 31m
- When
- Every day
- Estimated price
- MAD 280–2,300
- Website
- royalairmaroc.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport
- Ave. Duration
- 1h 51m
- When
- Every day
- Estimated price
- MAD 600–2,800
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport via Marrakech
- Ave. Duration
- 4h 25m
- When
- Every day
- Estimated price
- MAD 600–1,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,300
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport
- Ave. Duration
- 1h 52m
- When
- Every day
- Estimated price
- MAD 600–2,800
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport via Malaga
- Ave. Duration
- 4h 5m
- When
- Every day
- Estimated price
- MAD 1,100–2,800
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- MAD 370–1,100
- Website
- airarabia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Mohammed V International Airport
- Ave. Duration
- 1h 50m
- When
- Tuesday, Wednesday, Thursday, and Saturday
- Estimated price
- MAD 650–2,400
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Wednesday to Sunday
- Estimated price
- MAD 420–2,000
- 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 450–2,600
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 50m
- Frequency
- Hourly
- Estimated price
- MAD 850–1,500
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- [email protected]
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 49m
- Frequency
- Every 2 hours
- Estimated price
- MAD 550–1,200
- Website
- https://iryo.eu/en/home
- Phone
- +34 900 759 781
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 47m
- Frequency
- Every 4 hours
- Estimated price
- MAD 500–900
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 3h 15m
- Frequency
- 3 times a day
- Estimated price
- MAD 700–1,100
- Website
- https://www.renfe.com/es/en
Train from Madrid Chamartín to Almeria
- Ave. Duration
- 7h 42m
- Frequency
- Twice daily
- Estimated price
- MAD 750–1,200
- Website
- https://www.renfe.com/es/en
- 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 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.com
Bus from Estación de Autobuses de Málaga to Salobreña
- Ave. Duration
- 45 min
- Frequency
- Every 2 hours
- Estimated price
- MAD 75–170
- Website
- https://www.alsa.com/en/
- Phone
- +34 950 25 95 61
- [email protected]
- Website
- busbam.com
Bus from Estación Sur de Autobuses to Almería Puerto
- Ave. Duration
- 6h 45m
- Frequency
- Once daily
- Estimated price
- MAD 380–900
- Schedules at
- busbam.com
- Phone
- +34 (0) 902 456 500
- Website
- armastrasmediterranea.com
Car ferry from Motril to Nador
- Ave. Duration
- 4h
- Frequency
- 3 times a week
- Estimated price
- MAD 650–1,300
- Website
- https://armastrasmediterranea.com/en
Car ferry from Almeria to Nador
- Ave. Duration
- 7h
- Frequency
- 4 times a day
- Estimated price
- MAD 850–3,700
- Website
- https://armastrasmediterranea.com/en
Car ferry from Almeria to Nador
- Ave. Duration
- 7h
- Frequency
- 4 times a day
- Estimated price
- MAD 850–3,700
- Website
- https://armastrasmediterranea.com/en
- 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 930–6,284
- Schedules at
- balearia.com
- Seating
- MAD 930
- Cabin
- MAD 4,190
- Car - Seat
- MAD 3,024
- Car - Cabin
- MAD 6,284
Car ferry from Almeria to Nador
- Ave. Duration
- 7h
- Frequency
- 4 times a week
- Estimated price
- MAD 930–6,284
- Schedules at
- balearia.com
- Seating
- MAD 930
- Cabin
- MAD 4,190
- Car - Seat
- MAD 3,024
- Car - Cabin
- MAD 6,284
- Phone
- +39 010 209 4591
- [email protected]
- Website
- gnv.it
Car ferry from Almeria to Nador
- Ave. Duration
- 13h 30m
- Frequency
- 5 times a week
- Estimated price
- MAD 700–1,100
- Website
- https://www.gnv.it/en
Car ferry from Almeria to Nador
- Ave. Duration
- 13h 30m
- Frequency
- 5 times a week
- Estimated price
- MAD 700–1,100
- Website
- https://www.gnv.it/en
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












































