

Transport
Beijing to Shanghai by train or by plane: how to choose
Beijing to Shanghai by rail is 1,318 km, with the fastest services at 4h 18m. What the airport ends cost, and how to choose.
In this guide
• Beijing to Shanghai: the two options in one table • What the line itself is: 1,318 km, 350 km/h design, 24 stations • How long the Beijing to Shanghai train takes • The plane side: which Shanghai airport you land at, and what the Beijing run costs • Last connections: the metro hours that decide a late arrival • Fares are not a fixed number: what changed on 26 May 2026 • How to choose: four questions that settle it • What we deliberately do not claim
Beijing to Shanghai by train is one line: 1,318 km of high-speed line from Beijing South to Shanghai Hongqiao, with a published fastest-train time of 4 hours 18 minutes for the through run. That figure is China Railway’s, not a timetable guarantee.
Below, the two are set side by side only on what can be checked: endpoints, published journey time, ground connections, and the last metro — inside the wider picture of how high-speed rail works in China. Ticket prices, flight times and punctuality are absent, and the last section says why.
Beijing to Shanghai: the two options in one table
Four rows cover where the two diverge: endpoints, published journey time, ground connection, and how late it runs.
| What you are comparing | By rail | By air |
|---|---|---|
| Where you start and finish | Beijing South to Shanghai Hongqiao, station to station, both in the city | A Beijing airport to Hongqiao or Pudong; the carrier decides which |
| Journey time, as the operator publishes it | 4h18, the published fastest-train figure for the through run | No carrier or regulator figure this page can cite |
| Ground connection (rail: Shanghai; air: Beijing) | At Shanghai Hongqiao, metro lines 2 and 10 run inside the same complex as the rail terminal | From Daxing: the Airport Express costs 10 yuan up to 20 km, 25 yuan from 20 to 30 km, 35 yuan beyond that, and 50 yuan in the business car. From Capital Airport: not covered here |
| Last connection of the day | Metro lines 2 and 10 at the Hongqiao terminal stations, 06:00 to 22:30 | 06:00 to 22:30 at the metro stations serving both Shanghai airports |
The quiet cells are not gaps in the research: where a number is missing, no operator has published one this page can cite, and not published beats a figure that was true in another month.
What the line itself is: 1,318 km, 350 km/h design, 24 stations
The line runs 1,318 km, was designed for 350 km/h, and opened on 30 June 2011 with trains initially at 300 km/h, as the National Railway Administration records it. The two figures are not a contradiction, because they describe two different things: 350 is what the line was built to take, and 300 is what the first timetables ran at.
Work began on 18 April 2008. The line carries 24 stations between Beijing South and Shanghai Hongqiao, crossing four provinces and three municipalities.
Hold on to the 24: it is why the same line turns up in itineraries that touch neither end. Your ticket names one station at each end, and telling Beijing South from the city’s other stations is the step that goes wrong first.
How long the Beijing to Shanghai train takes
The fastest published Beijing to Shanghai time is 4 hours 18 minutes, on China Railway’s ten-year figures for the line. The same set puts Tianjin 31 minutes from Beijing, Jinan at 1 hour 22, Xuzhou at 2 hours 21 and Nanjing at 3 hours 13; against the older conventional railway, the through trip is close to ten hours faster.
Read that list as a shape, not a promise: each figure is the fastest departure China Railway published for that pair of cities, not the train you will book.
The sentence that settles the most and claims the least comes from China Railway itself: door to door, Beijing city centre to Shanghai city centre, the time is roughly comparable with flying. That is the only citable official statement on which mode is quicker, and it is not a ranking.
Which pushes the decision to your own two addresses: if the times are that close, what decides is the terminal at each end, and what it costs you to reach it at that hour.
Two things change the arithmetic on the train itself: which seat class to book, and what you can carry on board, where the size limit is tighter on a high-speed service.
The plane side: which Shanghai airport you land at, and what the Beijing run costs
Shanghai has two airports, and which one you land at is the carrier’s decision, not yours. Hongqiao airport and Shanghai Hongqiao railway station sit in one complex with the metro, the expressway, city buses and long-distance coaches, so a flight into Hongqiao and a train into Hongqiao put you in the same place for the same onward connection. Pudong is a separate airport with its own ground connections, which is why the two are not interchangeable when you pick a flight.
One ground cost on the Beijing side is published as a fare table, the only firm price here: the Daxing Airport Express charges by distance band in the ordinary car, and a flat 50 yuan in the business car. The figures are in the line operator’s August 2026 fare rules and in the table above, and they are worth confirming before you rely on them.
That table covers the Daxing line only.
Last connections: the metro hours that decide a late arrival
The numbers that decide a late arrival are opening and closing times, not journey times. At Hongqiao, metro lines 2 and 10 serve the terminal stations from 06:00 to 22:30, and metro line 2 at Pudong Airport station keeps the same window. The city airport line links the two airports, but per the airport operator’s October 2026 notice both of its last departures come before the metro’s: 22:15 from the Pudong terminals, 22:00 from Hongqiao. The full option-by-option table, with fares and hours for both airports, is in the Shanghai guide’s arrival section.
What those hours decide is whether your arrival has a metro in it at all. An arrival that clears the terminal before 22:30 does; one that gets you outside at 22:40 does not, and the answer becomes ground transport — a taxi, a booked car, a night near the terminal.
The gap between the two things is where trips go wrong. A last train at 22:30 is a last departure, not a last arrival: it assumes you are already through the terminal and on the platform. For a traveller with a cabin bag that is a walk; for a family with checked bags it is a different calculation.
Fares are not a fixed number: what changed on 26 May 2026
On 11 May 2026 Beijing–Shanghai High-Speed Railway Co. announced an optimisation of published fares on the Beijing–Shanghai high-speed line and the Hefei–Bengbu line, effective 26 May 2026. Two words in that announcement carry the point: published fare and executed fare.
The published fare is the ceiling. The executed fare is what you pay for a specific departure, and it floats below that ceiling by season, date, time band, speed and seat class. The company said executed fares would hold at existing levels at the start of the adjustment.
So two trains on the same day, same route, same seat class, can carry different prices, and neither is “the price of the train”. A static rail-versus-air fare comparison therefore compares a ceiling with a number that moves by the day.
No ticket price appears here: not because it is secret, but because there is no single figure. Check the departure you want, on the day you want it; booking on 12306 with a passport covers the official channel.
How to choose: four questions that settle it
Four questions, asked in this order, decide more than any general rule about which mode wins.
1. Where in Shanghai do you need to be?
If your first stop is on the Hongqiao side, a flight into Hongqiao and a train into Hongqiao are the same arrival: same complex, same metro, same onward options. If it is on the Pudong side, a Pudong landing puts you on that side of the city rather than the other one. Neither airport is better; one is nearer your bed.
2. Is the metro still running when you land?
Land after the last metro and neither Shanghai airport has one, so the question becomes what you have already arranged. If you were counting on the city airport line between the two airports, it stops earlier than the metro does.
3. Which end of each city are you staying in?
Compare your hotel with Beijing South, and with the airport your flight would use, rather than with “Beijing”. Do the same in Shanghai, against Hongqiao rather than the centre. Our page on the Beijing end of the trip works from that gap.
4. Can you accept a fare that moves with the date?
A fare that floats by season, date, time band and seat class rewards deciding early and punishes deciding late. If your dates are fixed months ahead, the mechanism is on your side. If you buy on the day, expect the lowest fare bands to be gone and check what is left on the official channel.
Answer those four and the mode usually picks itself. What that leaves is a decision with a short expiry date: the metro hours, the last departures of the city airport line and the fare you are quoted are all things to check against your own dates rather than against a guide.
What we deliberately do not claim
- No air fares. Airline prices move by bucket and by day; a figure printed here would be wrong before the page was a month old.
- No flight time, route distance or aircraft type. None is published as a figure this page can stand behind, and a rounded one is worse than none.
- No punctuality statistics for either mode. Neither operator publishes a figure on a basis this page can compare, and two numbers from different bases would look like a comparison without being one.
- No rail ticket prices, only the mechanism. Published fares float under a ceiling, so the honest object is the rule, not a number.
- No city airport line detail beyond its last departures. It is a link between the two airports, so its full picture belongs with the Shanghai guide; here it matters only as a last-connection.
Sources and last check. Every figure above comes from one of five published pages, except the fare mechanism and its dates, which rest on Beijing–Shanghai High-Speed Railway Co.’s 11 May 2026 announcement as carried by Xinhua. The National Railway Administration carries the 1,318 km, the 350 km/h design and the 2011 opening. China Railway’s ten-year series carries the 24 stations across four provinces and three municipalities, the April 2008 start of work, the intermediate times and the door-to-door comparison. The Daxing line operator carries its August 2026 fare rules, and the Shanghai airport operator carries the city airport line’s October 2026 notice. Where a figure is missing, it is because none of those five publishes one. Last verified: 3 November 2026.
Before you go checklist
• Book on 12306 with the passport you will actually travel on • Check that your ticket says Beijing South, and not another Beijing station • Decide which Shanghai airport your flight would use before comparing the two • Put the last metro into the plan, not just the landing time • Look up the Daxing Airport Express fare band if you fly into Daxing • Re-check the fare on the day: a published fare is a ceiling, not a price
Mistakes to avoid
• Assuming the 4h 18m figure applies to every departure on the line • Treating Shanghai's two airports as interchangeable when you pick a flight • Comparing a rail fare you saw last month with an air fare you saw today • Planning around the landing time when the real constraint is the last departure • Reading high-speed as a promise that yours will be the fastest train that day
Frequently asked questions
How long does the train from Beijing to Shanghai take?
The operator's published fastest-train figure for the through run is 4 hours 18 minutes from Beijing South to Shanghai Hongqiao. That is the fastest service the operator publishes, not a timetable guarantee: other departures on the same day take longer, and timetables change. Plan on the departure you actually intend to book, checked on 12306, rather than on the fastest figure. The same published figures put Jinan at 1 hour 22 and Nanjing at 3 hours 13 from Beijing, which is a better guide to how the line behaves than any single number. This page does not reproduce train numbers or departure times, because those change by date.
Which Shanghai airport should I fly into?
The carrier decides, not the passenger, so the useful question is what each one leaves you with. Hongqiao airport and Shanghai Hongqiao railway station sit in one complex together with the metro, city buses and long-distance coaches, so a flight into Hongqiao and a train into Hongqiao put you in the same place for the same onward connection. Pudong is a separate airport with its own ground connections. Both airports' metro stations run 06:00 to 22:30, and the city airport line links the two airports, calling at Hongqiao Terminal 2, so a Pudong landing is not a dead end. It is simply a different starting point, and the one you want depends on where you are sleeping.
Is the train cheaper than flying from Beijing to Shanghai?
This page does not answer that, and a page that gives you one number is guessing. Since 26 May 2026 the published fares on the Beijing-Shanghai line act as a ceiling, with the executed fare floating below it by season, date, time band, journey speed and seat class, so two trains on the same day can cost different amounts. Air fares move the same way. The honest comparison is between the two specific departures you are considering, checked on each operator's own channel, on the day you book. That is also why no ticket price appears in this article.

