It was associated with To-ji Temple until the Kamakura period but was restored and converted to the Rinzai Sect when Ryoso MONKEI of Kennin-ji Temple was appointed head priest during the Muromachi period,
鎌倉時代までは東寺に属していたが、室町時代に建仁寺の聞渓良聡が入寺して再興、臨済宗に改められた。