There are 5 ways to get from Baku to Rabat by plane or train
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 Mohammed V International Airport, train
best- Fly from Heydar Aliyev International Airport (GYD) to Mohammed V International Airport (CMN)plane GYD - CMN
- Take the train from Gare Oasis to Rabat Villetrain
15h 2mMAD 3,349–6,608Fly to Marrakech, train
cheapest- Fly from Heydar Aliyev International Airport (GYD) to Marrakech (RAK)plane GYD - RAK
- Take the train from Marrakech to Rabat Villetrain
17h 14mMAD 1,946–6,338Fly to Rabat-Salé
- Fly from Heydar Aliyev International Airport (GYD) to Rabat-Salé (RBA)plane GYD - RBA
12h 54mMAD 2,609–8,533Fly to Tangier Ibn Battouta Airport, train
- Fly from Heydar Aliyev International Airport (GYD) to Tangier Ibn Battouta Airport (TNG)plane GYD - TNG
- Take the train from Tanger Ville station to Rabat Agdaltrain
15h 9mMAD 2,692–7,318Fly to Fes-Sais Airport, train
- Fly from Heydar Aliyev International Airport (GYD) to Fes-Sais Airport (FEZ)plane GYD - FEZ
- Take the train from Fès to Rabat Villetrain
20h 45mMAD 2,495–6,702
Heydar Aliyev International Airport (GYD) to Mohammed V International Airport (CMN) flights
Questions & Answers
The cheapest way to get from Baku to Rabat is to fly and train which costs MAD 1,900 - MAD 6,500 and takes 17h 14m.
The fastest way to get from Baku to Rabat is to fly which takes 12h 54m and costs MAD 2,600 - MAD 9,000.
The distance between Baku and Rabat is 5242 km.
It takes approximately 15h 2m to get from Baku to Rabat, including transfers.
Rabat is 3h behind Baku. It is currently 2:25 AM in Baku and 11:25 PM in Rabat.
There are 1826+ hotels available in Rabat.
What companies run services between Baku, Azerbaijan and Rabat, Morocco?
Turkish Airlines, Air Arabia Maroc, and two other airlines fly from Heydar Aliyev International Airport (GYD) to Rabat-Salé (RBA) 5 times a week.
- Website
- turkishairlines.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Istanbul
- Ave. Duration
- 12h 12m
- When
- Every day
- Estimated price
- MAD 2,300–9,500
Flights from Heydar Aliyev International Airport to Marrakech via Istanbul
- Ave. Duration
- 12h 52m
- When
- Every day
- Estimated price
- MAD 2,100–7,000
- Phone
- 2255
- [email protected]
- Website
- oncf-voyages.ma
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 Marrakech to Rabat Ville
- Ave. Duration
- 3h 37m
- Frequency
- Hourly
- Estimated price
- MAD 130–270
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 130–190
- 1st Class
- MAD 200–270
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 Fès to Rabat Ville
- Ave. Duration
- 2h 55m
- Frequency
- Hourly
- Estimated price
- MAD 90–190
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- MAD 90–130
- 1st Class
- MAD 130–190
Want to know more about travelling around the world?
Rome2Rio's Travel Guide series provide vital information for the global traveller. Read our range of informative guides on popular transport routes and companies - including 5 incredible day trips from Florence by train, How to get from Southend Airport into central London, and Need to know: Eurostar - to help you get the most out of your next trip.






