Explore Beijing / Beijing to Datong by High-Speed Rail: Yungang Grottoes and the Hanging Temple Weekend

Beijing to Datong by High-Speed Rail: Yungang Grottoes and the Hanging Temple Weekend

A practical two-day rail itinerary from Beijing to Datong, covering ticket buying, the Yungang Grottoes, the Hanging Temple, and realistic timings for a first-time visitor.

4 min read · KOULING's Beijing Travel Guide

Beijing to Datong by High-Speed Rail: Yungang Grottoes and the Hanging Temple Weekend

Datong, a former coal city turned cultural hotspot in Shanxi Province, is one of the best weekend escapes from Beijing. The high-speed rail journey takes roughly 1 hour 40 minutes to 2 hours [verify before travel], putting the 1,500-year-old Yungang Grottoes and the gravity-defying Hanging Temple within easy reach of a weekend. This guide walks you through tickets, trains, and a realistic two-day plan.

Booking Your Train Tickets

Datong is served by Datong South Railway Station, reached by high-speed trains (G and D trains) from several Beijing stations, most commonly Beijing North or Qinghe [verify before travel — confirm your departure station and train number when booking]. Second-class seats typically cost around CNY 150–210 (roughly US$21–29) each way [verify before travel]. Foreign visitors can buy tickets on the official 12306 app or website, at station ticket windows, or through trip.com. Registering 12306 with your passport is free and worth doing before your trip; international cards are now accepted but can be finicky, so have a backup.

Getting Around Datong

Datong South Station is several kilometres from the old city, so plan your transfers. Taxis and ride-hailing apps like Didi are the easiest option; a ride to the old town usually costs CNY 15–30 (US$2–4) [verify before travel]. The Yungang Grottoes are about 16 km (10 miles) west of the city — a taxi takes around 30–40 minutes, and a tourist bus (Route 3 or a dedicated grottoes bus) also runs from the city centre [verify before travel]. The Hanging Temple is farther afield, roughly 65 km (40 miles) southeast near Mount Heng, so most visitors hire a car and driver for half a day, typically CNY 300–500 (US$42–70) [verify before travel].

Yungang Grottoes (云冈石窟)

A UNESCO World Heritage site of more than 50,000 Buddhist statues carved into sandstone cliffs between the 5th and 6th centuries. The colossal 17-metre (56-foot) seated Buddha in Cave 5 and the intricate Cave 20 open-air Buddha are the highlights. Allow at least half a day; the site is large and mostly outdoors, so bring sun protection in summer and warm layers in winter.

Sample Two-Day Itinerary

  1. 07:30
    Depart Beijing Take a morning high-speed train from Beijing North or Qinghe to Datong South [verify before travel]; breakfast options at the station are limited, so eat beforehand.
  2. 10:00
    Arrive Datong South Station Taxi or Didi to your hotel or straight to the old city; drop bags if your room is ready.
  3. 11:30
    Lunch in Datong Try Shanxi knife-cut noodles (dao xiao mian) — a local specialty, typically CNY 15–40 (US$2–6) per bowl [verify before travel].
  4. 13:30
    Yungang Grottoes Allow 3–4 hours on site; buy entry tickets in advance on 12306 or onsite [verify before travel].
  5. 18:00
    Return to the old city Evening stroll and dinner around the restored Datong old town and city walls.
  6. Day 2, 08:00
    Drive to the Hanging Temple Leave early with a hired car and driver; the trip takes about 1.5 hours each way [verify before travel].
  7. Day 2, 10:00
    Hanging Temple (Xuankong Si) Visit early to beat crowds; the walkways are narrow and steep — not ideal if you are uncomfortable with heights.
  8. Day 2, 14:00
    Head back to Datong South Leave generous buffer for traffic; aim for a late-afternoon or evening train back to Beijing [verify before travel].

Hanging Temple (悬空寺)

A 1,500-year-old monastery built into a cliff face on the edge of Mount Heng, seemingly balanced on wooden stilts. Entry is split into a base ticket and a separate ticket to walk the upper boardwalks, which are limited to timed numbers and often sell out in peak season [verify before travel — check current ticketing and reservation rules]. The visit itself is quick (1–1.5 hours), but the drive from Datong makes it a half-day affair.

Practical Tips for the Trip

  • Book trains early — Weekend trains to Datong sell out, especially around Chinese public holidays. Book as soon as 12306 opens sales, typically 14–15 days ahead [verify before travel].
  • Carry cash and set up payments — Alipay and WeChat Pay accept foreign cards now, but small taxis and noodle shops may still prefer cash — keep a few CNY 10 and 20 notes handy.
  • Mind the weather — Datong runs colder than Beijing, especially at the Hanging Temple site; winter visits can be slippery, and the grottoes involve a lot of walking.
  • Watch your return time — The Hanging Temple is far from Datong South Station — don't cut your return transfer too close, and reconfirm your train's departure platform [verify before travel].
  • English is limited — Few signs and menus in Datong are in English. A translation app with offline Chinese downloaded will save you repeatedly.
← All Beijing Guides
BOOK NOW