The temple briefly fell into decline during the early Heian period but was restored at the end of the 9th century by Shingon Sect monk Shobo and was visited continuously by members of the Imperial Family and nobles since the 10th century.
平安時代初期には一時衰退した時期もあったが、9世紀末に真言宗の僧・聖宝（しょうぼう）によって再興され、10世紀以降、皇族・貴族の参詣が相次いだ。