Shanghai to Beijing Train

2 km · 4h 24min · 51+ trains daily · from $45

2 km Distance
4h 24min Fastest Journey
51+ Daily Trains
$45 Price From (2nd Class)

About This Route

The Shanghai–Beijing line is one of the busiest rail corridors connecting these two cities. With 51+ trains running daily, you'll rarely have trouble finding a seat — though booking a day or two ahead is still a good idea during holidays.

Which Train Should You Take?

Most travelers pick a G-train (high-speed, up to 350 km/h). They're comfortable, punctual, and the stations are modern. If you're on a budget, D-trains are slightly slower but cheaper. For overnight journeys, Z-trains have sleeper berths — you save a hotel night.

Seat Classes

High-speed trains offer second class (5 seats per row, perfectly fine for most journeys), first class (4 seats per row, more legroom), and business class (fully reclining, premium price). For this route, second class is what most people book — it's clean, quiet, and has power outlets. Prices start from $45.

Tips for This Route

  • Book 3–5 days ahead during Chinese holidays (Spring Festival, National Day, Dragon Boat).
  • Shanghai may have multiple stations — make sure you go to the right one. The ticket shows the exact station name.
  • Arrive 30 minutes before departure. Security + ticket check takes time.
  • Bring your passport — you'll need it to enter the station and board.
  • The fastest train takes about 4h 24min.

Shanghai to Beijing High-Speed Trains

There are 51 daily trains between Shanghai and Beijing. The fastest high-speed train (G532) departs at 06:31 and takes 5h 47min.

Sample high-speed train schedule from Shanghai to Beijing
TrainDepartureArrivalDuration
G532 06:31 12:18 5h 47min
G548 06:32 12:39 6h 7min
G2 06:43 11:32 4h 49min
G4 07:00 11:37 4h 37min
G550 07:22 13:21 5h 59min
G566 07:27 13:36 6h 9min
G598 07:38 13:32 5h 54min
G8 08:00 12:26 4h 26min

Schedules are for reference only. Search real-time availability →

Regular Trains

Slower but cheaper options including K-trains and T-trains with sleeper berths available for overnight travel.

Sample regular train schedule from Shanghai to Beijing
TrainDepartureArrivalDuration
1462 12:15 10:46 22h 31min
T110 16:30 08:33 16h 3min
Z282 19:17 09:52 14h 35min

Want to check tomorrow's availability and exact prices?

Search Real-Time Schedules →

Ticket Prices (USD)

Prices vary by train type and seat class. Second class on high-speed trains offers the best value for most travelers.

Standing
$22 – $96
Hard Seat
$22 – $25
First Class
$131 – $157
Hard Sleeper
$40 – $43
Second Class
$45 – $96
Soft Sleeper
$64 – $67
Business Class
$252 – $347
First Class Sleeper
$85 – $103
Premium First Class
$195 – $207
Second Class Sleeper
$67 – $81

Prices are approximate and may vary by date and availability. Last updated: 2026-05-14.

Ready to Book?

Search real-time train schedules and book your Shanghai to Beijing tickets now.

Search Trains →