• Our partners include:

  • Booking.com
  • Skyscanner
  • Airbnb
  • Expedia
  • Uber
  • Rentalcars.com

There are 11 ways to get from Shanghai to Beijing by train, car, plane or bus

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Train  •  4h 38m

  1. Take the train from Shanghai Station to Beijing South Shanghai

$55 - $100

10 alternative options

Train via Jinan West  •  4h 46m

  1. Take the train from Shanghai Station to Jinan West Shanghai
  2. Take the train from Jinan West to Beijing South Shanghai Hongqiao / ...

$90 - $104

Train China Railways K-Class  •  19h 13m

  1. Take the train from Shanghai to Tianjin Station Shanghai
  2. Take the train from Tianjin Station to Beijing South Tianjin

Drive  •  12h 17m

  1. Drive from Shanghai to Beijing 755.9 miles

$100 - $160

Fly Shanghai Hongqiao to Beijing Capital  •  4h 25m

  1. Fly from Shanghai Hongqiao (SHA) to Beijing Capital (PEK) SHA - PEK

$79 - $255

Fly Shanghai Pudong to Beijing Capital  •  4h 45m

  1. Fly from Shanghai Pudong (PVG) to Beijing Capital (PEK) PVG - PEK

$107 - $383

Fly Shanghai Pudong to Beijing Nanyuan  •  5h 12m

  1. Fly from Shanghai Pudong (PVG) to Beijing Nanyuan (NAY) PVG - NAY

$108 - $289

Fly Shanghai Hongqiao to Beijing Nanyuan  •  4h 52m

  1. Fly from Shanghai Hongqiao (SHA) to Beijing Nanyuan (NAY) SHA - NAY

$100 - $301

Bus to Nantong, fly to Beijing Capital  •  5h 45m

  1. Take the bus from Shanghai Zongzhan to Jiangsu Tongzhou
  2. Fly from Nantong (NTG) to Beijing Capital (PEK) NTG - PEK

$92 - $335

Train to Sunan Shuofang, fly to Beijing Capital  •  5h 55m

  1. Take the train from Shanghai to Wuxi
  2. Fly from Sunan Shuofang (WUX) to Beijing Capital (PEK) WUX - PEK

$94 - $481

Train to Hangzhou Xiaoshan, fly to Beijing Capital  •  5h 53m

  1. Take the train from Shanghai Hongqiao to Hangzhou East
  2. Fly from Hangzhou Xiaoshan (HGH) to Beijing Capital (PEK) HGH - PEK

$112 - $276

Questions & Answers

The cheapest way to get from Shanghai to Beijing is to train which costs ¥380 - ¥700 and takes 4h 38m.

More details

The quickest way to get from Shanghai to Beijing is to fly which costs ¥550 - ¥1800 and takes 4h 25m.

More details

Yes, there is a direct train departing from Shanghai Station station and arriving at Beijing South. Services depart four times a day, and operate every day. The journey takes approximately 4h 38m.

More details

The distance between Shanghai and Beijing is 1068 km. The road distance is 1209.4 km.

Get driving directions

The best way to get from Shanghai to Beijing without a car is to train which takes 4h 38m and costs ¥380 - ¥700.

More details

The train from Shanghai Station to Beijing South takes 4h 38m including transfers and departs four times a day.

More details

Shanghai to Beijing train services, operated by China Railways G-Class, arrive at Shanghai Station.

More details

The best way to get from Shanghai to Beijing is to train which takes 4h 38m and costs ¥380 - ¥700. Alternatively, you can fly, which costs ¥550 - ¥1800 and takes 4h 25m.

Mode details

The quickest flight from Shanghai Hongqiao Airport to Beijing Capital Airport is the direct flight which takes 2h 15m.

Search flights

Shanghai to Beijing train services, operated by China Railways G-Class, arrive at Beijing South station.

More details

Map of how to get from Shanghai to Beijing.
Launch map view
  • Distance: 667.7 miles
  • Duration: 4h 38m

What companies run services between Shanghai, China and Beijing, China?

China Railways G-Class operates a train from Shanghai to Beijing twice daily. Tickets cost $85 - $100 and the journey takes 4h 38m. China Railways D-Class also services this route twice daily. Alternatively, Hainan, China Eastern Airlines and four other airlines fly from Shanghai to Beijing every 30 minutes.

Airlines
China Eastern Airlines
Website
en.ceair.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 23m
When
Every day
Estimated price
$85 - $400
Flights from Shanghai Pudong to Beijing Capital
Ave. Duration
2h 26m
When
Every day
Estimated price
$120 - $550
Flights from Shanghai Pudong to Beijing Capital via Qingdao
Ave. Duration
4h 30m
When
Every day
Estimated price
$120 - $550
Flights from Shanghai Pudong to Beijing Capital via Xi An
Ave. Duration
5h 35m
When
Monday, Tuesday, Wednesday, Thursday and Saturday
Estimated price
$120 - $550
Flights from Shanghai Pudong to Beijing Nanyuan
Ave. Duration
2h 32m
When
Every day
Estimated price
$110 - $390
Flights from Shanghai Pudong to Beijing Nanyuan via Rizhao Shanzihe
Ave. Duration
4h 45m
When
Every day
Estimated price
$110 - $390
Flights from Shanghai Hongqiao to Beijing Nanyuan
Ave. Duration
2h 25m
When
Every day
Estimated price
$100 - $330
Flights from Sunan Shuofang to Beijing Capital
Ave. Duration
2h 2m
When
Every day
Estimated price
$130 - $600
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 23m
When
Every day
Estimated price
$150 - $440
Air China
Website
airchina.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 25m
When
Every day
Estimated price
$140 - $550
Flights from Shanghai Pudong to Beijing Capital
Ave. Duration
2h 26m
When
Every day
Estimated price
$160 - $750
Flights from Nantong to Beijing Capital
Ave. Duration
2h 7m
When
Every day
Estimated price
$110 - $470
Flights from Nantong to Beijing Capital via Dalian
Ave. Duration
4h 35m
When
Monday, Wednesday, Friday and Sunday
Estimated price
$75 - $420
Flights from Sunan Shuofang to Beijing Capital
Ave. Duration
2h 10m
When
Every day
Estimated price
$160 - $1,000
Flights from Sunan Shuofang to Beijing Capital via Shenyang
Ave. Duration
5h
When
Every day
Estimated price
$160 - $1,000
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 19m
When
Every day
Estimated price
$230 - $500
China Southern Airlines
Website
csair.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 22m
When
Every day
Estimated price
$85 - $400
Flights from Shanghai Pudong to Beijing Capital
Ave. Duration
2h 27m
When
Every day
Estimated price
$120 - $550
Flights from Shanghai Pudong to Beijing Capital via Dalian
Ave. Duration
4h 36m
When
Every day
Estimated price
$280 - $950
Flights from Shanghai Pudong to Beijing Capital via Shenyang
Ave. Duration
5h 20m
When
Every day
Estimated price
$280 - $950
Flights from Sunan Shuofang to Beijing Capital
Ave. Duration
2h 2m
When
Every day
Estimated price
$130 - $600
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 21m
When
Every day
Estimated price
$170 - $480
Shenzhen Airlines
Website
shenzhenair.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 24m
When
Every day
Estimated price
$140 - $550
Flights from Shanghai Pudong to Beijing Capital
Ave. Duration
2h 25m
When
Every day
Estimated price
$160 - $750
Flights from Nantong to Beijing Capital
Ave. Duration
2h 7m
When
Every day
Estimated price
$110 - $470
Flights from Sunan Shuofang to Beijing Capital
Ave. Duration
2h 10m
When
Every day
Estimated price
$160 - $1,000
Flights from Sunan Shuofang to Beijing Capital via Shenyang
Ave. Duration
5h
When
Every day
Estimated price
$160 - $1,000
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 20m
When
Every day
Estimated price
$240 - $550
Hainan
Website
hainanairlines.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 22m
When
Every day
Estimated price
$100 - $550
Flights from Shanghai Pudong to Beijing Capital
Ave. Duration
2h 40m
When
Every day
Estimated price
$95 - $750
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 16m
When
Every day
Estimated price
$130 - $440
Xiamen Airlines
Website
xiamenair.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 26m
When
Every day
Estimated price
$95 - $430
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 20m
When
Every day
Estimated price
$210 - $750
Juneyao Airlines
Website
juneyaoair.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 25m
When
Every day
Estimated price
$120 - $460
Flights from Nantong to Beijing Capital
Ave. Duration
2h 10m
When
Every day
Estimated price
$75 - $420
Shanghai Airlines
Website
ceair.com
Flights from Shanghai Hongqiao to Beijing Capital
Ave. Duration
2h 22m
When
Every day
Estimated price
$85 - $410
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 32m
When
Every day
Estimated price
$100 - $390
China United
Website
flycua.com
Flights from Shanghai Pudong to Beijing Nanyuan
Ave. Duration
2h 32m
When
Every day
Estimated price
$110 - $390
Flights from Shanghai Hongqiao to Beijing Nanyuan
Ave. Duration
2h 25m
When
Every day
Estimated price
$100 - $330
Shandong Airlines
Website
shandongair.com.cn
Flights from Nantong to Beijing Capital via Qingdao
Ave. Duration
4h 25m
When
Every day
Estimated price
$65 - $240
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 15m
When
Every day
Estimated price
$70 - $260
Beijing Capital
Website
intl.jdair.net
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 20m
When
Every day
Estimated price
$120 - $400
Zhejiang Loong Airlines
Website
loongair.cn
Flights from Hangzhou Xiaoshan to Beijing Capital
Ave. Duration
2h 20m
When
Every day
Estimated price
$60 - $240
Train operators
China Railways G-Class
Train from Shanghai Station to Beijing South
Ave. Duration
4h 38m
Frequency
Twice daily
Estimated price
$85 - $100
Schedules at
trip.com
2nd Class Seat
$85 - $100
1st Class Seat
$140 - $160
Business Class Seat
$260 - $310
Train from Shanghai Station to Jinan West
Ave. Duration
3h 10m
Frequency
Twice daily
Estimated price
$60 - $70
Schedules at
trip.com
2nd Class Seat
$60 - $70
1st Class Seat
$100 - $120
Business Class Seat
$180 - $220
Train from Jinan West to Beijing South
Ave. Duration
1h 27m
Frequency
Every 20 minutes
Estimated price
$30 - $35
Schedules at
trip.com
2nd Class Seat
$30 - $35
1st Class Seat
$45 - $55
Business Class Seat
$95 - $110
Train from Shanghai to Wuxi
Ave. Duration
44m
Frequency
Every 30 minutes
Estimated price
$13 - $16
Schedules at
trip.com
2nd Class Seat
$13 - $16
1st Class Seat
$20 - $24
Business Class Seat
$40 - $50
Train from Shanghai Hongqiao to Hangzhou East
Ave. Duration
47m
Frequency
Every 20 minutes
Estimated price
$15 - $18
Schedules at
trip.com
2nd Class Seat
$15 - $18
1st Class Seat
$24 - $27
Business Class Seat
$45 - $60
China Railways D-Class
Website
chinahighlights.com
Train from Shanghai to Beijing South
Ave. Duration
11h 48m
Frequency
Twice daily
Estimated price
$55 - $75
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$55 - $75
1st Class Seat
$80 - $120
Train from Shanghai Hongqiao to Hangzhou East
Ave. Duration
1h 7m
Frequency
Hourly
Estimated price
$9 - $13
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$9 - $13
1st Class Seat
$9 - $14
China Railways K-Class
Website
chinahighlights.com
Train from Shanghai to Tianjin Station
Ave. Duration
18h 34m
Frequency
Once daily
Estimated price
$23 - $28
Schedules at
trip.com
Book at
trip.com
Hard Seat
$23 - $28
Hard Sleeper
$40 - $50
Soft Sleeper
$65 - $80
Train from Shanghai to Wuxi
Ave. Duration
1h 44m
Frequency
Once daily
Estimated price
$6 - $12
Schedules at
trip.com
Book at
trip.com
Hard Seat
$6 - $12
Hard Sleeper
$14 - $22
Soft Sleeper
$21 - $35
China Railways Z-Class
Website
chinahighlights.com
Train from Shanghai to Wuxi
Ave. Duration
1h 15m
Frequency
Once daily
Estimated price
$6 - $9
Schedules at
trip.com
Book at
trip.com
Hard Seat
$6 - $9
Hard Sleeper
$10 - $23
Soft Sleeper
$17 - $22
China Railways T-Class
Website
china-railway.com.cn
Train from Shanghai to Wuxi
Ave. Duration
1h 31m
Frequency
Once daily
Estimated price
$5 - $16
Schedules at
trip.com
Book at
trip.com
Hard/Soft Seat
$5 - $9
Hard Sleeper
$12 - $16
Soft Sleeper
$20 - $26
Bus operators
China Bus Guide
Website
chinabusguide.com
Bus from Shanghai Zongzhan to Jiangsu Tongzhou
Ave. Duration
1h 40m
Frequency
Hourly
Estimated price
$9
Schedules at
chinabusguide.com

Want to know more about travelling around China

Rome2rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.

More Questions & Answers

Yes, the driving distance between Shanghai to Beijing is 1209 km. It takes approximately 12h 17m to drive from Shanghai to Beijing.

Get driving directions

China Southern Airlines, Juneyao Airlines, Shanghai Airlines and three other airlines offer flights from Shanghai Hongqiao Airport to Beijing Capital Airport.

Search flights

There are 1393+ hotels available in Beijing. Prices start at $53 USD per night.

More details

The best way to get from Shanghai to Shanghai Hongqiao Airport is to line 10 subway which takes 18m and costs ¥3 - ¥4.

More details