RouteBetween
The Forbidden City in Beijing

Updated November 2026

Shanghai to Beijing by train or car

Fastest: Train 4h 30m 1,211 km (752 mi) by road ~40 departures a day

Photo: Ermell, CC BY-SA 4.0, via Wikimedia Commons

From Shanghai, China Railway G-series high-speed trains trains leave Shanghai Hongqiao about 40 times a day and reach Beijing South in about 4 hours 30 minutes, with one-way fares usually $70–$150. Driving is 1,211 km (752 mi) and takes about 12 hours 21 minutes without stops.

Journey time at a glance

Train 4h 30m
Drive 12h 21m

Ways to travel from Shanghai to Beijing

Fastest first. Typical times and one-way fares in US dollars.

Train

China Railway G-series high-speed trains

Fastest
Time
4h 30m
Typical fare
$70–$150
Departures
~40 a day

Shanghai Hongqiao Beijing South

Dozens of trains run daily. You need your passport to buy tickets and to board.

Drive

Time
12h 21m
Distance
1,211 km / 752 mi
Fuel estimate
≈ $182

G2 Beijing–Shanghai Expressway. Foreign driving licences are not valid in China, so most visitors take the train. Fuel estimate at about $0.15/km; tolls, vignettes and parking extra.

Arriving in Beijing

Beijing South · train from Shanghai

In the south of the city, on metro lines 4 and 14. Line 4 runs north to Xidan, where line 1 continues to Tiananmen and Wangfujing.

Where to stay in Beijing

Where to stay in Beijing

Compare hotel prices for your dates on Booking.com.

Shanghai to Beijing: common questions

How long does it take to get from Shanghai to Beijing?

The fastest option is the train, at about 4 hours 30 minutes. By comparison, driving takes about 12 hours 21 minutes.

How far is Shanghai from Beijing?

Shanghai is about 1,211 km (752 miles) from Beijing by road, and 1,067 km in a straight line.

Which station do I leave from in Shanghai?

For Beijing, trains leave from Shanghai Hongqiao.

Is there a direct train from Shanghai to Beijing?

Yes. China Railway G-series high-speed trains run about 40 times a day from Shanghai Hongqiao to Beijing South, taking about 4 hours 30 minutes.

What is the cheapest way to travel from Shanghai to Beijing?

Usually the train: typical one-way fares start around $70. Book early for the lowest prices.

Where should I stay in Beijing?

Good bases include Near Beijing South, Wangfujing and Qianmen.

Are these live times and prices?

No. They are typical journey times and fare ranges. Check live departures and prices before you book.

Times and fares are typical figures updated November 19, 2026; check live departures and prices before you book. Report a correction.