Ijangui (Korean: 이장의; Hanja: 二障義; also romanized as Ijangŭi), meaning "Doctrine of the Two Hindrances," is a scholarly treatise composed by the Korean Buddhist monk and philosopher Wonhyo (617–686 CE) during the Silla dynasty. The work is a doctrinal analysis of the two primary hindrances to enlightenment in Mahāyāna Buddhism: the afflictive hindrances (kleśa-āvaraṇa) and the cognitive hindrances (jñeya-āvaraṇa).
The treatise examines and compares various interpretations of the doctrine of the two hindrances as found in major Yogācāra texts, including the Yogācārabhūmi-śāstra, the Saṃdhinirmocana-sūtra, the Mahāyānābhidharma-samuccaya-vyākhyā, the Śrīmālādevī-simhanāda-sūtra, and the Xianyang lun, along with a wide range of other Mahāyāna sources.
Unlike many of Wonhyo's other works, which are exegeses of major scriptures and treatises, the Ijangui is one of a relatively small number of texts in his corpus that functions as an essay on a specific doctrinal problem contained within a broad class of Buddhist literature. The afflictive hindrances encompass the various types of agitative passions initially enumerated in Abhidharma and Yogācāra texts, most directly characterized by the six primary and secondary defilements. The cognitive hindrances concern obstructions to the attainment of full knowledge or wisdom.
The Ijangui is recognized as a foundational text in the Korean Buddhist tradition and has been the subject of scholarly study, including work by A. Charles Muller, who has published analyses of the treatise and its place within Wonhyo's broader philosophical corpus. The text is also discussed in the context of Wonhyo's reliance on earlier Chinese Buddhist thinkers, such as Huiyuan, in his exposition of the two hindrances.