There are 11 ways to get from Shanghai to Gubeikou by train, bus, car, or plane
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train
best- Take the train from Shanghai station to Beijing Southtrain Shanghai
- Take the train from Beijing North station to Gubeikoutrain Beijing North
8h 31m¥594–644Bus
cheapest- Take the bus from Shanghai General to Beijingbus
- Take the bus from Dongzhimen Bus Station to Miyun Bus Stationbus
- Take the bus from Miyun Bus Station to Gubeikou Stationbus
21h 6m¥323–429Drive 1,281.2 km
- Drive from Shanghai to Gubeikoucar 1,281.2 km
13h 22m¥1,089–1,573Fly Shanghai Hongqiao International Airport to Beijing Capital International Airport, bus
- Fly from Shanghai Hongqiao International Airport (SHA) to Beijing Capital International Airport (PEK)plane SHA - PEK
- Take the bus from Dongzhimen Bus Station to Miyun Bus Stationbus
- Take the bus from Miyun Bus Station to Gubeikou Stationbus
7h 1m¥1,555–2,462Train, bus via Shanghai Hongqiao
- Take the train from Shanghai Hongqiao to Beijing Southtrain
- Take the bus from Sanyuan Bridge West Station to Miyun Bus Stationbus
- Take the bus from Miyun Bus Station to Gubeikou Stationbus
8h 45m¥630–697Train, bus
- Take the train from Shanghai South to Beijing Southtrain
- Take the bus from Sanyuan Bridge West Station to Miyun Bus Stationbus
- Take the bus from Miyun Bus Station to Gubeikou Stationbus
17h 17m¥451–1,018Fly Shanghai Pudong International Airport to Beijing Capital International Airport, bus
- Fly from Shanghai Pudong International Airport (PVG) to Beijing Capital International Airport (PEK)plane PVG - PEK
- Take the bus from Dongzhimen Bus Station to Miyun Bus Stationbus
- Take the bus from Miyun Bus Station to Gubeikou Stationbus
7h 28m¥1,605–2,412Fly Shanghai Hongqiao International Airport to Beijing Daxing International Airport, train
- Fly from Shanghai Hongqiao International Airport (SHA) to Beijing Daxing International Airport (PKX)plane SHA - PKX
- Take the train from Beijing Daxing International Airport to Caoqiaotrain
- Take the train from Beijing North station to Gubeikoutrain
7h 58m¥1,347–1,764Train to Sunan Shuofang International Airport, fly to Beijing Capital International Airport, bus
- Take the train from Shanghai station to Wuxitrain
- Fly from Sunan Shuofang International Airport (WUX) to Beijing Capital International Airport (PEK)plane WUX - PEK
- Take the bus from Dongzhimen Bus Station to Miyun Bus Stationbus
- Take the bus from Miyun Bus Station to Gubeikou Stationbus
7h 54m¥2,178–2,870Fly Shanghai Pudong International Airport to Beijing Daxing International Airport, train
- Fly from Shanghai Pudong International Airport (PVG) to Beijing Daxing International Airport (PKX)plane PVG - PKX
- Take the train from Beijing Daxing International Airport to Caoqiaotrain
- Take the train from Beijing North station to Gubeikoutrain
8h 25m¥647–1,714Fly Shanghai Hongqiao International Airport to Tianjin Binhai, train
- Fly from Shanghai Hongqiao International Airport (SHA) to Tianjin Binhai (TSN)plane SHA - TSN
- Take the train from Tianjin Station to Beijing Southtrain
- Take the train from Beijing North station to Gubeikoutrain
8h 20m¥2,060–2,397
Shanghai Hongqiao International Airport (SHA) to Beijing Capital International Airport (PEK) flights
Questions & Answers
The cheapest way to get from Shanghai to Gubeikou is to bus which costs ¥320 - ¥430 and takes 21h 6m.
The fastest way to get from Shanghai to Gubeikou is to fly and bus which takes 7h 1m and costs ¥1500 - ¥2500.
No, there is no direct bus from Shanghai to Gubeikou station. However, there are services departing from Shanghai General and arriving at Gubeikou Station via Dongzhimen Bus Station and Miyun Bus Station. The journey, including transfers, takes approximately 21h 6m.
No, there is no direct train from Shanghai station to Gubeikou. However, there are services departing from Shanghai station and arriving at Gubeikou via Beijing South station and Beijing North station. The journey, including transfers, takes approximately 8h 31m.
The distance between Shanghai and Gubeikou is 1474 km. The road distance is 1281.2 km.
The best way to get from Shanghai to Gubeikou without a car is to train which takes 8h 31m and costs ¥550 - ¥650.
It takes approximately 8h 31m to get from Shanghai to Gubeikou, including transfers.
Shanghai to Gubeikou bus services, operated by China Bus Guide, depart from Shanghai General station.
Shanghai to Gubeikou train services, operated by China Railways G-Class, depart from Shanghai station.
The best way to get from Shanghai to Gubeikou is to train which takes 8h 31m and costs ¥550 - ¥650. Alternatively, you can bus, which costs ¥320 - ¥430 and takes 21h 6m.
What companies run services between Shanghai, China and Gubeikou, China?
You can take a train from Shanghai station to Gubeikou via Beijing South, Beijing South station, Xizhimen Station, and Beijing North station in around 8h 31m. Alternatively, you can take a bus from Shanghai General to Gubeikou Station via Beijing, Beijing station, Dongzhimen, Dongzhimen Bus Station, and Miyun Bus Station in around 21h 6m.
- Website
- en.ceair.com
Flights from Shanghai Hongqiao International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 15m
- When
- Every day
- Estimated price
- ¥2,000–2,400
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 22m
- When
- Every day
- Estimated price
- ¥1,100–3,200
Flights from Shanghai Hongqiao International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 12m
- When
- Every day
- Estimated price
- ¥1,100–3,300
Flights from Shanghai Hongqiao International Airport to Beijing Daxing International Airport via Wuhan
- Ave. Duration
- 4h 52m
- When
- Every day
- Estimated price
- ¥1,500–3,800
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 13m
- When
- Every day
- Estimated price
- ¥550–3,000
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 5m
- When
- Every day
- Estimated price
- ¥1,200–3,600
- Website
- xiamenair.com
Flights from Shanghai Hongqiao International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 15m
- When
- Every day
- Estimated price
- ¥2,000–2,400
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 22m
- When
- Every day
- Estimated price
- ¥1,100–3,200
Flights from Shanghai Hongqiao International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 10m
- When
- Every day
- Estimated price
- ¥1,100–3,300
Flights from Shanghai Hongqiao International Airport to Beijing Daxing International Airport via Wuhan
- Ave. Duration
- 4h 52m
- When
- Every day
- Estimated price
- ¥1,500–3,800
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 14m
- When
- Every day
- Estimated price
- ¥550–3,000
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 1m
- When
- Every day
- Estimated price
- ¥1,200–3,600
- Website
- shenzhenair.com
Flights from Shanghai Hongqiao International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 21m
- When
- Every day
- Estimated price
- ¥2,200–2,400
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 38m
- When
- Every day
- Estimated price
- ¥1,100–2,800
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport via Qingdao
- Ave. Duration
- 4h 20m
- When
- Every day
- Estimated price
- ¥650–1,800
Flights from Sunan Shuofang International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 6m
- When
- Every day
- Estimated price
- ¥1,800–4,000
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 16m
- When
- Every day
- Estimated price
- ¥550–2,600
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport via Yantai Penglai
- Ave. Duration
- 4h 50m
- When
- Every day
- Estimated price
- ¥550–1,200
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 13m
- When
- Every day
- Estimated price
- ¥1,100–3,200
- Website
- airchina.com
Flights from Shanghai Hongqiao International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 21m
- When
- Every day
- Estimated price
- ¥2,200–2,400
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 38m
- When
- Every day
- Estimated price
- ¥1,100–2,800
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport via Dalian
- Ave. Duration
- 4h 42m
- When
- Every day
- Estimated price
- ¥1,200–2,800
Flights from Sunan Shuofang International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 6m
- When
- Every day
- Estimated price
- ¥1,800–4,000
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 17m
- When
- Every day
- Estimated price
- ¥1,000–2,600
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 13m
- When
- Every day
- Estimated price
- ¥1,100–3,200
- Website
- juneyaoair.com
Flights from Shanghai Hongqiao International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 15m
- When
- Every day
- Estimated price
- ¥2,000–2,400
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 28m
- When
- Every day
- Estimated price
- ¥1,100–3,200
Flights from Sunan Shuofang International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 6m
- When
- Every day
- Estimated price
- ¥1,800–4,000
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 16m
- When
- Every day
- Estimated price
- ¥550–3,000
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 15m
- When
- Every day
- Estimated price
- ¥1,200–3,600
- Website
- csair.com
Flights from Shanghai Hongqiao International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 9m
- When
- Every day
- Estimated price
- ¥1,100–3,500
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 15m
- When
- Every day
- Estimated price
- ¥550–3,200
- Website
- flycua.com
Flights from Shanghai Hongqiao International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 11m
- When
- Every day
- Estimated price
- ¥1,100–3,300
Flights from Shanghai Pudong International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 11m
- When
- Every day
- Estimated price
- ¥1,000–3,000
- Website
- hainanairlines.com
Flights from Shanghai Hongqiao International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 13m
- When
- Every day
- Estimated price
- ¥1,600–2,600
Flights from Shanghai Pudong International Airport to Beijing Capital International Airport
- Ave. Duration
- 2h 25m
- When
- Every day
- Estimated price
- ¥1,200–3,800
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 10m
- When
- Tuesday, Thursday, and Saturday
- Estimated price
- ¥1,700–4,600
- Website
- ceair.com
Flights from Shanghai Hongqiao International Airport to Beijing Daxing International Airport
- Ave. Duration
- 2h 20m
- When
- Every day
- Estimated price
- ¥1,550–1,650
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 20m
- When
- Every day
- Estimated price
- ¥1,200–2,400
- Website
- tianjin-air.com
Flights from Shanghai Hongqiao International Airport to Tianjin Binhai
- Ave. Duration
- 2h 10m
- When
- Tuesday, Thursday, and Saturday
- Estimated price
- ¥1,700–4,600
Train from Shanghai station to Beijing South
- 2nd Class Seat
- ¥580–630
- 1st Class Seat
- ¥950–1,050
- Business Class Seat
- ¥1,300–2,000
Train from Shanghai Hongqiao to Beijing South
- 2nd Class Seat
- ¥570–630
- 1st Class Seat
- ¥950–1,050
- Business Class Seat
- ¥1,300–2,000
Train from Shanghai station to Wuxi
- Ave. Duration
- 44 min
- Frequency
- Every 30 minutes
- Estimated price
- ¥59–65
- Schedules at
- 12306.cn
- Book at
- 12306.cn
- 2nd Class Seat
- ¥59–65
- 1st Class Seat
- ¥95–105
- Business Class Seat
- ¥130–190
Train from Tianjin Station to Beijing South
- 2nd Class Seat
- ¥55–60
- 1st Class Seat
- ¥85–100
- Business Class Seat
- ¥120–180
- Phone
- +86 010-12306
- Website
- 12306.cn
Train from Beijing North station to Gubeikou
Train from Beijing North station to Gubeikou
Train from Beijing North station to Gubeikou
Train from Beijing North station to Gubeikou
Train from Shanghai South to Beijing South
- Ave. Duration
- 12h 19m
- Frequency
- Once daily
- Estimated price
- ¥390–950
- Schedules at
- chinahighlights.com
- Adult - 2nd Class
- ¥390–550
- Adult - 1st Class
- ¥650–950
Train from Shanghai station to Wuxi
- Ave. Duration
- 1h 11m
- Frequency
- Once daily
- Estimated price
- ¥60–110
- Schedules at
- chinahighlights.com
- Adult - 2nd Class
- ¥60–85
- Adult - 1st Class
- ¥75–110
- Phone
- +86-010-96165
- Website
- en.bcia.com.cn
Train from Beijing Daxing International Airport to Caoqiao
- Ave. Duration
- 15 min
- Frequency
- Every 10 minutes
- Estimated price
- ¥27–35
- Website
- https://en.bcia.com.cn/gsjssy.html
Train from Beijing Daxing International Airport to Caoqiao
- Ave. Duration
- 15 min
- Frequency
- Every 10 minutes
- Estimated price
- ¥27–35
- Website
- https://en.bcia.com.cn/gsjssy.html
Train from Shanghai station to Wuxi
- Hard Seat
- ¥45–65
- Hard Sleeper
- ¥45–80
- Soft Sleeper
- ¥120–180
Train from Shanghai station to Wuxi
- Hard Seat
- ¥23–35
- Hard sleeper
- ¥50–70
- Soft sleeper
- ¥80–110
- [email protected]
- Website
- chinabusguide.com
Bus from Shanghai General to Beijing
- Ave. Duration
- 18h
- Frequency
- Once daily
- Estimated price
- ¥290–400
- Schedules at
- chinabusguide.com
- Bus
- ¥290–400
Bus from Dongzhimen Bus Station to Miyun Bus Station
- Ave. Duration
- 1h 30m
- Frequency
- Every 20 minutes
- Estimated price
- ¥17
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Miyun Bus Station to Gubeikou Station
- Ave. Duration
- 1h
- Frequency
- Every 30 minutes
- Estimated price
- ¥11
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Dongzhimen Bus Station to Miyun Bus Station
- Ave. Duration
- 1h 30m
- Frequency
- Every 20 minutes
- Estimated price
- ¥17
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Miyun Bus Station to Gubeikou Station
- Ave. Duration
- 1h
- Frequency
- Every 30 minutes
- Estimated price
- ¥11
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Sanyuan Bridge West Station to Miyun Bus Station
- Ave. Duration
- 1h 28m
- Frequency
- Every 20 minutes
- Estimated price
- ¥17
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Miyun Bus Station to Gubeikou Station
- Ave. Duration
- 1h
- Frequency
- Every 30 minutes
- Estimated price
- ¥11
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Sanyuan Bridge West Station to Miyun Bus Station
- Ave. Duration
- 1h 28m
- Frequency
- Every 20 minutes
- Estimated price
- ¥17
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Miyun Bus Station to Gubeikou Station
- Ave. Duration
- 1h
- Frequency
- Every 30 minutes
- Estimated price
- ¥11
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Dongzhimen Bus Station to Miyun Bus Station
- Ave. Duration
- 1h 30m
- Frequency
- Every 20 minutes
- Estimated price
- ¥17
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Miyun Bus Station to Gubeikou Station
- Ave. Duration
- 1h
- Frequency
- Every 30 minutes
- Estimated price
- ¥11
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Dongzhimen Bus Station to Miyun Bus Station
- Ave. Duration
- 1h 30m
- Frequency
- Every 20 minutes
- Estimated price
- ¥17
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
Bus from Miyun Bus Station to Gubeikou Station
- Ave. Duration
- 1h
- Frequency
- Every 30 minutes
- Estimated price
- ¥11
- Schedules at
- https://www.travelchinaguide.com/china_great_wall/scene/beijing/gubeikou.htm
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.
Related travel guides
Flying into Beijing?
Read the travel guide
More Questions & Answers
Shanghai to Gubeikou bus services, operated by China Bus Guide, arrive at Beijing station.
Shanghai to Gubeikou train services, operated by China Railways G-Class, arrive at Beijing South station.
Yes, the driving distance between Shanghai to Gubeikou is 1281 km. It takes approximately 13h 22m to drive from Shanghai to Gubeikou.
There are 15+ hotels available in Gubeikou.

























