Search and book flights, trains, buses and ferries in Asia
Select your departing trip
Results from Shanghai to Xi An on Monday, 09 February 2026
Train routes from Shanghai (South) to Xi An (Xi An North Railway Station)
| Departure | Arrival | Price | ||||
|---|---|---|---|---|---|---|
G3257
9h 26m
|
10:42
Mo, 09/02
SHANGHAI South |
20:08
Mo, 09/02
XI AN North |
850 元
|
|
||
Train routes from Shanghai (Hongqiao) to Xi An (Xi An North Railway Station)
| Departure | Arrival | Price | ||||
|---|---|---|---|---|---|---|
G4812
5h 49m
|
00:26
Mo, 09/02
SHANGHAI Hongqiao |
06:15
Mo, 09/02
XI AN North |
Sold out
|
|
||
Train routes from Shanghai (Shanghai) to Xi An (Xi An Railway Station)
| Departure | Arrival | Price | ||||
|---|---|---|---|---|---|---|
K4796
19h 57m
|
00:09
Mo, 09/02
SHANGHAI Shanghai |
20:06
Mo, 09/02
XI AN Xi An |
Sold out
|
|
||
We obtained these fares directly from the transport providers. Please note that search results may differ from the actual timetables and prices at the time of booking, and that we are not responsible for delays in the services. For more information, read our Terms of Use.
How to get from Shanghai to Xi An
The easiest way to travel from Shanghai to Xi An is by train.
How far is Shanghai from Xi An?
The travel distance between Shanghai and Xi An is 1,381 km. The best option to travel from Shanghai to Xi An is taking a train.
How long does it take to get from Shanghai to Xi An?
It takes 5 hours 40 minutes to 9 hours to get from Shanghai to Xi An by high-speed train, 14 hours 45 minutes to 15 hours 15 minutes by overnight high-speed train and 14 hours 50 minutes to 21 hours by conventional train.
What types of trains operate the route Shanghai to Xi An?
There is one railway company operating trains on the route Shanghai to Xi An.
China Railway is the state-owned railway company in China operating high-speed trains and conventional trains.
There are five types of services on route Shanghai to Xi An: G-series are high-speed services with maximum speed of 350 km/h, D-series are overnight high-speed services with maximum speed of 250 km/h, Z-series are conventional direct express services stopping at provincial capitals or no stops with maximum speed of 160 km/h, T-series are conventional express services stopping at province-level cities with maximum speed of 140 km/h, and K-series are conventional fast services stopping at prefecture-level cities with maximum speed of 120 km/h.
In total, high-speed trains offer three seat classes: Business class Seat and First class Seat available in G-series trains, Second class Seat available in G and D series trains, and two sleeper classes: First class Sleeper with soft beds in compartments for 1-4 passengers and Second class Sleeper with hard beds in compartments for 1-6 passengers available in overnight D-series trains.
In total, conventional trains offer one seat class: Hard seat, and two sleeper classes: Soft Sleeper in compartments for 1-4 passengers and Hard Sleeper in compartments for 1-6 passengers available in Z, T and K series trains.
For more information about travelling by train, please read our Train Guide in China.
Where do trains from Shanghai to Xi An depart?
All the G-series high-speed trains depart from Shanghai Hongqiao Railway Station located in Minhang, Shanghai. All the overnight D-series high-speed trains, most Z-series conventional trains, and all the T and K series conventional trains depart from Shanghai Railway Station located in Jing An, Shanghai. Few Z-series conventional trains depart from Shanghai South Railway Station located in Xuhui, Shanghai.
Passengers are requested to arrive at the station 60 minutes before the scheduled departure time to complete the boarding procedures or risk missing the train.
Where do trains from Shanghai to Xi An arrive?
All the G-series high-speed trains arrive at Xi An North Railway Station located in Weiyang, Xi An. All the overnight D-series high-speed trains, the Z, T and K series conventional trains arrive at Xi An Railway Station located in Xincheng, Xi An.