Liu Zhiji (simplified Chinese: 刘知几; traditional Chinese: 劉知幾; pinyin: Liú Zhījī; Wade–Giles: Liu Chih-chi; 661–721), courtesy name Zixuan (子玄), was a Chinese historian and politician of the Tang dynasty. Well known as the author of Shitong, he was born in present-day Xuzhou, Jiangsu. Liu's father Liu Zangqi and elder brother Liu Zhirou were officials, famous for their literary compositions. He received his imperial examination degree in 680 and began working on several compilations with others in the court in 699. In 708, he decided to resign himself and started compiling the Shitong.
Stephen W. Durrant calls Liu Zhiji "one of ancient China's most critical and brilliant readers" (The Cloudy Mirror, 71–72: Liu is quoted criticizing Sima Qian's style for verbosity and deliberately setting apart the chronologically close accounts).