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$262–414Train 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$262–573
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 $260 - $420 and takes 12h 8m.
The fastest way to get from Marrakesh to Baku is to fly which takes 12h 8m and costs $260 - $420.
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 8:16 AM in Marrakesh and 12:16 PM in Baku.
There are 400+ hotels available in Baku.
What companies run services between Marrakesh, Morocco and Baku, Azerbaijan?
Turkish Airlines, El Al, and Azerbaijan 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
- $230–800
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Istanbul
- Ave. Duration
- 11h 47m
- When
- Every day
- Estimated price
- $260–1,000
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
- $200–800
- Website
- azal.az
Flights from Mohammed V International Airport to Heydar Aliyev International Airport via Barcelona
- Ave. Duration
- 9h 55m
- When
- Tuesday and Sunday
- Estimated price
- $270–700
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
- $280–750
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
- $200–800
- Website
- elal.com
Flights from Marrakech to Heydar Aliyev International Airport via Tel Aviv
- Ave. Duration
- 11h 5m
- When
- Monday and Wednesday
- Estimated price
- $310–850
- 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
- $240–800
- 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–700
- Phone
- 2255
- [email protected]
- Website
- oncf-voyages.ma
Train from Marrakech to Gare Oasis
- Ave. Duration
- 2h 31m
- Frequency
- Hourly
- Estimated price
- $9–20
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- $9–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 Italy Travel Guides, Is ride-sharing platform BlaBlaCar right for you?, and Need to know: Jadrolinija - to help you get the most out of your next trip.












