Route

Shanghai to BeijingBeijing to Shanghai: take the train or fly?

1,318 km on the world's busiest high-speed line. The fastest trains do it in about 4h27, centre to centre — here's how that stacks up against flying, and how to actually book it.

Beijing 北京

Beijing South

Shanghai 上海

Shanghai Hongqiao

2nd class
from ¥576 ≈ $80
business to ¥1,995
Departures
~46/day
06:18–19:24
Train types
G · D
Flight
slower door-to-door
Beijing & Shanghai are among China's most delay-prone airports
Take the train.

On total door-to-door time it beats flying for almost everyone, second class costs about the same as economy, and it leaves around 46 times a day and runs on time. Fly only if you're connecting straight onto an international flight, or you snagged a genuinely cheap ticket weeks ahead.

Compare

Train vs flight, side by side

  High-speed train Flight
Fastest journey ~4h 27m, station to station ~2h 15m in the air
Realistic door to door ~4h 27m – 5h (both stations are central) ~5h – 6h once you add both airports
Standard fare, one way 2nd class from ¥576 ≈ $80 Economy from ¥500 ≈ $69, usually more
Top class, one way Business seat ~¥1,995 ≈ $277
Departures per day 46+ ~30
First / last departure ~06:18 / ~19:24 roughly 07:00 / 22:00
On-time record Runs to the minute in almost all weather Beijing & Shanghai are among China's most delay-prone airports

Fares are indicative second-class / economy, one way, checked September 2026 at about ¥7.2 to US$1. Both move with the date and how far ahead you book.

Should you take the train or fly?

The train wins on total time. The fastest G-class trains run Shanghai–Beijing in about 4 hours 27 minutes, and both ends drop you in the middle of the city. Most services take a little longer — the timetable runs from roughly 4.5 to 7.5 hours depending on how many stops the train makes. A flight is around 2h15 gate to gate, but once you add getting out to Daxing or Pudong, security, boarding, bag reclaim and the ride back into town, you’re realistically at 5–6 hours — more if anything slips.

Price is close to a wash. Second class runs about ¥576–697 depending on the train. Economy airfares can start lower but climb faster as the date approaches and around holidays. Business-class rail (¥2,000+) is a different product — a near-flat recliner and lounge access — and still lands under a flexible economy airfare.

Frequency and reliability favour the train. With around 46 departures a day you more or less turn up for the one you want. High-speed rail also keeps time in weather that routinely delays flights out of Beijing and Shanghai.

Fly when it genuinely helps: you’re connecting directly onto an international flight from Pudong or Daxing, you found a real bargain fare well in advance, or you specifically want to avoid a city centre. Otherwise, the train is the easy choice.

Stations, tickets and what to expect

Which stations. Trains run between Shanghai Hongqiao and Beijing South (Beijingnan). Not Beijing Station or Shanghai Station — check the name on your booking. Shanghai Hongqiao sits next to Hongqiao Airport on metro lines 2, 10 and 17; Beijing South is on metro lines 4 and 14.

How to book. Use Trip.com or the official 12306 app. Foreign passport holders can book online — choose “passport” as the ID type. Since 2020 the ticket is electronic: there’s no paper pickup. At the station you scan your passport at the gate; some gates send foreign passports to a staffed lane.

Seat classes. Second class (2+3 seating) is fine for a 4–5 hour trip. First class (2+2) buys more room; business class (2+1, near flat) is the premium option.

Luggage. No check-in and no weigh-in. Bring what you can carry and lift onto an overhead rack — only genuinely oversized items are a problem.

Timing. Be at the station 30–40 minutes before departure. There’s an airport-style security scan, and foreign passports sometimes get a slower ID check at the gate.

Check times & fares on Trip.com

Affiliate link — we may earn a commission if you book, at no extra cost to you.

FAQ

Common questions

Is the train faster than flying between Beijing and Shanghai?

Door to door, yes. The fastest trains are about 4h27 station to station, both in the city. A flight is roughly 2h15 in the air but 5–6 hours once you count the airports at both ends.

How much is the Beijing–Shanghai train?

Second class is about ¥576–697 (≈ $80–97) one way depending on the train, first class about ¥970–1,115, business class roughly ¥2,000–2,430. Rail fares don't surge like flights, but popular departures and holiday dates do sell out.

Can I book with a foreign passport?

Yes. Book on Trip.com or the 12306 app and choose passport as the ID type. Your passport is also your ticket at the gate.

Do I need to collect a paper ticket?

No. Tickets have been electronic since 2020. Scan your passport at the gate; keep a screenshot of the booking for your own reference.

Which stations does it use?

Beijing South (Beijingnan) and Shanghai Hongqiao. Not Beijing Station or Shanghai Station — check the station name on your ticket.

Are there overnight sleeper trains?

Yes — about five pairs of overnight D trains run this route with sleeper berths, taking roughly 12 hours, with a second-class sleeper around ¥642–711. Nearly everyone still takes the daytime high-speed train; sleepers make more sense on longer routes.

Related

Next stops