A temple legend says it was built in 1246 in the Kamakura period; however judging from its style, it seems to have been built from the period of the Northern and Southern Courts to the Muromachi period.
寺伝では鎌倉時代の寛元4年（1246年）の建立というが、様式的には南北朝時代～室町時代の建築とみられる。