Low serum Mg may cause insufficient PTH action and deteriorate osteoporosis in CKD patients, particularly those with diabetes. Here, PTH is linked to diabetes mellitus.