Xi An to Shanghai Train Schedule & Tickets

34 trains run from Xi An to Shanghai. The first departs at 00:53 and the last at 23:29. Fares start from 215 CNY per adult. Operated by China Railway.

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

  • Journey time5h 50m – 21h 05m
  • Fares from215 CNY
  • Trains per day3400:53–23:29
  • Night trainYes (13)

Route summary

Fastest train5h 50mG96, departs 15:32
Lowest fare215 CNY6 trains, e.g. K2188 at 08:36
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)
D218 00:53 15:50 14h 57m
  • Second class Seat (D)272 CNYBook
  • Second class Sleeper 6-Berth (D)473 CNYBook
  • First class Sleeper 4-Berth (D)636 CNYBook
G1914 06:13 13:22 7h 09m
  • Second class Seat (G)714 CNYBook
  • First class Seat (G)1,121 CNYBook
  • Business class Seat (G)2,143 CNYBook
G3162 08:12 16:32 8h 20m
  • Second class Seat (G)801 CNYBook
  • First class Seat (G)1,267 CNYBook
  • Business class Seat (G)2,417 CNYBook
K2188 08:36 05:33 20h 57m
  • Hard seat (K)215 CNYBook
  • Hard Sleeper 6-Berth (K)367 CNYBook
  • Soft Sleeper 4-Berth (K)545 CNYBook
G3154 08:38 17:06 8h 28m
  • Second class Seat (G)754 CNYBook
  • First class Seat (G)1,207 CNYBook
  • Business class Seat (G)2,273 CNYBook
G92 08:51 14:43 5h 52m
  • Second class Seat (G)791 CNYBook
G3298 09:18 17:38 8h 20m
  • Second class Seat (G)687 CNYBook
  • First class Seat (G)1,074 CNYBook
  • Business class Seat (G)2,083 CNYBook
G1918 09:29 16:43 7h 14m
  • Second class Seat (G)723 CNYBook
  • First class Seat (G)1,159 CNYBook
  • Business class Seat (G)2,271 CNYBook
K362 10:17 05:22 19h 05m
  • Hard seat (K)215 CNYBook
  • Hard Sleeper 6-Berth (K)367 CNYBook
  • Soft Sleeper 4-Berth (K)545 CNYBook
G3172 10:28 19:14 8h 46m
  • Second class Seat (G)701 CNYBook
  • Business class Seat (G)2,103 CNYBook
G1922 10:35 18:02 7h 27m
  • Second class Seat (G)735 CNYBook
  • First class Seat (G)1,179 CNYBook
  • Business class Seat (G)2,271 CNYBook
G3258 10:44 19:02 8h 18m
  • Second class Seat (G)782 CNYBook
  • Business class Seat (G)2,486 CNYBook
G1980 11:06 20:07 9h 01m
  • Second class Seat (G)818 CNYBook
  • Business class Seat (G)2,463 CNYBook
G1820 11:10 18:10 7h 00m
  • Second class Seat (G)773 CNYBook
  • Business class Seat (G)2,596 CNYBook
G3286 11:41 19:42 8h 01m
  • Second class Seat (G)701 CNYBook
  • First class Seat (G)1,097 CNYBook
  • Business class Seat (G)2,103 CNYBook
G3166 11:46 20:15 8h 29m
  • Second class Seat (G)778 CNYBook
  • Business class Seat (G)2,514 CNYBook
G2196 12:10 19:15 7h 05m
  • Second class Seat (G)735 CNYBook
  • First class Seat (G)1,179 CNYBook
  • Business class Seat (G)2,271 CNYBook
G3178 13:46 22:26 8h 40m
  • Second class Seat (G)797 CNYBook
G1972 14:06 22:01 7h 55m
  • Second class Seat (G)759 CNYBook
  • First class Seat (G)1,216 CNYBook
  • Business class Seat (G)2,514 CNYBook
G3290 14:46 22:47 8h 01m
  • Second class Seat (G)716 CNYBook
  • First class Seat (G)1,122 CNYBook
  • Business class Seat (G)2,324 CNYBook
D94 15:10 06:13 15h 03m
  • Second class Seat (D)268 CNYBook
  • Second class Sleeper 6-Berth (D)467 CNYBook
  • First class Sleeper 4-Berth (D)676 CNYBook
G1976 15:10 22:35 7h 25m
  • Second class Seat (G)747 CNYBook
  • First class Seat (G)1,196 CNYBook
  • Business class Seat (G)2,450 CNYBook
G96 15:32 21:22 5h 50m
  • Second class Seat (G)791 CNYBook
  • First class Seat (G)1,243 CNYBook
  • Business class Seat (G)2,677 CNYBook
G466 15:43 23:02 7h 19m
  • Second class Seat (G)765 CNYBook
  • First class Seat (G)1,217 CNYBook
  • Business class Seat (G)2,300 CNYBook
G1942 15:56 23:57 8h 01m
  • Second class Seat (G)754 CNYBook
  • First class Seat (G)1,207 CNYBook
  • Business class Seat (G)2,273 CNYBook
K558 17:07 14:12 21h 05m
  • Hard seat (K)215 CNYBook
  • Hard Sleeper 6-Berth (K)367 CNYBook
  • Soft Sleeper 4-Berth (K)545 CNYBook
Z378 20:41 13:29 16h 48m
  • Hard seat (Z)215 CNYBook
  • Hard Sleeper 6-Berth (Z)367 CNYBook
  • Soft Sleeper 4-Berth (Z)545 CNYBook
Z166not every day 20:49 12:03 15h 14m
  • Hard Sleeper 6-Berth (Z)367 CNYBook
  • Soft Sleeper 4-Berth (Z)545 CNYBook
D290 21:03 12:09 15h 06m
  • Second class Seat (D)272 CNYBook
  • Second class Sleeper 6-Berth (D)473 CNYBook
  • First class Sleeper 4-Berth (D)636 CNYBook
Z42 21:10 12:15 15h 05m
  • Hard seat (Z)215 CNYBook
D124 21:16 12:30 15h 14m
  • Second class Seat (D)268 CNYBook
  • Second class Sleeper 6-Berth (D)467 CNYBook
  • First class Sleeper 4-Berth (D)676 CNYBook
Z306not every day 21:41 12:54 15h 13m
  • Hard seat (Z)215 CNYBook
D974not every day 23:24 08:04 8h 40m
  • Sleeper 4-Berth (D)685 CNYBook
D978not every day 23:29 08:58 9h 29m
  • Second class Seat (D)484 CNYBook
  • Sleeper 4-Berth (D)685 CNYBook

Timetable sampled on 3 upcoming days and updated 2026-10-16 04:02. 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: Shanghai to Xi An trains

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

Other China routes

Frequently asked questions

How many trains go from Xi An to Shanghai?

34 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 Xi An to Shanghai?

The first departs at 00:53 and the last at 23:29.

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

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 Xi An to Shanghai?

The fastest is G96, departing at 15:32 with a travel time of 5h 50m.

What is the cheapest train from Xi An to Shanghai?

The lowest fare is 215 CNY per adult, for example on K2188 at 08:36 (and 6 trains in total at this fare).

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

It takes 5h 50m – 21h 05m, depending on the train. Tickets start from 215 CNY.

Is there a night train from Xi An to Shanghai?

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

Which station does the train from Xi An leave from?

Trains from Xi An leave from: Xi An Railway Station, Xi An North Railway Station. Check the station on your ticket before you travel.