This study analysed the data from the NHANES (1999–2018) to examine how different sources of carbohydrate intake affected the all-cause and cardiovascular mortality of 11,302 chronic kidney disease (CKD) patients. The data were adjusted for other factors using various methods. The results showed that CKD patients (stages 1-2 and 3-5) who consumed more carbohydrates from whole grains, fruits, vegetables and less carbohydrates from fruit juice or sauces had lower mortality rates. Replacing fat intake with carbohydrates from whole grains (HR = 0.86[0.78–0.95]), fruits (raw) (HR = 0.79[0.70–0.88]) and non-starchy vegetables (HR = 0.82[0.70–0.96]), but not protein intake, was linked to lower all-cause mortality. The fibre content in carbohydrates might partly account for the benefits of selected carbohydrate intake. This study provided practical recommendations for optimising the carbohydrate sources in CKD patients. [ABSTRACT FROM AUTHOR]