Mediation analysis showed that FGF21 was associated with an increased risk of osteoporosis (OR=1.003, 95%CI (1.001-1.005), P=0.0037). The gene discussed is FGF21; the disease is osteoporosis.