Fibroblast growth factor 23 is independently associated with renal magnesium handling in patients with chronic kidney disease. Here, FGF23 is linked to chronic kidney disease.