This study found that the value of the RANKL/OPG ratio in the DM group was significantly lower than in the osteoporosis and control groups. This evidence concerns the gene TNFRSF11B and osteoporosis.