Skip to content
China for Travelers

Xi'an to Shanghai by High-Speed Train

Fastest 6h · from ¥233 second class · 28 daily trains · Flight wins vs flight

By China for Travelers · Published 2026-04-25 · Updated 2026-05-30 · Verified against 12306 on 2026-04-30

Map of the Shanghai Hongqiao–Xi'an North high-speed rail corridor: 1,509 km from Shanghai Hongqiao Railway Station to Xi'an North Railway Station, 6h on the fastest G-train.
The 1,509 km Shanghai Hongqiao → Xi'an North corridor — 6h on the fastest G-train.

The Xi'an to Shanghai corridor is 1,509 km of G-class high-speed rail. Trains run from Xi'an North Railway Station to Shanghai Hongqiao Railway Station, with the fastest service taking 6h and the longest about 8h. Second-class seats start at ¥233 – ¥724. Flight saves ~2.5 hours — worth it unless you love train travel.

Quick facts

Distance
1,509 km
Train types
G
Duration
6h – 8htypical mainline services
Daily departures
28 trains
Service window
06:09 → 18:19
Second class
¥233 – ¥724
First class
¥1094 – ¥1181
Business class
¥2159 – ¥2319
Scenery
★★★☆☆our editorial rating

Train vs flight

MetricTrainFlight
Fastest6h2h 30m
Door-to-door~7h5h 30m
Price¥233 – ¥724¥700 – ¥1600

Editor: Flight saves ~2.5 hours — worth it unless you love train travel.

Stations

  • Departing from
    Xi'an North Railway Station
    Xi'an · G/D-class · ~30 min to city centre

    Asia's largest rail station building. Metro Line 2 takes 30 min to the Bell Tower.

  • Arriving at
    Shanghai Hongqiao Railway Station
    Shanghai · G/D/C-class · ~35 min to city centre

    Co-located with Hongqiao Airport. Huge; budget 20 min from metro to platform.

How to book

Two paths for foreign travelers — either the official Chinese system at face price, or a Western OTA for an English-first checkout with a small markup.

Deep guide available. We have a full editorial write-up for this route — when to go, which class to pick, station tips, things to do at both ends. Read the Xi'anShanghai guide →

Frequently asked questions

How long is the Xi'an to Shanghai train?
The fastest high-speed train covers the 1,509 km in 6h, with most services in the 6h–8h range. Trains are G-class.
How much is a Xi'an to Shanghai train ticket?
Second class is ¥233 – ¥724, first class ¥1094 – ¥1181, business class ¥2159 – ¥2319. Fares are dynamically priced — peak departures trend to the high end of each band.
How many trains run from Xi'an to Shanghai each day?
About 28 trains a day each way, with the first around 06:09 and the last around 18:19.
Is the train or the flight better for Xi'an to Shanghai?
Flight saves ~2.5 hours — worth it unless you love train travel. Door-to-door the train is ~7h vs ~5h 30m flying.
How do I book Xi'an to Shanghai tickets with a foreign passport?
Two ways: the official 12306 English app (face price, passport-bound account, no booking fee) or Trip.com (English UI, foreign cards accepted, small markup). Tickets open exactly 15 days before departure.

Related routes

Other trips from Xi'an

Other trips to Shanghai

Or explore the full interactive HSR map with all 24 cities and 36 corridors.