It remains unclear whether the association between metformin and osteoporosis (OP) risk is causal. This two-sample Mendelian randomization (MR) study suggests a causal relationship between metformin treatment and a decrease in OP and fracture incidence, as well as an increase in bone mineral density (BMD) in the lumbar spine, femoral neck, and heel. Nonetheless, no significant causal effect is observed on forearm BMD.