Back to blog
How-To GuideApril 8, 202612 min read688 views

Beijing to Xi'an by Train: Complete Guide for Foreigners

M

My China Guide

Travel Resource

Last updated: July 21, 2026

Beijing to Xi'an by Train: Complete Guide for Foreigners

The journey from Beijing to Xi'an is one of the great classic rail routes in China. You're traveling between two cities that once served as the capital of Chinese civilization. Beijing was the seat of the Ming and Qing dynasties, and Xi'an was the starting point of the Silk Road and home to the Terracotta Warriors. The 1,216 km route cuts through the North China Plain, crosses the Yellow River, and climbs into the loess plateau of Shaanxi Province. It's a trip that rewards you with real landscape and a real sense of distance.

Most foreign visitors combine Beijing and Xi'an into a single itinerary, and this makes perfect sense. The high-speed train connects the two cities in roughly 4.5 hours, and the overnight sleeper does it while you sleep. Either way, the train is the smarter choice over flying. Xi'an Xianyang Airport (咸阳国际机场) sits 45 minutes northwest of the city center, and once you factor in check-in, security, and the airport transfer, flying saves you almost nothing. The high-speed train drops you at Xi'an North Station (西安北站), which has a direct metro line into the heart of the city. The overnight sleeper goes one better: it arrives at the old Xi'an Station (西安站), within walking distance of the Muslim Quarter and the ancient city walls.

Route Overview

The high-speed line from Beijing West to Xi'an North runs via the Zhengxi (郑西) corridor, passing through Shijiazhuang, Zhengzhou, and Luoyang before reaching Xi'an. G-trains cover the distance in 4 hours 20 minutes to 5 hours 30 minutes depending on the number of stops. Around 30 G-train departures run daily, so you're never short of options.

The overnight alternative is the Z19/Z20 service, a direct express sleeper that departs Beijing West around 8:00 PM and arrives at Xi'an Station at roughly 7:00 AM. You go to sleep in one ancient capital and wake up in another. For many travelers, the overnight train comfort makes this the highlight of the whole trip.

There are also occasional D-trains (dongche, 动车) on this route, slightly slower than the G-trains but with identical seating. They're worth considering if the G-train times don't suit you.

Which Stations You'll Use

Beijing West Station (北京西站)

All trains to Xi'an, both high-speed and overnight, depart from Beijing West Station. This is one of China's busiest stations, and it can feel overwhelming on your first visit. The station is served by Metro Lines 7 and 9, and you should arrive at least 60 minutes before departure, especially during holidays.

Beijing West has two main departure levels. High-speed G-trains depart from the second floor (2F). Follow the signs marked 高铁 (gāotiě, high-speed rail). Security screening and ID checks happen before you reach the waiting halls, and the queues can be long. There's a KFC, a few convenience shops, and several hot water dispensers inside the waiting area.

Xi'an North Station (西安北站)

G-trains and D-trains arrive at Xi'an North Station, a modern high-speed rail hub located about 15 km north of the city center. It's large, clean, and well-organized, but it's not in a particularly interesting part of town.

The station connects to Metro Lines 2, 4, and 14. For most tourists, Line 2 southbound is what you want. The ride from Xi'an North to Bell Tower (钟楼, Zhōnglóu), the geographic and tourist center of Xi'an, takes about 40 minutes. A taxi from Xi'an North to the Bell Tower area costs roughly 50-80 yuan depending on traffic and time of day.

One important note: Xi'an North Station is not convenient for reaching the Terracotta Warriors directly. The famous tourist buses (Bus 306/914/915) to the Terracotta Warriors depart from the old Xi'an Station area, not from North Station. If the Warriors are your first stop, you'll need to transfer via metro first.

Xi'an Station (西安站)

The old Xi'an Station is where overnight Z-trains and some slower K-trains arrive. This station sits just outside the northern city wall, within a 15-minute walk of the Muslim Quarter (回民街) and a short taxi ride from most central hotels.

For the Terracotta Warriors, Xi'an Station is actually the more convenient arrival point. Bus 306 (also labeled 游5, Yóu 5) departs from the east square of the station and takes about one hour to reach the Terracotta Warriors Museum. The fare is 7 yuan one way. Buses 914 and 915 cover the same route but make more stops.

The trade-off is clear: Xi'an North is newer and better connected by metro, but Xi'an Station puts you closer to the historic core and the Warriors bus route. If you're taking the overnight train, this works out perfectly in your favor.

Train Types and Travel Times

G-Trains (High-Speed)

The G-trains on this route are operated by CRH Fuxing (复兴号) and Harmony (和谐号) sets, running at up to 350 km/h. The fastest services complete the journey in about 4 hours 20 minutes with just two or three stops. Slower G-trains that stop at Shijiazhuang, Zhengzhou, and Luoyang take closer to 5 hours 30 minutes.

With around 30 departures daily, trains run from early morning (around 6:30 AM) through late afternoon (around 6:00 PM). The most popular departures for tourists tend to be mid-morning trains (8:00-10:00 AM), which arrive in Xi'an by early afternoon, giving you time to settle in and explore the Muslim Quarter that evening.

Z-Trains (Overnight Sleeper)

The Z19 (Beijing West to Xi'an) departs around 7:50 PM and arrives at approximately 7:20 AM. The return Z20 (Xi'an to Beijing West) runs on a similar schedule. These are direct express services with no intermediate stops, which means uninterrupted sleep.

The Z-train offers two sleeper classes: soft sleeper (软卧, ruǎnwò) and hard sleeper (硬卧, yìngwò). Soft sleeper compartments have four berths behind a lockable door, two upper and two lower, with a small table, reading lights, and a decent amount of privacy. Hard sleeper is an open-plan arrangement with six berths stacked three high in bays along the corridor, separated by partial partitions but no doors.

Both are perfectly serviceable. Soft sleeper is the obvious choice for comfort and privacy. Hard sleeper is the more social and authentic Chinese train experience. You'll likely share instant noodles and curious conversation with your bay-mates.

Ticket Prices

Prices are standardized by China Railway and don't fluctuate like airline fares. Current rates:

G-Train (High-Speed):

  • Second Class (二等座): ~515 yuan ($71)

  • First Class (一等座): ~824 yuan ($113)

  • Business Class (商务座): ~1,629 yuan ($224) — lie-flat seats, rarely necessary for a 4.5-hour trip

Z-Train (Overnight Sleeper):

  • Hard Sleeper (硬卧): ~240 yuan ($33) — lower berths cost slightly more than upper berths

  • Soft Sleeper (软卧): ~360 yuan ($50)

The Beijing-Xi'an route is less competitive than Beijing to Shanghai, so tickets are generally easier to get. You can usually find availability 3 to 5 days before travel, and often even the day before during off-peak periods.

The exceptions: During National Day Golden Week (October 1-7) and Chinese New Year (late January/February), this route gets extremely busy. Xi'an is one of China's top domestic tourism destinations, and the Terracotta Warriors draw massive crowds during these holidays. Book as soon as the 15-day advance window opens if you're traveling during peak periods. April through October is the general peak season for Xi'an tourism, with April and May being especially popular. Weekends in this period can also sell out faster than weekdays.

Foreign passport holders can book through the official 12306.cn website or app (English interface available), or through Trip.com, which handles the passport-number ticketing smoothly. Pick up tickets at the station using your passport at the designated foreign-passport windows or automated machines that accept passport scans.

Onboard Experience

G-Train

The high-speed experience on this route is comfortable and predictable. Second Class seats are arranged 3+2 across, with decent legroom, fold-down tray tables, power outlets between seats, and free Wi-Fi on newer Fuxing trains (though speeds are unreliable). First Class gives you wider 2+2 seating with more recline and slightly better legroom.

For the first half of the journey, across the North China Plain from Beijing through Hebei, the scenery is flat agricultural land. Not much to look at. Things get more interesting after Zhengzhou, when the train enters the Wei River valley and the loess plateau of central Shaanxi. The landscape transforms into yellow-earth hills, terraced farmland, and the occasional cave dwelling carved into a hillside. Sit on the right side of the train (heading west) for the best views of this terrain.

A trolley cart passes through regularly selling snacks, instant noodles, drinks, and boxed meals (35-60 yuan). The meals are edible but unremarkable, usually fried rice or a meat-and-vegetable set over rice. Bringing your own food is perfectly normal and common. Hot water boilers (开水器) sit at the end of each car for brewing tea or instant noodles.

Overnight Z-Train

The overnight sleeper is a different experience entirely and one worth having at least once. After departure, the car attendant will check your ticket, distribute a bedding packet (sheet, pillow, thin blanket), and dim the lights around 10:00 PM.

Each car has a hot water boiler at one end, and the ritual of filling your cup noodles or thermos from it is a quintessential Chinese train moment. The dining car (餐车) serves basic stir-fry dishes and beer until around 9:00 PM. Bathrooms are at the ends of each car. Soft sleeper gets Western-style toilets; hard sleeper has a mix of squat and Western. They're functional, not luxurious. Bring your own toilet paper, just in case.

The social atmosphere of hard sleeper is something no high-speed train can replicate. Your Chinese neighbors may offer you sunflower seeds, fruit, or snacks. They'll be curious about where you're from. Even with a language barrier, there's a warmth to the interaction that makes the journey memorable. If you enjoy a slower pace and human connection, the overnight train delivers something a 4.5-hour bullet train simply cannot.

Practical Tips

Navigating Beijing West Station: This station is a maze if you don't know where you're going. Enter through the main south entrance. The high-speed departure hall is on the second floor (2F). Follow signs for 高铁候车 (gāotiě hòuchē, high-speed waiting room). Your ticket or e-ticket will show a waiting room number, like W1 or W2. Head there, find a seat, and wait for your train number to appear on the departure boards. Boarding typically opens 15-20 minutes before departure.

Getting into Xi'an from North Station: Exit the station and follow signs for the metro (地铁). Take Line 2 southbound. For the Bell Tower area and most central hotels, exit at Bell Tower Station (钟楼站). The ride takes about 40 minutes. If you're heading to the Muslim Quarter, Bell Tower is the right stop. The Quarter's entrance on Beiyuanmen Street is a 5-minute walk north.

Terracotta Warriors logistics: The Warriors are in Lintong District, about 40 km east of downtown Xi'an. From the Xi'an Station east square, take Bus 306 (游5). It costs 7 yuan, takes about one hour, and drops you right at the museum entrance. The bus runs from around 7:00 AM to 7:00 PM. Avoid anyone at the station who tries to sell you a "direct shuttle." Stick with the official green public buses. Alternatively, book a half-day tour or take a DiDi, which costs roughly 120-150 yuan one way.

Save a hotel night with the overnight train: If your schedule allows, the Z19 departing Beijing around 8 PM is a brilliant move. You avoid paying for a hotel that night, and you arrive in Xi'an at 7 AM with the whole day ahead of you. Soft sleeper is comfortable enough for a good night's rest. Book a lower berth (下铺, xiàpù) if possible. It's easier to get in and out of, and you can sit upright during the evening before lights out.

Food and supplies: Whether you're on the G-train or the sleeper, grab snacks before boarding. Beijing West has convenience stores inside the station, but prices are slightly marked up. A cup of instant noodles, some fruit, and a bottle of water is the classic Chinese train provision. The hot water boilers on every train make instant noodles and tea always available.

Passport and tickets: Keep your passport accessible. You'll need it for ID checks entering the station, at the boarding gate, and occasionally during onboard ticket inspections. If you booked via 12306 or Trip.com using your passport number, your passport itself is your ticket. Just scan it at the automated gates.

Arrival and Onward Connections

From Xi'an North Station:

  • Metro Line 2 southbound to Bell Tower (钟楼) — 40 minutes, 4 yuan

  • Metro Line 4 connects to the Big Wild Goose Pagoda (大雁塔) area — transfer at Wulukou (五路口)

  • Taxi to city center: 50-80 yuan, about 30-40 minutes depending on traffic

  • DiDi (China's Uber): slightly cheaper than taxi, works well from the station

From Xi'an Station (overnight train):

  • Walk south through the city wall gate to reach the Bell Tower and Muslim Quarter in about 20-25 minutes

  • Bus 306/914/915 to Terracotta Warriors from the east square — 7 yuan, ~1 hour

  • Metro Line 1/4 available at nearby stations for other destinations

Day trips from Xi'an:

  • Terracotta Warriors + Huaqing Hot Springs: A natural combination, both in Lintong. Bus 306 serves both. Allow a full day.

  • Huashan (华山): One of China's Five Sacred Mountains, reachable by a 30-minute G-train from Xi'an North to Huashan North Station (华山北站), then a shuttle bus to the mountain entrance. Tickets ~55 yuan.

  • Hanyangling Museum (汉阳陵): A lesser-known but stunning underground Han Dynasty tomb museum, reachable by tourist bus from Xi'an.

The Beijing-to-Xi'an train journey is easy, affordable, and one of the most practical intercity routes in China for foreign travelers. Whether you choose the speed of the G-train or the atmosphere of the overnight sleeper, you're covering one of the country's most historically rich corridors. And you're doing it the way tens of millions of Chinese travelers do every year.

Tags

#train#beijing#xi'an#transport

Get the Full Step-by-Step Guide

Complete tutorials with offline access, interactive tools, and real-time data.