In 1234, Ejo visited Dogen, who had left Kennin-ji Temple and was staying at his tea hut located at Fukakusa in Yamashiro Province, and asked for his guidance once again and was allowed.
文暦元年（1234年）、建仁寺を出て山城国深草に草庵を結んでいた道元を訪ね、再び師事を願いでて許される。