🇨🇳 China extends 30-day visa-free entry through 2026 for 38 countries — Check if you qualify
travel essentialsTransportation & Transit

Beijing to Shanghai Train: The Complete Route Guide

Reading Time:~6 mins

transportMode: train

Last updated: March 2026. Train schedules and prices fluctuate — verify current availability before booking.

China's Beijing–Shanghai high-speed corridor handles more daily departures than most countries' entire rail networks. Over 50 G-series trains run between the capital and financial center on a typical weekday, with the fastest covering the 1,318 kilometers in four hours and eighteen minutes. For foreign travelers, this route is often the first encounter with China's rail system — and the one where getting the details right matters most, because Beijing South and Shanghai Hongqiao are massive stations where small mistakes cost time.

At a Glance

Difficulty: Moderate — app setup takes 10–15 minutes, riding is straightforward • What you need: Passport, 12306 app or Trip.com, mobile payment • Main app: Trip.com for English speakers; 12306 for lowest prices • Backup option: Station ticket counter with passport • English support: Good at major stations, limited on 12306 app • Cost range: ¥550–1,800 (~$75–250) depending on seat class

Step-by-Step Guide

Step 1: Choose your departure and arrival stations

Beijing and Shanghai each have multiple railway stations — getting the wrong one can add hours to your journey.

Beijing departure options:
  • Beijing South (北京南站): Main hub for G-series high-speed trains; Subway Line 4 or 14
  • Beijing Railway Station (北京站): Some D-series trains; closest to city center
  • Beijing West (北京西站): Limited services; mainly for western routes
Shanghai arrival options:
  • Shanghai Hongqiao (上海虹桥站): Main hub for G/D-series; Subway Lines 2, 10, 17; connected to airport
  • Shanghai Railway Station (上海站): Some services; central location; Lines 1, 3, 4
Recommendation: Beijing South ↔ Shanghai Hongqiao — most frequent departures, best facilities.

Step 2: Book your ticket (15 days in advance recommended)

Via Trip.com (Easiest for foreigners):
  • Select "Trains" → Beijing → Shanghai
  • Enter passport details (must match travel document exactly)
  • Choose seat class: Second / First / Business
  • Pay (international cards accepted)
  • E-ticket sent to app immediately
Via 12306 (Cheapest, Chinese interface):
  • Download "铁路12306" app
  • Register with real-name verification (passport + phone + facial recognition)
  • Search Beijing South to Shanghai Hongqiao
  • Tickets release 15 days ahead at 8:00 AM; popular times sell out within minutes
⚠️ Foreign Visitor Note: Your ticket is bound to your passport number — ensure your passport remains valid through your travel date. An expired passport invalidates the ticket.

Step 3: Get to the station

Beijing South Railway Station:
  • Subway Line 4 or 14 → "Beijing South Railway Station" (北京南站)
  • Arrive 1 hour before departure
  • The station is sprawling — allow extra time to locate your waiting hall
Shanghai Hongqiao Railway Station:
  • Subway Lines 2, 10, or 17 → "Hongqiao Railway Station" (虹桥火车站)
  • Connected to Hongqiao Airport Terminal 2 — useful for flight connections
  • Arrive 1 hour before departure

Step 4: Navigate security and boarding

  • Security check: Show passport + ticket confirmation (digital or print)
  • Find waiting hall: Check large departure boards for your train number
  • Boarding begins: 15 minutes before departure
  • Gate entry: Scan passport at automated gate, or use staffed channel if it fails
  • Platform: Follow signs to your carriage number marked on the platform floor

Step 5: Onboard experience

  • Journey time: 4.5 hours at up to 300km/h
  • Seated in your assigned carriage and seat number
  • Hot water dispenser and power outlets at every seat
  • Dining car available, or cart service with ¥30–60 meal options
  • Bilingual announcements (Chinese and English)
  • Clean, modern restrooms

Foreign Visitor Specifics

Passport requirements:
  • Online booking: Must use exact passport number as shown in document
  • Boarding: Scan passport at gate — no paper ticket required
  • At station: Keep passport accessible for random checks
Seat class breakdown:
  • Second class (二等座): ¥550–650, 5-seat rows (3+2), adequate comfort for 4.5 hours
  • First class (一等座): ¥900–1,000, 4-seat rows (2+2), wider seats, worth the upgrade if budget allows
  • Business class (商务座): ¥1,700–1,800, lie-flat seats, lounge access — unnecessary for most travelers
Booking strategy by timing:
  • Avoid: Friday evenings, Sunday evenings, pre-holiday dates
  • Better availability: Tuesday through Thursday departures
  • Day vs. overnight: G-series trains run daytime (4.5 hours); D-series overnight sleeper exists but is increasingly rare
Language barriers:
  • Station signage: Bilingual (Chinese/English)
  • Staff at major stations: Basic English usually available
  • 12306 app: Limited English — use Trip.com if uncertain
  • Useful phrases: "Beijing to Shanghai" (北京到上海), "Second class" (二等座)

When Things Go Wrong

ProblemSolution
Can't buy ticket onlineTry different times (off-peak availability), or use Trip.com (sometimes holds inventory)
Missed your trainGo to station counter to rebook on same-day trains with availability; fare difference may apply
Passport won't scan at gateUse staffed channel; show passport and e-ticket
Train delayedRare but happens. Check Trip.com app if booked there, or 12306 if booked there — rebooking or full refund available
Can't find waiting hallCheck departure boards for train number, ask staff "[Train number] where?", or follow the crowd

Cost Breakdown

Beijing to Shanghai high-speed rail (4.5 hours):
  • Second class: ¥550–650 (~$75–90)
  • First class: ¥900–1,000 (~$125–140)
  • Business class: ¥1,700–1,800 (~$240–250)
Additional costs:
  • Subway to Beijing South: ¥3–7 (~$0.50–1)
  • Subway from Shanghai Hongqiao: ¥3–7 (~$0.50–1)
  • Onboard meals: ¥30–60 (~$4–8) or bring your own

Prices are indicative — confirm current rates before booking. Holiday periods see 50–100% premiums when booking late.

Book 15 days ahead for peak periods, arrive at the station one hour early, and double-check which station in each city — Beijing has three, Shanghai has two, and they are not close together. Keep your passport accessible for the entire journey; you'll need it to board and possibly for platform access.

Related Guides: