Air
Dunhuang Airport is 13km east of the city. It has direct flights to and from Lanzhou, Xi'an, Beijing, Urumqi and other cities, but only a few flights each week. Airport shuttle buses leave from the CAAC offices on Dong Dajie near the Dunhuang Hotel.
Train
Dunhuang has no train station. The closest is Liuyuan, 14 hours by express train from Lanzhou to the east and 10 hours by express train from Urumqi to the west. Buses depart from the front of Liuyuan train station to the center of Dunhuang 130km to the south, which takes between 2 and 3 hours. There is no fixed bus schedule. They depart when they're full.
Taxi
Taxis are available and convenient.