This shrine once existed near the Rajo-mon Gate of Heijo-kyo (the ancient capital of Japan in current Nara), and it is said that the shrine had a role as a doso-shin (travelers' guardian deity).
かつてこの神社は平城京の羅城門付近に存在しており、道祖神としての役割もあったとされる。