After studying under Kouchi, a monk of Ono-dera Temple in Shimotsuke Province, and becoming a monk, he went to Mt. Hiei and studied Exoteric Buddhism as well as Esoteric Buddhism under Saicho and Ennin.
下野国小野寺の広智（こうち）に師事して出家、ついで比叡山に登って最澄・円仁について顕教・密教を学んだ。