The precise time and circumstances of the temple's founding are unclear but roof tiles excavated within the precinct have led to estimates placing its founding to the Nara period prior to the establishment of the capital city of Nagaoka-kyo.
創建の正確な事情や時期は未詳であるが、境内出土の瓦の年代から、長岡京造営以前、奈良時代の創建と推定されている。