Our findings suggest that CKD patients with diabetes had lower serum albumin and a higher proportion of hypomagnesemia, and this may be related to the development of osteoporosis. This evidence concerns the gene ALB and osteoporosis.