The Han Feizi (simplified Chinese: 韩非子; traditional Chinese: 韓非子; pinyin: Hánfēizi; lit. 'Book of Master Han Fei') is an ancient Chinese text attributed to the Legalist political philosopher Han Fei. It comprises a selection of essays in the Legalist tradition, elucidating theories of state power, and synthesizing the methodologies of his predecessors. Its 55 chapters, most of which date to the Warring States period mid-3rd century BCE, are the only such text to survive fully intact. The Han Feizi is believed to contain the first commentaries on the Dao De Jing. Traditionally associated with the Qin dynasty, succeeding emperors and reformers were still influenced by Shen Buhai and the Han Feizi, with Shang Yang's current again coming to prominence in the time of Emperor Wu.
Often considered the "culminating" or "greatest" Legalist texts, Han Fei was dubbed by A. C. Graham amongst as the "great synthesizer" of 'Legalism'". Sun Tzu's The Art of War incorporates both a Daoist philosophy of inaction and impartiality, and a 'Legalist' system of punishment and rewards, recalling Han Fei's use of the concepts of power and technique.