Short answer
Xi'an to Guilin by train is about ten hours, and there are only two or three direct trains a day. It is the thinnest of the Guilin corridors and the one most likely to force a decision.
There is no sleeper on the direct high-speed service. A conventional overnight train exists on paper but takes close to 27 hours, which is slower than simply waiting for the next morning's departure. So this is a full daylight day in a seat, or a flight, or two shorter legs.
If the ten-hour sit is unappealing, break it. Xi'an to Chongqing or Xi'an to Chengdu are short hops, and both connect onward to Guilin in four to seven and a half hours. Booking is on 12306 with a passport as always.
The route at a glance
Values below describe the corridor as listed in published schedule and route data. Times, station pairs and fares come from China Railway and change with each timetable revision, so treat this as the shape of the journey.
| Detail | What to expect |
|---|---|
| Departs from | Xi'an North (西安北), the high-speed station north of the old city |
| Arrives at | Guilin North (桂林北) or the central Guilin station, depending on the service |
| Direct journey time | Around 10 hours; fastest schedules just under that |
| Direct trains per day | Roughly 2 to 3, sometimes effectively one pair |
| Distance | Roughly 1,000 km as the line runs |
| Seat classes | Second, first and business on the G trains; no sleeper berths |
| Overnight alternative | None that helps — the conventional sleeper takes close to 27 hours |
| Faster alternative | A flight of roughly 2 hours, at a cost in airport transfers at both ends |
| Booking | 12306 website or app; the passport is the ticket |
Why this route is different from the others
Guilin sits at the southern end of Guangxi with good rail links north to Chongqing and Chengdu, and a thin one to Shaanxi. Xi'an is not on the same corridor and the direct service is a through train rather than a high-frequency shuttle.
Two or three trains a day means the timetable does the planning for you: there is one sensible morning departure, and if it is full your options shrink fast. Compare that with Chongqing at 21 to 23 services a day, where the train is a decision you make at breakfast.
The stations at both ends
Xi'an North (西安北)
Nearly all high-speed services use Xi'an North, a very large station about 10 to 15 km north of the city wall. It is on the metro, which is the reliable way to reach it — the road approach at peak times is slow. Give yourself more time than you think you need here: it is one of the biggest stations in the country and the walk from the entrance to a distant platform is long.
Guilin North (桂林北) and Guilin station
Xi'an services land at Guilin North or the central Guilin station. Guilin North is about 9 km from the centre; the central station is inside the city and the more convenient of the two if your hotel is near the lakes. Guilin West is the third option and the least convenient, roughly 14 km out. The station guide covers arrival mechanics.
Is there a sleeper?
On the high-speed line, no. The G trains on this corridor are day services with second, first and business class seating, and no berths are sold.
The conventional network does run an overnight train between the two cities, and this is where the maths gets odd: it takes nearly 27 hours. You would leave in the evening and arrive a day and a night later, having spent more than a full day on board and saved nothing. Taking it makes sense only if you actively want the train experience and have a spare day.
Practical answer: there is no overnight rail option on this route worth taking. The sleeper guide explains berth classes for the routes where a night train does work — the Chengdu option further north, for instance.
The realistic three options
Ten hours in a seat is a real cost, so it is worth deciding deliberately rather than defaulting to the train.
| Option | Time | Best for |
|---|---|---|
| Direct high-speed train | About 10 hours | One continuous day, no airport at either end, luggage that stays with you, and scenery through Guizhou and northern Guangxi |
| Flight | About 2 hours in the air | Travellers with limited days. Several airlines serve the route, and the airport transfer time at both ends is the real cost. |
| Two rail legs via Chongqing or Chengdu | Roughly 9 to 11 hours in total, spread over a night | Anyone who wants to see a second city on the way. Both intermediate stops are worth a day in their own right. |
The two legs are covered in detail on the Xi'an to Chengdu and Chengdu to Chongqing pages.
Seat classes on a ten-hour run
Class matters more here than on a four-hour route. Second class is 3+2 with a fixed seat for ten hours; first class is 2+2 and meaningfully more comfortable over that distance.
| Class | Layout | Verdict for ten hours |
|---|---|---|
| Second class | 3+2, standard fare | Workable but long. Book a window early if you can. |
| First class | 2+2, wider, quieter carriage | The upgrade pays for itself on a run this length. |
| Business class | Generous reclining seats on newer G stock | Expensive, and the only class that makes ten hours genuinely pleasant. |
| Sleeper berths | Not offered on the high-speed trains | Not an option on this route. |
Booking with a foreign passport
- Register on 12306 firstUse the English site or the app, and complete passport verification before you travel rather than on the day.
- Add a passenger profilePassport number and expiry live here. An account without a verified passenger cannot buy a ticket.
- Match the name character for characterTake the Latin spelling from the machine-readable zone of the passport. This is the most common cause of a booking that will not clear the gate.
- Pay through Alipay or WeChat Pay12306 does not take foreign credit cards directly, but both wallets accept foreign cards once verified.
- Waitlist, and keep a backupWith two or three daily trains, decide in advance whether you would take a transfer via Chongqing or Chengdu.
The 12306 English walkthrough covers the screens in order. Nothing needs printing, and the passport is what you scan at every gate.
What it costs
This is an expensive ticket by Chinese domestic standards for its distance. Third-party route listings quote second class from around the USD 115 equivalent upward, with first class and business class well above that.
- The fare is set in yuan. Foreign-currency quotes are conversions, so the number you pay depends on the day's rate. Check 12306 for the yuan price.
- Discount allotments exist and go early. The cheapest seats on a thin corridor disappear quickly.
- Compare the airfare before committing. On a route where the train costs a lot and takes ten hours, the flight is often competitive on both counts.
- Breaking the journey can cost less. Two shorter legs plus a hotel night is sometimes the cheaper and always the more comfortable answer.
On board
A ten-hour G train has a dining car, trolley service, hot water dispensers at the carriage ends and power at most seats. Bring a refillable bottle and your own food — station supplies are cheaper, and ten hours is long enough that you will eat twice.
Luggage goes on overhead racks or the racks at carriage ends, with no check-in and no practical weight limit. Space on the big racks is first come, first served, so board early with a large case. See the luggage rules for what is not allowed on board.
The scenery improves as you go south. The run crosses into Guizhou and northern Guangxi, where the karst hills start to dominate the window, so the last third is the part worth staying awake for.
Arriving and going onward
Do not plan a same-day run to Yangshuo after ten hours in a seat. Guilin and Yangshuo are connected by a short rail link and by direct buses, and the transfer is straightforward — but on the morning after. See the Guilin to Yangshuo guide.
If your dates are tight and Guilin is the point of the trip, the honest advice is to look at the flight first and treat the train as the slower, more interesting second choice.
Frequently asked questions
How long is the train from Xi'an to Guilin?
Around ten hours on the direct high-speed trains, with the fastest schedules listed at just under that. It is one of the longer domestic high-speed runs in China, and there is no faster rail option.
How many direct trains run from Xi'an to Guilin?
Only two or three a day, and on some dates effectively a single pair. This is a thin corridor compared with Chongqing or Chengdu, so book as soon as your dates are fixed.
Is there an overnight sleeper from Xi'an to Guilin?
Not a useful one. The direct high-speed trains are day services with no sleeper berths, and while a conventional overnight train runs the corridor, it takes close to 27 hours — longer than waiting for the next morning's high-speed departure.
Which stations does the Xi'an to Guilin train use?
Departure is from Xi'an North, the city's high-speed station well outside the old city walls. Arrival is at Guilin North or the central Guilin station, depending on the service. Check the station pair on your booking rather than assuming.
Is it better to fly from Xi'an to Guilin?
Often, yes. The flight takes roughly two hours against ten on the train, and several airlines fly the route. Weigh it against the airport transfers at both ends, checked luggage rules and the risk of a delay, but on this particular pair air is a genuine contender.
Can I break the Xi'an to Guilin journey with a stop?
Yes, and many travellers do. Xi'an to Chengdu or Xi'an to Chongqing are short high-speed hops, and both cities connect onward to Guilin in four to seven and a half hours. Two shorter legs in comfortable daylight often beat one ten-hour sit.
How much is a Xi'an to Guilin train ticket?
Third-party route listings quote second class from around the USD 115 equivalent and up, which puts this among the pricier domestic high-speed journeys of its distance. Fares are set in yuan and move with the discount band, so check 12306 for the exact price on your date.
Can I book the Xi'an to Guilin train with a foreign passport?
Yes. Register on 12306's English site or app, add a passenger profile with your passport number and expiry date, and pay with Alipay or WeChat Pay. Nothing is printed; the passport is scanned as the ticket at every gate.
What happens if the direct train is sold out?
Submit a waitlist request in the app, which is free and fills from cancellations. With only two or three trains a day the waitlist converts less reliably than on a busy corridor, so have a backup plan: a transfer via Chongqing or Chengdu, or a flight.
How do I get from Guilin to Yangshuo?
A separate short rail link and direct buses connect Guilin station with Yangshuo. After a ten-hour journey, plan the onward transfer for the following morning rather than the same evening.
Related reading
Compiled from published Xi'an–Guilin corridor schedule and fare listings, cross-checked against route sources in September 2026. Journey times, station pairs, seat classes and fares are set by China Railway and change with each timetable revision and discount cycle — the 12306 app or official channel is the authoritative version for your date. Nothing on this page is financial or legal advice.