China has officially announced resuming all kinds of visas including tourist visa (L Visa) application from March 15th, 2023. Learn more
Shanghai-Urumqi Trains

Shanghai-Urumqi Trains

Written by AppleUpdated Aug. 6, 2021

Currently, there are only two pairs of normal-speed trains running from Shanghai Railway Station to Urumqi Railway Station and return. They spend two nights to travel 2,500 kilometers (1,550). This rail route passes several tourist cities on the Silk Road including Tianshui, Zhangye, Jiayuguan and Turpan.

If you will travel by rail from Shanghai to Urumqi, soft sleeper class is recommended since you will take such a long time on the train.

Quick Facts

  • Distance: 2,500 kilometers (1,550 miles)
  • Terminals: Shanghai Railway Station (上海站), Urumqi Railway Station (乌鲁木齐站)
  • Duration: 39½–42½ hours
  • Main stops: Shanghai, Suzhou, Wuxi, Changzhou, Nanjing, Bengbu, Xuzhou, Zhengzhou, Luoyang, Xi'an, Baoji, Tianshui, Lanzhou, Wuwei, Zhangye, Jiayuguan, Hami, Turpan North, Urumqi

Shanghai to Urumqi Train Schedule

(Updated on March 15th, 2020)

Train Number Departure Arrival Duration
Z40 19:41 11:24+2 39 h 43 min
Z304 21:05 15:30+2 42 h 25 min
  • "+2" indicates that the train arrives on the third day.
  • Check out Shanghai to Urumqi up-to-date schedules.

Urumqi to Shanghai Train Schedule

(Updated on March 15th, 2020)

Train Number Departure Arrival Duration
Z42 19:31 11:59+2 40 h 28 min
Z306 20:31 16:10+2 43 h 39 min
  • "+2" indicates that the train arrives on the third day.
  • Check out more Shanghai train schedules.

Shanghai–Urumqi Train Ticket Fares

Soft Sleeper Hard Sleeper Hard Seat
¥1135 ($162) ¥715 ($102) ¥385.5 ($56)

Train Travel Tips

Which Seat Class to Choose?

If you take train from Shanghai to Urumqi, it is recommended that you take soft sleeper or hard sleeper for a comfortable journey. Train Z40 has superior soft sleeper class available, which is the most luxurious class on sleeper trains in China. Two bunks (one upper and one lower) are in a private compartments. Sofa, private western-style toilet are available in the compartment. The price is also the highest among all the sleeper classes (USD 300 per ticket). It is a perfect choice for couple with enough budget.

Shall I Take a Train or a Flight?

The flight from Shanghai to Urumqi takes about 5 hours, much faster than a 39-hour train journey. But air fare is usually higher than a soft sleeper ticket on a train. If you are on a tight schedule, anplane is recommended. Also it is more convenient and comfortable to take a flight when there is good discount.

Trains between Shanghai and Urumqi take a long time but the trip between east coastal city and northwest region will offer you a good chance to have a glance of multiple features of the vast China land.

How to Book Train Tickets

The most convenient way to book train tickets between Shanghai and Urumqi is online with a travel agency like China Highlights. Since there are only two trains, and they pass many tourist cities along the way, sleeper tickets on this rail route alway sold out during peak season. Please book train tickets as soon as possible with us if you plan to travel by train between these two cities.

Major Tourist Cities on This Rail Route


Luoyang was the capital city for many dynasties. Now it is a popular tourist city in central China. This city has a long history with plenty of scenic spots and historical sites, including the world heritage site Longmen Grottoes, White Horse Temple and Shaolin Temple.


Tianshui is the second largest cities in Gansu Province, also a famous historic and cultural city. Popular tourist attactions in Tianshui include Maijishan Grottoes, Fuxi Temple and Yuquan Temple.


The city of Zhangye lies in the centre of the Hexi Corridor. It was an important outpost on the Silk Road. Zhangye is most famous for Danxia Landscape Features. The Zhangye Danxia National Geological Park has attracted more and more tourists in recent years.


The city of Jiayuguan is located in the northwest of Gansu Province. It was the traffic hub of the ancient Silk Road and the west starting point of the Great Wall of the Ming Dynasty. Jiayuguan Pass, one of the most well-known historical relics in Jiayuguan, is a must-see if you travel to Jiayuguan.

Contact us via WeChat
Account: Business Team
We are here to help you...
start planning your tailor-made tour with 1-1 help from our travel advisors. Create Your Trip

The China Highlights Experience

1-to-1 Expert Planning

1-to-1 Expert Planning

Your tour will be tailor-made by your personal travel advisor — a destination expert. Every reply will be within 24 hours.

Personal Journeys

Personal Journeys

Enjoy your personal local guide and ride. Explore destinations at your own pace. Have unparalleled flexibility, which is impossible on a group tour.

Authentic Experiences

Authentic Experiences

Discover the hidden gems. Experience local culture by practicing it. Try new and exciting activities, and unveil the stories behind the sights and people.

Well-Selected Local Guides

Well-Selected Local Guides

Knowledgeable, enthusiastic, and attentive — your personal local guides will share interesting stories, insider information, and even create unexpected highlights!

China Highlights tailor-makes China tours to help travelers discover China their way. We're a passionate team of one hundred avid travelers who love to share our knowledge of China with those looking for a more authentic travel experience, more ...
China Highlights International Travel Service Co., LTD
Corporate Number: 914503003486045699
Featured on