It was originally a temple of the Shingon Sect; however, during the Bunsei Era (1818-1829), it transformed to the Rinzai Sect and became the sub-temple for Eigen-ji Temple in the Omi Province.
当初は真言宗寺院であったが、文政年間に近江国永源寺の末寺となり、臨済宗に転じた。