Beijing to Xi’an by Train: Day Seats or a Sleeper?
Compare direct daytime and overnight trains, the stations each uses, passport boarding and an overnight stop in Pingyao between Beijing and Xi’an.
By day, G351 runs Beijing West to Xi’an North in 4 hours 10 minutes for ¥587 in second class; by night, the D43 sleeper takes 11 hours 54 minutes and a second-class berth costs ¥300, which saves a hotel night. It also arrives somewhere different: Xi’an station, just north of the city wall, rather than Xi’an North, well outside the old city. And a night in Pingyao on the way costs less in train fares than the direct G351.
Times and fares are 12306’s for departures on 17 November 2026 (the Pingyao leg on 18 November), read on 7 November; check your own date there before you book. Currency conversions use the European Central Bank’s reference rates of 14 October 2026.
Three examples with different uses for your time
G351 left Beijing West at 07:55 and reached Xi’an North at 12:05 in the checked timetable, a calculated journey of 4 hours 10 minutes. Its second-class fare was ¥587, approximately US$87.70, £66.10 or €78.35 at reference rates dated 14 October 2026. That buys the rail journey; add travel to and from the stations when deciding how much of the day it takes.
G2455 is the cheaper day train: ¥470, around US$70.25, £52.95 or €62.75. Its fare moves with the day: for departures from 10 to 22 November 2026 it ranged from ¥466 to ¥475, while G351 stayed at ¥587 throughout. It used Beijing North, leaving 08:08 and arriving at Xi’an North at 14:51, a calculated 6 hours 43 minutes. Against G351 that’s ¥117 less, about US$17.50 / £13.20 / €15.60, for 2 hours 33 minutes more on board, from a different Beijing station. It’s worth it if Beijing North is nearer your hotel, or if you’d arrive in the afternoon anyway.
The overnight example, D43, left Beijing West at 20:29 on 17 November and arrived at Xi’an station at 08:23 on 18 November, a calculated 11 hours 54 minutes. The checked second-class sleeper fare was ¥300, about US$44.80, £33.80 or €40.05; first-class sleeper was ¥458, roughly US$68.45, £51.60 or €61.15. Against G351, the second-class berth saves ¥287, about US$42.90 / £32.30 / €38.30, before you count the hotel night it replaces.
Take G351 if you want the afternoon in Xi’an: you’re there by lunchtime. Take the sleeper if the hotel night is the bigger cost, and plan the first morning, because you’ll be off the train at 08:23, probably before your room is ready.
Every train on 17 November 2026
For 17 November, 12306 listed 37 train numbers between Beijing and Xi’an stations on 7 November: 23 G trains, 10 D trains, and four conventional trains (K507, K545, T55 and Z179). The G trains took between 4h10 and 6h43, and the sleeper D trains between 11h45 and 12h43. Here’s a cross-section, with second-class seat fares for the G trains and second-class berth fares for the D trains:
| Train | From | Departs | To | Arrives | On board | Fare |
|---|---|---|---|---|---|---|
| G651 | Beijing Fengtai | 06:38 | Xi’an North | 12:20 | 5h42 | ¥522 |
| G351 | Beijing West | 07:55 | Xi’an North | 12:05 | 4h10 | ¥587 |
| G2455 | Beijing North | 08:08 | Xi’an North | 14:51 | 6h43 | ¥470 |
| G969 | Beijing West | 09:10 | Xi’an North | 15:07 | 5h57 | ¥587 |
| G365 | Beijing West | 09:55 | Xi’an North | 14:05 | 4h10 | ¥587 |
| G369 | Beijing West | 19:00 | Xi’an North | 23:11 | 4h11 | ¥587 |
| D101 | Beijing West | 15:52 | Xi’an | 03:37 | 11h45 | ¥295 |
| D39 | Beijing West | 18:30 | Xi’an | 06:24 | 11h54 | ¥300 |
| D41 | Beijing West | 20:03 | Xi’an | 08:46 | 12h43 | ¥320 |
| D43 | Beijing West | 20:29 | Xi’an | 08:23 | 11h54 | ¥300 |
Three things stand out. The earliest G leaves from Beijing Fengtai at 06:38 and the last from Beijing West at 19:00, so a day train fits almost any plan. Price doesn’t follow speed: G969 takes 5h57 and costs the same ¥587 as G351’s 4h10, so read the time before you click on the fare. Among G trains the second-class fares ran from ¥470 to ¥618 that day, and the G353, at 4h13, was the dearest.
Among the sleepers, D101 and D29 pull in at 03:37 and 03:46, when the city is still asleep, while D43 at 08:23 and D41 at 08:46 give you a morning. D15 and D117 end at Xi’an East, a different station again, so check the arrival station before you buy.
The station name can change your morning
The examples use Beijing West, Beijing North and Beijing Fengtai, three different departure stations, so give a driver or the metro app the station on your ticket, with its Chinese name; the Beijing guide covers getting around the city.
At the other end, Xi’an North and Xi’an are different stations. G351 and G2455 arrive at Xi’an North, which is on metro Line 2, direct to the Bell Tower inside the wall (Xi’an guide); D43 arrives at Xi’an station, just north of the wall itself.
Long-distance destination boards may also name a city beyond the one where you are getting off. G351 continued towards Lanzhou West in the checked timetable. Use your train number and the booked Xi’an stop to identify the service, then pay attention to announcements as you approach your arrival.
Secure the place before arranging the rest of the day
For direct purchase, prepare a real-name 12306 account and passport verification in advance. The 12306 booking comparison covers the broader buying process and assisted-booking alternatives. Here, concentrate on matching the date, stations and class to the journey you’ve chosen.
Get the passport check on your 12306 account done before you count on buying: until it shows as verified, don’t build the trip around a ticket.
For a night train, read the product name carefully before paying. A second-class sleeper and a second-class seat are different choices. Confirm that the booking is for the sleeping accommodation you intended, then check the class and berth on the issued ticket.
At the station, keep the passport within reach
At Beijing West and at Xi’an, the passport you booked with is the ticket: you show it to enter the station, to board and to leave, and the 12306 guide covers the automatic gates and the staffed lane. Ticket checks close before departure at a time each station sets, so leave room for security as well as the walk to the platform.
Luggage limits are the railway’s general rules, not something specific to this route: the 12306 booking guide gives the carry-on weight and the size limit on high-speed trains. Check the current restrictions as well if you’re carrying unusual equipment or items whose transport needs approval.
Changes in travel plans are easier to address before the original departure. Check the options and amount shown by 12306 or the service that issued your ticket, including any fare difference; our 12306 guide sets out the change and refund fees.
A night in Pingyao changes the trip
You can turn the transfer into a short route through Pingyao, with an overnight stay between the two rail legs. In the checked example, G621 on 17 November 2026 left Beijing Fengtai at 07:12 and reached Pingyao Gucheng at 10:54. D2507 on 18 November then left Pingyao Gucheng at 08:50 and arrived at Xi’an North at 11:25.
Those dates allow one night in Pingyao between the services. The two second-class fares add up to ¥410, approximately US$61.25, £46.20 or €54.70, which is ¥177 less than G351 alone, about US$26.45 / £19.95 / €23.60. The hotel, the ride between station and town, food and Pingyao’s admission come on top, and both legs need checking for your own dates.
Pingyao Gucheng is the high-speed station name to use for this example. Plan the journey into town and back separately, and allow time to collect luggage before returning to the station. With the next morning’s departure booked, the afternoon and evening become the main part of your stay. Stay longer if you want a less compressed look at the town.
Stop in Pingyao if the walled town is on your list anyway; if your days are already tight, the direct train gives Xi’an the afternoon. The ten-day and two-week China itinerary builds two nights there into a fortnight.