High-speed train crossing the Yangtze, China
Home / Rail

Beijing to Shanghai by High-Speed Rail: The Complete Guide (2026)

The short answer: The Beijing-Shanghai line is China's flagship rail corridor: ~1,318 km in roughly 4.5 hours on G-class trains, with departures every few minutes from early morning to late evening. Second class costs typically 553 CNY on standard G-trains (about 553–662 CNY on busier/premium services), first class about 930–1,076 CNY, business class about 1,748–2,354 CNY. For city-center to city-center travel, the train usually beats flying when you count airport time.

Why Take the Train Instead of Flying

FactorHigh-speed railFlight
Downtown-to-downtown time~5.5h total (incl. station time)~6h total (airport transfer + security)
PunctualityExcellentWeather-dependent
LuggageNo checked-bag fees, generous racksFees on some carriers
SceneryFarmland, rivers, city skylinesClouds
Wi-FiPatchy (see below)None

The Stations (Get This Right)

Seat Classes: What You Actually Get

ClassPrice range (2026)¹What you get
Second553–662 CNY2+3 seating, power sockets, tray table
First930–1,076 CNY2+2 wider seats, quieter, more luggage space
Business1,748–2,354 CNYLie-flat pods, lounge access, meal service

¹ Published / typical 12306 ranges for G-trains Beijing South → Shanghai Hongqiao, August 2026. China Railway uses floating fares; confirm on 12306 or Trip.com for your train number.

Honest verdict: for a 4.5-hour ride, second class is genuinely fine. First class is worth it if you're tall, traveling with big luggage, or need to work. Business class is a splurge — nice, but you'll arrive before you finish enjoying it.

Onboard Reality

Booking Step-by-Step

  1. Book via Trip.com (English) or 12306 (passport registration) — see our train booking guide;
  2. Tickets release ~15 days ahead; popular times (Friday evening, Sunday) sell fast;
  3. Pay with a foreign card on Trip.com;
  4. Board with your passport — scan at the gate, no paper ticket.

A Better Route: Stop in the Middle

Instead of a straight shot, split the journey:

FAQ

How long exactly?

About 4.5-6 hours depending on the train (G-class fast trains ~4.5h).

Which side has better views?

Either side is mostly farmland; the Yangtze crossing on the Nanjing-Shanghai stretch is the highlight.

Is it safe at night?

Yes - stations and trains are secure, CCTV-covered environments.

Can I buy tickets at the station?

Yes, but popular departures sell out - book online ahead.

Rail or fly for this route?

Rail wins for most travelers door-to-door.

Planning tools we recommend

We may earn a commission if you book through these links - disclosure.

Book trains & hotels on Trip.com →

Planning a trip? Get a free itinerary check.

Tell us your dates and interests - we reply within 24 hours with route ideas and honest budget numbers.

Get My Free Itinerary Check