Objective To analyze the role of serum C-peptide and glycated hemoglobin in the detection of type 2 dia-betes mellitus.Methods The clinical data of 112 patients with type 2 diabetes and 112 healthy subjects admitted to Xinglin Branch of the First Affiliated Hospital of Xiamen University from January 2021 to December 2023 were retro-spectively selected.The levels of serum C-peptide and glycosylated hemoglobin A1c were detected in both groups.The levels of serum C-peptide and glycosylated hemoglobin A1c were compared between the two groups.The diagnos-tic efficacy of single detection and combined detection were calculated and analyzed.Results There were significant differences in serum C-peptide and glycosylated hemoglobin A1c levels between the two groups(both P<0.001).86 cases were true positive for serum C-peptide,89 cases were true positive for glycosylated hemoglobin A1c,and 106 cases were true positive for combined detection.The sensitivity,specificity and accuracy of combined detection were 94.64%,91.96%and 93.30%,respectively,which were higher than those of single detection of serum C-peptide and glycosylated hemoglobin A1c,and the differences were statistically significant(all P<0.05).Conclusion The combined test of glycated hemoglobin A1c and serum C peptide has high sensitivity,specificity and accuracy in the detection of type 2 diabetes mellitus,which can provide more comprehensive and accurate information,and help early detection,diagnosis and treatment of diabetes mellitus.