Timeless Places

Datong, Shanxi, China

Shanhua Temple

★★★★☆

善化寺 · Shànhuà Sì

The most complete Liao and Jin monastery in China, inside the south wall of Datong: a gate, a hall and a great main hall in a row, built between the 11th and 12th centuries and still standing almost untouched. In the main hall stand 24 Jin dynasty statues of the heavenly guardians, and on a stele a Song envoy held captive here for sixteen years recorded how the temple was rebuilt.

iPhoto: Zhangzhugang, CC BY-SA 3.0, Wikimedia Commons

The story

Founded under the Tang as the Kaiyuan Temple, the monastery was rebuilt by the Liao, when Datong was their Western Capital, and the Mahavira Hall (大雄宝殿) dates from that time. It was badly damaged when the Jin took the city in 1122. From 1128 to 1143 the monk Yuanman led a rebuilding that gave the temple its gate, its Hall of the Three Sages (三圣殿) and, in 1154, the two-storey Samantabhadra Pavilion (普贤阁). In the Ming (1368–1644) it was renamed Shanhua, "transforming by goodness".

Among the witnesses was Zhu Bian, an envoy sent by the Song (960–1279) court to the Jin in 1127, who was detained in Datong for sixteen years and lodged in this temple. Refusing to serve the Jin, he wrote the stele that records Yuanman's rebuilding, signed with his Song title. He was allowed home in 1143. In 1933 Liang Sicheng, Lin Huiyin and Liu Dunzhen surveyed the temple and found its four main buildings largely as the Liao and Jin had left them.

If you have one minute

In the Mahavira Hall, before the guardians

Yama among the guardians
Yama among the guardiansPatrick20242023, CC BY-SA 4.0

Five Buddhas sit on the altar, and along the side walls stand twenty-four heavenly guardians of the Jin: kings, generals and goddesses, some gentle, some fierce, each about 3 metres tall. Look up at the ceiling: the hall's interior columns have been removed to open up the space, a Liao trick that saved timber.

Things people often get wrong

"It is the same as Huayan Temple." Huayan is a few streets away; Shanhua is quieter, smaller and more complete.

Close by, with a page of its own: Huayan Temple (Datong), Nine-Dragon Wall (Datong), Lingyan Temple (Yungang), Yungang Grottoes, Yungang Grottoes Museum.

Also among Buddhist temples and pagodas: Potala Palace, Sensō-ji, Tōdai-ji, Jokhang Temple, Bulguksa, Foguang Temple, all 29.

Go deeper: the temple in five stops6 stops · about 1 min to read

About an hour, walking north from the gate.

1. The main gate

The temple gate
The temple gateJL Cogburn, CC BY-SA 2.0

A Jin gate hall with huge guardian kings inside.

2. The Hall of the Three Sages

A Jin hall in sunlight
A Jin hall in sunlightZhangzhugang, CC BY-SA 3.0

Jin, with bracket sets that fan out diagonally, and Zhu Bian's stele beside it.

3. The Samantabhadra Pavilion

The Samantabhadra Pavilion
The Samantabhadra PavilionG41rn8, CC BY-SA 4.0

A small two-storey pavilion of 1154.

4. The Mahavira Hall

The Mahavira Hall, 2009
The Mahavira Hall, 2009Zeus1234, CC BY-SA 3.0

The Liao main hall on a high terrace, seven bays wide.

5. The guardians and murals

Murals of a Buddhist assembly
Murals of a Buddhist assemblyJL Cogburn, CC BY-SA 2.0

The 24 Jin guardians and Qing murals of Buddhist assemblies.

The temple and the same years elsewhere

Yuanman's rebuilding ended in 1143. In the same years in Europe, the abbey church of Saint-Denis near Paris was being rebuilt in the first Gothic style.

People who stood here

We searched Chinese sources first, then English ones.

  • Yuanman (monk, 12th century)He led the rebuilding of 1128–1143 after the Jin conquest.
  • Zhu Bian (Song envoy, 1085–1144)Detained by the Jin for sixteen years, he lived here and wrote the temple's stele.
  • Liang Sicheng (architect, 1901–1972)He surveyed the temple in September 1933.
  • Lin Huiyin (architect and poet, 1904–1955)She took part in the 1933 Datong survey.
  • Liu Dunzhen (architectural historian, 1897–1968)He co-wrote the 1933 report on Datong's buildings.

Tickets and travel info

Tickets and hours

  • One ticket; open daily, shorter hours in winter.
  • Allow an hour.

Last checked 2026-11-12. History from the Datong municipal heritage authorities and the Jin stele of 1143.

Booking without WeChat

  • Official page in English The Datong municipal heritage authorities and the temple publish visitor information in Chinese.
  • Note Ticket prices are lower in the winter season (1 November–31 March).

Checked 2026-11-12

Find a guide

Once you've read our history and culture pages, a guide is the best way to go deeper and make the most of your visit. You can find guides on these sites:

Where to start

  • Just inside the south gate of Datong's walled city; walk on to the Nine-Dragon Wall and Huayan Temple.
  • It combines nicely with a walk on the city wall above.

Before you go

  • The halls are dark; bring a torch for the statues.
  • It is far less crowded than Huayan.

Customs and manners

  • Please speak quietly in the halls.

Book tickets

You can book tickets and tours through our partner sites below: we earn a small commission at no extra cost to you, and it helps keep Timeless Places running. Thank you for your support!

Looking for a place to stay nearby or a rental car? You'll find more options below.

Stay nearby

This button opens one of several booking sites, such as Booking.com, Expedia, Hotels.com, Agoda or Vrbo, picked automatically. If it isn't the one you'd like, just close it and click again. Thank you for your support!

Rent a car

Bring your own licence and an International Driving Permit, and check before you go that the country accepts them.

In the local language

善化寺 Shànhuà Sì

Address 山西省大同市平城区南寺街 善化寺 (Shanhua Temple, Nansi Street, Pingcheng District, Datong, Shanxi)

高德地图 Amap 百度地图 Baidu Google Maps Apple Maps

Words on the signs
善化寺Shanhua Temple
大雄宝殿Mahavira Hall
三圣殿Hall of the Three Sages
普贤阁Samantabhadra Pavilion
山门Main gate
五龙壁Five-Dragon Wall
售票处Ticket office

Opening hours are given in the local time of the place.

In pop culture

Video game · 2024

Black Myth: Wukong

Game Science (developer)

China's first big-budget action game, based on Journey to the West, released in August 2024. Of the 36 real places in China its scenes were reported to draw on, 27 are in Shanxi. Shanhua Temple in Datong is on the Shanxi tourism department's list of those 27; its guide singles out the temple's clay figures of the twenty-four heavenly kings as a national treasure.

Same shot: In the Main Hall in front of the twenty-four heavenly kings. The game does not say which shot draws on this temple, so this is not marked as an exact match.

Meanwhile in the world

YearHereElsewhere
1122The Jin take DatongThe Concordat of Worms
1143The rebuilding ends; Zhu Bian goes homePortugal becomes a kingdom
1154The Samantabhadra Pavilion (普贤阁) is builtHenry II becomes king of England

One line to remember: a Liao–Jin monastery almost as its builders left it.

Local legends

These are stories people tell about this place. They are legends, not history, and each one says where it comes from.

LegendThe envoy's loyalty

Datong tradition remembers Zhu Bian as the Su Wu of the Song, the man who would not serve a foreign court; the stele he wrote is shown to visitors as proof of his loyalty.

Source: Datong tradition

Later, people who live here will be able to add the stories they grew up with, and say which of these they have heard.

Not certain, and where accounts conflict

Is the main hall Liao or Jin?
Most scholars date the Mahavira Hall (大雄宝殿) to the Liao; some think it was largely rebuilt by Yuanman after 1128 on Liao foundations.

Look for these

  1. Find the fan-shaped bracket sets of the Hall of the Three Sages (三圣殿).
  2. Find Zhu Bian's stele.
  3. Count the 24 guardians in the main hall.

I am here

Stand at the site, sign in, press the button, and collect its stamp. Your browser will ask to use your location. It is sent to us once to confirm that you are at the site; we keep how far you were from it, not the spot where you stood.

Your stamps are saved to your account, so they follow you to any device. Checking from a browser cannot rule out every false location; stricter checks arrive with the app.

Share your photos

Photos here show the place, not people. Each one is credited to the visitor who took it and appears after our team has looked at it. A photo with you in it belongs under “I am here”.

Messages