Although details of the founding and history of the temple are unclear, temple legend has it that it was erected by Prince Shotoku, and Kukai (Kobo Daishi) later practiced asceticism there.
寺の創立や沿革は明らかでなく、寺伝では聖徳太子が建立し、後に空海（弘法大師）が修業したと伝わる。