After studying at a kangakuin (Fujiwara clan daigaku-besso (academic facility for nobles) or schools established at temples), he entered the Buddhist priesthood under Ganpo of Daigo-ji Temple before going on to study under Ichijo and Myochin.
勧学院（藤原氏の大学別曹または諸大寺院が建てた学校）に学んだ後、醍醐寺の元方に師事して出家、また一定（いちじょう）・明珍（みょうちん）らに学んだ。