There are 5 ways to get from Shanghai to Mogao Caves by plane, train, bus or car

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Fly from Shanghai Hongqiao  •  8 h 15 min

  1. Fly from Shanghai Hongqiao (SHA) to Dunhuang (DNH) SHA - DNH

$207 - $1,210

Cheapest option

Train, bus  •  39 h 25 min

  1. Take the train from Shanghai Station to Luiyuan Shanghai
  2. Take the bus from Liuyuan to Dunhuang

$41 - $91

3 alternative options

Train to Hangzhou, fly  •  9 h 32 min

  1. Take the train from Shanghai Hongqiao Station to Hangzhou East
  2. Fly from Hangzhou (HGH) to Dunhuang (DNH) HGH - DNH

$230 - $1,131

Train  •  25 h 40 min

  1. Take the train from Shanghai to Xian North
  2. Take the train from Xi'an North to Lanzhou West Station
  3. Take the train from Lanzhou West to Yumen
  4. Take the train from Yumen to Dunhuang

$133 - $200

Drive  •  31 h 20 min

  1. Drive from Shanghai to Mogao Caves 1930.1 miles

$270 - $410

Questions & Answers

The distance between Shanghai and Mogao Caves is 2588 km. The road distance is 3088.2 km.

Get driving directions

The best way to get from Shanghai to Mogao Caves without a car is to train which takes 25 h 40 min and costs .

More details

It takes approximately 8 h 15 min to get from Shanghai to Mogao Caves, including transfers.

More details

The best way to get from Shanghai to Mogao Caves is to fly which takes 8 h 15 min and costs . Alternatively, you can train, which costs and takes 25 h 40 min.

Mode details

There is no direct flight from Shanghai Hongqiao Airport to Dunhuang Airport. The quickest flight takes 6 h 20 min and has one stopover.

Search flights

Mogao Caves is 2 h behind Shanghai. It is currently 6:53 PM in Shanghai and 4:53 PM in Mogao Caves.

Yes, the driving distance between Shanghai to Mogao Caves is 3088 km. It takes approximately 31 h 20 min to drive from Shanghai to Mogao Caves.

Get driving directions

Shanghai Airlines, Juneyao Airlines, Air China and China Eastern Airlines offer flights from Shanghai Hongqiao Airport to Dunhuang Airport.

Search flights

There are 198+ hotels available in Mogao Caves. Prices start at $18 USD per night.

More details

The best way to get from Shanghai to Shanghai Hongqiao Airport is to line 10 subway which takes 18 min and costs .

More details

Map of how to get from Shanghai to Mogao Caves.
Launch map view
  • Distance: 1617.5 miles
  • Duration: 8 h 15 min

What companies run services between Shanghai, China and Mogao Caves, China?

China Eastern Airlines, Shanghai Airlines and four other airlines fly from Shanghai to Mogao Caves hourly. Alternatively, you can take a train from Shanghai to Mogao Caves via Xian North, Xi'an North, Lanzhou West Station, Lanzhou West, Yumen, and Dunhuang in around 25 h 40 min.

Airlines
China Eastern Airlines
Website
en.ceair.com
Flights from Shanghai Hongqiao to Dunhuang via Xi An
Ave. Duration
6 h 45 min
When
Every day
Estimated price
$250 - $1,600
Flights from Shanghai Hongqiao to Dunhuang via Lanzhou
Ave. Duration
8 h 20 min
When
Tuesday, Thursday, Saturday and Sunday
Estimated price
$200 - $1,200
Flights from Shanghai Hongqiao to Dunhuang via Xi An, Jiayuguan
Ave. Duration
10 h 30 min
When
Monday to Saturday
Estimated price
$250 - $1,600
Flights from Shanghai Hongqiao to Dunhuang via Jinan, Lanzhou
Ave. Duration
11 h 20 min
When
Tuesday, Thursday, Saturday and Sunday
Estimated price
$260 - $1,700
Flights from Shanghai Hongqiao to Dunhuang via Taiyuan, Lanzhou
Ave. Duration
8 h 45 min
When
Tuesday, Thursday, Saturday and Sunday
Estimated price
$270 - $1,200
Flights from Hangzhou to Dunhuang via Xi An
Ave. Duration
7 h 10 min
When
Every day
Estimated price
$220 - $1,400
Flights from Hangzhou to Dunhuang via Lanzhou
Ave. Duration
8 h 50 min
When
Tuesday, Thursday, Saturday and Sunday
Estimated price
$220 - $1,400
Sichuan Airlines
Website
ch.com
Flights from Hangzhou to Dunhuang via Lanzhou
Ave. Duration
5 h 53 min
When
Every day
Estimated price
$270 - $1,500
Air China
Website
airchina.com
Flights from Shanghai Hongqiao to Dunhuang via Beijing
Ave. Duration
12 h 15 min
When
Every day
Estimated price
$310 - $1,800
Flights from Hangzhou to Dunhuang via Beijing
Ave. Duration
12 h 15 min
When
Every day
Estimated price
$280 - $1,700
Xiamen Airlines
Website
xiamenair.com
Flights from Hangzhou to Dunhuang via Xi An
Ave. Duration
10 h 50 min
When
Monday, Wednesday, Friday and Sunday
Estimated price
$210 - $1,100
Train operators
China Railways G-Class
Train from Shanghai Hongqiao Station to Hangzhou East
Ave. Duration
1 h 4 min
Frequency
Every 30 minutes
Estimated price
$15 - $18
Schedules at
trip.com
2nd Class Seat
$15 - $18
1st Class Seat
$24 - $27
Business Class Seat
$45 - $60
Train from Xian North Station to Lanzhou West Station
Ave. Duration
3 h 9 min
Frequency
3 times a day
Estimated price
$40 - $50
Schedules at
trip.com
2nd Class Seat
$40 - $50
1st Class Seat
$65 - $75
Business Class Seat
$120 - $150
China Railways D-Class
Website
chinahighlights.com
Train from Shanghai Hongqiao to Hangzhou East
Ave. Duration
57 min
Frequency
Every 3 hours
Estimated price
$9 - $13
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$9 - $13
1st Class Seat
$9 - $14
Train from Shanghai to Xian North
Ave. Duration
11 h 7 min
Frequency
Once daily
Estimated price
$60 - $80
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$60 - $80
1st Class Seat
$90 - $130
Train from Xi'an North to Lanzhou West Station
Ave. Duration
3 h 8 min
Frequency
Hourly
Estimated price
$25 - $35
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$25 - $35
1st Class Seat
$35 - $50
Train from Lanzhou West to Yumen
Ave. Duration
5 h 25 min
Frequency
3 times a day
Estimated price
$35 - $50
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$35 - $50
1st Class Seat
$50 - $75
China Railways K-Class
Website
chinahighlights.com
Train from Lanzhou West Station to Yumen
Ave. Duration
10 h 22 min
Frequency
Twice daily
Estimated price
$16 - $21
Schedules at
trip.com
Book at
trip.com
Hard Seat
$16 - $21
Hard Sleeper
$30 - $40
Soft Sleeper
$45 - $60
Train from Yumen to Dunhuang
Ave. Duration
3 h
Frequency
Twice daily
Estimated price
$8 - $14
Schedules at
trip.com
Book at
trip.com
Hard Seat
$8 - $14
Hard Sleeper
$16 - $24
Soft Sleeper
$25 - $40
China Railways T-Class
Website
china-railway.com.cn
Train from Shanghai Station to Luiyuan
Ave. Duration
35 h 50 min
Frequency
Once daily
Estimated price
$35 - $90
Schedules at
trip.com
Book at
trip.com
Hard/Soft Seat
$35 - $55
Hard Sleeper
$70 - $90
Soft Sleeper
$110 - $140
Bus operators
Dunhuang Transportion
Website
11467.com
Bus from Liuyuan to Dunhuang
Ave. Duration
1 h 50 min
Frequency
4 times a day
Estimated price
$3
Schedules at
sinotour.com.cn

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 by boat in Italy, Train travel in France: A guide to SNCF and How do I get from Sydney to Melbourne - to help you get the most out of your next trip.