The Devonian of the North Qilian Mountains consists of the Middle—Lower Devonian Laojunshan Formation and the Upper Devonian Shaliushui Formation. The Laojunshan Formation was dispersed over the piedmont and inter-mountainous basin along the Paleo-Qilian orogenic belt and is composed of coarse clastic rocks. The detrital and chemical components can directly reflect the features of the provenance and its tectonic setting. The results indicate that detrital rocks are mainly derived from the Qilian orogenic belt to the south and a little from the mainland debris to the north, which shows the dual sources characteristics of a foreland basin, in the Middle—Lower Devonian, the sediments of the North Qilian Mountains represent the late molasse stage of the foreland basin.