Directions from Shanghai to Beijing

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  •  6 h 58 min

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

$86 - $111

Cheapest option

Train China Railways D-Class  •  11 h 47 min

  1. Take the train from Shanghai to Beijing South D314

$55 - $110

10 alternative options

Train via Nanjing South  •  7 h 46 min

  1. Take the train from Shanghai to Nanjing South G7072
  2. Take the train from Nanjing South to Beijing South G46

$100 - $118

Bus  •  20 h

  1. Take the bus from Shanghai to Jinan Bus Terminal
  2. Take the bus from Jinan Bus Terminal to Beijing

$61

Drive  •  12 h 17 min

  1. Drive from Shanghai to Beijing 755.9 miles

$100 - $160

Fly Shanghai Hongqiao to Beijing  •  4 h 20 min

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

$80 - $255

Line 2 subway to Shanghai Pudong, fly to Beijing  •  4 h 41 min

  1. Take the line 2 subway from West Nanjing Road to Longyang Road
  2. Fly from Shanghai Pudong (PVG) to Beijing (PEK) PVG - PEK

$108 - $383

Fly Shanghai Hongqiao to Beijing Nanyuan Apt  •  5 h 10 min

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

$102 - $302

Fly Shanghai Pudong to Beijing Nanyuan Apt  •  5 h 26 min

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

$110 - $290

Bus to Nantong, fly to Beijing  •  5 h 33 min

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

$94 - $337

Train to Wuxi, fly to Beijing  •  5 h 33 min

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

$94 - $481

Fly Shanghai Hongqiao to Tianjin, train  •  6 h 18 min

  1. Fly from Shanghai Hongqiao (SHA) to Tianjin (TSN) SHA - TSN
  2. Take the train from Tianjin South to Beijing South

$82 - $287

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

China Railways G-Class operates a train from Shanghai to Beijing hourly. Tickets cost $85 - $110 and the journey takes 6 h 3 min. Alternatively, you can take a bus from Shanghai to Beijing via Jinan Bus Terminal in around 20 h.

Airlines
China Eastern Airlines
Website
en.ceair.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 18 min
When
Every day
Estimated price
$90 - $410
Flights from Shanghai Pudong to Beijing
Ave. Duration
2 h 28 min
When
Every day
Estimated price
$120 - $550
Flights from Shanghai Pudong to Beijing via Hefei
Ave. Duration
4 h 25 min
When
Every day
Estimated price
$120 - $550
Flights from Shanghai Pudong to Beijing via Dalian
Ave. Duration
4 h 25 min
When
Every day
Estimated price
$120 - $550
Flights from Shanghai Hongqiao to Beijing Nanyuan Apt
Ave. Duration
2 h 20 min
When
Every day
Estimated price
$100 - $330
Flights from Shanghai Hongqiao to Beijing Nanyuan Apt via Yantai
Ave. Duration
5 h 20 min
When
Tuesday, Wednesday, Friday and Sunday
Estimated price
$130 - $850
Flights from Shanghai Pudong to Beijing Nanyuan Apt
Ave. Duration
2 h 31 min
When
Every day
Estimated price
$110 - $390
Flights from Shanghai Pudong to Beijing Nanyuan Apt via Dalian
Ave. Duration
4 h 20 min
When
Every day
Estimated price
$180 - $700
Flights from Shanghai Pudong to Beijing Nanyuan Apt via Baotou
Ave. Duration
5 h 10 min
When
Every day
Estimated price
$200 - $1,200
Flights from Shanghai Pudong to Beijing Nanyuan Apt via Weihai
Ave. Duration
5 h 30 min
When
Every day
Estimated price
$140 - $750
Flights from Wuxi to Beijing
Ave. Duration
2 h
When
Every day
Estimated price
$130 - $600
Flights from Wuxi to Beijing via Dalian
Ave. Duration
4 h 10 min
When
Every day
Estimated price
$130 - $600
Flights from Shanghai Hongqiao to Tianjin
Ave. Duration
2 h 15 min
When
Every day
Estimated price
$75 - $280
China Southern Airlines
Website
csair.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 17 min
When
Every day
Estimated price
$90 - $410
Flights from Shanghai Pudong to Beijing
Ave. Duration
2 h 25 min
When
Every day
Estimated price
$120 - $550
Flights from Shanghai Pudong to Beijing via Dalian
Ave. Duration
4 h 5 min
When
Every day
Estimated price
$280 - $950
Flights from Shanghai Pudong to Beijing via Shenyang
Ave. Duration
5 h 2 min
When
Every day
Estimated price
$280 - $950
Flights from Shanghai Pudong to Beijing via Changsha
Ave. Duration
5 h 20 min
When
Every day
Estimated price
$280 - $950
Flights from Shanghai Pudong to Beijing via Changchun
Ave. Duration
5 h 20 min
When
Every day
Estimated price
$280 - $950
Flights from Wuxi to Beijing
Ave. Duration
2 h
When
Every day
Estimated price
$130 - $600
Flights from Shanghai Hongqiao to Tianjin
Ave. Duration
2 h 15 min
When
Every day
Estimated price
$70 - $270
Air China
Website
airchina.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 18 min
When
Every day
Estimated price
$140 - $550
Flights from Shanghai Pudong to Beijing
Ave. Duration
2 h 30 min
When
Every day
Estimated price
$160 - $750
Flights from Nantong to Beijing
Ave. Duration
2 h 5 min
When
Every day
Estimated price
$160 - $550
Flights from Nantong to Beijing via Dalian
Ave. Duration
4 h 45 min
When
Monday, Wednesday, Friday, Saturday and Sunday
Estimated price
$75 - $420
Flights from Shanghai Hongqiao to Tianjin
Ave. Duration
2 h 15 min
When
Every day
Estimated price
$70 - $600
Shenzhen Airlines
Website
shenzhenair.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 17 min
When
Every day
Estimated price
$140 - $550
Flights from Shanghai Pudong to Beijing
Ave. Duration
2 h 25 min
When
Every day
Estimated price
$160 - $750
Flights from Nantong to Beijing
Ave. Duration
2 h
When
Every day
Estimated price
$110 - $470
Flights from Wuxi to Beijing
Ave. Duration
1 h 55 min
When
Every day
Estimated price
$160 - $1,000
Flights from Wuxi to Beijing via Dalian
Ave. Duration
4 h 45 min
When
Tuesday, Thursday and Saturday
Estimated price
$160 - $1,000
Flights from Shanghai Hongqiao to Tianjin
Ave. Duration
2 h 15 min
When
Every day
Estimated price
$70 - $600
Xiamen Airlines
Website
xiamenair.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 22 min
When
Every day
Estimated price
$100 - $470
Flights from Shanghai Pudong to Beijing via Dalian
Ave. Duration
4 h 5 min
When
Every day
Estimated price
$280 - $950
Flights from Shanghai Pudong to Beijing via Shenyang
Ave. Duration
5 h 2 min
When
Every day
Estimated price
$280 - $950
Flights from Shanghai Pudong to Beijing via Changsha
Ave. Duration
5 h 20 min
When
Every day
Estimated price
$280 - $950
Flights from Shanghai Pudong to Beijing via Changchun
Ave. Duration
5 h 20 min
When
Every day
Estimated price
$280 - $950
Hainan
Website
hainanairlines.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 14 min
When
Every day
Estimated price
$100 - $550
Flights from Shanghai Pudong to Beijing
Ave. Duration
2 h 25 min
When
Every day
Estimated price
$95 - $750
Shanghai Airlines
Website
ceair.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 22 min
When
Every day
Estimated price
$85 - $410
Flights from Shanghai Hongqiao to Tianjin
Ave. Duration
2 h 16 min
When
Every day
Estimated price
$70 - $300
China United
Website
flycua.com
Flights from Shanghai Hongqiao to Beijing Nanyuan Apt
Ave. Duration
2 h 20 min
When
Every day
Estimated price
$100 - $330
Flights from Shanghai Pudong to Beijing Nanyuan Apt
Ave. Duration
2 h 31 min
When
Every day
Estimated price
$110 - $390
Flights from Shanghai Hongqiao to Tianjin
Ave. Duration
2 h 10 min
When
Every day
Estimated price
$85 - $210
Juneyao Airlines
Website
juneyaoair.com
Flights from Shanghai Hongqiao to Beijing
Ave. Duration
2 h 20 min
When
Every day
Estimated price
$130 - $490
Flights from Nantong to Beijing
Ave. Duration
1 h 55 min
When
Monday, Wednesday, Friday and Sunday
Estimated price
$75 - $420
Tianjin Airlines
Website
tianjin-air.com
Flights from Shanghai Hongqiao to Tianjin
Ave. Duration
2 h 10 min
When
Tuesday, Thursday and Saturday
Estimated price
$110 - $290
Train operators
China Railways G-Class
Train from Shanghai Hongqiao Station to Beijing South
Ave. Duration
6 h 3 min
Frequency
Hourly
Estimated price
$85 - $110
Schedules at
trip.com
2nd Class Seat
$85 - $110
1st Class Seat
$140 - $170
Business Class Seat
$270 - $320
Train from Shanghai to Nanjing South
Ave. Duration
2 h 2 min
Frequency
Once daily
Estimated price
$24 - $29
Schedules at
trip.com
2nd Class Seat
$24 - $29
1st Class Seat
$39 - $45
Business Class Seat
$75 - $90
Train from Nanjing South to Beijing South
Ave. Duration
4 h 44 min
Frequency
Once daily
Estimated price
$75 - $90
Schedules at
trip.com
2nd Class Seat
$75 - $90
1st Class Seat
$120 - $150
Business Class Seat
$240 - $280
Train from Shanghai to Wuxi
Ave. Duration
44 min
Frequency
Hourly
Estimated price
$13 - $16
Schedules at
trip.com
2nd Class Seat
$13 - $16
1st Class Seat
$20 - $24
Business Class Seat
$40 - $50
China Railways D-Class
Website
chinahighlights.com
Train from Shanghai to Beijing South
Ave. Duration
11 h 47 min
Frequency
Once daily
Estimated price
$55 - $110
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$55 - $75
1st Class Seat
$80 - $120
Train from Tianjin South to Beijing South
Ave. Duration
34 min
Frequency
Hourly
Estimated price
$7 - $11
Schedules at
trip.com
Book at
trip.com
2nd Class Seat
$7 - $11
1st Class Seat
$7 - $11
Bus operators
Jinan Bus Terminal
Website
0000369.cn
Bus from Shanghai to Jinan Bus Terminal
Ave. Duration
13 h
Frequency
Twice daily
Estimated price
$42
Schedules at
0000369.cn
Bus from Jinan Bus Terminal to Beijing
Ave. Duration
6 h
Frequency
Every 4 hours
Estimated price
$19
Schedules at
0000369.cn
China Bus Guide
Website
chinabusguide.com
Bus from Shanghai Zongzhan to Jiangsu Tongzhou
Ave. Duration
1 h 40 min
Frequency
Hourly
Estimated price
$9
Schedules at
chinabusguide.com

Want to know more about travelling around the world?

Rome2rio's Travel Guide series provide vital information for the global traveller. Read our range of informative guides on popular transport routes and companies - including French strikes 2018: What are my alternative transport options?, Need to know: Eurostar and Which side of Niagara Falls should I choose (and how do I get there)? - to help you get the most out of your next trip.

Questions & Answers

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

The cheapest way to get from Shanghai to Beijing is to bus which costs ¥388 and takes 20 h.

The quickest way to get from Shanghai to Beijing is to fly which takes 4 h 20 min and costs ¥500 - ¥1700.

Yes, there is a direct train departing from Shanghai and arriving at Beijing South. Services depart once daily, and operate every day. The journey takes approximately 11 h 47 min.

No, there is no direct bus from Shanghai to Beijing. However, there are services departing from Shanghai and arriving at Beijing via Jinan Bus Terminal. The journey, including transfers, takes approximately 20 h.

It takes approximately 6 h 58 min to get from Shanghai to Beijing, including transfers.