120 city pairs, priced door to door rather than airport to airport. Where high-speed rail wins, where it does not, and why distance alone does not settle it.
Is it better to fly or take the train in China?
For most routes under about 1,500 km, high-speed rail beats flying door to door. Shanghai–Beijing takes 4 hours 30 minutes by train (second class ¥576–697) against a 2h20m flight plus airport time, and the train is the better choice. Short hops are train-only territory: Shanghai–Hangzhou 45 minutes (¥73), Shanghai–Suzhou 30 minutes (¥40).
For long distances, fly: Shanghai–Chengdu is 10 hours 30 minutes by rail versus a 3-hour flight; Shanghai–Guangzhou 6h50m by rail versus 2h30m in the air.
Last updated 1 November 2026 · Vetted by EVENTURUS
BeijingtoShanghai
EVENTURUS · VETTED—China travel intelligence
Quick reference
Select a departure city above, then browse arrival options.
To
HSR Time
HSR Price
Flight Time
Flight Price
Distance
Popular routes
Route by route
Eight decisions that cover most of what people actually ask. Every figure below is drawn from the city-pair table further down this page.
Where the line falls, across 120 pairs
Two thresholds do most of the work. Every pair with a rail leg of four hours or less is marked Train, all 39 of them. Every pair whose rail leg runs past six and a half hours is marked Flight, all 33. Between those lines the verdict turns on line speed and on how far the airport sits from town.
The 120 pairs, grouped by rail time, with the verdict the table below gives them.
Rail leg
Pairs
Marked Train
Marked Flight
Four hours or less
39
39
0
Over four hours, up to 6h30m
32
17
15
Past 6h30m
33
0
33
No high-speed line
16
0
16
Shanghai to Beijing: train or flight
Shanghai to Beijing is 1,318 km, covered in 4h30m for ¥576-697 in second class. The flight is 2h20m, and flight times here are wheels-up to wheels-down, so about two hours at each end sits on top: 6h20m against 4h30m. Between the two city centres, the train wins.
Train
Shanghai to Beijing, both modes.
Mode
Journey
Fare
Airport time
High-speed rail
4h30m
¥576-697
None
Flight
2h20m
¥800-1,200
About two hours at each end
Shanghai to Hangzhou, Suzhou and Nanjing: the day-return radius
These three are not flight decisions. Shanghai to Suzhou is 30 minutes for ¥40, Hangzhou 45 minutes for ¥73, Nanjing 1h05m for ¥135. All three work as day returns, and that changes the arithmetic: with no hotel night there is no airport transfer to absorb, so the train wins before the comparison starts.
Train, all three
The three shortest pairs out of Shanghai.
Route
Train
Fare
Distance
Flight
Shanghai to Suzhou
30m
¥40
100 km
No flight
Shanghai to Hangzhou
45m
¥73
165 km
No flight
Shanghai to Nanjing
1h05m
¥135
295 km
No flight
Beijing to Xi'an: when four hours is the line
Beijing to Xi'an is 920 km: 4h20m by rail for ¥515 against 2h10m in the air. Add two hours at each end for the airport and the flight is 6h10m door to door against 4h20m, which is why the table marks it Train. It sits in the middle band, where 32 pairs split 17 Train to 15 Flight.
Train
Beijing to Xi'an, both modes.
Mode
Journey
Fare
Distance
High-speed rail
4h20m
¥515
920 km
Flight
2h10m
¥500-1,000
920 km
Shanghai to Guangzhou and Shenzhen: where rail stops winning
At 1,500 km the balance tips. Shanghai to Guangzhou is 6h50m for ¥793 against 2h30m in the air; Shanghai to Shenzhen 7h30m for ¥820 against the same 2h30m. Both sit past six and a half hours by rail, and no pair on this page past that mark is marked Train.
Flight, both
Two 1,500 km pairs out of Shanghai, both past six and a half hours by rail.
Route
Train
Train fare
Flight
Air fare
Shanghai to Guangzhou
6h50m
¥793
2h30m
¥600-1,000
Shanghai to Shenzhen
7h30m
¥820
2h30m
¥600-1,100
Chengdu to Chongqing: the pair with no usable flight
Chengdu to Chongqing is 280 km and 1h30m for ¥155. There is no useful flight: airport time would exceed the rail time. Guangzhou to Shenzhen is the same pattern at 140 km and 30 minutes for ¥75. Twelve of the 120 pairs on this page have no flight at all.
Train, by default
Two pairs where the flight never was an option.
Route
Train
Fare
Distance
Flight
Chengdu to Chongqing
1h30m
¥155
280 km
No flight
Guangzhou to Shenzhen
30m
¥75
140 km
No flight
Why distance alone does not settle it
Distance predicts the answer badly. Zhengzhou to Guangzhou is 1,400 km and still a train at 5h30m, because the line runs fast. Dalian to Beijing is only 460 km and still a flight, because the rail leg takes 4h30m. Line speed and airport distance decide, not kilometres.
Two pairs that break the rule in opposite directions.
Route
Distance
Train
Flight
Verdict
Zhengzhou to Guangzhou
1,400 km
5h30m · ¥426
2h · ¥400-1,000
Train
Dalian to Beijing
460 km
4h30m · ¥261
1h20m · ¥400-900
Flight
Cross-city with luggage
Luggage is the one variable this table cannot price. What it does show is where the decision is already closed: every pair with a rail leg of four hours or less is marked Train (39 of 39), and every pair past six and a half hours is marked Flight (33 of 33). A case does not move either line.
It moves the middle. Thirty-two pairs run between four hours and 6h30m by rail, and there the table splits 17 Train to 15 Flight. Those are the pairs where what you are carrying and how you reach the airport decide it, not the timetable. Per-airport transfer times are on Airport to City Transport, and Train Seat Guide covers what the fare bands buy.
All 120 city pairs
Every pair the widget will answer, written out so it can be read without JavaScript. Rail is the better choice on 56 of the 120 pairs and flying on 64; 12 have no usable flight and 16 have no high-speed line. The eight decisions above cover what most people ask first; this is the reference set behind them.
120 city pairs, with the rail and air option side by side. Distances are in kilometres, fares in yuan.
From
To
Train
Train fare
Flight
Air fare
Distance
Better
Shanghai
Beijing
4h30m
¥576 - 697
2h20m
¥800-1,200
1,318
Train
Shanghai
Nanjing
1h05m
¥135
—
—
295
Train
Shanghai
Hangzhou
45m
¥73
—
—
165
Train
Shanghai
Suzhou
30m
¥40
—
—
100
Train
Shanghai
Guangzhou
6h50m
¥793
2h30m
¥600-1,000
1,500
Flight
Shanghai
Shenzhen
7h30m
¥820
2h30m
¥600-1,100
1,500
Flight
Shanghai
Chengdu
10h30m
¥1,000
3h00m
¥700-1,300
1,980
Flight
Shanghai
Xi'an
5h30m
¥670
2h30m
¥600-1,100
1,370
Train
Shanghai
Wuhan
4h30m
¥520
1h50m
¥500-800
839
Train
Shanghai
Changsha
5h00m
¥550
2h00m
¥500-900
1,050
Train
Shanghai
Kunming
9h35m
¥1,150
3h30m
¥600-1,200
2,100
Flight
Shanghai
Guilin
9h00m
¥800
2h30m
¥500-900
1,500
Flight
Shanghai
Qingdao
5h00m
¥550
1h30m
¥400-800
814
Flight
Shanghai
Xiamen
7h00m
¥630
1h50m
¥500-900
1,100
Flight
Shanghai
Harbin
10h30m
¥1,100
3h00m
¥600-1,200
2,300
Flight
Shanghai
Chongqing
9h00m
¥950
2h45m
¥500-1,100
1,900
Flight
Shanghai
Lhasa
—
—
4h30m
¥1,500-2,500
2,900
Flight
Beijing
Nanjing
3h20m
¥445
2h00m
¥500-900
1,020
Train
Beijing
Hangzhou
4h30m
¥540
2h15m
¥500-1,000
1,280
Train
Beijing
Xi'an
4h20m
¥515
2h10m
¥500-1,000
920
Train
Beijing
Guangzhou
8h00m
¥960
3h00m
¥600-1,300
2,100
Flight
Beijing
Shenzhen
9h00m
¥1,050
3h00m
¥600-1,300
2,100
Flight
Beijing
Chengdu
7h30m
¥780
2h50m
¥600-1,200
1,800
Flight
Beijing
Wuhan
4h00m
¥520
2h15m
¥500-900
1,200
Train
Beijing
Changsha
5h30m
¥650
2h30m
¥500-1,000
1,500
Flight
Beijing
Harbin
5h00m
¥540
2h00m
¥400-900
1,280
Train
Beijing
Qingdao
3h00m
¥315
1h30m
¥400-800
670
Train
Beijing
Kunming
10h30m
¥1,200
3h30m
¥700-1,400
2,600
Flight
Beijing
Guilin
8h30m
¥950
3h00m
¥600-1,100
2,100
Flight
Beijing
Xiamen
9h00m
¥1,000
3h00m
¥600-1,200
2,100
Flight
Beijing
Lhasa
—
—
4h00m
¥1,500-3,000
2,600
Flight
Beijing
Chongqing
9h00m
¥950
2h45m
¥600-1,200
1,900
Flight
Beijing
Suzhou
4h30m
¥520
—
—
1,100
Train
Guangzhou
Shenzhen
30m
¥75
—
—
140
Train
Guangzhou
Guilin
2h30m
¥310
1h10m
¥400-700
480
Train
Guangzhou
Changsha
2h30m
¥315
1h30m
¥400-800
650
Train
Guangzhou
Wuhan
3h30m
¥465
2h00m
¥500-900
1,000
Train
Guangzhou
Chengdu
8h00m
¥820
2h30m
¥500-1,000
1,500
Flight
Guangzhou
Kunming
6h30m
¥660
2h20m
¥500-1,000
1,300
Train
Guangzhou
Xiamen
3h30m
¥370
1h30m
¥400-800
550
Train
Guangzhou
Nanjing
6h00m
¥700
2h40m
¥500-900
1,300
Flight
Guangzhou
Hangzhou
6h00m
¥680
2h10m
¥500-900
1,200
Flight
Chengdu
Chongqing
1h30m
¥155
—
—
280
Train
Chengdu
Xi'an
3h30m
¥440
1h30m
¥400-800
700
Train
Chengdu
Kunming
4h30m
¥480
1h20m
¥400-800
800
Train
Chengdu
Lhasa
—
—
2h20m
¥800-1,800
1,300
Flight
Chengdu
Lijiang
—
—
1h15m
¥400-900
500
Flight
Chengdu
Zhangjiajie
—
—
1h40m
¥400-800
600
Flight
Chengdu
Guangzhou
8h00m
¥820
2h20m
¥500-1,000
1,500
Flight
Chengdu
Wuhan
7h00m
¥750
2h10m
¥500-900
1,130
Flight
Chengdu
Changsha
6h30m
¥680
2h00m
¥400-800
1,000
Flight
Nanjing
Hangzhou
1h00m
¥115
—
—
240
Train
Nanjing
Suzhou
30m
¥50
—
—
85
Train
Nanjing
Wuhan
3h00m
¥350
1h30m
¥400-700
600
Train
Wuhan
Changsha
1h30m
¥200
—
—
350
Train
Xi'an
Wuhan
4h00m
¥500
1h40m
¥400-800
750
Train
Xi'an
Chongqing
5h00m
¥550
1h30m
¥400-800
650
Flight
Xi'an
Guilin
6h00m
¥600
2h00m
¥500-900
1,200
Flight
Kunming
Lijiang
3h00m
¥230
1h00m
¥300-600
500
Train
Kunming
Guilin
4h00m
¥450
1h30m
¥400-700
800
Train
Guilin
Zhangjiajie
5h00m
¥500
—
—
500
Train
Hangzhou
Xiamen
5h00m
¥550
1h45m
¥500-900
850
Flight
Qingdao
Beijing
3h00m
¥315
1h30m
¥400-800
670
Train
Chongqing
Guilin
4h30m
¥450
1h30m
¥400-700
560
Train
Chongqing
Xi'an
5h00m
¥550
1h30m
¥400-800
650
Flight
Dalian
Beijing
4h30m
¥261
1h20m
¥400-900
460
Flight
Dalian
Shanghai
10h
¥612
1h50m
¥500-1,100
1,060
Flight
Dalian
Guangzhou
12h
¥872
3h20m
¥700-1,500
2,400
Flight
Dalian
Chengdu
11h
¥776
3h
¥600-1,300
2,200
Flight
Dalian
Harbin
4h30m
¥244
1h10m
¥300-800
660
Flight
Dalian
Zhengzhou
7h
¥448
1h50m
¥400-1,000
1,300
Flight
Dalian
Qingdao
4h
¥240
1h10m
¥300-600
500
Train
Tianjin
Beijing
30m
¥55
—
—
130
Train
Tianjin
Shanghai
4h30m
¥508
2h
¥400-900
1,000
Train
Tianjin
Guangzhou
9h
¥642
3h
¥600-1,400
2,000
Flight
Tianjin
Chengdu
8h
¥571
2h50m
¥500-1,200
1,900
Flight
Tianjin
Xi'an
5h30m
¥371
1h50m
¥300-800
1,100
Flight
Zhengzhou
Beijing
2h30m
¥252
1h30m
¥300-700
690
Train
Zhengzhou
Shanghai
4h
¥343
1h40m
¥400-800
820
Train
Zhengzhou
Guangzhou
5h30m
¥426
2h
¥400-1,000
1,400
Train
Zhengzhou
Chengdu
5h
¥370
1h50m
¥400-900
1,100
Train
Zhengzhou
Xi'an
2h
¥187
1h
¥200-500
480
Train
Zhengzhou
Wuhan
2h
¥176
1h
¥200-500
450
Train
Changchun
Harbin
1h
¥94
50m
¥200-500
260
Train
Changchun
Beijing
5h30m
¥341
1h40m
¥400-900
980
Flight
Changchun
Shanghai
11h
¥653
2h30m
¥500-1,100
1,700
Flight
Changchun
Dalian
3h
¥143
1h
¥300-600
600
Train
Changchun
Guangzhou
13h
¥880
3h40m
¥700-1,600
2,600
Flight
Jinan
Beijing
1h30m
¥168
1h
¥200-500
400
Train
Jinan
Shanghai
3h
¥252
1h20m
¥300-700
650
Train
Jinan
Guangzhou
9h
¥680
2h40m
¥500-1,200
1,800
Flight
Jinan
Nanjing
2h
¥194
1h10m
¥300-600
480
Train
Jinan
Qingdao
1h30m
¥117
—
—
310
Train
Fuzhou
Shanghai
3h30m
¥258
1h20m
¥300-700
780
Train
Fuzhou
Guangzhou
4h30m
¥293
1h30m
¥300-800
820
Train
Fuzhou
Beijing
8h
¥600
2h30m
¥500-1,100
1,800
Flight
Fuzhou
Chengdu
10h
¥560
2h40m
¥500-1,200
1,600
Flight
Fuzhou
Xiamen
1h30m
¥88
50m
¥200-400
230
Train
Fuzhou
Shenzhen
5h
¥325
1h20m
¥300-700
820
Flight
Guiyang
Guangzhou
4h30m
¥271
1h30m
¥300-700
730
Train
Guiyang
Chengdu
3h30m
¥263
1h10m
¥300-600
640
Train
Guiyang
Beijing
8h30m
¥700
2h50m
¥500-1,200
2,100
Flight
Guiyang
Shanghai
8h
¥560
2h30m
¥400-1,000
1,600
Flight
Guiyang
Kunming
2h
¥165
1h
¥200-500
350
Train
Guiyang
Guilin
2h30m
¥149
50m
¥200-500
400
Train
Lanzhou
Xi'an
3h
¥229
1h10m
¥300-600
550
Train
Lanzhou
Beijing
8h
¥540
2h30m
¥500-1,200
1,750
Flight
Lanzhou
Shanghai
11h
¥630
2h50m
¥500-1,200
1,700
Flight
Lanzhou
Chengdu
6h30m
¥407
1h20m
¥300-700
700
Flight
Lanzhou
Lhasa
—
—
2h30m
¥800-1,600
1,400
Flight
Sanya
Guangzhou
—
—
1h30m
¥300-800
800
Flight
Sanya
Beijing
—
—
4h
¥800-1,800
2,600
Flight
Sanya
Shanghai
—
—
3h
¥600-1,400
2,000
Flight
Sanya
Shenzhen
—
—
1h20m
¥300-700
750
Flight
Sanya
Chengdu
—
—
2h30m
¥500-1,200
1,500
Flight
Ürümqi
Beijing
—
—
4h
¥700-1,800
2,400
Flight
Ürümqi
Shanghai
—
—
5h
¥800-2,000
3,200
Flight
Ürümqi
Chengdu
—
—
3h20m
¥600-1,500
2,000
Flight
Ürümqi
Lanzhou
—
—
2h20m
¥400-1,000
1,780
Flight
Ürümqi
Lhasa
—
—
2h40m
¥500-1,200
1,300
Flight
How this was compiled
Fares are second class on high-speed rail and economy on flights, in yuan, as sold in October 2026. Rail fares move by departure, so a range means the train sells more than one band on that route. Flight times are wheels-up to wheels-down and do not include the two hours an airport adds at each end, which is why the verdict column weighs door-to-door time rather than the number printed on the boarding pass. Distances follow the rail route rather than the straight line, which is why Shanghai to Beijing reads 1,318 km rather than the 1,060 km a map suggests. A dash means that mode is not a real option on that pair: too close for a flight, or no high-speed line.
For most routes under about 1,500 km, high-speed rail beats flying door to door. Shanghai-Beijing takes 4 hours 30 minutes by train against a 2h20m flight plus airport time. For long distances such as Shanghai-Chengdu (10.5 hours by rail versus a 3-hour flight), flying is the better choice.
How long is the train from Shanghai to Beijing?
The fastest high-speed trains cover Shanghai to Beijing in about 4 hours 30 minutes, with second-class fares around 576-697 CNY. The flight takes 2h20m, but door-to-door the train is usually the better choice between the two city centres.
When is flying better than taking the train in China?
Flying wins on long distances. Shanghai-Chengdu is 10 hours 30 minutes by rail versus a 3-hour flight; Shanghai-Guangzhou is 6h50m by rail versus 2h30m in the air. For routes under about 1,500 km, the train is usually faster door to door.
How do I book Chinese train tickets as a foreigner?
You can register on the official 12306 platform with a foreign passport, or book through Trip.com. See the EVENTURUS Train Ticket Booking Guide for the full step-by-step walkthrough.