Early life
Dōgen was probably born into a noble family, though as an illegitimate child of Minamoto Michitomo, who served in the imperial court as a high-ranking ashō (亞相, "Councillor of State"). His mother is said to have died when Dōgen was age 7.
Early training
At some later point, Dōgen became a low-ranking monk on Mount Hiei, the headquarters of the Tendai school of Buddhism. According to the Kenzeiki (建撕記), he became possessed by a single question with regard to the Tendai doctrine:
As I study both the exoteric and the esoteric schools of Buddhism, they maintain that human beings are endowed with Dharma-nature by birth. If this is the case, why did the Buddhas of all ages — undoubtedly in possession of enlightenment — find it necessary to seek enlightenment and engage in spiritual practice?
This question was, in large part, prompted by the Tendai concept of original enlightenment (本覚 hongaku), which states that all human beings are enlightened by nature and that, consequently, any notion of achieving enlightenment through practice is fundamentally flawed.
The Kenzeiki further states that he found no answer to his question at Mount Hiei, and that he was disillusioned by the internal politics and need for social prominence for advancement. Therefore, Dōgen left to seek an answer from other Buddhist masters. He went to visit Kōin, the Tendai abbot of Onjō-ji Temple (園城寺), asking him this same question. Kōin said that, in order to find an answer, he might want to consider studying Chán in China. In 1217, two years after the death of contemporary Zen Buddhist Myōan Eisai, Dōgen went to study at Kennin-ji Temple (建仁寺), under Eisai's successor, Myōzen (明全).
Travel to China
In 1223, Dōgen and Myōzen undertook the dangerous passage across the East China Sea to China to study in Jing-de-si (Ching-te-ssu, 景德寺) monastery as Eisai had once done.
In China, Dōgen first went to the leading Chan monasteries in Zhèjiāng province. At the time, most Chan teachers based their training around the use of gōng-àns (Japanese: kōan). Though Dōgen assiduously studied the kōans, he became disenchanted with the heavy emphasis laid upon them, and wondered why the sutras were not studied more. At one point, owing to this disenchantment, Dōgen even refused Dharma transmission from a teacher. Then, in 1225, he decided to visit a master named Rújìng (如淨; J. Nyōjo), the thirteenth patriarch of the Cáodòng (J. Sōtō) lineage of Zen Buddhism, at Mount Tiāntóng (天童山 Tiāntóngshān; J. Tendōzan) in Níngbō. Rujing was reputed to have a style of Chan that was different from the other masters whom Dōgen had thus far encountered. In later writings, Dōgen referred to Rujing as "the Old Buddha". Additionally he affectionately described both Rujing and Myōzen as senshi (先師, "Ancient Teacher").
Under Rujing, Dōgen realized liberation of body and mind upon hearing the master say, "Cast off body and mind" (身心脱落 shēn xīn tuō luò). This phrase would continue to have great importance to Dōgen throughout his life, and can be found scattered throughout his writings, as—for example—in a famous section of his "Genjōkōan" (現成公案):
To study the Way is to study the Self. To study the Self is to forget the self. To forget the self is to be enlightened by all things of the universe. To be enlightened by all things of the universe is to cast off the body and mind of the self as well as those of others. Even the traces of enlightenment are wiped out, and life with traceless enlightenment goes on forever and ever.
Myōzen died shortly after Dōgen arrived at Mount Tiantong. In 1227, Dōgen received Dharma transmission and inka from Rujing, and remarked on how he had finally settled his "life's quest of the great matter".
Return to Japan
Dōgen returned to Japan in 1227 or 1228, going back to stay at Kennin-ji, where he had trained previously. Among his first actions upon returning was to write down the Fukan Zazengi (普観坐禅儀; "Universally Recommended Instructions for Zazen"), a short text emphasizing the importance of and giving instructions for zazen, or sitting meditation.
However, tension soon arose as the Tendai community began taking steps to suppress both Zen and Jōdo Shinshū, the new forms of Buddhism in Japan. In the face of this tension, Dōgen left the Tendai dominion of Kyōto in 1230, settling instead in an abandoned temple in what is today the city of Uji, south of Kyōto. In 1233, Dōgen founded the Kannon-dōri-in in Fukakusa as a small center of practice. He later expanded this temple into Kōshōhōrin-ji (興聖法林寺).
Eihei-ji
In 1243, Hatano Yoshishige (波多野義重) offered to relocate Dōgen's community to Echizen province, far to the north of Kyōto. Dōgen accepted because of the ongoing tension with the Tendai community, and the growing competition of the Rinzai-school.
His followers built a comprehensive center of practice there, calling it Daibutsu Temple (Daibutsu-ji, 大仏寺). While the construction work was going on, Dōgen would live and teach at Yoshimine-dera Temple (Kippō-ji, 吉峯寺), which is located close to Daibutsu-ji. During his stay at Kippō-ji, Dōgen "fell into a depression". It marked a turning point in his life, giving way to "rigorous critique of Rinzai Zen". He criticized Dahui Zonggao, the most influential figure of Song Dynasty Chán.
In 1246, Dōgen renamed Daibutsu-ji, calling it Eihei-ji. This temple remains one of the two head temples of Sōtō Zen in Japan today, the other being Sōji-ji.
Dōgen spent the remainder of his life teaching and writing at Eihei-ji. In 1247, the newly installed shōgun's regent, Hōjō Tokiyori, invited Dōgen to come to Kamakura to teach him. Dōgen made the rather long journey east to provide the shōgun with lay ordination, and then returned to Eihei-ji in 1248. In the autumn of 1252, Dōgen fell ill, and soon showed no signs of recovering. He presented his robes to his main apprentice, Koun Ejō (孤雲懐弉), making him the abbot of Eihei-ji.
Death
At Hatano Yoshishige's invitation, Dōgen left for Kyōto in search of a remedy for his illness. In 1253, soon after arriving in Kyōto, Dōgen died. Shortly before his death, he had written a death poem:
Fifty-four years lighting up the sky.
A quivering leap smashes a billion worlds.
Hah!
Entire body looks for nothing.
Living, I plunge into Yellow Springs.