
Shanghai to Xi'an Train: Times, Prices & Which Train to Pick
Direct high-speed trains run Shanghai Hongqiao to Xi'an North. Compare fastest vs. slower trains, overnight options, seat classes, and booking tips.
On this page
Last updated November 2026: the Shanghai to Xian train is a direct high-speed service from Shanghai Hongqiao to Xi'an North, and the fastest sample timing is 5h 39m. Most other G trains take 7 to 9 hours, so the train you pick matters more than the route. Use the decision table below to match a train to your day.
Featured image: 钉钉, CC BY-SA 4.0, via Wikimedia Commons.
Shanghai to Xi'an Train: The Quick Answer

Take a G train from Shanghai Hongqiao to Xi'an North. No transfer is needed. In Nov 2026 listings, G94 left at 08:55 and arrived at 14:34, a 5h 39m ride. That is the fastest example found. Departures started at 06:09, and the last G train left around 18:19. Daily counts differ by listing, from about 30 to 37 trains. Overnight D trains also run and take roughly 14h 48m to 15h 31m. Book through China Railway's 12306 ticketing site or a reseller. Our China high-speed rail guide covers the basics for the whole network.
Shanghai to Xi'an Trains at a Glance

Treat these as dated samples from Nov 2026 listings, not a permanent timetable. Route distance depends on the path. Trains via Xuzhou East cover about 1,459 km, while the Hefei routing covers about 1,517 km. Listings quote other distances too, so ignore any single figure.
| Train type | Example | Stations | Approx. duration | Best for |
|---|---|---|---|---|
| Benchmark G | G94, 08:55 to 14:34 | Hongqiao to Xi'an North | 5h 39m | Shortest ride |
| Standard G | G1970, 06:09 to 13:20 | Hongqiao to Xi'an North | About 7h 11m | Early start, more stops |
| Slower G | G3164, 09:38 to 17:47 | Hongqiao to Xi'an North | About 8h 9m | Mid-morning departure |
| Hefei-routing G | G3176, G3152 | Hongqiao to Xi'an North | About 8h 26m to 8h 57m | Fallback when others sell out |
| Overnight D | D112, D288, D122, D216, D126, D92 | Songjiang or Shanghai to Xi'an | About 14h 48m to 15h 31m | Saving a hotel night |

Which Train to Choose: Benchmark, Standard, Hefei Routing or Overnight
Duration varies because of stops. The benchmark pairs, G360/361 and G362/359, call at only three intermediate stations: Nanjing South, Xuzhou East and Zhengzhou East. Other G trains add stops at places such as Suzhou North, Wuxi East and Luoyang Longmen. Each extra stop adds minutes. A few services run via Hefei instead of Xuzhou, which lengthens the trip. Every service also carries two numbers, because odd and even numbers mark each direction. So a listing under G1912 and one under G1913 can be the same train. Many services use CRH380B sets, which run at 300 km/h. If you want a stop on the way, Nanjing by high-speed train is a natural break, and Suzhou by train is the first big stop on many trains.

Stations: Shanghai Hongqiao and Xi'an North (Bei)
Most G trains leave Shanghai Hongqiao. A few depart from Shanghai South, and some overnight D trains use Songjiang or the main Shanghai station. Read the departure station on your ticket before you travel. In Xi'an, G trains arrive at Xi'an North. Apps may show "Xi'an North" while train signs and announcements say "Xi'an Bei". It is the same station. Xi'an Railway Station is a different one, and overnight trains may use it. Onward transfers depend on your hotel, luggage and arrival hour. Compare metro, taxi and airport shuttle options on the day. Late arrivals favor a taxi or a pre-booked ride. Look up current routes before you land.
Ticket Prices by Seat Class
Prices and hours checked November 2026. Fares change by train and date, so this guide gives the order instead of a figure. Second class is the cheapest G-train seat, first class costs noticeably more, and business class sits at the top. Sleeper berths exist only on D and overnight services, and they have their own fare scale. Do not compare a sleeper or hard-seat fare with a G-train fare. They are different products on different trains. Look up the current fare in yuan for your date on 12306 or the China Railway official website. Fast trains cost more than slower G trains.
Seat Classes Explained
Second class has a 3+2 layout, so it is the tightest and the cheapest. First class uses 2+2 seating with more room. Business class runs 2+1 or 1+1 on selected trains. Budget travelers should take second class. Families gain from first class when they want seats together and room for bags. Anyone working on a laptop should choose first class and a window seat. Business class suits long-haul comfort. Sleeper classes appear only on selected D services.
How to Book as a Foreigner
Follow these steps to book a ticket.
Collect your paper receipt at a station within 180 days of travel, and read reseller terms too, since one allows refunds up to 60 minutes before departure.
- Enter your name exactly as it appears on your passport.
- Choose Shanghai Hongqiao and Xi'an North to avoid the wrong station.
- Pick your train and seat class, then pay.
- Use only the e-ticket. Paper tickets are not used for high-speed rail.
- Enter the gate with your passport. Reviewers report that no paper ticket was needed.
- Collect a paper receipt for reimbursement at a station within 180 days of travel.
Shanghai to Xi'an Train vs Flight vs Overnight
Compare door-to-door time rather than flight time. Add the ride to the airport, check-in buffers, and the trip from the Xi'an airport to the center. A train adds a ride to Hongqiao, but the station is near the city and the buffer is short. Arrive early enough for the gate. Overnight D trains save a hotel night, but they arrive at dawn. Samples showed arrivals at 03:30 and 04:53, which is an awkward hour. A day train gives you daylight and a flexible arrival. Compare fares for your own date before choosing.
Samples showed arrivals at 03:30 and 04:53 on overnight D trains, so a pre-booked ride from the station makes the dawn arrival easier.
Children, Baggage, Changes and Refunds
Children under 6 travel free if they share an adult's seat, with one free child per adult. Ages 6 to 13 need a child ticket, and 14 and over pay the adult fare. Baggage is limited to 20 kg per adult, and one piece must not exceed 130 cm in total dimensions. Ask the railway for the current rules. Reseller policies differ. One reseller allows a refund up to 60 minutes before departure, one change per ticket, and a waitlist of up to 10 trains. Read the terms of your own booking.
Mistakes to Avoid
These errors cause most missed trains.
- Booking the wrong Shanghai station, such as Shanghai South instead of Hongqiao.
- Mistaking Xi'an North for a different station when signs say Xi'an Bei.
- Assuming every listed train is fast. Some take over 9 hours.
- Trusting one site's average price. Slow and sleeper fares skew it.
- Reaching Hongqiao too late for the gate.
- Booking an overnight D train without reading the dawn arrival time.
Where to Go Next from Xi'an
Xi'an North connects to several onward routes. Hikers can reach Mount Hua day trips by train. A Xi'an to Chengdu rail ride continues the line west. Another option is the walled town of Pingyao. Compare it with arriving from Beijing if you build a loop. A simple plan is two nights in Shanghai, the train to Xi'an, then onward to Chengdu. Add time around each leg.
Frequently Asked Questions
Is there a bullet train from Shanghai to Xian?
Yes. Direct G trains run from Shanghai Hongqiao to Xi'an North with no transfer. Listings show roughly 30 to 37 trains a day.
How long is the bullet train from Xian to Shanghai?
The return takes about the same time. Fast examples run around 5h 53m, while stopping trains take up to about 9h 18m. Each service carries a different number in each direction.
How much is the bullet train from Shanghai to Xian?
Fares depend on train and seat class. Second class is cheapest, and business class costs the most. Look up the current yuan price on 12306 for your date.
Notes on Asia's railways
Optional updates when we revise our train and route guides.
You might also like
Continue reading
More guides you'll find useful


