The Beijing to Shanghai G-train takes 4 hours 28 minutes. It departs from Beijing South station, which is on metro Line 4. It arrives at Shanghai Hongqiao station, which is on metro Lines 2 and 10. You board at a station in the city center and you arrive at a station in the city center. Beijing Capital Airport is 35 km from the city. Shanghai Pudong is 40 km from The Bund.
The train is faster door to door. It is also more comfortable, more reliable, and usually cheaper. This is why China’s high-speed rail is the best way to travel between Chinese cities.
Key Takeaways
- Book on Trip.com (English, foreign cards) or the 12306 app. 12306 guide.
- Tickets go on sale 15 days before travel. Book early for peak periods.
- Board with your passport at the automatic gate. No printed ticket needed.
- Second class is comfortable for under 5 hours. Class guide.
- G-trains: 300 to 350 km/h. On-time rate over 95%.
- Navigate the station: allow 30 minutes before departure. Station guide.
The Network: What 45,000 km Covers
China’s HSR network is the largest in the world at 45,000 km as of 2026, confirmed by the China State Railway Group. Every major city and most second-tier cities are connected. The four main corridors: Beijing to Shanghai (eastern seaboard, 4.5 hours by G-train), Beijing to Guangzhou (north-south backbone, 8 hours), Shanghai to Kunming (southwest), and the Qinghai-Tibet railway (highest-altitude railway in the world, not HSR but notable).
Train Types Explained
| Type | Speed | Code | When to Use |
| G-train (高铁) | 300 to 350 km/h | Starts with G (e.g. G1, G101) | Major city connections. Beijing-Shanghai, Beijing-Xi’an. |
| D-train (动车) | 200 to 250 km/h | Starts with D | Shorter regional routes. Some overnight services. |
| C-train (城际) | 200 km/h | Starts with C | City-pair commuter routes. Pearl River Delta. |
| Z/T/K train (conventional) | 80 to 160 km/h | Z/T/K prefix | Overnight sleeper trains. Slower but can be scenic. |
How to Book: Step by Step
Via Trip.com (recommended for most foreigners)
- Go to trip.com and select ‘Train’ in the top menu.
- Enter departure and destination cities plus your travel date.
- Results show all trains. Filter by G-train for the fastest.
- Select your train. Choose second class for most journeys.
- Enter passenger details: name exactly as on passport, passport number, nationality.
- Pay with Visa, Mastercard, or PayPal.
- Your e-ticket is emailed. Keep the booking reference number.
Via 12306 (official system, more availability)
The 12306 app has an English version added in 2023. It has no booking fees and sometimes shows tickets when Trip.com shows sold out. Requires upfront account setup with passport verification. Full walkthrough: How to Buy Tickets on the 12306 App.
Common Routes: Times and Prices
| Route | G-Train Time | Second Class Price | Notes |
| Beijing to Shanghai | 4h 28min to 4h 48min | ¥553 | Fastest and most popular route. Book early. |
| Beijing to Xi’an | 4h 30min to 5h | ¥464 | Via Zhengzhou. Scenic middle section. |
| Shanghai to Hangzhou | 45min to 1h | ¥73 | Day trip distance. No excuse not to go. |
| Shanghai to Suzhou | 25min | ¥39 | 30 seconds of travel time for a stunning city. |
| Xi’an to Chengdu | 3h 30min | ¥290 | Beautiful mountain section. |
| Guangzhou to Shenzhen | 35min | ¥74 | City commuter distance. |
| Chengdu to Chongqing | 1h 10min | ¥112 | Two dramatically different cities 1 hour apart. |
Seat Classes
| Class | Chinese | Layout | Price vs 2nd | Best For |
| Second class | 二等座 | 5 across (3+2) | Baseline | Most journeys under 5 hours. Comfortable. |
| First class | 一等座 | 4 across (2+2) | +50 to +80% | Longer journeys. More space and quieter. |
| Business class | 商务座 | 3 across (1+2), reclining | +200 to +300% | Fully flat on some trains. Worth it for 8h+ routes. |
At the Station
Chinese train stations are large. Allow at least 30 minutes before departure. The entry sequence: security screening (bag X-ray, body scanner), ticket/ID check, waiting hall, boarding gate (opens 20 to 30 minutes before departure), then platform. For the full station navigation process: Navigating Chinese Train Stations.
Boarding with a foreign passport
Walk to the automated boarding gates. Insert your passport face-down into the reader. The gate reads your passport, matches it to your booking, and opens. For older gates or when the reader fails: show your passport and booking confirmation to the gate attendant. They will manually process you.
On the Train
G-trains are quiet, smooth, and clean. Each seat has a fold-down tray, a USB charging socket, and an overhead light. Power sockets (standard Chinese Type A/I) are at each seat pair or row end. The dining car sells hot meals and snacks at above-market prices. Bringing your own food is allowed and common. The toilets are Western-style. Seat numbers are on the overhead panel: the carriage number is on the door.
Luggage on Trains
No checked luggage system on Chinese trains. You carry on whatever you can physically manage. Overhead racks are larger than airline overhead bins. The end-of-carriage luggage area handles larger bags. For traveling between many cities with heavy luggage, use China’s hotel-to-hotel luggage delivery service and travel light. Full guide: Luggage Delivery in China.
Frequently Asked Questions
For the 12306 booking process specifically: How to Buy on 12306. For train vs flight comparison by route: Train vs Flight guide. For the full transport overview: China Transportation Guide.
