The temple traces its origins to the former "Xilin Vihara" (), founded by Hu Zengchu () in 872, in the ruling of Yizong Emperor of the Tang dynasty (618–907). Originally known as "Jiedai Temple" () in the Southern Song dynasty (1127–1279), and later renamed "Ting'en Temple" () and "Chong'en Temple" (), Yingzong Emperor of Ming dynasty (1368–1644) inscribed and honored the name "Xilin Chan Temple of Great Ming" in the mid-15th century. The temple was destroyed by fire during the Mongolian invasion of the 13th century, and was restored and reconstructed in 1387, at the dawn of Ming dynasty.