The fastest Beijing–Shanghai G-trains take 4 hours 18 minutes; second-class fares run about ¥576–697 ($85–103).
Some links on this page are affiliate links. If you book through them, we may earn a small commission at no extra cost to you.
Most travelers should take the train from Beijing to Shanghai rather than fly once airport transfers and early check-in are added. Daytime G-series trains cover the 1,318-kilometer route in about 4 hours 18 minutes to 6 hours 35 minutes, with a few slower services taking longer.
Beijing South Railway Station is the main departure point, while Shanghai Hongqiao Railway Station handles most arrivals. A smaller number of fast trains reach Shanghai Railway Station, which can save time when your hotel is near central Shanghai.
Which Train Should You Take?
A fast daytime G-train is the right pick for most travelers because it combines frequent departures, assigned seating, and a city-connected arrival. Choose a service under five hours when the fare difference is small; slower G-trains often make many extra stops without saving much money.
- Second class: Five seats per row in a 3-and-2 layout. It gives the strongest value for a trip of this length.
- First class: Four seats per row in a 2-and-2 layout, with more width and quieter coaches on many services.
- Business class: A costly lie-flat or deep-recline option on selected trains. The extra space is real, but the fare can exceed three times the second-class price.
- Overnight sleeper: D-series sleepers take roughly 12 to 12.5 hours and trade daytime speed for a saved hotel night.
Current departures, seat availability, and date-specific fares are easiest to compare in one search:
Beijing–Shanghai Rail Choices By Time And Cost
Beijing–Shanghai rail choices split into fast G-trains, slower G-trains, and overnight sleepers. The table uses current published ranges; exact train times and fares can change with the travel date and timetable cycle.
| Rail Choice | Typical Travel Time | Rough One-Way Cost |
|---|---|---|
| Fastest G-train, second class | 4 hr 18 min–4 hr 50 min | About ¥626–695 ($92–102) |
| Standard G-train, second class | 4 hr 50 min–5 hr 30 min | About ¥576–697 ($85–103) |
| Longer-stop G-train, second class | 5 hr 30 min–6 hr 35 min | Usually within ¥576–697 ($85–103) |
| Slowest direct G-train | Up to about 7 hr 50 min | Date-specific; often near the standard G range |
| G-train, first class | Same train time as its second-class seats | Roughly ¥1,035–1,112 ($152–164) |
| G-train, business class | Same train time as its second-class seats | Roughly ¥2,318–2,446 ($341–360) |
| D-series overnight sleeper | About 12–12.5 hr | Varies by berth and train; shown before payment |
Currency note: Dollar estimates use roughly ¥6.80 to $1 and are rounded. Pay in yuan; your card issuer may use a different rate.
Train numbers and station pairs matter more than the label alone. Check whether the arrival is Shanghai Hongqiao, Shanghai Railway Station, Shanghai South Railway Station, or Shanghai Songjiang Railway Station before paying.
Booking With A Foreign Passport
Foreign travelers can buy real-name China Railway tickets with a valid passport, then use that same passport to enter the station and board. China Railway normally releases tickets 15 days ahead, counting the travel date, with sale times staggered by departure station.
The official China Railway ticketing rules confirm that foreign passengers may use valid passports and that 12306 is an authorized sales channel. The English 12306 website and app sell at the railway fare, while third-party sellers may add service fees.
- Create a 12306 account using the passport name exactly as printed in the machine-readable section.
- Complete identity verification before the sale date when possible.
- Search Beijing South to Shanghai Hongqiao first, then check Shanghai Railway Station as a second arrival choice.
- Select the train, seat class, and passenger, then pay within the displayed time limit.
- Save the order details and carry the original passport used for the purchase.
Popular Friday evenings, Sunday returns, public holidays, and the Spring Festival rush can sell quickly. When your first choice is gone, try a train 30 to 90 minutes earlier or later before changing travel days.
How Early Should You Reach Beijing South?
Reach Beijing South Railway Station about 45 to 60 minutes before departure, or 75 to 90 minutes early on a first visit or major holiday. The station is large, and security, passport checks, and the walk to the gate take longer than a normal metro transfer.
- Use the Chinese station name 北京南站 in taxi and map apps.
- Metro Lines 4 and 14 connect directly with Beijing South.
- Follow the train number on the main departure board, not only the destination name.
- Use a staffed passport lane when the automatic gate does not read your document.
- Stand near the boarding gate before boarding begins; gates close shortly before departure.
Food shops and convenience counters sit inside the station, but buying a meal before security leaves more time to find the waiting area. Keep the passport in an easy-to-reach pocket until you are seated.
Arriving In Shanghai
Most daytime G-trains arrive at Shanghai Hongqiao Railway Station, where Metro Lines 2, 10, and 17 connect with the city. Shanghai Railway Station is closer to several central districts, so a slightly slower train there can beat a faster Hongqiao arrival for some hotels.
Metro Line 2 runs from Hongqiao toward People’s Square, East Nanjing Road, Lujiazui, and Pudong. Central Shanghai usually takes around 35 to 50 minutes by metro from Hongqiao, while a taxi takes longer when road traffic is heavy.
Late arrivals need extra planning. Metro service does not run all night, taxi queues can grow after the last large wave of trains, and Shanghai Hongqiao is far from many riverside hotels.
Where To Stay After The Train
People’s Square and East Nanjing Road suit first-time visitors who want easy metro access, while the former French Concession works better for cafes, low-rise streets, and evening walks. Hongqiao suits a one-night stop before an early flight or another train, not a first visit centered on the Bund.
Use the map to compare hotel locations against your arrival station and planned metro line:
Seat, Food And Luggage Practicalities
Second class is comfortable enough for most adults on a four-to-six-hour G-train, and first class mainly buys width, fewer neighbors, and a calmer coach. Window seats use A or F on the common five-seat layout; exact coach layouts can differ.
Overhead racks take cabin-size bags, while larger cases use storage areas near the carriage ends. Those spaces fill early, so board when your group is called and keep valuables, medicine, and the passport at your seat.
Food carts, boxed meals, and hot water are common on long-distance G-trains. Choice narrows later in the day, so bringing water and a meal is sensible. Many Fuxing trains provide power outlets, but a charged power bank removes the risk of an awkward seat position or a faulty socket.
Pick By Speed, Budget Or Sleep
The right ticket depends on whether time, price, space, or an overnight bed matters most. Use these choices rather than paying for a class that does not improve your actual trip.
- For speed: Pick a G-train under 4 hours 50 minutes, then compare Hongqiao with Shanghai Railway Station.
- For value: Buy second class and avoid a much slower service unless it clearly costs less on your date.
- For more room: First class gives a useful 2-and-2 layout without the steep business-class fare.
- For a saved hotel night: Take a D-series sleeper only when the arrival station and morning timing suit your plans.
- For a late departure: Check Shanghai metro closing times and your hotel transfer before choosing a near-midnight arrival.
Run one last live comparison for the exact day, station, and seat class before paying:
References & Sources
- China Railway 12306.“Ticketing Frequently Asked Questions.”Confirms passport-based real-name ticketing, e-tickets, and authorized purchase channels.