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 42mMAD 2,549–8,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
16h 39mMAD 2,046–6,339Fly to Rabat-Salé
- Fly from Heydar Aliyev International Airport (GYD) to Rabat-Salé (RBA)plane GYD - RBA
12h 29mMAD 3,009–8,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 14mMAD 3,037–7,489
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 16h 39m.
The fastest way to get from Baku to Rabat is to fly which takes 12h 29m and costs MAD 3,000 - MAD 8,500.
The distance between Baku and Rabat is 5242 km.
It takes approximately 15h 42m to get from Baku to Rabat, including transfers.
Rabat is 4h behind Baku. It is currently 5:05 PM in Baku and 1:05 PM in Rabat.
There are 1816+ hotels available in Rabat.
What companies run services between Baku, Azerbaijan and Rabat, Morocco?
Turkish Airlines, Air Arabia Maroc, and four other airlines fly from Heydar Aliyev International Airport (GYD) to Rabat-Salé (RBA) once daily.
- Website
- royalairmaroc.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Milan Malpensa
- Ave. Duration
- 10h 40m
- When
- Every day
- Estimated price
- MAD 2,400–6,500
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Barcelona
- Ave. Duration
- 11h 5m
- When
- Tuesday, Thursday, Saturday, and Sunday
- Estimated price
- MAD 2,400–6,500
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Paris Charles de Gaulle
- Ave. Duration
- 11h 30m
- When
- Tuesday, Friday, and Sunday
- Estimated price
- MAD 2,600–6,500
Flights from Heydar Aliyev International Airport to Rabat-Salé via Brussels
- Ave. Duration
- 10h 50m
- When
- Saturday
- Estimated price
- MAD 3,200–8,500
Flights from Heydar Aliyev International Airport to Rabat-Salé via Paris Charles de Gaulle
- Ave. Duration
- 11h 50m
- When
- Tuesday, Friday, and Sunday
- Estimated price
- MAD 3,200–8,000
Flights from Heydar Aliyev International Airport to Rabat-Salé via London Gatwick
- Ave. Duration
- 12h 50m
- When
- Sunday
- Estimated price
- MAD 3,300–8,500
- Website
- airarabia.com
Flights from Heydar Aliyev International Airport to Rabat-Salé via Istanbul
- Ave. Duration
- 9h 30m
- When
- Thursday and Sunday
- Estimated price
- MAD 2,700–9,500
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via London Gatwick
- Ave. Duration
- 10h 20m
- When
- Wednesday, Friday, and Sunday
- Estimated price
- MAD 3,000–8,000
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via Sabiha Gokcen
- Ave. Duration
- 16h
- When
- Wednesday and Saturday
- Estimated price
- MAD 2,400–9,000
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via Brussels
- Ave. Duration
- 16h 55m
- When
- Monday, Wednesday, and Saturday
- Estimated price
- MAD 2,900–7,500
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via Barcelona
- Ave. Duration
- 18h 5m
- When
- Tuesday
- Estimated price
- MAD 2,700–7,000
- Website
- turkishairlines.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Istanbul
- Ave. Duration
- 10h 17m
- When
- Every day
- Estimated price
- MAD 2,300–9,500
Flights from Heydar Aliyev International Airport to Marrakech via Istanbul
- Ave. Duration
- 11h 27m
- When
- Every day
- Estimated price
- MAD 2,100–7,000
- Website
- ryanair.com
Flights from Heydar Aliyev International Airport to Rabat-Salé via Barcelona
- Ave. Duration
- 10h 25m
- When
- Thursday, Saturday, and Sunday
- Estimated price
- MAD 3,000–8,000
Flights from Heydar Aliyev International Airport to Marrakech via Barcelona
- Ave. Duration
- 9h 30m
- When
- Sunday
- Estimated price
- MAD 2,200–6,000
- Website
- easyjet.com
Flights from Heydar Aliyev International Airport to Marrakech via Prague
- Ave. Duration
- 9h 55m
- When
- Wednesday
- Estimated price
- MAD 2,300–6,000
Flights from Heydar Aliyev International Airport to Marrakech via Milan Malpensa
- Ave. Duration
- 10h 35m
- When
- Monday and Thursday
- Estimated price
- MAD 2,200–6,000
- Website
- tuifly.be
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Brussels
- Ave. Duration
- 12h 10m
- When
- Monday, Wednesday, and Thursday
- Estimated price
- MAD 2,600–6,500
- Website
- flypgs.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Sabiha Gokcen
- Ave. Duration
- 12h 55m
- When
- Tuesday, Friday, and Saturday
- Estimated price
- MAD 1,800–7,500
- Website
- britishairways.com
Flights from Heydar Aliyev International Airport to Rabat-Salé via London Gatwick
- Ave. Duration
- 12h 50m
- When
- Sunday
- Estimated price
- MAD 3,300–8,500
- Website
- lufthansa.com
Flights from Heydar Aliyev International Airport to Marrakech via Frankfurt
- Ave. Duration
- 13h 20m
- When
- Wednesday
- Estimated price
- MAD 2,100–8,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 Train travel in Spain: A guide to Renfe, 4 stunningly beautiful Philippines islands you need to visit, and South Korea: Travelling from Seoul to Busan - to help you get the most out of your next trip.






