
Mati Temple
Gansu
Mati Temple (马蹄寺, Mǎtí Sì) is a complex of cave temples in the Qilian foothills, 65 km north of Zhangye, named after a legend of a heavenly horse’s hoofprint.
Caves in the foothills
The complex lies in Sunan County, Zhangye Prefecture. Work began under the Northern Liang. It has seven cave groups, among them the Thousand Buddha Caves (千佛洞), the Upper, Middle and Lower Guanyin Caves and Jinta Temple; in all there are more than 70 caves and niches.
The most striking ensemble is the Thirty-Three Heavens (三十三天): 21 caves on seven tiers, cut into a cliff about a hundred metres high. The name of the temple comes from a legend in which a heavenly horse left a hoofprint in the rock.

Planning the trip
From Zhangye the easy way is a car or a tour; allow a day. In summer the meadows are green and cooler than the valley, and in winter mountain roads may be closed. Check the price, hours and rules for entering the caves in the site’s official mini-program.
The steps to the caves are steep and the rock is slippery after rain, so wear shoes with good grip. Some caves may be closed for restoration, which the mini-program shows. Set out early: the trip takes most of the day. Take your rubbish with you. The city is covered on the Zhangye page.
Mobile signal in the mountains can drop, so download a map beforehand and agree a return time with your driver. Bring water and a snack: there are few shops on the paths by the caves.
