The China–Kazakhstan border, or the Sino-Kazakhstan border (Kazakh: Қазақстан-Қытай мемлекеттiк шекарасы, Russian: Казахстанско-китайская государственная граница, Chinese: 中哈边界; pinyin: Zhōng-Hā biānjiè) is the international border between the People's Republic of China and the Republic of Kazakhstan. The border line between the two countries has been largely inherited from the border existing between the USSR and the PRC, and, earlier, between the Russian Empire and the Qing Empire; however, it has been fully demarcated only in the late 20th and early 21st century. According to the international boundary commissions that have carried out the border demarcation, the border is 1782.75 km long.
The origins of the border line between China and Kazakhstan date from the mid-19th century, when the Russian empire was able to establish its control over the Lake Zaysan region. The establishment of the border between the Russian Empire and the Qing Empire, not too different from today's Sino-Kazakh border was provided for in the Convention of Peking of 1860; the actual border line pursuant to the convention was drawn by the Protocol of Chuguchak (1864), leaving Lake Zaysan on the Russian side. The Qing Empire's military presence in the Irtysh basin crumbled during the Dungan revolt (1862–77). After the fall of the rebellion and the reconquest of Xinjiang by Zuo Zongtang, the border between the Russian and the Qing empires in the Ili River basin was further slightly readjusted, in Russia's favor, by the Treaty of Saint Petersburg (1881).