There are 9 ways to get from Safi to Shanghai by train, plane, car, 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 Guerir
- Take the train from Ben Guerir to Marrakech
- Fly from Marrakech (RAK) to Shanghai Hongqiao International Airport (SHA)RAK - SHA
24h 14m¥2,065–6,149Drive 15,669.8 km
- Drive from Safi to Shanghai15,669.8 km
8d 5h¥17,340–25,047Bus to Essaouira, fly to Shanghai Pudong International Airport
- Take the bus from Safi to Essaouira
- Fly from Essaouira (ESU) to Shanghai Pudong International Airport (PVG)ESU - PVG
29h¥3,318–9,654Train, train to Marrakech, fly to Shanghai Pudong International Airport
- Take the train from Gare ONCF de Safi to Gare de Ben Guerir
- Take the train from Ben Guerir to Marrakech
- Fly from Marrakech (RAK) to Shanghai Pudong International Airport (PVG)RAK - PVG
24h 40m¥2,105–6,199Train, train to Mohammed V International Airport, fly to Shanghai Hongqiao International Airport
- Take the train from Gare ONCF de Safi to Gare de Ben Guerir
- Take the train from Ben Guerir to Gare Oasis
- Fly from Mohammed V International Airport (CMN) to Shanghai Hongqiao International Airport (SHA)CMN - SHA
23h 37m¥3,602–11,196Train, train to Mohammed V International Airport, fly to Shanghai Pudong International Airport
- Take the train from Gare ONCF de Safi to Gare de Ben Guerir
- Take the train from Ben Guerir to Gare Oasis
- Fly from Mohammed V International Airport (CMN) to Shanghai Pudong International Airport (PVG)CMN - PVG
24h 3m¥2,142–6,246Train, train to Mohammed V International Airport, fly to Sunan Shuofang International Airport
- Take the train from Gare ONCF de Safi to Gare de Ben Guerir
- Take the train from Ben Guerir to Gare Oasis
- Fly from Mohammed V International Airport (CMN) to Sunan Shuofang International Airport (WUX)CMN - WUX
- Take the train from Wuxi to Shanghai station
26h 39m¥3,065–10,267Train, train to Mohammed V International Airport, fly to Nantong Xingdong Airport, bus
- Take the train from Gare ONCF de Safi to Gare de Ben Guerir
- Take the train from Ben Guerir to Gare Oasis
- Fly from Mohammed V International Airport (CMN) to Nantong Xingdong Airport (NTG)CMN - NTG
- Take the bus from Jiangsu Tongzhou to Shanghai Zongzhan
26h 4m¥3,287–11,316Train, train to Mohammed V International Airport, fly to Hangzhou Xiaoshan International Airport
- Take the train from Gare ONCF de Safi to Gare de Ben Guerir
- Take the train from Ben Guerir to Gare Oasis
- Fly from Mohammed V International Airport (CMN) to Hangzhou Xiaoshan International Airport (HGH)CMN - HGH
- Take the train from Hangzhou East to Shanghai Hongqiao Station
25h 31m¥2,774–9,335
Marrakech (RAK) to Shanghai Hongqiao International Airport (SHA) flights
Questions & Answers
The cheapest way to get from Safi to Shanghai is to train and fly which costs ¥2100 - ¥6500 and takes 24h 40m.
The fastest way to get from Safi to Shanghai is to train and fly which takes 23h 37m and costs ¥3600 - ¥12000.
The distance between Safi and Shanghai is 11465 km. The road distance is 15669.8 km.
It takes approximately 24h 14m to get from Safi to Shanghai, including transfers.
Shanghai is 7h ahead of Safi. It is currently 3:42 PM in Safi and 10:42 PM in Shanghai.
Yes, the driving distance between Safi to Shanghai is 15670 km. It takes approximately 8 days 5h to drive from Safi to Shanghai.
There are 1291+ 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 drive from Safi to Shanghai in around 8d 5h.
Transport is disrupted due to the Russia-Ukraine war. Read more
- Website
- en.ceair.com
Flights from Marrakech to Shanghai Hongqiao International Airport via Munich, Beijing Capital
- Ave. Duration
- 18h 45m
- When
- Monday and Tuesday
- Estimated price
- ¥2,500–9,500
Flights from Essaouira to Shanghai Pudong International Airport via Marseille
- Ave. Duration
- 23h 45m
- When
- Friday and Sunday
- Estimated price
- ¥3,000–13,000
Flights from Essaouira to Shanghai Pudong International Airport via Madrid
- Ave. Duration
- 32h 20m
- When
- Monday
- Estimated price
- ¥3,200–9,500
Flights from Essaouira to Shanghai Pudong International Airport via Barcelona
- Ave. Duration
- 35h 25m
- When
- Monday
- Estimated price
- ¥3,200–9,500
Flights from Marrakech to Shanghai Pudong International Airport via Copenhagen
- Ave. Duration
- 17h 55m
- When
- Monday and Saturday
- Estimated price
- ¥2,000–6,000
Flights from Mohammed V International Airport to Shanghai Hongqiao International Airport via Beijing Daxing
- Ave. Duration
- 18h 45m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,500–11,000
Flights from Mohammed V International Airport to Shanghai Pudong International Airport via Beijing Daxing
- Ave. Duration
- 15h 40m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,400–11,000
Flights from Mohammed V International Airport to Shanghai Pudong International Airport via Moscow Sheremetyevo
- Ave. Duration
- 25h
- When
- Every day
- Estimated price
- ¥2,000–6,000
Flights from Mohammed V International Airport to Sunan Shuofang International Airport via Beijing Daxing
- Ave. Duration
- 21h 15m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,900–12,000
Flights from Mohammed V International Airport to Hangzhou Xiaoshan International Airport via Beijing Daxing
- Ave. Duration
- 16h 6m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,500–11,000
Flights from Mohammed V International Airport to Hangzhou Xiaoshan International Airport via Istanbul, Shanghai Pudong International Airport
- Ave. Duration
- 23h 25m
- When
- Every day
- Estimated price
- ¥2,600–9,000
Flights from Mohammed V International Airport to Hangzhou Xiaoshan International Airport via Beijing Daxing, Shanghai Pudong International Airport
- Ave. Duration
- 23h 50m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,600–11,000
- Website
- xiamenair.com
Flights from Marrakech to Shanghai Hongqiao International Airport via Munich, Beijing Capital
- Ave. Duration
- 18h 45m
- When
- Monday and Tuesday
- Estimated price
- ¥2,500–9,500
Flights from Mohammed V International Airport to Shanghai Hongqiao International Airport via Beijing Daxing
- Ave. Duration
- 18h 45m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,500–11,000
Flights from Mohammed V International Airport to Shanghai Pudong International Airport via Beijing Daxing
- Ave. Duration
- 15h 40m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,400–11,000
Flights from Mohammed V International Airport to Sunan Shuofang International Airport via Beijing Daxing
- Ave. Duration
- 21h 15m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,900–12,000
Flights from Mohammed V International Airport to Hangzhou Xiaoshan International Airport via Beijing Daxing
- Ave. Duration
- 16h 6m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,500–11,000
- Website
- airchina.com
Flights from Marrakech to Shanghai Hongqiao International Airport via Copenhagen, Beijing Capital
- Ave. Duration
- 17h 50m
- When
- Monday and Saturday
- Estimated price
- ¥2,000–6,000
Flights from Marrakech to Shanghai Hongqiao International Airport via Munich, Beijing Capital
- Ave. Duration
- 24h 5m
- When
- Friday and Saturday
- Estimated price
- ¥2,000–6,000
Flights from Mohammed V International Airport to Sunan Shuofang International Airport via Istanbul, Beijing Capital
- Ave. Duration
- 22h 40m
- When
- Every day
- Estimated price
- ¥2,900–10,000
Flights from Mohammed V International Airport to Nantong Xingdong Airport via Beijing Daxing
- Ave. Duration
- 15h 50m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥4,200–13,000
Flights from Mohammed V International Airport to Nantong Xingdong Airport via Munich, Beijing Capital
- Ave. Duration
- 20h 30m
- When
- Monday and Friday
- Estimated price
- ¥3,000–12,000
Flights from Mohammed V International Airport to Nantong Xingdong Airport via Istanbul, Beijing Capital
- Ave. Duration
- 24h 10m
- When
- Every day
- Estimated price
- ¥3,100–11,000
- Website
- csair.com
Flights from Mohammed V International Airport to Shanghai Hongqiao International Airport via Beijing Daxing
- Ave. Duration
- 17h 51m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,500–11,000
Flights from Mohammed V International Airport to Shanghai Pudong International Airport via Beijing Daxing
- Ave. Duration
- 15h 40m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,400–11,000
Flights from Mohammed V International Airport to Sunan Shuofang International Airport via Beijing Daxing
- Ave. Duration
- 21h 15m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,900–12,000
Flights from Mohammed V International Airport to Hangzhou Xiaoshan International Airport via Beijing Daxing
- Ave. Duration
- 15h 30m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥3,500–11,000
- Website
- shenzhenair.com
Flights from Marrakech to Shanghai Hongqiao International Airport via Munich, Beijing Capital
- Ave. Duration
- 24h 5m
- When
- Friday and Saturday
- Estimated price
- ¥2,000–6,000
Flights from Mohammed V International Airport to Sunan Shuofang International Airport via Istanbul, Beijing Capital
- Ave. Duration
- 22h 40m
- When
- Every day
- Estimated price
- ¥2,900–10,000
Flights from Mohammed V International Airport to Nantong Xingdong Airport via Beijing Daxing
- Ave. Duration
- 15h 50m
- When
- Monday, Thursday, and Saturday
- Estimated price
- ¥4,200–13,000
Flights from Mohammed V International Airport to Nantong Xingdong Airport via Istanbul, Beijing Capital
- Ave. Duration
- 24h 10m
- When
- Every day
- Estimated price
- ¥3,100–11,000
- Website
- lufthansa.com
Flights from Marrakech to Shanghai Hongqiao International Airport via Munich, Beijing Capital
- Ave. Duration
- 20h 5m
- When
- Monday and Tuesday
- Estimated price
- ¥2,500–9,500
- Website
- ceair.com
Flights from Essaouira to Shanghai Pudong International Airport via Marseille
- Ave. Duration
- 23h 45m
- When
- Friday and Sunday
- Estimated price
- ¥3,000–13,000
- Website
- austrian.com
Flights from Marrakech to Shanghai Pudong International Airport via Vienna
- Ave. Duration
- 19h 15m
- When
- Monday
- Estimated price
- ¥2,200–7,500
- Phone
- 2255
- communication.digitale@oncf.ma
- Website
- oncf-voyages.ma
Train from Gare ONCF de Safi to Gare de Ben Guerir
- Ave. Duration
- 2h
- Frequency
- Twice daily
- Estimated price
- ¥40–85
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥40–60
- 1st Class
- ¥60–85
Train from Ben Guerir to Marrakech
- Ave. Duration
- 43 min
- Frequency
- Every 2 hours
- Estimated price
- ¥22–45
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥22–35
- 1st Class
- ¥30–45
Train from Ben Guerir to Gare Oasis
- Ave. Duration
- 1h 46m
- Frequency
- Hourly
- Estimated price
- ¥50–95
- Schedules at
- oncf-voyages.ma
- Book at
- oncf-voyages.ma
- 2nd Class
- ¥50–70
- 1st Class
- ¥70–95
Train from Wuxi to Shanghai station
- Ave. Duration
- 43 min
- Frequency
- Every 30 minutes
- Estimated price
- ¥59–65
- Schedules at
- 12306.cn
- Book at
- 12306.cn
- 2nd Class Seat
- ¥59–65
- 1st Class Seat
- ¥95–105
- Business Class Seat
- ¥130–200
Train from Hangzhou East to Shanghai Hongqiao Station
- Ave. Duration
- 45 min
- Frequency
- Every 15 minutes
- Estimated price
- ¥70–80
- Schedules at
- 12306.cn
- Book at
- 12306.cn
- 2nd Class Seat
- ¥70–80
- 1st Class Seat
- ¥115–130
- Business Class Seat
- ¥170–250
Train from Wuxi to Shanghai station
Train from Wuxi to Shanghai station
Train from Hangzhou East to Shanghai Hongqiao Station
- Ave. Duration
- 1h 5m
- Frequency
- Every 4 hours
- Estimated price
- ¥70–130
- Schedules at
- chinahighlights.com
- Adult - 2nd Class
- ¥70–100
- Adult - 1st Class
- ¥90–130
- Phone
- 0 800 0900 30
- ctmweb.ma@gmail.com
- Website
- ctm.ma
Bus from Safi to Essaouira
- Ave. Duration
- 2h
- Frequency
- Every 4 hours
- Estimated price
- ¥40–60
- Schedules at
- ctm.ma
- Comfort
- ¥40–60
- Confort
- ¥45–50
- bus@chinatrainguide.com
- Website
- chinabusguide.com
Bus from Jiangsu Tongzhou to Shanghai Zongzhan
- Ave. Duration
- 1h 40m
- Frequency
- Hourly
- Estimated price
- ¥50–75
- Schedules at
- chinabusguide.com
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 South Korea: Travelling from Seoul to Busan , What are the different types of Renfe trains in Spain?, and Bali: What to do if Mount Agung erupts - to help you get the most out of your next trip.





























