Xian to Shanghai High Speed Train

About 28 pairs of high speed G trains are in service between Xi'an and Shanghai with a running distance of 1,509 km (938 miles). How long is the train ride from Shanghai to Xi'an? The travel time of these trains is 6 - 9 hours. It costs CNY 652 - 758 for a second class seat. 

Also, there are about 4 pairs of overnight D trains with the duration of around 15 hours. The second class sleeper costs CNY 430 - 438. For normal speed ones, 10 pairs of sleeper trains are operating, taking 15 - 26 hours in total.
 

Xian to Shanghai High Speed Train

Basic Facts:

 Open Date: September 6th, 2016
 Duration: 6 - 9 hours
 Running Distance: 1,509 km (938 miles)
 Top Speed: 250 km/h (155 mph) or 300 km/h (186 mph)
 Operate at: Xian North Railway Station; Shanghai Hongqiao Railway Station 
Xian - Shanghai High Speed Train
Xian - Shanghai High Speed Train

Xian to Shanghai Bullet Train Schedule
  

(Last Update on Feb 4, 2026)
Train No.Departure - ArrivalTravel Time
G191406:20 - 13:227h2m
G329809:18 - 17:388h20m
G316611:46 - 20:158h29m
G329014:46 - 22:478h1m
G194216:00 - 23:577h57m
Around 28 departures in total: departure time from 04:38 to 16:00; duration from 5H50M to 9H01M.

(Last Update on Feb 4, 2026)
Train No.Departure - ArrivalTravel Time
D21800:53 - 15:5014h57m
D9415:10 - 06:13+15h3m
D12819:25 - 10:22+14h57m
D12421:16 - 12:30+15h14m
D97423:24 - 08:04+8h40m
D97823:29 - 08:58+9h29m
See more Xian Schedule 
 

Shanghai to Xian High Speed Train Timetable
 

(Last Update on Feb 4, 2026)
Train No.Departure - ArrivalTravel Time
G197407:16 - 14:227h6m
G316409:38 - 17:478h9m
G192812:36 - 20:007h24m
G191616:09 - 23:006h51m
G194017:07 - 23:336h26m
Around 28 departures in total: departure time from 06:09 to 17:07; duration from 5H39M to 9H36M.

(Last Update on Feb 4, 2026)
Train No.Departure - ArrivalTravel Time
D12214:13 - 05:25+15h12m
D21616:54 - 07:49+14h55m
D12618:09 - 09:01+14h52m
D9218:19 - 09:07+14h48m
D97218:22 - 05:23+11h1m
D97618:44 - 05:28+10h44m
See more Shanghai Schedule 

Notes: The above timetable is for reference only. The schedule searching by the search box on page top shall prevail.
 

Ticket Fare of Xian - Shanghai High Speed G Trains

(Last Update on Feb 4, 2026)
Business Class SeatFirst Class SeatSecond Class Seat
CNY 2,072.5 - 2,488.5
USD 300 - 361
CNY 1,050.5 - 1,278.5
USD 152 - 185
CNY 659 - 797
USD 96 - 116

 

Ticket Fare of Xian - Shanghai High Speed D Trains

(Last Update on Feb 4, 2026)
1st Class Sleeper2nd Class SleeperSecond Class Seat
CNY 601 - 641
USD 87 - 93
CNY 430 - 438
USD 62 - 63
CNY 233 - 449
USD 34 - 65
Overnight Train between Xian and Shanghai
Overnight High Speed Train between Xian and Shanghai
 

Xian - Shanghai Railway Map
Xian - Shanghai Railway Map
Stopovers of some types:
Weinan North, Huashan North, Lingbao West, Sanmenxia South, Mianchi South, Luoyang Longmen, Gongyi South, Zhengzhou West, Zhengzhou East, Kaifeng North, Lankao South, Minquan North, Shangqiu, Dangshan South, Yongcheng North, Xiaoxian North, Xuzhou East, Suzhou East, Bengbu South, Nanjing South, Zhenjiang South, Danayng North, Changzhou North, Wuxi East, Suzhou North, Kunshan South.

Stop-bys of other types:
Weinan North, Huashan North, Sanmenxia South, Luoyang Longmen, Zhengzhou East, Xuzhou, Nanjing and Suzhou
 

Running Route

 Xian - Zhengzhou: This section shares the railway track with Xian-Luoyang-Zhengzhou High Speed Rail Line, which has been put into service since 6th February in 2010 and it shortens the journey time between the two cities to 2 - 3 hours.

 Zhengzhou - Xuzhou: The Zhengzhou-Xuzhou High Speed Railway has been put into service since Sep 10th, 2016. The duration is 1.5 to 2.5 hours only.

 Xuzhou - Shanghai: This section is a part of Beijing-Shanghai High Speed Railway which has been put into use since June 30, 2011. The journey between the two cities takes 2.5 - 6 hours or so.
 

Normal Trains

They are mostly running overnight between Xian Railway Station and Shanghai Railway Station. Traveling overnight will save you one-night hotel expenditure and day time and it will be a preferrable choice for budget travelers because they cost less than bullet types.
Shanghai Railway Station
Shanghai Railway Station
Xian Railway Station
Xian Railway Station

Xian to Shanghai Train Schedule

(Last Update on Feb 4, 2026)
Train No.Departure - ArrivalTravel Time
K403203:25 - 01:49+22h24m
K466808:21 - 04:34+20h13m
K218808:36 - 05:33+20h57m
K36210:17 - 05:22+19h5m
K479815:51 - 17:00+25h9m
K55817:07 - 14:12+21h5m
T11819:55 - 13:26+17h31m
Z16620:53 - 12:03+15h10m
Z37821:03 - 12:09+15h6m
Z4221:10 - 12:15+15h5m
Z30621:41 - 12:54+15h13m
K402822:22 - 00:54++26h32m

 

Shanghai to Xian Train Timetable

(Last Update on Feb 4, 2026)
Train No.Departure - ArrivalTravel Time
K479600:09 - 20:0619h57m
K402602:05 - 23:0721h2m
K403003:00 - 02:25+23h25m
K218608:57 - 05:36+20h39m
K36009:29 - 06:06+20h37m
K466611:58 - 11:40+23h42m
Z37613:55 - 04:53+14h58m
T11615:38 - 08:30+16h52m
K56015:52 - 12:26+20h34m
Z4016:48 - 08:17+15h29m
Z30417:46 - 08:42+14h56m
Z16418:33 - 09:19+14h46m

Notes:
1. "+" indicates the second day.
2. The above timetable is for reference only. The schedule searching by the search box on the page top shall prevail.
 

Xian - Shanghai Train Ticket Fare

(Last Update on Feb 4, 2026)
Soft SleeperHard SleeperHard Seat
CNY 509.5
USD 74
CNY 331.5
USD 48
CNY 180.5
USD 26

 See more about Xian-Shanghai Overnight Sleeper TrainsShanghai - Xian Bullet Trains
 

Major Cities along the Way

 Luoyang
Located in the west Henan Province, Luoyang was once the capital city of 13 ancient dynasties. Nowadays, Luoyang is well-known for Longmen Grottoes, Song Mountain, White Horse Temple etc. Besides, you can go to Shaolin Temple easily by coaches from this city. Transportation around the city is pretty convenient. The trains, flights and long-distance buses connect this city with other major cities in China.
 
 Nanjing
As the capital city of Jiangsu Province, Nanjing is one of the hot tourist destinations in China. The city was once the capital city of six dynasties in ancient times, so it has many historical sites, museum and memorials such as Confucius Temple, and Nanjing Museum. Nowadays, because of the rapid development, it is a major city in China and an important junction point of China's north-south and east-west railway trunks. You can take both ordinary and high speed trains from Nanjing Railway Station or Nanjing South Station to major China cities.
 
Major Rail Lines from Xian to:

 
Major Rail Lines from Shanghai to:
- Last updated on Feb. 04, 2026 by Charlotte Qiu -