Buying Train Tickets in Xinjiang as a Foreigner: 12306, Apps, and Real Hacks
My First Night at Urumqi Station, and Why This Guide Exists
I still remember standing in the cavernous main hall of Urumqi Station at ten past eleven at night, a worn passport in one hand and a phone that refused to load any ticketing page in the other. I had flown into the city that afternoon planning to catch the overnight train south to Kashgar, the kind of journey every travel forum insists is the “real” way to see Xinjiang. What nobody mentioned was that the ticket counter had closed its international-passport window three hours earlier, the self-service machines only accepted a Chinese national ID card, and the app on my phone kept bouncing me back to a login screen written in a language I could not read.
That night taught me more about buying train tickets in this region than any guidebook did. The system works beautifully for locals and brutally for foreigners, not because anyone wants to exclude you, but because the entire network was built around a single domestic identity card. Your passport is valid, your money is welcome, but the machinery expects a number you do not have. This article is the manual I wish someone had handed me before that cold, confused evening.
Getting the 12306 App to Accept Your Passport
The official channel is 12306, run by China Railway. There is a website and a mobile app, and both sit at the center of every ticket purchase in the region, from a thirty-minute hop on the Xinjiang rail network up to a twenty-four hour sleeper haul across the Taklamakan’s edge. The service uses a real-name system, which means your travel document must be registered and verified before you can buy a single seat.
When I first tried to book, I assumed downloading the app and typing my passport number would be enough. It was not. The app asked for a Chinese phone number to receive a verification code, then demanded that my passport details be approved by a trainer in the background before any purchase went through. That review took almost two full days on my first attempt, and during that window every train I wanted sold out. The lesson was blunt: register your passport on 12306 the moment you land, not the night before you intend to travel.
The verification step that trips everyone up
Inside the app you add a “contact” under your profile, choose passport as the document type, and upload the photo page. The status then reads “pending” for a while. I learned to do this at the hotel on my first morning, using the hotel’s wifi, because the app’s verification texts rarely arrived on a foreign roaming SIM. Once approved, the passport stays valid for future trips, so the pain is mostly a one-time tax on your first visit.
The bite comes from station mismatches. The app often lists Urumqi Station and Urumqi South as separate choices, and picking the wrong one can strand you on the opposite side of the city with forty minutes to spare. I missed a train once because I booked from “Urumqi” in the app but arrived at Urumqi South, a forty-minute taxi ride away through evening traffic. Read the station name on your confirmation the way you would read a flight gate.
Website versus app, and the language wall
The 12306 website mirrors the app but is even less forgiving in English. There is an English-language version of the site, yet it covers only a fraction of routes and sometimes hides the very trains you need. I ended up keeping the Chinese interface open alongside a translation tool, searching by typing the destination city in English letters, which the search box usually recognizes. It is clumsy, but it works for checking schedules even when buying through another path.

Seat Classes You Will Actually Book
Xinjiang runs two distinct worlds of train. The classic long-distance lines use older carriages with hard seat, hard sleeper, and soft sleeper, while the newer corridors around Urumqi, Hami, and Turpan use high-speed rail with second and first class. Knowing which one you are buying changes both your budget and your sleep.
Hard seat and hard sleeper
Hard seat is exactly what it sounds like: a padded bench shared with three or four strangers, no recline worth the name, and a carriage that never fully sleeps. I rode hard seat from Turpan to Korla once to save money, a journey of about seven hours for roughly ¥75, and by hour four I understood why locals pay the small difference for a berth. Hard sleeper costs more, usually between ¥150 and ¥350 depending on distance, and gives you a narrow bunk in an open carriage of six. It is the social heart of Chinese rail travel, and on the Urumqi to Kashgar route it is where I met a family sharing watermelon and a retired teacher who corrected my Mandarin for six straight hours.
Soft sleeper and the high-speed cabins
Soft sleeper is the upgrade worth considering on overnight runs: a private four-berth compartment with a door you can close, cleaner sheets, and a reading light that does not disturb your neighbors. On the long southern line to Kashgar, soft sleeper runs around ¥550, a fair price for a bed instead of a bench. These night trains with sleeping cars are the backbone of cross-desert travel here, and booking a lower berth near the door saved my knees more than once.
The high-speed trains are a different creature. Second class on the Urumqi to Hami line, about two and a half hours, costs around ¥163, while first class climbs to roughly ¥261 for a wider seat and a quieter carriage. I treat high-speed as the regional commuter option: fast, punctual, and almost boring in the best way, ideal for reaching Turpan North in under an hour or hopping to Hami for the melon markets.
The Ctrip and Trip.com Workaround
Here is the honest part that saves most foreign travelers: you do not have to fight 12306 directly. Trip.com, the international arm of Ctrip, sells the exact same 12306 tickets and handles the passport verification on its own backend. I have booked through it for three separate trips now, and the friction nearly disappears.
You search the route, pick your train and class, and pay with a foreign card in dollars or euros. Trip.com pushes the booking into the railway system under your passport number, and your confirmation arrives by email with the Chinese train number and your assigned berth. The trade-off is a service fee, usually a few dollars per ticket, and slightly less flexibility if you need to change plans at the last minute. For me the fee was worth it because I could book from my laptop at home, two weeks before flying out, instead of gambling on a verification delay in a hotel lobby.
One caution from experience: when you collect the ticket at the station, bring the physical passport that matches the booking. The self-service machines will not print an international ticket, so head to the manual counter with the blue “international” sign, or use the designated window at larger stations like Urumqi or Kashgar. I once watched a fellow traveler argue for twenty minutes at a machine before someone pointed him to the human desk ten feet away.
Booking Windows, Train Numbers, and Reading the Board
The standard advance-purchase window on 12306 is fifteen days, though during major holiday periods the railway sometimes opens thirty days ahead to absorb the rush. I plan most routes around the fifteen-day mark and set a phone alarm for the exact release minute, because popular sleepers to Kashgar and Yining in the Ili Valley vanish within hours in summer. The thirty-day window is a gift when it appears, but do not count on it outside festivals.
Learning the train number prefixes saved me from several bad guesses. Trains beginning with G are the fastest high-speed services; D are the slightly slower EMU trains that still feel modern; Z are direct overnight sleepers with few stops; T are express trains; and K are the slower “fast” trains that stop more often and take longer. A D-train from Urumqi to Turpan North might take fifty minutes, while a K-train on a similar corridor could stretch past two hours for the sake of local stops. When the board shows a number, that single letter tells you the whole character of the ride.
Station boards list departures by number and final destination, not by the pretty names in your guidebook. I learned to screenshot my booking and match the four-character terminal city against the board, because “Kashgar” appears in Latin letters only on the international displays. Arrive at least forty minutes early at Urumqi Station; the security screening mirrors an airport, with baggage scans and a passport check at the gate, and the concourse is large enough that a wrong turn costs real minutes.

When to Skip the Train Entirely
Rail is romantic, but it is not always sensible. The straight-line distances in Xinjiang are enormous, and a train that loops around the mountains can turn a six-hour drive into a twenty-hour ride. I once spent a full day on rails to reach a town that a short flight would have covered before lunch, and I would not repeat that choice with limited vacation days.
For the long jumps, domestic flights inside the region are cheap and frequent. Urumqi to Kashgar by air takes about two hours and often costs between ¥400 and ¥900 depending on season, versus a full night on the train. I use flights when I need to be in two far corners of the province within a week, and I keep the train for the routes where the journey itself is the point, like the slow run through the Ili Valley’s green basins.
The other option that changed my trips was one-way car rental, which lets you pick up a vehicle in Urumqi and drop it in Kashgar or Yining without backtracking. The cost runs higher than a train berth, usually from ¥200 a day plus drop-off fees, but the freedom to stop at a roadside lake or a small-town noodle stand is something no timetable offers. I combined the two on my last visit: flew into the far west, rented a car to explore at my own pace, then rode the sleeper train back east as a deliberate, slow finale.
None of these choices is wrong. The trick is matching the method to the moment, and that starts with accepting that the ticket app will test your patience before it rewards your trip.
Practical Notes Before You Go
Carry your passport everywhere, because the real-name system follows you from purchase to platform to berth check. Keep a screenshot of every booking, since mobile data inside remote stations can drop at the worst time. Budget for the small markups and the occasional hotel-wifi dance, and register on 12306 early so the verification clock works for you rather than against you.
I eventually made that Kashgar train, on a later night and a softer berth than pride would have chosen. The carriage rocked me past small lit villages and long dark stretches of desert, and I understood why people call this the best way to cross the region. The system is built for someone else’s card, but with the right path through it, the rails are still open to you.
