He became a priest at the Ryusenji Temple in Ugo Province (Akita Prefecture) (1641). At the age of 13, aggrieved by the loss of precious Buddhist scriptures at the Chiisonji Temple in Rikuchii Province (Iwate Prefecture), he determined to collect those lost scriptures. He studied at the Zuiganji Temple in Sendai and later under Ingen, a Chinese priest.
One night he castrated himself in order to concentrate more on study. Because the wound caused pain, he made a medicine to allay it. He named the medicine Kintai-en, sold it in Edo and made great profits. With the money, he built Kangakuryo school in the Kan-eiji for training young priests.