Skip to content
Shanghai to Guilin Train: Times, Fares & How to Book

Shanghai to Guilin Train: Times, Fares & How to Book

The quick version

Direct Shanghai to Guilin trains: high-speed vs overnight, stations, indicative fares in ¥, and how to book as a foreigner. Compare with flying.

8 min readBy Asia Trains Editorial
Share this article:
On this page

Last updated November 2026: a shanghai to guilin train runs direct, with daytime G trains taking roughly 7.5 to 9.5 hours and overnight trains about 16.5 to 25 hours. Only a few departures run each day, so your choice comes down to speed, cost and how many hotel nights you want to save. Below you will find stations, indicative fares, a train-versus-flight comparison and booking steps for foreign travelers.

Featured image: zhangchangzhen, CC BY-SA 3.0, via Wikimedia Commons.

Quick answer: Shanghai to Guilin by train

Shanghai To Guilin Train, China — 1
Photo: zhangchangzhen, CC BY-SA 3.0, via Wikimedia Commons.

Yes, direct service exists. Daytime G trains leave from Shanghai Hongqiao and take about 7 hours 18 minutes to 9 hours 33 minutes. Overnight K and T trains take about 16.5 to 25 hours and use Shanghai South or Shanghai Railway Station. Prices and hours checked November 2026 against published timetables; schedules shift, so search your date on China Railway's 12306 site before you commit. Published listings show about two pairs of G trains and several pairs of overnight trains, though sources count them differently.

  • Fastest and most comfortable: a daytime G train in second class, from ¥305 to ¥760.5.
  • Cheapest and saves a hotel night: a hard sleeper, about ¥351 to ¥367.
  • Shortest total trip: a flight of about 3 hours in the air, before airport time.

High-speed train (G): schedule, stations and fares

Shanghai To Guilin Train, China — 2
Photo: zhangchangzhen, CC BY-SA 3.0, via Wikimedia Commons.

G trains run by day from Shanghai Hongqiao to Guilin North. Published listings show G1505 leaving at 07:50 and arriving at 17:23, a journey of 9 hours 33 minutes. G263 leaves at 11:00 and arrives at 18:18, a journey of 7 hours 18 minutes. Stops reported along the way include Hangzhou East, Jinhua, Nanchang West, Changsha South and Hengyang East. Distance figures vary between about 1,520 km and 1,602 km by source, so treat any single number loosely. For G-train basics, see our China high-speed train guide. Fares by class are listed below. Business class is the priciest by far. First class costs roughly four times the cheapest second-class fare.

ClassIndicative fareNotes
Second class¥305 to ¥760.53+2 seating; range reflects train and date
First class¥1,122 to ¥1,2182+2 seating, more legroom
Business class¥2,095.5 to ¥2,403Roomiest seats; not on every train
Shanghai To Guilin Train, China — 3
Photo: zhangchangzhen, CC BY-SA 3.0, via Wikimedia Commons.

Overnight trains (K/T): is the sleeper worth it?

Overnight trains depart in the late morning or afternoon, so you spend one night aboard and arrive the next day. T77 leaves Shanghai South at 11:20 and reaches Guilin North at 03:55 the next day, about 16 hours 35 minutes. T381 and T25 leave at 16:49 and 17:28 and arrive around 11:37 and 12:17 the following day. K149 leaves at 17:30 and arrives at 13:19 the next day, about 19 hours 49 minutes. K1556 leaves Shanghai Railway Station at 10:13 and takes close to 24 hours. A hard sleeper costs about ¥351 to ¥367. A soft sleeper costs about ¥537 to ¥566. A hard seat costs about ¥192 to ¥201 and is a long way to sit upright. Hard sleepers are open six-berth compartments with three tiers, while soft sleepers are four-berth cabins with a door. Your fare replaces one hotel night, but a 03:55 arrival on T77 leaves you waiting in the dark for check-in.

Shanghai To Guilin Train, China — 4
Photo: zhangchangzhen, CC BY-SA 3.0, via Wikimedia Commons.

Shanghai to Guilin train vs flight vs two-leg route

Flying is quickest in the air at about 3 hours, but airport check-in, security and transfers eat into that. A train starts and ends in the city and has no consignment service, so you carry everything yourself. A two-leg trip, for example via Guangzhou, is a fallback when direct seats sell out. It is only worth it if the connection is short, and you should price both legs on 12306 before assuming it helps. Our Guangzhou to Guilin train page covers the second leg.

OptionTimeCostBest for
G trainAbout 7h18m to 9h33m¥305 to ¥760.5 second classDaytime scenery, city-center stations
Sleeper trainAbout 16.5 to 25 hours¥351 to ¥567 depending on berthBudget, saving a hotel night
FlightAbout 3 hours in the airVaries by seasonShort trips, light luggage
Two legs via GuangzhouDepends on connectionPrice each leg separatelySold-out direct trains
Shanghai To Guilin Train, China — 5
Photo: Changzhensky, CC BY-SA 4.0, via Wikimedia Commons.

Which seat or berth should you choose?

Match the seat to your priorities rather than the cheapest number. On a G train, second class suits most travelers on a day trip of around 8 hours. Choose first class if you want more legroom over 9 hours 33 minutes on G1505. On overnight trains, families usually do better in a soft sleeper, because the door closes and the cabin holds four. Solo women often prefer a soft sleeper for the same reason. Light sleepers should skip hard seat, since lights and noise continue through the night. Budget travelers will find a hard sleeper the sweet spot at roughly ¥351 to ¥367. Lower berths are easier to reach, though upper ones are typically quieter for storing a bag. Tall travelers may find a G train's second-class legroom better than a sleeper berth.

Good to know

Second-class G fares run ¥305 to ¥760.5, which is close to a hard sleeper's price, so the sleeper mainly saves you a hotel night.

Shanghai and Guilin stations: where to go

Shanghai To Guilin Train, China — 6
Photo: zhangchangzhen, CC BY-SA 3.0, via Wikimedia Commons.

Check the station name on your ticket, because Shanghai has three relevant ones. G trains use Shanghai Hongqiao. Most overnight T trains use Shanghai South, and K1556 uses Shanghai Railway Station. In Guilin, published timetables show G and overnight trains arriving at Guilin North. Guilin Railway Station is the older, conventional station in the city and may appear on other services. If a ticket shows a different Guilin station, read the name carefully before you leave. Shanghai Metro serves all three Shanghai stations; check current lines on the Shanghai Metro map. For Guilin arrival transport, see the Guilin government tourism site. Taxis are the simplest option from Guilin North if you carry luggage and arrive late.

Tip

G263 leaves at 11:00 from Shanghai Hongqiao, so allow time for the Shanghai Metro ride before you board.

How to book a China train ticket as a foreigner

You can book with a passport. Enter your name exactly as it appears on it, or the gate will not accept your ticket. Tickets are reported to go on sale 15 days before departure, and the few G trains sell out first, so book on the first day. You can use the official 12306 platform or a third-party site, which may add a booking fee. On sold-out trains, you can join a waitlist of up to 10 trains. You pay the highest fare first and receive a refund if you are assigned a cheaper seat or the request fails. Paper tickets are not needed; you scan your passport at the gate. If you need a paper copy, collect it at a ticket machine or window within 180 days of travel. Children under 6 travel free when not occupying a seat, and ages 6 to 13 pay a child fare. Baggage is limited to 20 kg per adult and 130 cm total dimensions per piece. One platform lets you request a refund up to 60 minutes before departure, but terms differ between sellers. For more on booking, read our high-speed rail booking guide.

Shanghai To Guilin Train, China — 7
Photo: Clay Gilliland, CC BY-SA 2.0, via Wikimedia Commons.

Common mistakes to avoid

A few errors cost travelers the most time and money on this route.

  • Going to the wrong Shanghai station: Hongqiao for G trains, Shanghai South or Shanghai Railway Station for overnight services.
  • Entering a name that does not match your passport, which blocks gate entry.
  • Waiting past the 15-day window when only about two pairs of G trains run.
  • Treating a waitlist as a confirmed seat; keep a backup plan until it is confirmed.
  • Packing over 20 kg, since China trains offer no baggage consignment.

After you arrive: Guilin and onward to Yangshuo

From Guilin North, taxis are the easiest way into the city center after a late arrival. If you plan to continue south, our Guilin to Yangshuo transfer guide explains the options. Since the G route passes through Hangzhou East, you can also break the trip with our Shanghai to Hangzhou train page. Other long routes from Shanghai are covered in our Shanghai to Xi'an train guide and Beijing to Shanghai train guide.

Frequently Asked Questions

How long is the train from Shanghai to Guilin?

A daytime G train takes about 7 hours 18 minutes to 9 hours 33 minutes. Overnight K and T trains take roughly 16.5 to 25 hours. Timetables change, so search your date on 12306.

How do I get from Shanghai to Guilin?

Take a G train from Shanghai Hongqiao to Guilin North, or an overnight train from Shanghai South or Shanghai Railway Station. Flying takes about 3 hours in the air.

Notes on Asia's railways

Optional updates when we revise our train and route guides.

No spam. Unsubscribe anytime.

Continue reading

More guides you'll find useful