Shanghai to Xi An Train Schedule & Tickets

33 trains run from Shanghai to Xi An. The first departs at 06:09 and the last at 18:33. Fares start from 215 CNY per adult. Operated by China Railway.

Quick answer: The train from Shanghai to Xi An takes 5h 39m – 20h 36m depending on the train, with tickets from 215 CNY.

  • Journey time5h 39m – 20h 36m
  • Fares from215 CNY
  • Trains per day3306:09–18:33
  • Night trainYes (11)

Route summary

Fastest train5h 39mG94, departs 08:55
Lowest fare215 CNY7 trains, e.g. K2186 at 08:57
Most departures08:00–11:0010 trains in this window
🎫 Check availability & book

Then pick a train and fare class below and book on Baolau

Timetable

Typical timetable. Pick a travel date above to check the live timetable and prices for that day.

TrainDepartsArrivesDurationFare classes (per adult)
G1970not every day 06:09 13:20 7h 11m
  • Second class Seat (G)723 CNYBook
  • First class Seat (G)1,159 CNYBook
  • Business class Seat (G)2,369 CNYBook
G1802not every day 06:13 13:51 7h 38m
  • Second class Seat (G)735 CNYBook
G3176 06:19 14:45 8h 26m
  • Second class Seat (G)706 CNYBook
G464not every day 06:48 13:40 6h 52m
  • Second class Seat (G)765 CNYBook
  • First class Seat (G)1,217 CNYBook
  • Business class Seat (G)2,300 CNYBook
G1974not every day 07:16 14:22 7h 06m
  • Second class Seat (G)735 CNYBook
  • First class Seat (G)1,179 CNYBook
  • Business class Seat (G)2,433 CNYBook
G3288not every day 07:46 15:52 8h 06m
  • Second class Seat (G)699 CNYBook
  • First class Seat (G)1,096 CNYBook
  • Business class Seat (G)2,264 CNYBook
G3292not every day 08:24 16:32 8h 08m
  • Second class Seat (G)725 CNYBook
  • First class Seat (G)1,136 CNYBook
G94 08:55 14:34 5h 39m
  • Second class Seat (G)791 CNYBook
  • First class Seat (G)1,243 CNYBook
  • Business class Seat (G)2,677 CNYBook
K2186 08:57 04:47 19h 50m
  • Hard seat (K)215 CNYBook
  • Hard Sleeper 6-Berth (K)367 CNYBook
  • Soft Sleeper 4-Berth (K)545 CNYBook
G2194 09:19 16:28 7h 09m
  • Second class Seat (G)773 CNYBook
  • First class Seat (G)1,216 CNYBook
  • Business class Seat (G)2,352 CNYBook
K360 09:29 06:05 20h 36m
  • Hard seat (K)215 CNYBook
  • Hard Sleeper 6-Berth (K)367 CNYBook
  • Soft Sleeper 4-Berth (K)545 CNYBook
G3164not every day 09:38 17:47 8h 09m
  • Second class Seat (G)771 CNYBook
G1979 09:56 18:40 8h 44m
  • Second class Seat (G)817 CNYBook
  • First class Seat (G)1,293 CNYBook
  • Business class Seat (G)2,462 CNYBook
G3174 10:15 18:01 7h 46m
  • Second class Seat (G)733 CNYBook
G3284 10:37 19:38 9h 01m
  • Second class Seat (G)701 CNYBook
  • First class Seat (G)1,097 CNYBook
G3257 10:42 20:08 9h 26m
  • Second class Seat (G)753 CNYBook
G1924 11:28 19:00 7h 32m
  • Second class Seat (G)790 CNYBook
  • First class Seat (G)1,256 CNYBook
  • Business class Seat (G)2,378 CNYBook
G3152 11:32 20:29 8h 57m
  • Second class Seat (G)759 CNYBook
  • Business class Seat (G)2,273 CNYBook
G1928 12:36 20:00 7h 24m
  • Second class Seat (G)723 CNYBook
  • First class Seat (G)1,179 CNYBook
  • Business class Seat (G)2,271 CNYBook
G3161 12:51 21:46 8h 55m
  • Second class Seat (G)792 CNYBook
  • First class Seat (G)1,252 CNYBook
  • Business class Seat (G)2,386 CNYBook
D288 13:22 04:53 15h 31m
  • Second class Sleeper 6-Berth (D)473 CNYBook
G1932 13:38 20:41 7h 03m
  • Second class Seat (G)723 CNYBook
  • First class Seat (G)1,159 CNYBook
  • Business class Seat (G)2,207 CNYBook
G3296 13:58 21:53 7h 55m
  • Second class Seat (G)687 CNYBook
  • First class Seat (G)1,074 CNYBook
  • Business class Seat (G)2,083 CNYBook
D122 14:13 05:24 15h 11m
  • Second class Seat (D)268 CNYBook
  • Second class Sleeper 6-Berth (D)467 CNYBook
  • First class Sleeper 4-Berth (D)676 CNYBook
Z376not every day 15:38 07:35 15h 57m
  • Hard seat (Z)215 CNYBook
  • Hard Sleeper 6-Berth (Z)367 CNYBook
  • Soft Sleeper 4-Berth (Z)545 CNYBook
K560 15:52 12:26 20h 34m
  • Hard seat (K)215 CNYBook
  • Hard Sleeper 6-Berth (K)367 CNYBook
  • Soft Sleeper 4-Berth (K)545 CNYBook
G1916 16:09 23:00 6h 51m
  • Second class Seat (G)714 CNYBook
  • First class Seat (G)1,140 CNYBook
  • Business class Seat (G)2,207 CNYBook
Z40not every day 16:48 08:16 15h 28m
  • Hard seat (Z)215 CNYBook
  • Soft Sleeper 4-Berth (Z)545 CNYBook
D216not every day 16:54 07:49 14h 55m
  • Second class Seat (D)272 CNYBook
  • Second class Sleeper 6-Berth (D)473 CNYBook
  • First class Sleeper 4-Berth (D)636 CNYBook
G1940 17:07 23:33 6h 26m
  • Second class Seat (G)711 CNYBook
  • First class Seat (G)1,159 CNYBook
  • Business class Seat (G)2,207 CNYBook
Z304not every day 17:46 08:42 14h 56m
  • Hard seat (Z)215 CNYBook
  • Hard Sleeper 6-Berth (Z)367 CNYBook
  • Soft Sleeper 4-Berth (Z)545 CNYBook
D92not every day 18:19 09:07 14h 48m
  • Second class Seat (D)268 CNYBook
  • Second class Sleeper 6-Berth (D)467 CNYBook
  • First class Sleeper 4-Berth (D)676 CNYBook
Z164not every day 18:33 09:19 14h 46m
  • Hard seat (Z)215 CNYBook

Timetable sampled on 3 upcoming days and updated 2026-11-10 23:15. Ticket prices are per adult. A service fee and payment fees may be added at checkout and vary by payment method. Check live availability for your date.

↔ Return: Xi An to Shanghai trains

🌙 Night and sleeper trains from Shanghai to Xi An: compare fares

Other China routes

Frequently asked questions

How many trains go from Shanghai to Xi An?

33 trains in our timetable. Some may not run every day, so check the date you travel.

What time is the first and last train from Shanghai to Xi An?

The first departs at 06:09 and the last at 18:33.

How much is a train ticket from Shanghai to Xi An?

Tickets start from 215 CNY per adult. A service fee and payment fees may be added at checkout.

How do I book?

Choose your travel date on this page, click Check availability & book, and complete the booking online.

What is the fastest train from Shanghai to Xi An?

The fastest is G94, departing at 08:55 with a travel time of 5h 39m.

What is the cheapest train from Shanghai to Xi An?

The lowest fare is 215 CNY per adult, for example on K2186 at 08:57 (and 7 trains in total at this fare).

How long does the train from Shanghai to Xi An take?

It takes 5h 39m – 20h 36m, depending on the train. Tickets start from 215 CNY.

Is there a night train from Shanghai to Xi An?

Yes, 11 11 trains run overnight or offer sleeper berths on this route.

Which station does the train from Shanghai leave from?

Trains from Shanghai leave from: Shanghai Hongqiao Railway Station, Shanghai Railway Station, Shanghai South Railway Station. Check the station on your ticket before you travel.