Xi'an to Shanghai by Train

Yes, there are direct trains. About 14 departures a day run from Xi'an to Shanghai without changing trains — several times a day. The fastest takes about 5h 50m.

Direct trains
14 per day
Fastest
5h 50m
Changes
None
Return (Shanghai → Xi'an)
26 per day · 5h 39m

Trains from Xi'an to Shanghai

Typical departures, Xi'an → Shanghai Showing the 12 quickest of 14 services we hold for this route. July 2026 timetable — not live.
TrainDepArrDuration FromTo StopsDistance
D111/D114Xi'an → Shanghai SongjiangXi'an 00:33 16:23 15h 50m Xi'an Shanghai Songjiang 11 stops 1549 km
D215/D218Xi'an → ShanghaiXi'an 00:53 15:50 14h 57m Xi'an Shanghai 7 stops 1535 km
G89/G92Xi'an North → Shanghai HongqiaoXi'an North 08:51 14:43 5h 52m Xi'an North Shanghai Hongqiao 4 stops 1510 km
G3295/G3298Xi'an North → Shanghai HongqiaoXi'an North 09:18 17:38 8h 20m Xi'an North Shanghai Hongqiao 18 stops 1498 km
D91/D94Xi'an → ShanghaiXi'an 15:10 06:13 15h 03m Xi'an Shanghai 7 stops 1509 km
G93/G96Xi'an North → Shanghai HongqiaoXi'an North 15:32 21:22 5h 50m Xi'an North Shanghai Hongqiao 5 stops 1515 km
D125/D128Xi'an → Shanghai SongjiangXi'an 19:25 10:22 14h 57m Xi'an Shanghai Songjiang 6 stops 1541 km
Z163/Z166Xi'an → ShanghaiXi'an 20:49 12:03 15h 14m Xi'an Shanghai 6 stops 1533 km
D287/D290Xi'an → ShanghaiXi'an 21:03 12:09 15h 06m Xi'an Shanghai 8 stops 1536 km
Z39/Z42Xi'an → ShanghaiXi'an 21:10 12:15 15h 05m Xi'an Shanghai 7 stops 1542 km
D121/D124Xi'an → ShanghaiXi'an 21:16 12:30 15h 14m Xi'an Shanghai 9 stops 1538 km
Z303/Z306Xi'an → ShanghaiXi'an 21:41 12:54 15h 13m Xi'an Shanghai 9 stops 1535 km

Times are planning references. China Railway runs several timetable revisions a year and adds or suspends trains at short notice — check live seats and today’s schedule for your date before you rely on any specific departure.

Before you rely on this

The times above come from the July 2026 timetable snapshot. China Railway revises its schedule several times a year, adds trains for holidays, and suspends services at short notice. Treat every departure time as a planning reference, not a booking commitment.

The live search queries China Railway (12306) directly for your travel date — that is the only source that reflects today's actual schedule and seat availability.

Our data covers high-speed (G/D/C) and intercity services. Slow conventional trains (Z/T/K) are only partly included, so a route marked "no direct train" may still have a direct slow train. Always confirm in the live search.

Why people take the train instead of flying

  • City centre to city centre. Chinese high-speed stations sit in the urban core or on a metro line — no 45-minute airport transfer at either end.
  • No check-in cut-off. You can board a few minutes before departure. Arriving 20 minutes early is comfortable.
  • Luggage is free and unlimited. No weight limit, no bag drop queue.
  • 5h 50m door to door compares well once you add airport security, boarding and transfers.
  • Foreign passports are accepted. Your passport is your ticket — no Chinese ID or phone number needed.

What it costs

Fares are set by China Railway in yuan and converted to dollars at the rate shown on this site. The price you see in the search results is the fare plus our service fee, in one number — nothing is added at checkout.

Other classes, and slower trains on the same route, are priced differently by the railway. The exact figure for the train you pick is shown before you pay.

Check live prices and trains  · How our pricing works

China Railway sets and occasionally changes fares — always confirm the live price for your date.

Frequently asked questions

Do I need to change trains from Xi'an to Shanghai?

No. Around 14 direct trains a day connect the two cities without a change.

How long is the train from Xi'an to Shanghai?

The fastest direct service takes about 5h 50m. Slower trains on the same route take longer.

Can foreigners book these trains?

Yes. Every train listed runs under China Railway (12306) and accepts foreign passports. We book against your passport number — no Chinese ID or phone number required.

Are the departure times fixed?

We show typical daily frequency rather than exact times, because China Railway adjusts schedules several times a year. The live search always reflects the current timetable for your travel date.

Is the train cheaper than flying?

On most routes under about 5 hours, second class costs less than a comparable flight once you include baggage and airport transfers. Live fares in USD (with our service fee included) are shown in the search results.

Other places you can reach from Xi'an

Going the other way

Arriving in Shanghai

Trains from Xi'an arrive at one of Shanghai's main stations. Check your ticket for the station name — large cities have several, and they can be 30+ minutes apart. Station names are shown in Chinese and English on every platform sign, and your passport works at the staffed gate for both entry and exit.

Browse by city