Our study discovers a monotonic and negative relationship between serum FGF19 levels and diabetes in the Chinese population, and this relationship is partially mediated by the reduction of BMI. Here, FGF19 is linked to diabetes mellitus.