Liu Kunyi (Chinese: 劉坤一; pinyin: Liú Kūnyī) (January 21, 1830 – October 6, 1902) was a Chinese official who came to prominence during the government suppression of the Taiping Rebellion and was active in the following Self-Strengthening Movement in the second half of the nineteenth century, the late Qing dynasty.
In addition to his regular duties in this post, he was asked in 1880 to advise the emperor on Chinese diplomatic policy toward Russia and Japan.
He contained several anti-missionary movements for the next four years, until he was made Imperial Commissioner in charge of troops at Shanhaiguan, a strategic pass between Zhili and Fengtian.
Liu urged the imperial court to prolong the First Sino-Japanese War, hoping for a favorable outcome for the Chinese side, but returned to his post after the Treaty of Shimonoseki was signed in 1895.
In 1900, Liu gained distinction for controlling the Boxer Rebellion and not following the Imperial edict to exterminate all foreigners in China.