Founded in 1659 by Naoyoshi FUJIBAYASHI (Sogen), who was a master of the tea ceremony and was also a vassal of Sadamasa KATAGIRI, the second lord of the Koizumi Domain, this temple became the invocatory temple of the Koizumi clan.
万治2年（1659年）、小泉藩第2代藩主片桐貞昌の家臣で茶人でもあった藤林直良（宗源）が創建し、小泉氏の祈願寺となった。