The Hida Kokubun-ji is located in downtown Takayama, a short distance from Takayama Station. The exact date of construction is believed to be around 757, over 15 years from the foundation of the provincial temple system in 741. The temple claims that it was founded by the famed wandering prelate Gyōki without any historical evidence. However, records indicate that the original temple burned down in 819 and was rebuilt in 855. The existing Hondō dates from the Muromachi period. It is a National Important Cultural Property[5]
The 7-story pagoda also dates from the same period, burned down during the Ōei period, and was reconstructed again in 1585. It was burned down again in the battles between Kanemori Nagachika and Anegakoji Yoritsuna and a 3-story pagoda was built in its place in 1615. This structure also burned down in 1791 and was rebuilt in 1820.
In 1695, when Takayama Castle was destroyed, the Hida Kokubun-ji inherited some of its structures, including the main gate.