
Xi'an to Pingyao Train: Times, Station and Booking Guide
Direct high-speed train from Xi'an to Pingyao in about 2.5 hours. Station tips, booking steps for foreigners, and whether to day-trip or stay overnight.
On this page
Last updated November 2026: the Xi'an to Pingyao train is a direct high-speed service, and it is the fastest way to reach the walled old town. Trains run from Xi'an North to Pingyao Ancient City station with no change needed, and the quickest journey takes 2h 25m. Below you will find the timetable, the station trap at the other end, booking steps for foreigners and a day-trip versus overnight decision.
Featured image: Zhou Guanhuai, CC BY-SA 4.0, via Wikimedia Commons.

Quick answer: Xi'an to Pingyao train
Yes, direct high-speed trains link Xi'an and Pingyao, and you do not need to change. They use the Datong–Xi'an high-speed line, which runs via Taiyuan. Expect about 12 trains a day, with the fastest covering the 431 km in 2h 25m.
- Route: Xi'an North to Pingyao Ancient City station
- Direct: yes, G/D high-speed trains
- Fastest journey: 2h 25m
- Frequency: about 12 trains a day
- First and last departures: 07:39 and 17:25
- Tickets on sale: 15 days before departure
Train schedule and journey details
Departures start at 07:39 and finish at 17:25. That gives you a daytime-only service, so there is no evening or overnight option on the fast line. The fastest trains take 2h 25m, and the route covers 431 km. Other services stop more often and run longer. Timetable checked November 2026; confirm your exact train number on China Railway's 12306 site before you book. Xi'an North is the station for these trains. Arrive at least 45 minutes early, because you pass through ID and security checks before the gate. Coming from Beijing or Shanghai? Our guides to the Beijing to Xi'an train and the Shanghai to Xi'an route explain how to reach Xi'an first.
From the station to Pingyao old town
Pingyao Ancient City station is a high-speed station outside the walled old town, and the rail line does not run inside the walls. Plan a short road transfer by taxi or a pickup arranged with your inn. No official transfer time or fare is published here, so ask your accommodation for its current quote when you book. Cars cannot drive freely inside the old town, so expect to walk the last stretch with your bags. Late arrivals need extra care. If your train reaches Pingyao after dark, message your inn in advance and send the exact address in Chinese. The last train leaves Xi'an at 17:25, so the latest day-trip return is tight.
Ticket prices and seat classes
No current fare in yuan is confirmed for this route, so check the live price on 12306 for your date. Fares depend on train type and seat class. The fast G trains usually cost more than slower D trains, and first class costs more than second. Second class has 3+2 seating, which is fine for a ride of about 2.5 hours. First class has 2+2 seating and more room. It is worth the upgrade if you are tall, carry a laptop or want a quieter carriage. Business class appears only on some trains. Sleeper cars apply to slower services and are not relevant on the fast line.

| Class | Seating | Best for |
|---|---|---|
| Second class | 3+2, recliner seats | Most travellers on a 2.5-hour ride |
| First class | 2+2, more legroom | Extra space, working on the train |
| Business class | 2+1 or 1+1, some trains only | Maximum comfort if offered |
How to book Xi'an to Pingyao train tickets step by step
Tickets go on sale 15 days before departure, and the fastest trains tend to sell out. Book as early as the window allows, especially around public holidays. You can buy on 12306, through a third-party app or at a station counter. Foreigners need a passport for every method. The China Railway official website links to the national booking services. Our China high-speed train guide covers the full booking process. The usual steps are below.
- Choose Xi'an North as the origin and Pingyao as the destination.
- Pick your travel date from the calendar.
- Select a train and a seat class.
- Enter each passenger's name exactly as it appears on the passport.
- Pay, then keep your booking number.
- Board by scanning your passport at the gate.
Tickets for children, luggage and ID rules
Children under 6 travel free if they share an adult's seat, with a limit of one free child per adult. A child who needs a seat, or any extra child, needs a child ticket. Ages 6 to 13 pay the child fare, and travellers aged 14 or older pay the adult fare. Luggage is limited to 20 kg per adult, and each bag must not exceed 130 cm in combined length, width and height. Xi'an North has no left-luggage service on the train itself, so carry your own bags. You can change a ticket once, and a name or ID mismatch cannot be corrected afterwards. Refunds close 60 minutes before departure, and a request inside that window is not guaranteed. If a train is full, the waitlist lets you select up to 10 trains at once.
Out of about 12 trains a day, you can select up to 10 trains at once on the waitlist when your first choice is full.
Day trip or overnight in Pingyao?
A day trip costs roughly 5 hours of train time, a figure derived from two 2h 25m legs. That leaves little time inside the old town walls once you add station transfers. Stay overnight if you can. Take a morning train, walk the old town in the afternoon and see the lanes at dusk and again at dawn. Choose a day trip only if you are short on days. For another Xi'an excursion, our Xi'an to Huashan day trip is the easier one-day option.
Starting late makes a day trip harder, because the last train leaves Xi'an at 17:25 and you still need the road transfer from Pingyao station.
| Option | Time | Best for |
|---|---|---|
| Day trip | About 5 hours of train travel plus transfers | Short stays, a quick look at the walls |
| One night | Morning train out, next-day return | Dusk and dawn in the old town |
| Two nights | Slower pace, more courtyards | Photography, quiet lanes |
Where to stay in Pingyao
Stay inside the old town if your budget allows, because the lanes empty after the day visitors leave. Courtyard inns on streets such as Zhengfu Street are a common choice. Winter nights are cold, so ask about heating before you book. A hotel near the station is simpler for an early train, but you lose the evening atmosphere. Choose by your priorities: walls and lanes on your doorstep, or a short ride back to the platform.
Alternatives and onward routes
Slower trains and buses exist, but they add hours without saving much effort. A private car works for groups with heavy luggage, although road times vary. Pingyao also sits on a longer route. From Pingyao you can continue to Taiyuan or on to Beijing, and our Beijing to Pingyao guide covers that line. Heading south-west from Xi'an instead? See our Xi'an to Chengdu train page.
| Option | Time | Cost level | Comfort | Best for |
|---|---|---|---|---|
| Fast G/D train | 2h 25m fastest | Mid | High | Most travellers |
| Slower train | Longer than the fast line | Lower | Medium | Flexible schedules |
| Bus or private car | Varies with traffic | Varies | Medium | Groups, door-to-door |
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


