The fastest Beijing to Shanghai train covers 1,318 km in about 4 hours 18 minutes, and second-class seats start near 553 yuan (roughly US$77). More than 40 high-speed "G" trains run this route every day, so you rarely wait long for the next one.
That speed is the whole point. Flying looks quicker on paper, but once you add airport transfers, security lines, and the near-daily delays over eastern China, the train usually gets you there sooner and with far less stress.
You leave from the middle of one giant city and arrive in the middle of another. No 90-minute taxi from a distant airport. You keep your shoes on, your phone charged, and your legroom generous.
This guide gives you the 2026 numbers that matter: exact travel times, every seat class and price, the overnight sleeper option, which station to use, and how a foreign visitor books a ticket with just a passport. By the end you’ll know exactly which train to take and what it costs.
Key Takeaways
- Fastest G-trains do Beijing to Shanghai in about 4h18m; most take 4.5 to 6 hours.
- Second class costs around 553-673 yuan, first class 930-1,070 yuan, business class 1,873-2,341 yuan (2026 fares).
- Almost all trains use Beijing South Station and Shanghai Hongqiao Station, both in the city.
- Overnight D-sleeper trains leave around 19:00-21:30 and arrive 07:30-09:45, from about 440 yuan for a hard sleeper.
- Foreigners book with a passport and walk through the gate ticketless; buy up to 15 days ahead.
Beijing to Shanghai train time: how fast is it really?

The headline number is about 4 hours 18 minutes on the very fastest services, such as the non-stop morning departures. Most G-trains stop a few times along the way and take between 4.5 and 6 hours.
Look at the train number when you book. Trains with fewer stops (often the low G-numbers and the early-morning runs) finish in under 4.5 hours. Trains that stop at Jinan, Nanjing, and Suzhou can push closer to 6 hours.
Compare that to flying. A flight is listed at about 2 hours 15 minutes in the air. Add getting to Beijing Capital or Daxing airport, checking in, security, boarding, taxiing, baggage, and the ride into central Shanghai, and your real door-to-door time is often 5 to 6 hours.
Marco, a first-time visitor from Italy, booked a 7:00 a.m. G-train and was eating lunch near the Bund by 12:30. His friend who flew the same morning hit a two-hour tarmac delay and arrived after him.
One more time-saver: high-speed trains almost never run late. China Railway reports on-time rates above 95% on this line, so a same-day connecting plan actually holds up. That reliability is hard to match with a flight in this part of the country.
| How you travel | On paper | Real door-to-door time |
|---|---|---|
| Fastest G-train | 4h18m | About 4.5-5 hours |
| Typical G-train | 5-6 hours | About 5.5-6.5 hours |
| Flight | 2h15m in air | About 5-6 hours |
| Overnight D-sleeper | 11-12 hours | Overnight (you sleep) |
Beijing to Shanghai high speed train price and seat classes

The beijing shanghai high speed train offers three main seat classes, plus a newer premium option on some trains. Prices shift a little by date and demand, but the 2026 ranges are steady.
Second class is the sweet spot for most visitors. The seats recline, have a tray table and power socket, and are arranged three-and-two across. You will be comfortable for the whole ride.
First class gives you wider two-and-two seating and more legroom for a moderate jump in price. Business class is a lie-flat luxury seat at the front, and it costs several times more.
| Seat class | Layout | 2026 price (one way) | Approx. USD |
|---|---|---|---|
| Second class | 3+2 | 553-673 yuan | $77-94 |
| First class | 2+2 | 930-1,070 yuan | $130-150 |
| Business class | 1+2, lie-flat | 1,873-2,341 yuan | $261-327 |
A note on 2026 fares: China Railway now uses flexible pricing, so the exact number you see can rise or fall with demand. Weekday off-peak trains are often cheaper than the top of these ranges. Always confirm the live price when you book.
Priya, traveling with two kids from London, chose second class and spent about 1,660 yuan for the three of them. She said the ride felt calmer and roomier than any budget flight she’d taken in Europe.
Which stations you’ll use: Beijing South and Shanghai Hongqiao
Nearly every high-speed train on this line runs between Beijing South Railway Station (北京南站) and Shanghai Hongqiao Railway Station (上海虹桥站). Both are large, modern, and connected to the subway.
Beijing South sits on subway lines 4 and 14, about 20-30 minutes from the city center. Give yourself 30 minutes inside the station to find your platform, pass the security scan, and reach the gate.
Shanghai Hongqiao is next to Hongqiao Airport and links to metro lines 2, 10, and 17. Line 2 runs straight into central Shanghai and People’s Square in about 30-40 minutes.
A few trains use Beijing Railway Station or Shanghai Railway Station instead. Check your ticket carefully, because these are different buildings across the city, and turning up at the wrong one will make you miss your train.
Overnight sleeper: the Beijing to Shanghai train that saves a hotel night
If you’d rather sleep than sit, the overnight D-category sleeper trains are a smart move. They leave in the evening, roughly 19:00 to 21:30, and arrive the next morning between about 07:30 and 09:45.
You save a hotel night and wake up ready to explore. These trains use the newer green CR200J "Revival" carriages with real berths, bedding, and climate control.
There are two berth types. Soft sleeper is a lockable four-bunk cabin with a door, quieter and more private. Hard sleeper is an open bay of six bunks, cheaper and perfectly comfortable for one night.
| Sleeper type | Setup | 2026 price | Best for |
|---|---|---|---|
| Soft sleeper | 4 berths, lockable door | 558-610 yuan | Couples, privacy |
| Hard sleeper | 6 berths, open bay | 440-482 yuan | Budget, solo travelers |
The upper bunks are the cheapest and have less headroom. Lower bunks cost a little more and are easier for getting in and out at night.
One thing to plan around: these sleeper trains sell fewer berths than a full seated train holds, so they book out early on weekends. If the overnight option appeals to you, buy the moment tickets open.
Lars, a solo traveler from Sweden, took a hard sleeper south on a Tuesday night. He paid about 460 yuan, slept most of the way, and stepped off at Shanghai Hongqiao just after 8 a.m. with a whole day ahead and no hotel bill for the night.
How foreigners book the Beijing to Shanghai train in 2026
Booking is easier than most first-timers expect. You buy with your passport, and the whole system is ticketless, so your passport is your ticket.
You have three simple options:
- Official 12306 app or website (english.12306.cn) — cheapest, but the sign-up asks for passport verification and payment can be fussy for foreign cards.
- A trusted booking service — you pay a small fee, get an English confirmation, and skip the payment headaches. This is the easy route for most visitors.
- At the station — possible, but lines are long and popular trains sell out.
Tickets go on sale up to 15 days before departure on 12306. Book early for weekend and holiday trains, which fill fast. Our step-by-step walkthrough on how to book China high-speed train tickets covers every screen.
At the station, you don’t need a paper ticket. Scan your passport at the automatic gate; the system reads your passport number, sees your booking, and lets you through. For a full comparison of the route options, our trains and metro guide has more detail.
If you want someone to handle it for you and send an English confirmation, our team can book your train tickets and give you a free quote.
What the ride is actually like
The trains are clean, smooth, and quiet. You’ll see a live speed display hit around 350 km/h, yet a coin can almost balance on your tray table.
Each seat has a power socket and a fold-down tray. There’s free Wi-Fi on the newer Fuxing trains, though it can be patchy, so download maps and shows before you board.
A dining car and roaming carts sell instant noodles, snacks, coffee, and boxed meals. Prices are higher than a convenience store, so many travelers bring their own food and a thermos for the free hot water on board.
Pay for onboard snacks and station food with a mobile wallet. Set up Alipay for foreigners before your trip so you’re not stuck hunting for cash. You’ll also want data the whole way, which our connectivity and eSIM guide walks through.
Frequently asked questions
How long is the Beijing to Shanghai train?
The fastest G-trains take about 4 hours 18 minutes. Most high-speed trains take 4.5 to 6 hours depending on how many stops they make. Overnight D-sleeper trains take 11-12 hours, which you spend asleep.
How much is a train ticket from Beijing to Shanghai?
In 2026, a second-class seat costs about 553-673 yuan (US$77-94). First class runs 930-1,070 yuan, and business class is 1,873-2,341 yuan. Overnight sleepers start near 440 yuan for a hard-sleeper berth.
Is the train better than flying between Beijing and Shanghai?
For most visitors, yes. Real door-to-door times are similar, but the train drops you in the city center, has more legroom, rarely gets delayed, and lets you keep using your phone the whole way. Flying only wins for very long trips beyond this route.
Can foreigners book Chinese train tickets?
Yes. You book with your passport number on the official 12306 app, through a trusted booking service, or at the station. The system is ticketless: you scan your passport at the gate and walk through, no paper ticket needed.
How far in advance should I book?
Tickets go on sale up to 15 days before departure. Weekday trains usually have seats until the last minute, but weekend, holiday, and early-morning trains sell out fast, so book those as soon as sales open.
Which station does the Beijing to Shanghai train use?
Almost all high-speed trains run between Beijing South Station and Shanghai Hongqiao Station, both well connected to the subway. A few use Beijing Railway Station or Shanghai Railway Station, so always double-check the station name on your ticket.
Before you go: your action list
You now know the times, prices, and stations. Lock in the details and you’ll board without a hint of stress.
- Pick your train type: fast G-train by day, or overnight D-sleeper to save a hotel night.
- Book 1-15 days ahead, especially for weekends and holidays.
- Have your passport ready to scan at the gate; no paper ticket needed.
- Arrive 30-40 minutes early to clear security and find your platform.
- Set up a mobile wallet and mobile data before you travel.
- Note whether you need a longer stay or the 240-hour visa-free transit to combine both cities.
Ready to ride? Skip the payment headaches and let our team handle it. Get a free quote and book your Beijing to Shanghai train tickets here and you’ll get an English confirmation before you fly.
Sources for verification: China Railway 12306 (official), Seat61 Beijing to Shanghai guide, China State Railway Group ticketing rules.
Featured image: “CR400AF-2001@BJN (20170626110730).jpg” by N509FZ, via Wikimedia Commons, CC BY-SA 4.0.