GoAsia
How to Get from Xian to Shanghai

How to Get from Xian to Shanghai

Last updated: October 16, 2026
Contents

Leaving behind the ancient terra cotta warriors of Xian for the futuristic, neon-lit skyline of Shanghai marks a dramatic transition from China's imperial past to its hyper-modern future. While Xian feels like walking through a living museum of the Silk Road, Shanghai is a pulse-pounding metropolis where colonial architecture on the Bund stares across the river at some of the world's tallest skyscrapers. This route is one of the most popular corridors for travelers looking to experience the full spectrum of Chinese history and innovation.

Train, Bus, Flight and Ferry tickets

Booking and payment are handled by 12Go, not GoAsia. We may receive a commission when you book through our links.

The journey spans a long distance across the heart of China. Whether you are finishing a tour of Shaanxi province or heading to the coast for business, you can choose between a flight and a high-speed train. You can compare options and book on GoAsia.cc.

Xian to Shanghai by Flight

Flying is the quickest way to bridge the gap between central China and the eastern seaboard, saving a significant amount of time compared with the train. Flights typically depart from Xian Xianyang International Airport (XIY) and arrive at either Shanghai Pudong International Airport (PVG) or Shanghai Hongqiao International Airport (SHA). Fares and flight times vary by airline and date, so check current schedules before you book.

Pudong is the primary international hub, about 30 km from downtown Shanghai, while Hongqiao is about 13 km from the city center and mainly handles domestic flights.[1] Hongqiao Terminal 2 is served by Metro Lines 10 and 2, and Pudong by Metro Line 2 or the maglev to Longyang Road.[1]

Xian to Shanghai by Train

The high-speed train is a serious alternative. On the 12306 timetable for October 2026, 36 services run from Xian to Shanghai. The fastest G trains, G96 and G92, take 5 hours 50 minutes and 5 hours 52 minutes from Xian North to Shanghai Hongqiao. Most other G trains take between 7 and 9 hours.[2]

The platforms at Xian North Station
The platforms at Xian North StationPhoto: A Chinese ID / Wikimedia Commons, CC BY-SA 4.0

Other D, Z and K trains leave Xian station, several of them overnight, and take between about 15 and 21 hours, so they suit travelers who prefer to sleep on board.[2]

Comparing Your Options

ServiceDeparts fromDuration (October 2026 timetable)
G high-speed train (fastest)Xian North5h 50min - 5h 52min[2]
G high-speed train (other)Xian North7h - 9h 1min[2]
D, Z and K trainsXian14h 57min - 21h 5min[2]

Tips for Traveling from Xian to Shanghai

  • Airport Selection: In Shanghai, land at Hongqiao Airport (SHA) if you want a shorter trip to the city center. If you are staying in the Pudong financial district, Pudong Airport (PVG) is more convenient.
  • Booking Ahead: Prices tend to spike during Chinese national holidays like Golden Week or the Lunar New Year, so book as early as you can.
  • Station Names: Xian has two relevant stations. G trains leave from Xian North, while the other trains leave from Xian station. Check the station on your ticket.[2]
  • ID Requirements: Foreign passengers buy real-name train tickets with their passport and must show the same document to enter the station and board the train.[3] You also need your passport to check in for a flight.

Timetable

Flight Xian - Shanghai $ 86.24–471.07 2h 5m – 2h 50m
  • →  Economy 05:50, 06:30, 07:30, 07:35, 08:30, 09:00, 10:00, 10:30, 11:00, 11:30, 12:00, 12:30, 12:55, 13:00, 13:30, 14:00, 14:40, 15:30, 15:35, 16:00, 17:00, 17:30, 18:00, 18:45, 19:10, 19:30, 19:35, 20:00, 20:30, 20:45, 21:00, 21:25
Train Xian - Shanghai $ 40.93 15h 3m
  • →  Second Class Seat 15:10

Frequently Asked Questions

How can I book tickets from Xian to Shanghai?

Use the booking tool on this page to compare the transport options currently available from Xian to Shanghai, including current prices and schedules.

What is the cheapest way to get from Xian to Shanghai?

Compare the current prices for your date. A second class seat is the economy option on the train, while flight prices vary with the airline and how early you book. Check train fares on 12306.

What is the fastest way to get from Xian to Shanghai?

Flying is the fastest way, although the quickest high-speed trains, G96 and G92, take 5 hours 50 minutes to 5 hours 52 minutes on the 12306 timetable for October 2026.

How long does it take to get from Xian to Shanghai?

High-speed trains take between 5 hours 50 minutes and about 9 hours on the 12306 timetable for October 2026, and D, Z and K trains take about 15 to 21 hours. Flight times vary by airline; add time for airport transfers and security.

Which airports serve the Xian to Shanghai route?

Flights depart from Xian Xianyang International Airport (XIY) and arrive at either Shanghai Pudong (PVG) or Shanghai Hongqiao (SHA).

Which train station should I use in Xian?

High-speed G trains depart from Xian North. D, Z and K trains depart from Xian station.

Is it better to arrive at Pudong or Hongqiao airport in Shanghai?

Hongqiao (SHA) is generally better for travelers heading to the city center or catching a high-speed train, while Pudong (PVG) is ideal if your hotel is in the eastern part of the city.

Sources and background

Numbers in the text such as [1] refer to these sources.

  1. [1] Shanghai Municipal People's Government: Transportation at Shanghai airports. Retrieved October 15, 2026.
  2. [2] China Railway (12306): 12306 ticket search: Xian North to Shanghai Hongqiao, October 2026. Retrieved October 15, 2026.
  3. [3] China Railway (12306): 12306 FAQ. Retrieved October 15, 2026.

Guide prices and journey times are indicative, not live quotes. A booked package may include transfers and waiting time as well as the main journey. Check the selected offer, pickup point and current conditions before booking.