Although the year of its establishment is unknown, it is said that in the early Heian period the Emperor Saga, to pray for his wife's safe delivery, enshrined Jizo Bosatsu who was later consecrated by the monk Kukai.
この寺の創建年代については不詳であるが、平安時代初期嵯峨天皇が皇后の安産祈願のため地蔵菩薩を安置し、空海が開眼したとも伝えられる。