The history of mining education in late Qing China has received relatively little attention in scholarly literature. Through the lens of institutionalising global mining knowledge, this article addresses the following questions: How did the demand for expertise within the framework of mining bureaucracy evolve under the impact of Western imperialism? How did mining education enter scholarly discourse and become eventually institutionalised in the late Qing China? Drawing on evidence from the collections of Sheng Xuanhuai's archive series, it investigates two previously overlooked ‘failures’ of Sheng's mining-related enterprises, namely his earliest mining practices in Hubei in the 1870s and his proposal for establishing a mining school in Shandong in 1888–89. It then reconnects these efforts with the histories of Western learning, late Qing mining bureaucracy, the monetary crisis of that era, and the global recruitment of engineers despite a pronounced distrust of foreign expertise. It argues that these seemingly discrete efforts or ‘failures’ in fact paved the way for initiating China's first engineering university as well as other mining colleges in around 1895 and eventually led to the rise of engineering education before the entire educational system was transformed in China.