In AD 690 during Wu Zetian's reign, it was renamed Jianfu Temple, and also bestowed an inscribed board handwritten by the emperor.
The famous Small Wild Goose Pagoda was built in the Jinglong era (707-710) of the Tang dynasty.
While in the Huichang era Buddhism was suppressed, Jianfu Temple was only allowed to keep 20 monks for daily maintenance, and it grievous days came.
The current "Imperial Jianfu Temple" (敕赐荐福寺) was handwritten by the Zhengtong Emperor of the Ming dynasty.
In the late Qing dynasty, more buildings were erected, including the Sutra Library and Nanshan Gate.