The temple was given the imperial scroll by Emperor Daigo in the Engi era (beginning of the 10th century), but other than that, its history until the medieval period is not clear.
延喜年間（10世紀初頭）には、醍醐天皇から勅額を下賜されたというが、以後、中世までの歴史は判然としない。