Top 10 China tours 2024/2025 for first visits and returns: embark on a lifetime experience. Learn more
Shanghai-Urumqi Trains

Shanghai-Urumqi Trains

Written by FabioUpdated May. 4, 2023

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 May 4th, 2023)

Train Number Departure Arrival Duration
Z40 16:17 09:38 (next two days) 41h 21m
Z304 21:00 14:24 (next two days) 41h 24m

Urumqi to Shanghai Train Schedule

(Updated on May 4th, 2023)

Train Number Departure Arrival Duration
Z42 18:36 12:06 (next two days) 41h 30m
Z306 20:27 16:10 (next two days) 43h 43m

Shanghai-Urumqi Train Ticket Fares

Superior Soft Sleeper Soft Sleeper Hard Sleeper Hard Seat
US$278 (CNY1,911.5) US$150 (CNY1,029.5) US$95 (CNY649.5) US$56 (CNY385.5)

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.

Popular tours
Make the most of your time
Choose the best time to visit
Start planning your tailor-made tour with 1-1 help from our travel advisors. Create Your Trip

Sign up to Our Newsletter

Be the first to receive exciting updates, exclusive promotions, and valuable travel tips from our team of experts.

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