In 713, in the first year of the age of Kaiyuan (713–742) of Emperor Xuanzong, the temple was built. In summer 748, Jianzhen made his fifth attempt to reach Japan, but he failed, he lived in Jianshan Temple.
In 1995, the government planned to rebuild the temple. On January 1, 2001, the temple was rebuilt and opened to the public.