Trains from Shanghai to Beijing

Trains from Shanghai to Beijing

Shanghai
Beijing
Thu, Sep 24
+ Add return
2 Travelers
Finding the best routes for you — almost ready!
Sort by
Filters
Departure time
Transport type
Departure station
Arrival station
Booking Facilities
Price
Arrival time
Operators
 
 
 
 
 

Shanghai to Beijing Destination Reviews

VT
Vincent T
Travel 2 adults and 2 kids in night sleeping. Train, 12go didn’t book together which was not possible with kids.
Shanghai to Beijing, Train #D10 1st Class Sleeper, China Railway (中国铁路), Jul 26, 2025
RR
Rrr R
The booking process was easy, but it didn't allowed us to select the car number.
Shanghai to Beijing, Train #G14 Second Class Seat, China Railway (中国铁路), Jul 25, 2025
KW
Kim W
very smooth and comfortable journey.
Shanghai to Beijing, Train #G14 First Class Seat, China Railway (中国铁路), Jul 16, 2025
SB
Silvia B
It was a Fast Train. Clean and the staffs were helpful and friendly, making the journey easier and more enjoyable. You can buy food and drinks, they are not as tasty as in restaurants. However, it is provided for someone who is needed. The train station is big and has lifts, which is importance for many passengers like me who carry heavy bags.
Shanghai to Beijing, Train #G12 Second Class Seat, China Railway (中国铁路), Jul 6, 2025
DJ
Dennis J
The detailed description of the departure and arrival stations was very helpful. The entry procedure was also accurate. But if you go to the ticket counter and get printed tickets using your voucher, the entry is even faster.
Shanghai to Beijing, Train #G18 Second Class Seat, China Railway (中国铁路), Jun 29, 2025
4.7
35 customer reviews
5
77%
4
17%
3
3%
2
3%
1
0%

Shanghai to Beijing Train Schedule

OperatorClassDeparture TimeArrival TimePriceRating
China Railway
Second Class Seat
06:17
13:12
$96.75
  4.8
China Railway
Second Class Seat
06:37
12:38
$90.93
  4.8
China Railway
Second Class Seat
07:00
11:36
$95.41
  5.0
China Railway
Second Class Seat
07:22
13:22
$94.21
  4.8
China Railway
Second Class Seat
07:38
13:32
$94.21
  4.8
China Railway
Second Class Seat
08:00
12:24
$104.07
  4.8
China Railway
Second Class Seat
09:00
13:27
$104.07
  4.8
China Railway
Second Class Seat
09:26
15:22
$98.39
  4.8
China Railway
Second Class Seat
09:43
15:47
$94.21
  4.8
China Railway
Second Class Seat
10:00
14:26
$104.07
  4.8
China Railway
Second Class Seat
10:34
16:29
$94.21
  4.8
China Railway
Second Class Seat
11:00
15:31
$104.07
  4.8
China Railway
Second Class Seat
11:53
16:38
$105.11
  5.0
China Railway
Hard Seat
12:15
10:46
$27.85
China Railway
Second Class Seat
12:47
18:49
$104.07
  4.8
China Railway
Second Class Seat
13:29
19:31
$94.21
  4.8
China Railway
Second Class Seat
14:00
18:35
$104.07
  4.8
China Railway
Second Class Seat
14:16
20:10
$104.07
  4.8
China Railway
Second Class Seat
14:43
20:45
$104.07
  4.8
China Railway
Second Class Seat
15:00
19:36
$104.07
  4.8

How to get from Shanghai to Beijing by Train

Taking a train to get from Shanghai to Beijing is a safe, fast, and scenic option to travel the country. On certain routes, there are multiple train departures per day every 10 to 15 minutes. This is typical for intercity travel, while for long distance train routes there are fewer scheduled departures – plan ahead to choose the one that fits your itinerary best.

For long distance train journeys, we recommend reserving your tickets at least a few days ahead of your travel date. Buying train tickets via our online booking system will allow you to choose and reserve the best Shanghai to Beijing tickets.

Buying your tickets online will help you secure the trip on the selected date and avoid queuing at the station.. When travelling on weekends and holidays it is recommended to reserve tickets much earlier due to a much higher demand. During high season, train tickets sell out quickly – do book as early as you can.

How far is it from Shanghai to Beijing?

Travelling by train, the distance from Shanghai to Beijing is 1058 miles. Before setting on for a train journey, have a look at the map to find out what tourist spots or landmarks you will pass by – maybe they are worth a quick stop?

How long does it take to get from Shanghai to Beijing by Train?

Travel time from Shanghai to Beijing is estimated to be about 4h 24m. Trains ensure the fastest time to travel by land. As normally there is no congestion, the speed of travel is more or less constant and stops at train stations are rather short, train is almost always one of the quickest and safest ways to get from Shanghai and Beijing.

The most important thing that may affect train travel time is the type of train. Ordinary trains travel at a speed of about 40 mph or 65 km/h to 65 mph or 105 km/h. Some intercity trains with shorter distances between stations run slower than 40 mph. Even with these low speeds, it can still be faster than commuting by car, bus or taxi.

The speed of express trains can reach up to 100 mph or 160 km/h. Modern high-speed trains can run at speeds exceeding 250 mph or 400 km/h.

These speeds of travel together with relatively short stops between stations can greatly shorten the duration of your trip.

How much does it cost to get from Shanghai to Beijing by Train?

The train ticket price from Shanghai to Beijing varies depending on the types of trains or carriages available.

Some trains feature different types of carriages, seats and berths offering various amenities and level of comfort.

Basic passenger trains which are often non-air-conditioned and have wooden, hard or old seats are normally cheap. Premium or luxury trains and coaches have a higher ticket price but are equipped with air-conditioning, toilets, and large soft seats with sufficient legroom to make train rides comfortable.

Considering the distance travelled, train is the most affordable means of transport. Also, ticket prices include 2 or 3 bags – sometimes even more – per passenger.

Shanghai to Beijing timetable

Trains are great for long-distance travel. Double-check your travel itinerary and use the Shanghai to Beijing timetable above with train departure times and arrival times to find the best train for your route.

Best-Rated Companies for this Route

Unlike buses or taxis which have numerous companies offering their services, train service is usually offered by just one major company in each country. As railway service requires a large amount of infrastructure, most railway companies are government-owned and are a part of the national transport system.

One of the best advantages of travelling by train is that railway stations are often conveniently located within or very near major cities and urban areas. Immediately on arrival to their destination, travellers find themselves in close proximity to important facilities like hotels, supermarkets, and hospitals.

If you travel with a lot of bags and luggage, trains are your best option. Luggage weight limits on trains are rather flexible and allow you to carry multiple bags with you.

Special or luxury trains feature sufficient legroom which allows you to stretch your legs and relax. In comfort and space these train seats can be compared to business class airplane seats.

Similar to buses, trains can provide a variety of amenities to make your travel more comfortable and enjoyable. Modern trains have WIFI service, a snack counter and a drinking bar. Onboard toilets can be a life saver for travellers with queasy stomachs.

Lastly, unlike buses and other overland means of transport, trains are very rarely involved in accidents.

Transportation from Shanghai to Beijing

Facts about the train from Shanghai to Beijing

Cheapest Train$93
Fastest Train4h 24m
Earliest Train6:31 AM
Latest Train7:25 PM
Daily Train Routes147
Distance1701 kilometers
TrainChina Railway