Shanghai to Guilin Train: Sleeper vs Bullet Train Time and Cost (2026)
The train distance between Shanghai and Guilin is roughly 1,650 km, and there are two realistic ways to cover it: sleep through most of the trip on an overnight sleeper train, or spend a full day on a high-speed train. Neither is a quick hop. This is the long-haul leg most travelers do once, on the way to the Li River and Yangshuo, so it's worth knowing the real time and cost for each option before you book.
For step-by-step guidance on registering, choosing between 12306 and Trip.com, and boarding with only your passport, see our complete guide to booking China's high-speed trains.
Bullet train time: the direct high-speed option
There is a single daily direct high-speed pair, G1501/G1502, running from Shanghai Hongqiao to Guilin North. Bullet train time on this route runs about 9 to 9.5 hours, covering roughly 1,650 km through Hangzhou East, Nanchang West, Changsha South, and Hengyang East along the way.
A second-class seat costs about CNY 695 to 760; first class runs CNY 1,109 to 1,218. Because it's the only nonstop pair each day, seats on G1501/G1502 sell out fast during holidays and weekends, often a week or more in advance. If you can't get on it, the practical backup is a high-speed connection through Changsha, covered in the comparison below.
Overnight sleeper train: hard sleeper vs soft sleeper
Apart from the bullet train, a handful of conventional K and T category trains run overnight between Shanghai and Guilin. These are true night trains: total travel time runs from about 17 hours on the faster services up to 24 or 25 hours on the slower ones, so check the specific train number before booking rather than assuming they're all the same length.
A hard sleeper berth (six bunks per open compartment, three high) costs about CNY 351 to 367. A soft sleeper (four bunks in a closed compartment with a door) typically adds 50 to 60 percent onto that fare, so budget close to CNY 550 to 600 for more privacy and quieter neighbors. Hard seat is available too and is the cheapest option, but sitting upright for most of a day is a rough way to arrive in Guilin.
One detail that trips people up: overnight sleepers to Guilin usually depart from Shanghai Railway Station, not Hongqiao, since Hongqiao mostly handles the high-speed services. Double-check the station printed on your ticket, the two are on opposite sides of the city and roughly 40 minutes apart by metro.
Sleeper vs high-speed: the real comparison
| Overnight sleeper (direct) | High-speed with a change (via Changsha South) | |
|---|---|---|
| Total time | About 17 to 25 hours | About 9.5 to 11 hours including the connection |
| Departure station | Shanghai Railway Station | Shanghai Hongqiao |
| Arrival station | Guilin Railway Station (city center) | Guilin North |
| Typical price | CNY 351 to 367 (hard sleeper) | Roughly CNY 750 to 850 for both legs combined |
| Comfort | Lie-flat bunk, six or four to a compartment | Reclining seat, no overnight stop |
| Best for | Saving a hotel night, tighter budget | Arriving the same day, more legroom |
The connection route runs from Shanghai Hongqiao to Changsha South (about 5 to 5.5 hours, with dozens of departures spread across the day), then a change onto a Changsha South to Guilin North service (roughly 2.5 to 3 hours on the faster trains). Add a 30 to 45 minute buffer for the platform change and the total lands close to the direct G1501/G1502 time, but with far more flexibility on departure times since only one nonstop train runs per day. If the direct train is sold out or the schedule doesn't line up with your plans, this is the route to book instead.

High-speed train and overnight sleeper compartment on the Shanghai-Guilin route
Booking the ticket: Trip.com vs 12306
Book Shanghai-Guilin Train Tickets
English interface, real seat maps, no Chinese ID needed
Some links are affiliate links; we may earn a commission at no extra cost to you.
Trip.com is the easiest way to book this route from outside China: it shows both the direct G1501/G1502 and the Changsha connection in English, lets you pick sleeper class visually, and doesn't require a Chinese ID number. The free official alternative is 12306, China Railway's own booking site and app. It's usually a little cheaper (no booking fee) but the interface leans heavily on Chinese, and setting up an account with a foreign passport can be fiddly the first time. If you're only booking one or two long trips, the small Trip.com fee is often worth skipping the hassle.
Onward to Yangshuo and the Li River
Guilin isn't the final stop for most people making this trip, Yangshuo and the Li River usually are. From Guilin North (or Guilin West), a short high-speed hop to Yangshuo Railway Station takes about 25 to 30 minutes and costs CNY 23 to 38. That station sits around 22 km from Yangshuo's West Street, so you'll still need a shuttle bus (about an hour) plus a short local bus into town, or a taxi.
A simpler option for many travelers is the direct bus from Guilin's South Coach Station to Yangshuo, which takes about 1.5 to 2 hours and drops you closer to the center. The most scenic option is the Li River cruise from Guilin's Zhujiang Pier to Yangshuo, a four to five hour boat ride through the karst scenery that most people come for in the first place, priced at a few hundred CNY depending on the boat class. For the full breakdown of station transfers and fares, see our Guilin to Yangshuo train guide. Once you've picked a base, our guides to where to stay in Guilin and where to stay in Yangshuo cover the neighborhoods worth booking.

Li River and karst mountains near Guilin, the scenic connection onward from the train
FAQ
Is there a direct train from Shanghai to Guilin?
Yes. One daily high-speed pair, G1501/G1502, runs nonstop between Shanghai Hongqiao and Guilin North in about 9 to 9.5 hours. There are also several overnight sleeper trains, all with one or more stops, taking 17 to 25 hours.
How long is the bullet train from Shanghai to Guilin?
The direct G1501/G1502 service takes about 9 to 9.5 hours. If you connect through Changsha South instead, budget 9.5 to 11 hours including the change.
How long is the overnight sleeper train from Shanghai to Guilin?
Between about 17 and 25 hours, depending on the specific train. Slower K-category trains run toward the long end, so check the schedule for your exact train number rather than assuming.
Which station should I use in Shanghai and Guilin?
High-speed trains use Shanghai Hongqiao and Guilin North. Overnight sleepers usually use Shanghai Railway Station and Guilin Railway Station (city center), which are different buildings from the high-speed stations in both cities.
Is hard sleeper or soft sleeper worth the extra cost?
Hard sleeper (six bunks, open compartment) is fine for one night and saves money. Soft sleeper (four bunks, a door that closes) is worth the roughly 50 to 60 percent premium if you want quieter neighbors and more privacy, especially for a 20-plus hour ride.
Quick takeaways
- Book the direct G1501/G1502 bullet train (about 9 to 9.5 hours) as far ahead as you can, it sells out fastest on weekends and holidays.
- If it's full, connect through Changsha South instead of defaulting straight to the sleeper, the total time is close and you keep the flexibility of many daily departures.
- Choose the overnight sleeper only if you want to save a hotel night or are working with a tighter budget, and confirm hard sleeper vs soft sleeper pricing before you book.
- Check which station is printed on your ticket. Shanghai and Guilin each have a high-speed station and a separate conventional station, and mixing them up means missing the train.
- Plan the Guilin to Yangshuo leg before you arrive: bullet train to Yangshuo Station, direct bus to town, or the Li River cruise, each has a different total time and price.