Routes & Cities

Dunhuang and the Mogao Caves

Dunhuang, an oasis town at the western end of China's Hexi Corridor in what is now Gansu province, was the most important way station on the Chinese side of…

Dunhuang, an oasis town at the western end of China’s Hexi Corridor in what is now Gansu province, was the most important way station on the Chinese side of the Silk Road. Caravans traveling west from the Tang capital Chang’an, the modern Xi’an, paused at Dunhuang to take on water, food, and guides for the long crossing of the Taklamakan Desert. The town’s position made it a meeting point of Chinese, Tibetan, Uyghur, Sogdian, Indian, and Arab cultures, and it has been a Chinese military outpost and a major node on the routes of the Silk Road since the second century BCE. I have always thought that Dunhuang is the single Silk Road site that best rewards the visitor who arrives already knowing something — the unprimed tourist sees a lot of caves; the prepared visitor sees a thousand years of Buddhist art history in physical sequence.

The geographic setting explains Dunhuang’s importance. It sat at the point where the overland corridors split to skirt the Taklamakan, with the northern branch running through Turfan and Kucha and the southern branch through Khotan and Yarkand. Whoever controlled Dunhuang controlled, in effect, the access of Chinese goods into Central Asia. The Han dynasty established a garrison there in the second century BCE, in 111 BCE under the general Huo Qubing, and successive Chinese dynasties maintained the position for the next two millennia. The town’s role as a Silk Road city of the first rank was inseparable from its military function.

The Mogao Caves

Dunhuang is best known for the Mogao Caves, a sequence of 492 Buddhist cave temples carved into a sandstone cliff a few miles southeast of the town. The first cave was cut, according to tradition, in 366 CE, when a local Buddhist monk named Yuezun had a vision of a thousand Buddhas shimmering in the cliff face. Over the next thousand years, donors ranging from local merchants to Tang emperors commissioned the carving of 491 more caves. The result is one of the largest concentrations of Buddhist art in the world, and a continuous record of the Buddhist Silk Road from the fourth to the fourteenth centuries.

The caves contain painted clay sculptures of Buddhas, bodhisattvas, and guardian deities, ranging from a few centimeters to over thirty meters in height, set against walls covered with narrative murals depicting sutras, jataka tales, donor portraits, and scenes of daily life. The earliest caves show strong Indian and Central Asian influence, with figures modeled on the Gandharan and Gupta traditions; later caves show the gradual sinicization of Buddhist iconography, with Tang-era figures taking on the more naturalistic forms of Chinese Buddhist art. The caves document, in effect, the transformation of Buddhism on the Silk Road from an imported Indian religion into a fully Chinese one, and the conventional narrative misses just how long the transformation took — the sinicization is still visibly incomplete in the late Tang caves.

Dunhuang is, of all Silk Road sites, the one that has given back the most to scholarship.

At its Tang-era peak, the Mogao complex housed perhaps a thousand monks and was supported by endowments from the imperial court, the local garrison, and the Sogdian and Khotanese merchants who passed through Dunhuang. The caves served as a stopping place for Buddhist pilgrims traveling between China and India, including the famous monk Xuanzang, who paused at Dunhuang on his way west in 629 CE — though I should note that the cave traditionally identified as Xuanzang’s stopover is in fact a later cave with a later story attached. The scale of patronage reflects the prosperity of Dunhuang under the Tang dynasty, when the Hexi Corridor was secure and the overland trade was at its height. A useful figure to keep in mind: the Mogao site receives roughly 800,000 visitors a year, most of them in the four months from June to September.

The Library Cave

In 1900, a Daoist monk named Wang Yuanlu, restoring one of the Mogao caves, broke through a wall and discovered a sealed chamber now known as the Library Cave. Inside, stacked from floor to ceiling, were tens of thousands of manuscripts, paintings, and printed materials in Chinese, Tibetan, Sogdian, Khotanese, Sanskrit, Uyghur, Hebrew, and other languages, dating from the fourth to the early eleventh centuries. The contents are the single richest documentary record of the medieval Silk Road to survive anywhere, and the more I read the catalogues, the more I think we still do not really know how to use them.

The manuscripts include Buddhist sutras in multiple translations, secular contracts, government documents, religious tracts of every confession, medical and astronomical texts, poetry, and the world’s oldest dated printed book, a copy of the Diamond Sutra dated 868 CE, which is now in the British Library under shelfmark Or.8210/P.2. The cave appears to have been sealed, by tradition, in the early eleventh century, possibly to protect the manuscripts from a Tibetan or Tangut military threat, and it then remained sealed for nine hundred years. In the early twentieth century — between about 1907 and 1914, in the persons of Aurel Stein, Paul Pelliot, Sergei Oldenburg, and the Japanese Otani expeditions — much of the contents was dispersed to museums and libraries in London, Paris, St. Petersburg, and Beijing, where they transformed the study of medieval Central Asia. A point that is often missed: the Chinese government of the late Qing was aware of the removals and was not, in fact, particularly distressed by them.

The Library Cave manuscripts are now dispersed across the British Library, the Bibliothèque nationale de France, the Institute of Oriental Manuscripts in St Petersburg, the Berlin-Brandenburg Academy, the National Library of China, and smaller collections in Stockholm, Kyoto, and Seoul. The international IDP (International Dunhuang Project) database has, since 1994, been putting high-resolution images of all of them online; it is one of the great quiet achievements of digital humanities, and a researcher in 2026 can now read more Dunhuang manuscripts in a week than Aurel Stein could read in a year.

A personal note

The Mogao Caves are a working Buddhist site and a museum, and the visitor experience is curated. The Library Cave (Cave 17) itself is not open to the public, and the manuscripts discovered there are dispersed to Beijing, London, Paris, St. Petersburg, and Dublin. A reader who wants to see the manuscripts in person must visit at least four museums on three continents. The caves are a real Silk Road site, but they have been thoroughly globalized.

Further reading

  • Hansen, The Silk Road: A New History (Oxford, 2012).
  • Whitfield, Life Along the Silk Road, 2nd ed. (2015).
  • The relevant Oxford Handbook or Cambridge History chapter for the region or period.