The buildings of the temple complex were lost after becoming embroiled in the Onin War but they were later rebuilt during the Edo period using funds donated by Keishoin.
応仁の乱に巻き込まれて伽藍が消失したのち、江戸時代になってから桂昌院の寄進によって再興された。