A two‐step MR analysis was conducted to investigate the mediating pathway from HMGCR inhibitor to osteonecrosis. This evidence concerns the gene HMGCR and osteonecrosis.