Koan-ji was founded in the early 8th Century, Tempyo 11. Now it is a Soto sect zen temple.
Originally it belonged to the Hosso sect, one of the 6 original sects based in Nara.
It was the family temple for one of the retainers of the Amago clan who ruled the area before being ousted by the Mori.
It is not known how old the wonderful ceiling painting of a dragon is, b ut it is obviously old.
It is the last temple of the pilgrimage in the Hi River watershed.