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 665–4,140Fly 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 5mMAD 528–3,825Train, 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,169–5,154Fly 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 655–3,715Train, 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,036–10,966
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 500 - MAD 3,900 and takes 6h 5m.
The fastest way to get from Madrid to Rabat is to fly which takes 4h 25m and costs MAD 650 - 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 2h behind Madrid. It is currently 22:46 in Madrid and 20:46 in Rabat.
There are 1820+ 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 550–3,900
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 31m
- When
- Every day
- Estimated price
- MAD 270–3,500
- 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–4,500
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 600–3,700
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,600
- 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–4,500
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 27m
- When
- Every day
- Estimated price
- MAD 410–3,900
- Website
- airarabia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Thursday to Sunday
- Estimated price
- MAD 310–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 550–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 800–1,500
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- Iryo
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 56m
- Frequency
- Hourly
- Estimated price
- MAD 550–950
- 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 450–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
- 3 times a day
- Estimated price
- MAD 700–1,100
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Almeria
- Ave. Duration
- 6h 50m
- Frequency
- Twice daily
- Estimated price
- MAD 1,000–1,500
- Website
- Renfe Viajeros
- Phone
- 2255
- communication.digitale@oncf.ma
- 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
- reservas@balearia.com
- Website
- balearia.com
Car ferry from Almeria to Nador
- Ave. Duration
- 7h
- Frequency
- 4 times a week
- Estimated price
- MAD 950–6,422
- Schedules at
- balearia.com
- Seating
- MAD 950
- Cabin
- MAD 4,282
- Car - Seat
- MAD 3,091
- Car - Cabin
- MAD 6,422
- Phone
- +39 010 209 4591
- booking@gnv.it
- 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.