
When travelling between Chinese cities, high-speed rail is usually more convenient than flying: stations are often in city centres, you don't need to arrive far in advance or check in luggage, and services aren't affected by the weather. Foreign visitors can buy tickets after registering and completing identity verification on 12306 (the official China Railway booking platform) using their passports. Tickets go on sale 15 days before departure, and popular routes can sell out quickly during public holidays. Before travelling, check three things: that the name and passport number match the ticket, that the departure station is correct, and that you bring the original passport used to book when entering the station.
China's high-speed rail network is extensive, covering almost all major cities and many small and medium-sized destinations. This article first explains how trains are classified and how to choose a seat, then covers how foreign visitors can buy tickets and enter stations, before introducing several frequently used routes, including Beijing–Shanghai and Shanghai–Hangzhou. Station rules, fares and app features may change, so check them before travelling, especially during public holidays and when using a foreign passport.
What types of trains are there in China, and which should you choose?
Most foreign visitors only need to consider three types of train: those with a G, D, K, T or Z prefix.
| Type | Features | Suitable for |
|---|---|---|
| G prefix (high-speed trains) | The fastest, usually running at around 300–350 km/h | Between major cities such as Beijing, Shanghai, Hangzhou, Xi’an and Guangzhou |
| D prefix (EMU trains) | Slower than G-prefix trains, generally running at around 200–250 km/h | Regional routes, or routes with few G-prefix services |
| K, T and Z prefixes (conventional trains) | Slower, older rolling stock and lower fares; sleeper berths are also available | Travellers on a tight budget, or those who want to take an overnight sleeper train |
For most visitors on a short trip to China, G-prefix trains offer the best balance of journey time, comfort and punctuality. High-speed trains usually have three seating classes: Business Class, First Class and Second Class. For example, from Beijing to Shanghai, a Second Class ticket costs around 600 yuan, First Class around 1,000 yuan, and Business Class around 1,700–2,400 yuan. Prices vary by service and number of stops; check 12306 on the day for the actual fare.
- Second class: Seats are arranged 2+3, and can recline slightly. It’s comfortable enough for most people on daytime journeys and offers the best value for money.
- First class: Seats are arranged 2+2, with more space and a quieter environment. An upgrade is worthwhile for longer journeys.
- Business class: Wide seats can be adjusted to an almost fully flat position, and fares are the highest.
Some trains also offer premium class, first-class sleepers and sleeper seats. Check the options shown in the 12306 search results.
Trains generally have power sockets, luggage racks, toilets and small tables. Some have a dining car or hot meals, and attendants sell snacks and drinks from trolleys. Some trains have Wi-Fi, but it can be unreliable and may require a Chinese mobile number. Download maps, tickets, your hotel address and translation tools in advance. For more details on seat differences, see the China High-Speed Rail Seat Guide; for timetables and journey times, see the
China High-Speed Rail Timetable Guide.
How can foreign visitors buy train tickets?
The official channels are the 12306 English website and app, both of which support foreign passports. When registering, enter your name, nationality, passport number and date of birth exactly as they appear on your passport. The system may verify your details automatically, or it may ask you to upload the information page of your passport for manual review. For the specific rules on entering names and passport numbers, see 12306’s instructions for identity verification using a foreign passport. Complete verification before tickets go on sale for popular routes; don’t wait until the day of your trip to discover a problem.
Four ways to buy tickets
- The official 12306 app and website. These are the authoritative sources for timetables, changes and railway rules, with no third-party service fees. The English interface and payment options are still not particularly intuitive for foreign users, so try them out in advance.
- Third-party booking platforms for international users. They offer English interfaces and accept international credit cards, making them more familiar to use, but charge a service fee that varies by platform. Whichever one you use, check the passenger names, passport numbers, dates, and departure and arrival stations before paying.
- Travel agencies or travel services. This is the most hassle-free option if your itinerary is complicated, you’re travelling during a public holiday, you want to combine trains with hotels and transfers, or you need to look after family members. A good service will help you match station names, allow reasonable transfer times, keep an eye on availability on popular routes, and suggest alternatives if your chosen train sells out.
- Buying tickets at the station. You can usually do this with just your passport, but queues may be long, language services are not always available, and popular trains may already be sold out by the time you arrive. This is better suited to travellers with flexible itineraries, those taking short-distance routes, or as a backup if online booking fails.
When do tickets go on sale?
12306 currently releases tickets 15 days in advance. This means tickets go on sale 14 days before the travel date (12306 advance booking period). Popular routes often sell out within minutes of going on sale around Chinese New Year, Labour Day and National Day. So for high-speed trains, note the date tickets go on sale, not your travel date.
From 20 July 2026, the Beijing–Shanghai high-speed railway and the Beijing–Shanghai railway will trial a “ticket booking by reservation” service: passengers can submit their requests in the dedicated section of the 12306 app, without having to rush to book the moment tickets go on sale. From 27 October 2026, reservations will be available from the 30th to the 17th day before departure. The rules for ticket fulfilment, refunds and changes remain unchanged (notice from China Railway Group reposted by the Shanghai Municipal Government). Check in the 12306 app whether this service is available to accounts using foreign passports. For the full booking steps, see the 12306 booking guide.
What if the tickets are sold out?
You can use 12306’s waitlist ticketing feature. Once a train is sold out, submit a waitlist order. If someone cancels their ticket, the system will automatically issue one in order. A waitlist booking isn’t guaranteed to succeed, so prepare alternative trains as well and leave yourself some flexibility before tickets are issued. Tickets are now electronic: use the original passport you booked with to enter the station; there’s no need to exchange it for a paper ticket. If you need a paper reimbursement voucher, you can apply for one at the station; check with the station for details on how this works for foreign passports.
Practical tips when booking
- Book early during peak periods. Tickets for public holidays sell out quickly; see the
Guide to Chinese Public Holidays.
- Make sure your details exactly match your passport. Even a slight difference in your name could cause problems during verification.
- Check your departure station carefully. Major cities usually have several railway stations, so choosing the wrong one can have a big impact.
- Travellers from Taiwan have a separate booking method; see the
12306 Guide for Travellers from Taiwan.
Beijing to Shanghai: the most popular long-distance route
Beijing is about 1,318 km from Shanghai, and the fastest G-category trains take around 4.5 to 6 hours. Most trains run between Beijing South and Shanghai Hongqiao stations. Both stations are connected to the metro network and have taxi pick-up areas and airport connections, so you can continue your journey as soon as you arrive. There are dozens of trains each day, from early morning until evening, so you can choose an early or late train to suit your plans.
When comparing flights with high-speed trains, don’t look at flight time alone. Add the journey to the airport, arriving early, security checks, baggage collection and getting into the city from the destination airport, and a “two-hour flight” can easily take up a whole day. Trains, by contrast, take you from city centre to city centre, have more generous luggage allowances and are less affected by the weather. Under the Regulations on Railway Passenger Transport, each adult may carry up to 20 kg of items free of charge, with each item measuring no more than 160 cm in total across its length, width and height.
Shanghai to Hangzhou: a day trip or short onward connection
Shanghai is about 170 km from Hangzhou. The fastest trains take around 45 minutes to 1 hour, with second-class seats from about ¥73 (fares vary; check 12306 for the latest prices). Services are frequent, with trains every 15–30 minutes on many days, so there’s no need to rush to catch a particular one. Journey times also vary depending on the departure and arrival stations; check 12306 for details.
This route works well as a day trip from Shanghai, or as part of a journey linking the two cities. Shanghai has skyscrapers, museums and historic lanes, while Hangzhou moves at a slower pace, with the willow-fringed West Lake, tea plantations and temples. A same-day return is possible, but staying overnight in Hangzhou gives you a better chance to experience West Lake after the daytime crowds have dispersed. Hangzhou is often the first stop on an itinerary through Jiangnan from Shanghai.
Other popular high-speed rail routes
The journey times and fares below are approximate ranges, and fares may change (for example, the published fare from Xi'an North to Chengdu East has risen from 263 yuan to 316 yuan and switched to a variable-fare system). Check 12306 on the day of travel.
| Route | Journey time | Approx. second-class fare | Notes |
|---|---|---|---|
| Beijing to Xi’an | Approx. 4.5 hours | Around ¥500 (fares vary) | Ideal for combining the Terracotta Warriors, the ancient city wall, the Forbidden City and the Great Wall |
| Xi’an to Chengdu | Approx. 3 hours | ¥210–320 | Connects the history of the northwest with Sichuan cuisine and pandas |
| Guangzhou (Guangzhou South) to Hong Kong West Kowloon | As fast as approx. 47 minutes | Around ¥185–240 | Cross-border route; you must complete Hong Kong entry formalities separately. See |
| Beijing to Harbin | Approx. 4.5–5.5 hours | Depends on the train | A popular route for winter snow and ice trips. Trains usually depart from Beijing Chaoyang Station and arrive at Harbin West Station |
| Hong Kong to Beijing | Approx. 8–9 hours in total; limited services | Depends on the train | There is about one direct train a day, and the journey takes a full day. Check 12306 and MTR High Speed Rail for the latest information |
Beijing to Harbin. Harbin is known for its ice and snow festival, Russian-style architecture and the atmosphere of its bitterly cold season. Since the Beijing–Harbin high-speed rail line opened in full, the fastest journey from Beijing to Harbin takes around 4 hours and 33 minutes. The trip is much easier than it used to be, making Harbin a practical extension to a trip from Beijing. G-series trains to Harbin usually depart from Beijing Chaoyang station and arrive at Harbin West station, so check the station names before booking. For a winter trip, see the Harbin Travel Guide.
Beijing to Xi’an. If your itinerary includes the Terracotta Warriors, the ancient city wall, the Forbidden City and the Great Wall, the high-speed train is a practical and comfortable way to connect them. For more about Xi’an, see the Xi’an Travel Guide.
At the station: entering, waiting and boarding
Bring the original passport used to book your ticket. Foreign visitors can generally use their passports for identity checks and ticket inspection. If the automatic gates cannot read your passport, use the staffed gate; a gate-reading failure does not mean your ticket is invalid.
- Arrive early. If this is your first time taking the train, arrive at a large station 45–60 minutes in advance. Allow even more time during public holidays, or if you’re travelling with children or lots of luggage. Most high-speed rail stations stop checking tickets 3–5 minutes before departure; check the station announcements for details.
- Security check. Your belongings must go through security. Keep liquids, batteries and restricted items somewhere easy to take out. For restrictions, see the National Railway Administration and Ministry of Public Security’s Catalogue of Prohibited and Restricted Items for Railway Passengers to Carry and Check In. Don’t rely on an old luggage list.
- Find the waiting area. Find the waiting area for your train number and departure time, then check the big screens for the gate and platform information.
- Board the train. Queue when ticket checks begin, and check your carriage and seat number.
Station names, luggage and personal items
First, check the station name carefully. Shanghai Hongqiao, Shanghai Railway Station and Shanghai South Railway Station are different stations. Beijing has Beijing Railway Station, Beijing South Railway Station, Beijing West Railway Station and Beijing Chaoyang Railway Station, among others. The same applies to Guangzhou and Hangzhou. Save the Chinese station name in your maps app and navigate to the station shown on your ticket; don’t rely on the English name alone.
Second, keep essentials within easy reach. Make sure you can quickly access your passport, phone, booking confirmation, hotel address and screenshots of translations. A power bank is one of the most useful things to bring, as checking tickets and maps on your phone uses a lot of battery.
Third, don’t bring too much luggage. Train luggage rules are more relaxed than those for planes, but you’ll still have to drag your suitcase through large stations and lift it into the storage area. Fourth, if you have dietary requirements, bring some snacks, as food options on trains and in stations are limited.
Getting around once you arrive: the metro, buses and taxis
Most cities sell single tickets at self-service ticket machines or service counters in metro stations. Some accept international bank cards and others don’t, so it’s best to carry a little cash in RMB as a backup. Alipay’s “Transport” feature can generate metro and bus QR codes for cities once you’ve completed identity verification. When you change cities, you may need to activate the local transport card again; a QR code for one city won’t work nationwide. Use a navigation app available in China, such as Amap, to plan your route, and save your destination’s name in both Chinese and English.
Use Didi to book a taxi. It supports overseas mobile numbers and international bank cards, and can also be accessed through Alipay. Choose the pick-up point carefully: railway stations, airports and shopping centres often have several pick-up areas on different floors. Before getting in, check the number plate and vehicle model, and display your destination in Chinese on your screen. For more information, see the Didi Travel Guide,
Map and Navigation Apps in China and
Guide to Mobile Payments in China.
Preparing for Rail Travel in China
Before setting off, get four things ready: the original passport used to book your tickets and the booking confirmation; 12306 or another booking channel; the stations and exits saved in Amap; and Alipay, DiDi and a small amount of cash in RMB. This preparation is more useful than installing a pile of duplicate apps, and gives you a backup if automatic ticket gates, QR codes or international bank cards cause problems. To find out more about high-speed rail journeys, see High-Speed Rail Itineraries,
Overnight Sleeper Trains and
Scenic Train Routes in China.
In summary
High-speed rail makes it possible to include Beijing and Shanghai in the same trip without losing a day at the airport; travelling from Shanghai to Hangzhou is almost effortless; and combinations such as Xi’an and Beijing or Guangzhou and Hong Kong are also feasible. For most international visitors, the simplest approach is to take high-speed trains between major cities, complete verification on 12306 in advance, book as early as possible, check your passport details and allow plenty of time at the station. If booking is giving you a headache, or your itinerary involves lots of moving parts, a service such as LyrikTrip can help you match up stations, trains and transfer times, rather than having to optimise every leg yourself.

