Our study stratified the analysis according to age and sex in the type 2 diabetes mellitus (T2DM) population to investigate the association between HGB levels and BMD. This evidence concerns the gene CYGB and diabetes mellitus.