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,549–4,808Fly to Fes-Sais Airport, train
cheapest- 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,295–8,702Fly to Rabat-Salé
- Fly from Heydar Aliyev International Airport (GYD) to Rabat-Salé (RBA)plane GYD - RBA
12h 54mMAD 3,209–9,033Fly to Marrakech, train
- Fly from Heydar Aliyev International Airport (GYD) to Marrakech (RAK)plane GYD - RAK
- Take the train from Marrakech to Rabat Villetrain
17h 19mMAD 2,846–3,738Fly 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 12mMAD 2,992–8,318
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 2,800 - MAD 3,800 and takes 17h 19m.
The fastest way to get from Baku to Rabat is to fly which takes 12h 54m and costs MAD 3,200 - MAD 9,500.
The distance between Baku and Rabat is 5241 km.
It takes approximately 15h 2m to get from Baku to Rabat, including transfers.
Rabat is 3h behind Baku. It is currently 3:34 AM in Baku and 12:34 AM in Rabat.
There are 1798+ 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 5m
- When
- Every day
- Estimated price
- MAD 2,600–9,500
Flights from Heydar Aliyev International Airport to Marrakech via Istanbul
- Ave. Duration
- 12h 45m
- When
- Every day
- Estimated price
- MAD 2,400–7,500
- Website
- royalairmaroc.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Milan Malpensa
- Ave. Duration
- 10h 55m
- When
- Monday, Wednesday, Thursday, Friday, and Saturday
- Estimated price
- MAD 2,600–6,500
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Barcelona
- Ave. Duration
- 11h 10m
- When
- Tuesday, Thursday, Saturday, and Sunday
- Estimated price
- MAD 2,600–6,000
Flights from Heydar Aliyev International Airport to Rabat-Salé via Paris Charles de Gaulle
- Ave. Duration
- 11h 25m
- When
- Tuesday, Friday, and Sunday
- Estimated price
- MAD 3,600–8,500
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via London Gatwick
- Ave. Duration
- 18h 45m
- When
- Wednesday and Sunday
- Estimated price
- MAD 3,300–7,500
- Website
- airarabia.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Sabiha Gokcen
- Ave. Duration
- 13h
- When
- Every day
- Estimated price
- MAD 2,400–7,000
Flights from Heydar Aliyev International Airport to Rabat-Salé via Istanbul
- Ave. Duration
- 9h 55m
- When
- Thursday and Sunday
- Estimated price
- MAD 3,200–9,000
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via Barcelona
- Ave. Duration
- 12h 10m
- When
- Saturday
- Estimated price
- MAD 2,900–7,000
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via Sabiha Gokcen
- Ave. Duration
- 13h 45m
- When
- Thursday and Saturday
- Estimated price
- MAD 2,800–8,000
- Website
- ryanair.com
Flights from Heydar Aliyev International Airport to Marrakech via Budapest
- Ave. Duration
- 12h 55m
- When
- Saturday
- Estimated price
- MAD 2,000–6,000
Flights from Heydar Aliyev International Airport to Fes-Sais Airport via Barcelona
- Ave. Duration
- 13h 45m
- When
- Tuesday and Saturday
- Estimated price
- MAD 3,000–7,500
Flights from Heydar Aliyev International Airport to Fes-Sais Airport via Sabiha Gokcen, Alicante–Elche
- Ave. Duration
- 18h 20m
- When
- Tuesday, Thursday, Saturday, and Sunday
- Estimated price
- MAD 2,200–8,500
- Website
- airfrance.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Paris Charles de Gaulle
- Ave. Duration
- 10h 45m
- When
- Tuesday, Friday, and Sunday
- Estimated price
- MAD 2,700–6,500
Flights from Heydar Aliyev International Airport to Tangier Ibn Battouta Airport via Paris Charles de Gaulle
- Ave. Duration
- 10h 15m
- When
- Tuesday, Friday, and Sunday
- Estimated price
- MAD 3,100–7,500
- Website
- easyjet.com
Flights from Heydar Aliyev International Airport to Marrakech via Milan Malpensa
- Ave. Duration
- 10h 35m
- When
- Monday
- Estimated price
- MAD 2,400–5,500
Flights from Heydar Aliyev International Airport to Marrakech via Paris Charles de Gaulle
- Ave. Duration
- 10h 35m
- When
- Sunday
- Estimated price
- MAD 2,500–6,000
- Website
- flypgs.com
Flights from Heydar Aliyev International Airport to Mohammed V International Airport via Sabiha Gokcen
- Ave. Duration
- 13h 5m
- When
- Tuesday, Thursday, Friday, Saturday, and Sunday
- Estimated price
- MAD 1,900–7,500
- Website
- wizzair.com
Flights from Heydar Aliyev International Airport to Marrakech via Budapest
- Ave. Duration
- 17h 35m
- When
- Tuesday, Thursday, and Saturday
- Estimated price
- MAD 2,100–5,500
- 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 Heading to Europe? Read this before you buy a Eurail Pass, Need to know: Eurostar, and How to get from Luton Airport into central London - to help you get the most out of your next trip.






