He followed Dogen at Kosho-ji Temple at Fukakusa in Yamashiro Province and Eihei-ji Temple in Echizen Province, and after the death of Dogen he became a master of Zen under Ejo.
山城国深草興聖寺および越前国永平寺と道元に従い、道元の没後は懐奘に師事して禅を極めた。