The Yungang Grottoes are the main reason to visit Datong, but the trip depends on two details that are easy to miss: the site uses advance real-name booking, and high-speed trains arrive at Datong South rather than the older central station. Plan one full day for the grottoes and Datong’s historic core. Add a second day only if the Hanging Temple or another regional site matters.
Why the Yungang Grottoes matter
UNESCO describes Yungang as a group of 252 caves and about 51,000 statues created mainly in the fifth and sixth centuries. The site represents an early high point of Buddhist cave art in China, shaped by artistic traditions arriving through Central and South Asia and adapted under the Northern Wei court.
This context changes the visit. Yungang is not one monumental Buddha followed by repetitive caves. The earlier Tanyao caves, the large central-pillar interiors and the later, more densely decorated spaces show different stages in the project.
Useful priorities for a first visit include:
- Caves 16–20: the Tanyao Five, including the open-air image associated with Cave 20.
- Caves 5 and 6: large interiors with extensive sculptural programmes.
- Caves 9–13: richly decorated spaces where colour and carved musical figures add a different layer.
Access and photography rules can vary by cave because conservation takes priority. Follow the sign and staff instruction at each entrance rather than assuming one rule applies throughout the cliff.
Reserve before travelling to Datong
Datong’s government states that Yungang moved to online real-name reservations from 1 January 2025. The current system allows booking within the announced advance window but excludes same-day reservations, and the former manual ticket window is no longer the fallback it once was.
That makes the reservation a hard planning dependency. Before buying a non-refundable train or hotel:
- Open the Yungang Research Academy or Yungang Culture and Tourism official mini-programme.
- Check the current advance window and available entry periods.
- Enter every visitor under the identity document used for travel.
- Carry the original passport or other booked document to the gate.
- Read the latest notice for closures, weather or temporary cave restrictions.
Prices and daily sessions can change. Use the amount and time displayed in the official booking channel rather than an old article.

Arriving by train
High-speed trains use Datong South (Datongnan), outside the historic centre. Slower services may use Datong Station, which is much closer to the old city. The distinction affects both hotel choice and the transfer to Yungang.
Search the exact date and departure station through China Railway. Some Beijing services use Beijing North or Qinghe rather than the stations a first-time visitor might assume. The 12306 guide for foreign travellers covers passport verification and station entry.
Allow a real transfer buffer after arrival. Do not book a narrow Yungang entry period based only on the train’s scheduled time; station navigation, luggage and road traffic all sit between the platform and the caves.
Getting from Datong to Yungang
Yungang lies west of central Datong. Local buses, tourist services and ride-hailing options may operate, but routes and pickup points can change. Ask the hotel or station information desk for the current direct option, and keep the destination name in Chinese.
A car is simpler when luggage, mobility or a fixed entry period makes multiple transfers risky. Confirm whether the quoted price is one way, includes waiting, and covers tolls or parking. RelaxInChina does not claim to operate the route, so the transport contract and payment should remain with the actual provider.
Prepare mobile payment before arrival with the Alipay guide for visitors, while keeping another payment method available.

How to pace the grottoes
Do not use all your energy in the landscaped approach before reaching the historic cliff. The modern visitor area, ceremonial avenue and supporting museum add context, but the caves deserve the largest share of time.
A practical order is:
- Reach the principal cave sequence early in the booked period.
- Give Caves 16–20 enough time to compare their scale and style.
- Continue to the major interiors around Caves 5 and 6.
- Use the museum after the cliff if weather or conservation closures limit access.
- Leave buffer time for the return to Datong rather than scheduling an immediate train.
An audio guide or other reliable interpretation helps distinguish iconography, patronage and construction periods. Avoid presenting speculation about individual statues as fact when the site label is more cautious.
Should you add the Hanging Temple?
The Hanging Temple, or Xuankong Si, is in the wider Datong region but not beside Yungang. Combining both in one day requires a long road circuit and matching two separate access systems. Conservation limits may also affect how many visitors can climb the structure.
For a short visit, choose Yungang and Datong’s central temples. Add the Hanging Temple on a second day when its current booking and climbing rules are confirmed. Travellers with mobility, heart or respiratory concerns should read the official access guidance before assuming the elevated walkways are suitable.
The same principle applies to the Yingxian Wooden Pagoda: it is a regional day-trip decision, not a small detour from the grottoes.
What to see in Datong after the caves
Huayan Temple and Shanhua Temple provide a useful contrast to Yungang’s cave art. They fit into the central city more naturally than a long second road transfer. Check current closing times before returning from Yungang, especially in winter when daylight and opening windows are shorter.
Datong’s reconstructed city wall changes the evening skyline but should not displace the older temple complexes on a limited itinerary. Walk a section only if time remains.
For a broader comparison with other major heritage sites, see the Terracotta Army guide and the Mutianyu Great Wall guide. Each has a different access system, so do not transfer ticket assumptions from one site to another.
A practical two-day Datong plan
Day 1: Yungang and the old city
Use the confirmed Yungang entry period as the day’s anchor. Return to central Datong with enough time for one temple and dinner rather than rushing through several attractions.
Day 2: choose one regional excursion
Use the second day for the Hanging Temple or Yingxian Wooden Pagoda only after current access and transport are confirmed. If neither is essential, spend a slower morning at Huayan and Shanhua temples before an onward train.
Frequently asked questions
Can Yungang be a day trip from Beijing?
It is possible on some train schedules, but the advance Yungang reservation and transfers must align. An overnight stay gives more tolerance for delays and allows time in Datong itself.
Can I buy a Yungang ticket at the gate?
Do not plan on it. Datong’s official guidance says the site uses online real-name reservations and no longer relies on a manual sales window. Check the current official channel before travel.
How long should I allow at the grottoes?
Allow at least half a day including the approach, major cave groups and museum. Conservation controls or queues can change the pace.
Are the Hanging Temple and Yungang close together?
No. They are separate regional sites with a substantial road transfer between them. Combining them requires a dedicated car plan and confirmed access at both ends.
The practical takeaway
A reliable Datong Yungang Grottoes trip begins with the real-name reservation, then works backward to trains and transfers. Give the cave sequence half a day, keep one central temple for the evening and resist adding a second distant site unless another day is available. The result is a heritage visit with enough time to understand the art rather than merely photograph the entrance.
Official planning sources
- UNESCO: Yungang Grottoes
- Datong government: Yungang reservation and ticket guidance
- China Railway 12306
Image credits
- Featured image: Entrance area at the Yungang Grottoes. Image by Marcin Białek, via Wikimedia Commons. — CC BY-SA 3.0.
- First inline image: Buddhist sculpture at Yungang Grottoes. Image by Marcin Białek, via Wikimedia Commons. — CC BY-SA 4.0.
- Second inline image: Painted Buddhist sculpture at Yungang. Image by Steve Cadman, via Wikimedia Commons. — CC BY-SA 2.0.