There are 4 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,149–7,109Fly 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 2,046–6,339Fly to Rabat-Salé
- Fly from Heydar Aliyev International Airport (GYD) to Rabat-Salé (RBA)plane GYD - RBA
12h 54mMAD 2,809–9,034Fly 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,892–7,319
Heydar Aliyev International Airport (GYD) to Mohammed V International Airport (CMN) flights
Comparing Your Travel Options
The cheapest way to get from Baku to Rabat is to fly and train which costs MAD 2,000 - 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,800 - MAD 9,500.
The distance between Baku and Rabat is 5242 km.
It takes approximately 15h 2m to get from Baku to Rabat, including transfers.
Rabat is 4h behind Baku. It is currently 8:46 AM in Baku and 4:46 AM in Rabat.
There are 1809+ 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
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 Why you should take the train in the US, Bali: What to do if Mount Agung erupts, and Need to know: Greyhound - to help you get the most out of your next trip.






