This study detected the serum 25-hydroxyvitamin D concentration, parathyroid hormone level and evaluated the BMDs value at the lumbar spine (L1-L4), femoral neck, total hip and total body in all subjects to evaluate their levels in type 2 diabetes and to explore the correlativity factors of decreased BMD. This evidence concerns the gene PTH and type 2 diabetes mellitus.