This study aimed to investigate the relationship between serum fibroblast growth factor-19 (FGF19) levels and diabetes, as well as the potential mediating role of body mass index (BMI). Here, FGF19 is linked to diabetes mellitus.