There are 2 ways to get from Marrakesh to Baku 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 from Marrakech
best- Fly from Marrakech (RAK) to Heydar Aliyev International Airport (GYD)plane RAK - GYD
12h 8m$192–654Train to Mohammed V International Airport, fly
- Take the train from Marrakech to Gare Oasistrain
- Fly from Mohammed V International Airport (CMN) to Heydar Aliyev International Airport (GYD)plane CMN - GYD
15h 31m$272–824
Marrakech (RAK) to Heydar Aliyev International Airport (GYD) flights
Comparing Your Travel Options
The cheapest way to get from Marrakesh to Baku is to fly which costs $190 - $700 and takes 12h 8m.
The fastest way to get from Marrakesh to Baku is to fly which takes 12h 8m and costs $190 - $700.
The distance between Marrakesh and Baku is 5256 km.
It takes approximately 12h 8m to get from Marrakesh to Baku, including transfers.
Baku is 4h ahead of Marrakesh. It is currently 11:55 PM in Marrakesh and 3:55 AM in Baku.
There are 1722+ hotels available in Baku.
What companies run services between Marrakesh, Morocco and Baku, Azerbaijan?
Turkish Airlines, Israir, and two other airlines fly from Marrakech (RAK) to Heydar Aliyev International Airport (GYD) twice daily.
- Website
- turkishairlines.com
Flights from Marrakech to Heydar Aliyev International Airport via Istanbul
- Ave. Duration
- 10h 5m
- When
- Every day
- Estimated price
- $260–850
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Istanbul
- Ave. Duration
- 11h 47m
- When
- Every day
- Estimated price
- $280–1,200
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Sabiha Gokcen
- Ave. Duration
- 10h 30m
- When
- Monday, Wednesday, Friday, Saturday, and Sunday
- Estimated price
- $210–850
- Website
- azal.az
Flights from Marrakech to Heydar Aliyev International Airport via Tel Aviv
- Ave. Duration
- 12h 10m
- When
- Monday and Wednesday
- Estimated price
- $350–900
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Barcelona
- Ave. Duration
- 9h 55m
- When
- Tuesday and Sunday
- Estimated price
- $290–800
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Paris Charles de Gaulle
- Ave. Duration
- 10h 15m
- When
- Tuesday, Friday, and Sunday
- Estimated price
- $310–850
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Sabiha Gokcen
- Ave. Duration
- 10h 30m
- When
- Monday, Wednesday, Friday, Saturday, and Sunday
- Estimated price
- $210–850
- Website
- israir.co.il
Flights from Marrakech to Heydar Aliyev International Airport via Tel Aviv
- Ave. Duration
- 10h 15m
- When
- Tuesday
- Estimated price
- $290–650
- Website
- ajet.com
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Sabiha Gokcen
- Ave. Duration
- 9h 10m
- When
- Monday, Wednesday, Friday, Saturday, and Sunday
- Estimated price
- $290–950
- Website
- flyulendo.com
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Rome
- Ave. Duration
- 11h 20m
- When
- Monday
- Estimated price
- $230–750
- Phone
- 2255
- [email protected]
- Website
- oncf-voyages.ma
Train from Marrakech to Gare Oasis
- Ave. Duration
- 2h 31m
- Frequency
- Hourly
- Estimated price
- $10–20
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- $10–14
- 1st Class
- $14–20
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 Getting to Rome from the airport, 5 incredible day trips from Florence by train, and Need to know: Greyhound - to help you get the most out of your next trip.












