Short answer
High-speed trains run from Beijing to Pingyao Ancient City station (平遥古城站) in about 3 hours 35 minutes to 4 hours on the fastest services, with slower D trains stretching to about 5 hours 30. The route is roughly 590–610 km and passes through Shijiazhuang and Taiyuan. Second class costs roughly ¥183 to ¥280, with G trains at the top of that range and D trains at the bottom.
Two things make this route harder than it looks. First, there are only about three to four high-speed trains a day from Beijing — this is a low-frequency line, not a shuttle, so a sold-out date is a genuine problem. Second, Pingyao has two stations with confusingly similar names: Pingyao Ancient City station for high-speed trains, out in the countryside, and the old Pingyao station for normal-speed overnight trains, right beside the town wall. Book the wrong one and you will arrive ten kilometres from where you wanted to be.
If the direct train does not suit you, the standard workaround is to ride to Taiyuan South and change. There are around 23 high-speed trains a day between Taiyuan South and Pingyao Gucheng, the connection takes about 40 minutes, and second class on that leg is only about ¥28.5.
Two stations called Pingyao
This is the single most common mistake on the route, and it is worth reading twice. Pingyao is served by two completely separate stations, several kilometres apart, used by two different classes of train.
| Pingyao Ancient City (平遥古城站) | Pingyao (平遥站) | |
|---|---|---|
| Chinese name on your ticket | 平遥古城 | 平遥 |
| Trains that use it | High-speed G and D trains | Normal-speed K and overnight trains |
| Distance to the walled town | About 8–10 km | About 1–1.5 km |
| Getting into town | Bus 108 or a taxi, ¥25–¥30 | A 10–20 minute walk from the west or south gate |
| Opened | 2014, purpose-built for the high-speed line | Long-standing station on the old line |
平遥古城 and 平遥 are two different places. If you have booked a high-speed ticket you are arriving at Pingyao Ancient City station, in the countryside south-west of town. Check the characters on your confirmation, not just the English name.
Times and fares
The high-speed trains split into two families. G trains are the fast ones at around 3 hours 35 to 4 hours. D trains are cheaper and slower, running about 4 hours 20 to 5 hours 30 depending on how many stops they make. The published figures below come from the route guides listed at the foot of this page; fares are set by China Railway and shift with season and demand.
| Class | G trains | D trains |
|---|---|---|
| Second class | About ¥213 – ¥280 (published figures range up to ¥321) | From about ¥183 |
| First class | About ¥322 – ¥448 | From about ¥254 |
| Business class | About ¥698 – ¥795 | Not generally available |
The wide spread is not noise — it reflects different train types, different stopping patterns, and a fare adjustment that has pushed second class on the fastest trains upward. Budget around ¥250 for second class and treat anything cheaper as a win. Confirm the exact fare on 12306.
On a four-hour journey, first class is a more defensible upgrade than on a thirty-minute hop: 2+2 seating in a smaller cabin, with noticeably more room for the legs.
Which Beijing station?
Published route guides disagree on this, which is itself the useful information: high-speed trains to Pingyao have been listed as departing from Beijing West (北京西站) by some sources and Beijing Fengtai (北京丰台站) by others, with occasional mentions of Qinghe and Beijing North. Both West and Fengtai are real, both have served this corridor at different times, and which one your train uses depends on the specific service.
The practical rule: read the departure station off your own ticket and go to that one. Do not assume Beijing West because a guide said so.
- Beijing West is in Fengtai district, about 8 km south-west of the Forbidden City, on metro lines 7 and 9. It is the terminus for high-speed trains heading down the Beijing–Guangzhou line and for the Lhasa and Kowloon trains.
- Beijing Fengtai is on metro lines 10 and 16, with a large number of bus routes. It is a newer, very large station and handles a lot of the high-speed services on this corridor.
How few trains there are
Compare this to the Guangzhou–Shenzhen corridor, where hundreds of trains a day mean you can ignore the timetable. Here there are roughly three to four high-speed departures a day from Beijing to Pingyao, spread across the morning and afternoon, and a similar number coming back. Some route guides count only two or three. Whatever the exact number on the day, the order of magnitude is the point: single digits.
How to buy the ticket
- Register on 12306 with your passportBoth the English site and the app accept foreign passports. The name must match the machine-readable zone exactly, character for character.
- Add yourself as a passengerAn account alone is not enough. Enter your passport number and expiry and let verification complete — days before travel, not at the station.
- Bind Alipay or WeChat Pay12306 does not take foreign credit cards directly. Both wallets accept foreign cards after passport verification.
- Search Beijing → 平遥古城, not just "Pingyao"Select the arrival station carefully. This is the step where people book the wrong station.
- Pay and keep the confirmation in the appYour passport is your ticket. Nothing to print, nothing to collect.
Third-party booking sites sell the same seats with a booking fee and a smoother English interface. The official channel has no markup, full waitlist access and direct changes and refunds.
From Pingyao Ancient City station into town
The station sits roughly 8 to 10 km from the walled town, so you will need transport. There are two options and one important caveat.
- Bus 108. About ¥1–¥2 per person and roughly 40–45 minutes. Ask the driver to tell you when you reach the south gate. Slow with luggage, but very cheap.
- Taxi. Around ¥25–¥30 and 20–30 minutes. The fastest and most convenient option, and worth the money after a four-hour train.
- Your hotel may collect you. Many guesthouses inside the old town offer free or cheap pickup — ask when you book, and give them your arrival time and train number.
- Taxis cannot drive inside the walls. Whatever option you take, the last stretch is on foot through one of the gates. Tell your driver which gate is nearest your accommodation.
The overnight alternative
If the daytime high-speed trains do not fit, normal-speed overnight trains run between Beijing West or Beijing Fengtai and the old Pingyao station, taking roughly 9 to 12 hours. You sleep on the train and walk into town in the morning; the station is only about a kilometre from the wall.
| Class | Typical fare | What it is |
|---|---|---|
| Hard sleeper | Around ¥230 | An open bay of six bunks stacked three high, no door, small table between the lower two. |
| Soft sleeper | Roughly ¥253 – ¥375 | A closed four-berth compartment with a door that locks. |
Bottom bunks cost slightly more than top ones and are easier to get in and out of. If you sleep badly next to strangers, or you are travelling with a partner and want privacy, soft sleeper is worth the difference.
Pingyao also sits on the Xi'an–Taiyuan high-speed corridor, so it works well as a stop between Beijing and Xi'an rather than a there-and-back trip. From Xi'an North, high-speed trains to Pingyao Gucheng take about 2.5 to 3 hours.
Frequently asked questions
How long is the train from Beijing to Pingyao?
About 3 hours 35 minutes to 4 hours on the fastest G trains, and roughly 4 hours 20 to 5 hours 30 on slower D trains. The route is about 590–610 km.
How much is a ticket from Beijing to Pingyao?
Second class runs from about ¥183 on D trains to roughly ¥213–¥280 on G trains, with published figures reaching ¥321. First class is about ¥254–¥448 and business class about ¥698–¥795. Confirm on 12306 for your date.
Which station does the high-speed train arrive at in Pingyao?
Pingyao Ancient City station, 平遥古城站. It is about 8–10 km from the walled town. The old Pingyao station, 平遥站, is a different station used by normal-speed trains and sits right beside the town.
Does the train leave from Beijing West or Beijing Fengtai?
Both have served this corridor. Published guides list either, and which one your train uses depends on the specific service. Read the departure station on your own booking confirmation rather than assuming.
How many trains a day run from Beijing to Pingyao?
Only about three to four high-speed services a day, spread across the morning and afternoon. Some guides count fewer. This is a low-frequency route, so book ahead.
How do I get from Pingyao Ancient City station to the old town?
Bus 108 costs about ¥1–¥2 and takes 40–45 minutes. A taxi costs around ¥25–¥30 and takes 20–30 minutes. Many guesthouses inside the walls offer pickup if you ask in advance. No vehicle can drive inside the walls, so the last stretch is on foot.
Is there an overnight train from Beijing to Pingyao?
Yes. Normal-speed overnight trains run from Beijing West or Beijing Fengtai to the old Pingyao station in about 9–12 hours, with hard sleeper around ¥230 and soft sleeper roughly ¥253–¥375. You arrive at a station about a kilometre from the town wall.
What if the direct high-speed train is sold out?
Submit a free waitlist request on 12306, and consider routing via Taiyuan South. There are around 23 high-speed trains a day between Taiyuan South and Pingyao Gucheng, the connection takes about 40 minutes, and second class on that leg is about ¥28.5.
Related reading
Journey times, fares, station details and service frequency were compiled from TravelChinaGuide's Beijing–Pingyao high-speed train page and Pingyao Gucheng station guide, China Highlights' Beijing–Pingyao trains page and Pingyao Gucheng station page, China Discovery's Beijing–Pingyao schedule page, and station guides for Pingyao Ancient City station, cross-checked against a live Beijing–Pingyao departure search. Departure station, fares and daily train counts on this route have varied between sources and seasons, confirm your specific journey on 12306 before you rely on any figure here.