The effect of FGF21 overexpression on osteoporosis may be mediated by type 2 diabetes mellitus and basal metabolic rate, with mediating effects of 14.96% and 12.21%, respectively. The gene discussed is FGF21; the disease is diabetes mellitus.