Shanghai to Beijing Train
Besides, around 3 pairs of overnight high speed D trains are available for passegners to save the day time; their travel time is about 12 - 12.5 hours, and the lowest cost for a second class sleeper is CNY 508 (US$ 74). And 3 pairs of overnight normal speed train run between with a travel time of 13.5 - 22.5 hours. A hard sleeper costs CNY 304.5 - 325.5 (US$ 45 - 48).
![]() |
| Shanghai to Beijing High Speed Train |
Shanghai to Beijing Daytime High Speed Train Schedule
| Train No. | Departure - Arrival | Travel Time |
|---|---|---|
| G4 | 07:00 - 11:37 | 4h37m |
| G10 | 09:00 - 13:26 | 4h26m |
| G16 | 11:53 - 16:34 | 4h41m |
| G28 | 17:55 - 22:37 | 4h42m |
| G32 | 19:25 - 23:49 | 4h24m |
Shanghai to Beijing Daytime High Speed Train Price
| Business Class Seat | First Class Seat | Second Class Seat |
|---|---|---|
| CNY 1,748 - 2,466 USD 256 - 362 | CNY 837 - 1,113 USD 123 - 163 | CNY 498 - 679 USD 73 - 100 |
Shanghai to Beijing Overnight Train Schedule
(Last Update on Apr 8, 2026)
| Train No. | Departure - Arrival | Travel Time |
|---|---|---|
| 1462 | 12:15 - 10:00+ | 21h45m |
| T110 | 16:30 - 08:33+ | 16h3m |
| Z282 | 19:17 - 09:52+ | 14h35m |
(Last Update on Apr 8, 2026)
| Train No. | Departure - Arrival | Travel Time |
|---|---|---|
| D18 | 18:42 - 07:09+ | 12h27m |
| D8 | 19:08 - 07:00+ | 11h52m |
| D10 | 21:05 - 09:24+ | 12h19m |
| D12 | 21:14 - 09:24+ | 12h10m |
| D6 | 21:15 - 09:25+ | 12h10m |
Shanghai to Beijing Overnight Train Fare
| Nos. | Soft Sleeper | Hard Sleeper |
|---|---|---|
| 1461/1462 | CNY 476.5 / USD 70 | CNY 304.5 / USD 45 | Z281/Z282 | CNY 497.5 / USD 73 | CNY 325.5 / USD 48 | T109/T110 | CNY 497.5 / USD 73 | CNY 325.5 / USD 48 |
(Last Update on Apr 8, 2026)
| Nos. | 1st Class Sleeper | 2nd Class Sleeper | Second Class Seat |
|---|---|---|---|
| D18 | CNY 641 / USD 94 | CNY 522 / USD 77 | CNY 298 / USD 44 | D8 | CNY 624 / USD 91 | CNY 508 / USD 74 | CNY 291 / USD 43 | D10 | CNY 633 / USD 93 | CNY 555 / USD 81 | CNY 317 / USD 46 | D12 | CNY 634 / USD 93 | CNY 515 / USD 76 | CNY 294 / USD 43 | D6 | CNY 680 / USD 100 | CNY 553 / USD 81 | CNY 316 / USD 46 |
FAQs on How to Travel from Shanghai to Beijing
There is no doubt the hard seats on old trains. However, it is quite exhausting to sit straight for a long journey. So the economy sleeper, especially those on overnight trains are more popular cheap travel way, including 1462, T110, Z282, D18, D6 and D10. A hard sleeper of normal trains costs CNY 304.5 - 325.5 (US$ 45 - 48) and a hard sleeper of D trains costs CNY 508 - 555 (US$ 74 - 81). The duration is generally 12 - 21.5 hours.
2. What is the fastest way to get from Shanghai to Beijing?
Flight is the fastest way from Shanghai to Beijing, taking around 2.5 hours, followed by high speed G train taking 4.5 - 6.5 hours. However, check-in procedure in Shanghai aiport is more time-consuming than at the railway station. Also, upon arrival in Beijing, it takes more time to reach your hotel from Beijing airport than from Beijing South Railway Station. Therefore, there is no big difference in total door-to-door travel time.
See more Beijing - Shanghai Train vs. Plane
![]() |
| Terminal 2 of Hongqiao International Airport |
3. Is there a direct train between Shanghai and Beijing?
Over 42 pairs of direct Shanghai to Beijing bullet trains with the duration of 4.5 - 6.5 hours. A ride on a second class seat costs CNY 498 - 679 (US$ 73 - 100). Plus, 6 pairs of overnight sleeper trains run between Beijing and Shanghai with the travel time of about 12 - 21.5 hours.
4. How far is it from Shanghai to Beijing?
The flight distance from Shanghai to Beijing is 1,084 kilometers (674 miles). The distance by high speed train is 1,318 kilometers (819 miles) and the expressway distance is 1,262 kilometers (784 miles).
Passengers can take high speed train, overnight train, flight, or long-distance bus from Shanghai to Beijing.
High speed train is the most recommended for short duration, dense schedule, modern facilities and comfortable environment; and it is convenient to get to Honqgiao Railway Station in Shanghai and leave Beijing South Railway Station upon arrival. Overnight train is good choice of budget travelers; remember to book a sleeper for the long ride. Flight can be fastest way but Beijing Capital Airport is in suburb and it takes time to reach downtown. Long-distance bus is the least recommended way because of quite long duration and uncomfortable environment.
|
|
6. Can I visit the Great Wall of China from Shanghai?
Yes. Passengers should take a flight, or train from Shanghai to Beijing firstly. Then, train or bus is available for passengers to reach the famous Great Wall sections like Badaling and Mutianyu.
See more How to Get to the Great Wall from Shanghai
See also:
Shanghai Train Schedule
Beijing - Shanghai High Speed Train
Beijing - Shanghai Overnight Sleeper Train
How to Get from Beijing South Railway Station to Wangfujing
How to Get from Beijing South Railway Station to Capital Airport
How to Get from Beijing South Railway Station to Forbidden City & Tiananmen Square
Major Rail Lines from Shanghai to:






