Gi’un 義雲 (Kenchō 5 → 1253; Genkō 3 / 1333-12-01), Late-Kamakura Japanese Sōtō-Zen master and fifth-generation patriarch (永平五祖 Eihei goso) at Eihei-ji 永平寺 — the senior surviving heir of the 道元 Dōgen → 懷奘 Koun Ejō → 徹通 Tettsū Gikai → Giin 義介 line, who restored Eihei-ji to its founder-status after the sandai sōron 三代相論 schism between the Tettsū-Giun and Tetsugikai-Keizan branches in the 1280s–1290s.
Native of Echizen 越前 province (modern Fukui). Tonsured young; received transmission from Jakuen 寂圓 (1207–1299), a Sòng-Chinese disciple of Tiāntóng Rújìng 如淨 who had followed Dōgen back to Japan and settled at Hōkyō-ji 寶慶寺 in Echizen — the principal Sòng witness still living when Gi’un trained. Gi’un succeeded Jakuen as second abbot of Hōkyō-ji and later (after 1313) as fifth abbot of Eihei-ji during the institutional re-consolidation that followed the 三代相論. He is regularly given credit by Sōtō tradition as the chūkō-no-so (中興之祖, “patriarch of the restoration”) of Eihei-ji; the preface to his recorded sayings (the present text KR6t0297) by Manzan Dōhaku explicitly calls him “the late-life heir of Jakuen … the spiritual father of the Eihei tradition’s revival” (寂圓嫡子 / 推稱洞上中興).
His recorded sayings preserve his teaching at both Hōkyō-ji (寶慶) and Eihei-ji (永平) abbacies. He is also the author of one of the earliest editorial prefaces to Dōgen’s KR6t0288 Shōbōgenzō (the Karyaku 4 / 1329 preface that opens the Taishō recension).