

China travel know-how
Beijing to Shanghai: How to Travel
China's two biggest cities, one busy line: a daytime high-speed train, a flight, or an overnight sleeper. This guide compares the three on door-to-door time, comfort and booking, so you can pick the one that fits your trip.
6 min read
Quick answer
Take the high-speed train as the default: the fastest G-train covers the 1,318 kilometres from Beijing South to Shanghai Hongqiao in about 4 hours 18 minutes, and most services take 4.5 to 6 hours. Flying is a little over 2 hours in the air but usually slower door to door, and an overnight sleeper saves a hotel night.
Which is the fastest way from Beijing to Shanghai?
The high-speed train is the fastest door-to-door choice for most travellers. The Beijing–Shanghai line is the busiest high-speed rail corridor in the country, with departures through the day, and the train runs from a city-centre station to a city-centre station, so there is no airport transfer at either end. The flight wins only on time in the air; once you add the transfers, check-in, security and baggage, the train usually comes out ahead. For the general comparison across all routes, see our high-speed rail vs flying in China guide.
How long does the high-speed train take?
The fastest G-train takes about 4 hours 18 minutes for the 1,318-kilometre run, and most services take 4.5 to 6 hours. The difference is the stops: the quickest trains call at only a few of the cities along the way, such as Tianjin, Jinan, Nanjing and Suzhou, while slower services stop at more of them. The fastest Fuxing trainsets run at up to 350 kilometres per hour on this line. Timetables are revised through the year, so check the day’s departures on 12306 before you travel — this guide gives no fixed times. Our guide to taking a train in China covers stations, tickets and boarding.
Which stations do the trains use?
Most G-trains run from Beijing South to Shanghai Hongqiao. Beijing South is served by metro lines 4 and 14, and Shanghai Hongqiao by metro lines 2, 10 and 17, so both ends connect easily into the city. A few slower services use the older city stations instead — Beijing Railway Station and Shanghai Railway Station — so check the station named on your ticket before you set out. Our Beijing travel guide and our Shanghai travel guide cover what to do once you arrive at each end.
When does flying make sense?
Flying is the right choice when the train timetable does not fit your day, or when you are connecting onward by air from Shanghai or Beijing. The time in the air is a little over 2 hours, but the full journey is longer than it looks: the airport transfer at each end, check-in, security and boarding, and collecting checked luggage all add up, and weather and air traffic can delay departures. Book through the airline or a travel agent and check the baggage rules before you pay. If your route mixes a flight with a train, leave a generous gap between the two, in case the first leg runs late.
What about the overnight train?
An overnight sleeper turns the journey into the night’s stay: you board in the evening, sleep on board, and wake up in Shanghai ready for the day, without spending the night in a hotel. It suits travellers who want to save a day for sightseeing and do not mind sleeping on a train. The trade-off is sleep itself: a bed on a moving train is not a hotel bed, so light sleepers should think twice. Overnight trains use the older city stations rather than Beijing South and Shanghai Hongqiao, so check your ticket. Our Beijing to Xian transport guide compares the same three choices — train, flight and overnight sleeper — on a longer route.
How do I book, and what should I check first?
Book trains on 12306, the official China Railway site and app: it is the only official online channel, and it has an English website and an English mode in its app. Tickets are sold under your real name, and for foreign travellers that means your passport. Check the day’s departures on 12306 before you travel, confirm the station on your ticket, and arrive early enough for the security and ID check at the station. If the train is one leg of a longer trip, our Beijing and Shanghai in 7 days itinerary pairs the two cities over a full week.
Before you go
- Check the train before you travel. High-speed train times change, so look up the day’s departures on 12306 before you leave — this guide gives no fixed times.
- Check the station on your ticket. Most G-trains use Beijing South and Shanghai Hongqiao, but slower services use the older city stations, which are not interchangeable.
- Count door-to-door time, not just time on board. The train wins on the transfer at each end; the flight wins only on time in the air.
- Keep your bags with you on the train. Checked luggage at the airport adds time at both ends; on the train your bags stay beside you.
- Private tours, quoted on request. Every OTC tour is private for 2 to 12 travellers, with your own guide and vehicle, no fixed departure date, and travel accident insurance included.
Plan the rest of the trip: Beijing Travel Guide · Shanghai Travel Guide · How to Take a Train in China · High-Speed Rail vs Flying in China · Beijing and Shanghai in 7 Days · Beijing to Xian: How to Travel
Frequently asked questions
How long does the Beijing to Shanghai high-speed train take?
About 4 hours 18 minutes on the fastest G-train; most services take 4.5 to 6 hours, depending on how many cities they stop at. Check the day’s departures on 12306 before you travel, as times change.
Which stations do Beijing to Shanghai trains use?
Most G-trains run from Beijing South to Shanghai Hongqiao. A few slower services use Beijing Railway Station and Shanghai Railway Station instead, so check the station named on your ticket.
Is the train or the flight faster door to door?
The train, for most travellers. The flight is a little over 2 hours in the air, but the airport transfers, check-in, security and baggage collection at each end usually make the full journey longer than the train.
Is there an overnight train from Beijing to Shanghai?
Yes. Overnight sleepers run between the two cities and save a hotel night. They use the older city stations rather than Beijing South and Shanghai Hongqiao, so check the station on your ticket.
How do I book a Beijing to Shanghai train?
Book on 12306, the official China Railway site and app, under your real name with your passport. Check the day’s departures there before you travel, as times change.
Planning a trip?
Tell us your dates and interests — itinerary draft + USD quotation within 24 hours.
Prepare My Quote RequestEvery OTC tour is private for 2–12 travellers, with no hidden fees, no shopping stops, and a draft itinerary plus USD quotation within 24 hours.


