Empress Komyo reconstructed a temple, which was built in the Asuka period enshrining Bishamonten (Vaisravana), as Kairyuouji Temple in 731. Genbo, who returned safely from China in the storm as a Kento-shi (Japanese envoy to Tang Dynasty China), became the first chief priest of the temple. This is why the temple became a place of prayer for safe voyage for envoys as well as a place for training in the national capital of Heijokyo. The five-storied small pagada (National Treasure) in Saikondo hall (Important Cultural Property) and the hall itself were built from the beginning of the foundation in the precincts.
It is known as the original temple of sutra copying as well as a temple of prayer for safe travel and overseas study.