There are 8 ways to get from Safi to Shanghai by train, plane, or bus
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train, train to Marrakech, fly to Shanghai Hongqiao International Airport
best- Take the train from Gare ONCF de Safi to Gare de Ben Guerirtrain
- Take the train from Ben Guerir to Marrakechtrain
- Fly from Marrakech (RAK) to Shanghai Hongqiao International Airport (SHA)plane RAK - SHA
26h 43m¥2,067–6,140Train, train to Marrakech, fly to Shanghai Pudong International Airport
- Take the train from Gare ONCF de Safi to Gare de Ben Guerirtrain
- Take the train from Ben Guerir to Marrakechtrain
- Fly from Marrakech (RAK) to Shanghai Pudong International Airport (PVG)plane RAK - PVG
23h 44m¥2,117–5,690Bus to Essaouira, fly to Shanghai Pudong International Airport
- Take the bus from Safi to Essaouirabus
- Fly from Essaouira (ESU) to Shanghai Pudong International Airport (PVG)plane ESU - PVG
27h 25m¥2,729–7,181Train to Mohammed V International Airport, fly to Shanghai Hongqiao International Airport
- Take the train from Gare ONCF de Safi to Oasistrain
- Fly from Mohammed V International Airport (CMN) to Shanghai Hongqiao International Airport (SHA)plane CMN - SHA
25h 56m¥2,397–6,187Train to Mohammed V International Airport, fly to Shanghai Pudong International Airport
- Take the train from Gare ONCF de Safi to Oasistrain
- Fly from Mohammed V International Airport (CMN) to Shanghai Pudong International Airport (PVG)plane CMN - PVG
24h 17m¥2,547–6,237Train to Mohammed V International Airport, fly to Sunan Shuofang International Airport, train
- Take the train from Gare ONCF de Safi to Oasistrain
- Fly from Mohammed V International Airport (CMN) to Sunan Shuofang International Airport (WUX)plane CMN - WUX
- Take the train from Wuxi to Shanghai stationtrain
27h 32m¥2,919–7,768Train to Mohammed V International Airport, fly to Hangzhou Xiaoshan International Airport, train
- Take the train from Gare ONCF de Safi to Oasistrain
- Fly from Mohammed V International Airport (CMN) to Hangzhou Xiaoshan International Airport (HGH)plane CMN - HGH
- Take the train from Hangzhou East to Shanghai Hongqiaotrain
25h 29m¥4,069–12,326Train to Mohammed V International Airport, fly to Ningbo Lishe International Airport, train
- Take the train from Gare ONCF de Safi to Oasistrain
- Fly from Mohammed V International Airport (CMN) to Ningbo Lishe International Airport (NGB)plane CMN - NGB
- Take the train from Ningbo to Shanghai Hongqiaotrain
27h 3m¥5,211–16,432
Marrakech (RAK) to Shanghai Hongqiao International Airport (SHA) flights
Comparing Your Travel Options
The cheapest way to get from Safi to Shanghai is to train and fly which costs ¥2100 - ¥6000 and takes 23h 44m.
The fastest way to get from Safi to Shanghai is to train and fly which takes 23h 44m and costs ¥2100 - ¥6000.
The distance between Safi and Shanghai is 11461 km.
It takes approximately 26h 43m to get from Safi to Shanghai, including transfers.
Shanghai is 8h ahead of Safi. It is currently 10:14 PM in Safi and 6:14 AM in Shanghai.
There are 1889+ hotels available in Shanghai.
What companies run services between Safi, Morocco and Shanghai, China?
There is no direct connection from Safi to Shanghai. However, you can take the train to Gare de Ben Guerir, take the train to Marrakech, walk to Gare Routière de ONCF, take the line 19 bus to Marrakech Airport, walk to Marrakech (RAK) airport, fly to Shanghai Hongqiao International Airport (SHA), walk to Hongqiao Airport T1, then take the line 10 subway to South Shaanxi Road. Alternatively, you can take the train to Gare de Ben Guerir, take the train to Marrakech, walk to Gare Routière de ONCF, take the line 19 bus to Marrakech Airport, walk to Marrakech (RAK) airport, fly to Shanghai Pudong International Airport (PVG), walk to Pudong International Airport, take the train to Longyang Road, walk to Longyang Road, then take the line 2 subway to West Nanjing Road.
- Website
- en.ceair.com
Flights from Marrakech to Shanghai Hongqiao International Airport via Munich, Beijing Capital
- Ave. Duration
- 22h 35m
- When
- Wednesday, Thursday, Saturday, and Sunday
- Estimated price
- ¥2,800–9,500
Flights from Marrakech to Shanghai Pudong International Airport via Stockholm
- Ave. Duration
- 17h 10m
- When
- Monday and Thursday
- Estimated price
- ¥2,000–5,500
Flights from Marrakech to Shanghai Pudong International Airport via Copenhagen
- Ave. Duration
- 19h 55m
- When
- Tuesday and Saturday
- Estimated price
- ¥2,000–5,500
Flights from Essaouira to Shanghai Pudong International Airport via Marseille
- Ave. Duration
- 22h 10m
- When
- Tuesday
- Estimated price
- ¥2,800–11,000
Flights from Essaouira to Shanghai Pudong International Airport via Barcelona
- Ave. Duration
- 27h
- When
- Tuesday and Saturday
- Estimated price
- ¥2,600–7,000
Flights from Essaouira to Shanghai Pudong International Airport via Madrid
- Ave. Duration
- 32h 30m
- When
- Monday and Friday
- Estimated price
- ¥2,600–7,000
Flights from Mohammed V International Airport to Shanghai Hongqiao International Airport via Beijing Daxing
- Ave. Duration
- 19h
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,900–12,000
Flights from Mohammed V International Airport to Shanghai Hongqiao International Airport via Moscow Sheremetyevo, Beijing Daxing
- Ave. Duration
- 27h 15m
- When
- Every day
- Estimated price
- ¥2,300–6,000
Flights from Mohammed V International Airport to Shanghai Hongqiao International Airport via Beijing Daxing, Weihai
- Ave. Duration
- 18h 10m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥4,000–12,000
Flights from Mohammed V International Airport to Shanghai Pudong International Airport via Beijing Daxing
- Ave. Duration
- 16h 10m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,800–12,000
Flights from Mohammed V International Airport to Shanghai Pudong International Airport via Moscow Sheremetyevo
- Ave. Duration
- 24h 45m
- When
- Every day
- Estimated price
- ¥2,200–6,000
Flights from Mohammed V International Airport to Sunan Shuofang International Airport via Beijing Daxing
- Ave. Duration
- 19h 45m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥4,900–15,000
Flights from Mohammed V International Airport to Sunan Shuofang International Airport via Moscow Sheremetyevo, Beijing Daxing
- Ave. Duration
- 28h 15m
- When
- Every day
- Estimated price
- ¥2,800–7,500
Flights from Mohammed V International Airport to Hangzhou Xiaoshan International Airport via Beijing Daxing
- Ave. Duration
- 16h 13m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,900–12,000
Flights from Mohammed V International Airport to Ningbo Lishe International Airport via Beijing Daxing
- Ave. Duration
- 19h 47m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥5,000–16,000
- Phone
- 2255
- [email protected]
- Website
- oncf-voyages.ma
Train from Gare ONCF de Safi to Gare de Ben Guerir
- Ave. Duration
- 2h 2m
- Frequency
- Once daily
- Estimated price
- ¥35–75
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥35–55
- 1st Class
- ¥55–75
Train from Ben Guerir to Marrakech
- Ave. Duration
- 43 min
- Frequency
- Hourly
- Estimated price
- ¥20–40
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥20–28
- 1st Class
- ¥29–40
Train from Gare ONCF de Safi to Gare de Ben Guerir
- Ave. Duration
- 2h 2m
- Frequency
- Once daily
- Estimated price
- ¥35–75
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥35–55
- 1st Class
- ¥55–75
Train from Ben Guerir to Marrakech
- Ave. Duration
- 43 min
- Frequency
- Hourly
- Estimated price
- ¥20–40
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥20–28
- 1st Class
- ¥29–40
Train from Gare ONCF de Safi to Oasis
- Ave. Duration
- 4h 6m
- Frequency
- Once daily
- Estimated price
- ¥80–170
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥80–120
- 1st Class
- ¥120–170
Train from Gare ONCF de Safi to Oasis
- Ave. Duration
- 4h 6m
- Frequency
- Once daily
- Estimated price
- ¥80–170
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥80–120
- 1st Class
- ¥120–170
Train from Gare ONCF de Safi to Oasis
- Ave. Duration
- 4h 6m
- Frequency
- Once daily
- Estimated price
- ¥80–170
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥80–120
- 1st Class
- ¥120–170
Train from Gare ONCF de Safi to Oasis
- Ave. Duration
- 4h 6m
- Frequency
- Once daily
- Estimated price
- ¥80–170
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥80–120
- 1st Class
- ¥120–170
Train from Gare ONCF de Safi to Oasis
- Ave. Duration
- 4h 6m
- Frequency
- Once daily
- Estimated price
- ¥80–170
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥80–120
- 1st Class
- ¥120–170
- Phone
- 0 800 0900 30
- [email protected]
- Website
- ctm.ma
Bus from Safi to Essaouira
- Ave. Duration
- 2h
- Frequency
- Every 4 hours
- Estimated price
- ¥43–90
- Schedules at
- ctm.ma
- Confort
- ¥43–48
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 Travelling Croatia’s Dalmatian Coast by boat, bus, car and train, Which side of Niagara Falls should I choose (and how do I get there)?, and Is ride-sharing platform BlaBlaCar right for you? - to help you get the most out of your next trip.











