Quick Answer

For a daytime journey, start by comparing Shanghai Hongqiao → Beijing South high-speed trains. A fast service can take about 4½ hours station to station, but a train making more stops can take six hours or longer. Some departures use Shanghai Railway Station, so check the actual station names before arranging transport.

Choose an overnight sleeper if keeping your daytime free matters more than arriving quickly. A checked D6 timetable example takes 12 hours 10 minutes, from Shanghai Railway Station to Beijing Railway Station, arriving the following morning.

Book with the passport you will carry, compare the fare for your exact date and seat or berth, and leave time for both city transfers. Also check the official 12306 advance-reservation pilot below: this route now has a request option outside the usual 15-day sales window.

Choose the Station Pair Before the Train

A city search can show different stations together. The extra word in a station name changes where you need to go.

Name on the resultChinese nameWhat to check
Shanghai Hongqiao上海虹桥The departure station in the G12 daytime example; choose the railway station when setting your destination.
Shanghai / Shanghai Railway Station上海 / 上海站A different station, used by the G734 daytime and D6 overnight examples below.
Beijing South / Beijingnan北京南Arrival station in the daytime examples; “nan” means south.
Beijing / Beijing Railway Station北京 / 北京站Arrival station in the D6 example; it is not Beijing South.

Other station names may appear in city-wide searches. Do not substitute Hongqiao, Shanghai South or Shanghai Songjiang for one another. Compare each result with your hotel location before paying; saving a few minutes on the train is less useful if it creates a much longer city transfer.

Save the Chinese departure and arrival names alongside the train number. Use the departure name for your taxi or map search and the arrival name when arranging a pickup.

How Long Does the Train Take?

These are reference timetable examples checked September 25, 2026, not a promise that a particular service has seats on your date. Times use China's local time; “next day” changes the calendar date.

ExampleDepartureArrivalTrain time
G12, faster daytime optionShanghai Hongqiao, 10:00Beijing South, 14:244 hours 24 minutes
G734, longer daytime optionShanghai, 11:15Beijing South, 17:206 hours 5 minutes
D6, overnight optionShanghai, 21:15Beijing, 09:25 next day12 hours 10 minutes

The G12 and D6 examples come from Ctrip's individual train pages; G734 was listed on Trip.com's route page. Search your actual date again before booking.

Timetables change. Shanghai's January 2026 announcement, for example, changed the departure times and numbering of flagship services. An old screenshot or blog's “first train” should not determine a non-refundable connection.

Budget the Entire Travel Day

For a fast daytime train, around seven to eight hours hotel to hotel is a useful planning allowance, not a measured route average. One illustrative budget is:

  • 60 minutes from your Shanghai hotel to the correct station.
  • 60–90 minutes at the station for orientation, checks and boarding.
  • 4 hours 24 minutes aboard the sample fast train.
  • 60 minutes from the Beijing arrival station to your hotel.

That adds up to 7 hours 24 minutes–7 hours 54 minutes. Replace both city-transfer estimates with routes from your actual hotels; add time for peak traffic, mobility needs, a ticket-counter visit or holiday queues. A six-hour train increases this budget accordingly.

Treat the station allowance as our planning recommendation. The railway requires checks before departure, and each station announces its own cutoff. Do not interpret the departure time as the latest time you can reach the entrance.

Daytime High-Speed Train or Overnight Sleeper?

Choose a daytime G train when you want a shorter journey, can spend part of the day traveling, and prefer to sleep at your hotel. Compare second class first; paying for a higher class should serve a specific comfort need. The route platform describes a 3+2 layout in second class and 2+2 in first class, with classes dependent on the service.

Choose an overnight sleeper when you want to keep more of the day in Shanghai and are comfortable sleeping on a moving train. A roughly 12-hour overnight journey can replace a hotel night, but the saving depends on the berth price and whether you need early hotel access in Beijing. Ask your hotel about luggage storage or early check-in before assuming you will have a room on arrival.

Select a berth, not merely a train that runs overnight. Check the exact sleeper class, assigned berth and whether companions are together; one berth purchase should not be treated as a booking for a whole compartment. Do not assume every D train has the same accommodation or uses the same stations.

For a light sleeper or someone with a time-sensitive morning appointment, the daytime train plus a hotel is the more conservative plan. That is an itinerary judgment, not a claim about service reliability.

What Does a Shanghai–Beijing Train Ticket Cost?

There is no single fare that covers this route. The payable price depends on the selected train, travel date and seat or berth. China Railway's current transport rules identify the fare at purchase as the applicable ticket price.

To get a useful comparison:

  1. Search your travel date and exact station pair in 12306 or your chosen booking service.
  2. Compare a fast daytime train, a slower daytime departure and an overnight berth, if sleeping aboard suits you.
  3. Record the railway fare, any separately displayed platform charges, and both city-transfer costs.
  4. Read the change and refund terms for that order, especially if you use the official early-reservation pilot.

A route page's lowest advertised price may refer to a different train or class from the one you want. Use the payable total for the selected departure; this guide intentionally does not present a static number as a current fare quote. An overnight berth is not automatically cheaper than a daytime seat plus your chosen hotel.

When Can You Book? The New Official Reservation Option

Ordinary sales: China Railway's September 9, 2026 announcement confirms the usual 15-day window, including the purchase date. Its example was September 9 sales for September 23 travel. The release time varies by station; check the railway's release-time lookup instead of assuming midnight.

Beijing–Shanghai pilot: Since July 20, 2026, more than 200 trains on the Beijing–Shanghai high-speed and conventional corridors have an additional official request service. Following its transition period, travelers can submit requests 60–17 days before departure in the Railway 12306 app's 预约购票 / Ticket Reservation section. Requests are processed 20–16 days before departure. China Railway's official explanation gives the details.

A submitted request is not a ticket. If fulfilled, complete payment by 23:00 that day, as instructed in the notification, and check the confirmed order. A September railway update confirmed that unsuccessful applicants can still try ordinary sales.

The pilot has different cancellation terms. The official English guidance states a 5% refund fee for paid reserved tickets refunded 8–20 days before departure. Read the reservation terms before accepting; do not apply an ordinary ticket's early-refund assumption to this product.

Check whether your train and passenger details are accepted by the app's reservation section. The published pilot notices do not document a foreign-passport English-interface walkthrough. If that option is unavailable in your account, use the ordinary booking flow; general foreign-passport ticket eligibility does not prove every app feature is available in every interface.

Passport and Boarding Preparation

Use the exact passenger details from your valid passport and bring the same original passport. China Railway accepts foreign passports for ticket purchase; its English FAQ provides the foreign-passport booking route. Complete any identity checks before the day you intend to buy.

Before leaving the hotel, save your train number, travel date, both station names, departure time, carriage and seat or berth. A downloaded itinerary is useful for reference but is not a substitute for the required identity document.

For your first journey, our suggested 60–90 minutes at the station allows room to find assistance. Expect identity and security checks, follow the displayed gate information, and ask staff for help if your passport does not work at a reader. Keep it accessible for arrival checks too.

Hongqiao has an official English indoor-navigation service through SH MaaS, introduced in November 2025. It can help locate transport connections and facilities; follow the station's current signs and staff directions for your train.

Use the China train booking guide for account setup and purchase-channel decisions, and the station and boarding guide for the full arrival-to-seat sequence.

Mistakes That Change the Trip

  • Booking “Shanghai” and going to Hongqiao: copy the complete station name from the confirmed order.
  • Treating four-and-a-half hours as the whole journey: add the station allowance and both hotel transfers.
  • Booking an overnight seat when you wanted a bed: inspect the actual class and berth assignment.
  • Using the wrong arrival date: a late-evening sleeper reaches Beijing the next morning; plan your hotel and activities accordingly.
  • Treating a reservation request as issued: wait for fulfillment, pay on time and verify the final ticket.
  • Scheduling a tight flight connection: rail arrival still leaves station exit and airport travel. For an important international departure, staying in Beijing the previous night provides a more forgiving itinerary.

Sources & Verification

All factual claims in this guide are verified against the primary sources listed below. Official Chinese government sources take priority.