Shanghai Pudong skyline panoramic view along the Huangpu River
Routes

Beijing to Shanghai

China's flagship high-speed line in under five hours.

By the Viamo editorial team · Editor Terje Moy · Last updated July 2026 · 4 min read

Fastest ~4h18 by train

At a glance Typical options on this route – details, caveats and booking advice below.
🚆 Train~4h18–5h30Fuxing/Hexie G-series HSR, South–Hongqiao, reservation req.
🚆 Train~11–15hOvernight sleeper, hard/soft berths, budget option
✈️ Flight~2hMultiple carriers; door-to-door often 5h+, slower than HSR
🚌 Bus~16h+Long-distance coach, rarely first choice

Planning this trip? Currency converter · Jet-lag calculator · Trip budget · Compare routes

Beijing and Shanghai are China's twin poles — about 1,300 kilometres apart and linked by one of the world's most impressive high-speed rail networks. The CRH high-speed train is faster than flying door-to-door, supremely comfortable and, for most travellers, the obvious choice. Here is how the options compare, and what you need to know before you book.

The main way: CRH high-speed rail

China's high-speed rail network is the largest in the world, and the Beijing–Shanghai line is its flagship. Fuxing (CR400) trains — the latest generation — cruise at up to 350 km/h, covering the roughly 1,300 km in as little as 4 hours 18 minutes on the fastest non-stop G-series services. The slightly older Hexie trains take a little longer on some services. Trains depart from Beijing South Station and arrive at Shanghai Hongqiao Station, which is integrated into Hongqiao Airport and well connected to central Shanghai by metro.

Services run very frequently throughout the day — multiple trains every hour at peak times — so flexibility is good once you have a ticket. Second class is genuinely comfortable with airline-style seats; first class is wider and quieter; business class lies flat. A seat reservation is always required; there is no boarding without one.

Fares vary by class and how far in advance you book. Second-class tickets sell at a fixed price set by China Rail, but first and business class tickets can be somewhat more variable. Advance booking is wise during Chinese national holidays — Golden Week in October and the Spring Festival period are the two most congested times of year, when tickets sell out weeks in advance.

Booking for foreign visitors: China Rail tickets can be bought online via the official 12306 app or website, though the interface and passport registration require some patience. Many travellers book via third-party agencies such as Trip.com, which offer English-language booking at a small service fee. You can also collect pre-booked tickets at station machines or counters with your passport.

The night train: an older option

Conventional overnight sleeper trains still operate on the Beijing–Shanghai route, taking around 11 to 15 hours and offering a different experience at a lower fare. Hard sleeper (six-berth open compartments) is the most common choice; soft sleeper (four-berth enclosed compartments) is more private. These trains are a throwback to an earlier era of Chinese rail travel — less common now that high-speed is so accessible, but they have their advocates, particularly those who want to save a night's accommodation or prefer not to fly.

Flying between Beijing and Shanghai

Flights between the two cities are plentiful, with Air China, China Eastern, China Southern and others offering frequent departures from Beijing Capital (PEK) and Beijing Daxing (PKX) to Shanghai Pudong (PVG) or Shanghai Hongqiao (SHA). The flight itself is around 2 hours.

The door-to-door picture is less flattering. Beijing Capital airport is a considerable distance from the centre of the city, and the transfer time is significant. Pudong airport in Shanghai is similarly far from downtown. By the time you add airport arrival, check-in, security, boarding and ground transfer at the other end, the total time is rarely much less than five hours — and often more. The high-speed train from central Beijing to Hongqiao typically beats flying in door-to-door time for most city-centre journeys.

Flying is worth considering if you get a very cheap fare and are already near an airport at one end, or if you are routing onward internationally from Pudong.

The bus

Long-distance coaches operate between Beijing and Shanghai, but with the journey taking upwards of 16 hours and the high-speed train being so competitive in price, buses are rarely the first choice for this distance. They remain an option for those with a very strict budget or specific roadside stops in mind.

Which should you choose?

For almost everyone, the high-speed G-train is the right choice: fast, frequent, punctual, central to central, and genuinely impressive as an experience. The night sleeper suits budget or nostalgic travellers who want to save accommodation costs. Flying is only sensible if you are beginning or ending your journey near an airport, or the fare is very low and you have light baggage. The bus is the last resort option for the very budget-conscious.

For those building a broader trip, China's rail network extends well beyond this corridor — see our overview at rail travel for more on booking and planning.

Frequently asked questions

How long does the high-speed train take from Beijing to Shanghai?

The fastest G-series trains (Fuxing) complete the journey in about 4 hours 18 minutes non-stop. Most services take 4 hours 30 minutes to 5 hours 30 minutes, depending on how many intermediate stops they make.

Which stations do the trains use?

High-speed trains depart from Beijing South Station and arrive at Shanghai Hongqiao Station. Both stations are served by metro and well connected to their city centres. Check your ticket carefully — Beijing has several major stations and not all serve this route.

Is it faster to fly or take the train from Beijing to Shanghai?

For most travellers starting and ending in the city centres, the high-speed train is faster door-to-door, despite the flight itself being only about 2 hours. Airport transfers at both ends and security time typically make flying slower in practice.

Do I need to book in advance?

Booking ahead is recommended, particularly during Chinese national holidays when trains fill weeks in advance. At quieter times, same-day or next-day tickets are usually available. A seat reservation is always required — there is no open seating on high-speed services.

Sources and further reading: