We assessed the magnesium status in 67 children with insulin-dependent diabetes mellitus (IDDM) in various degrees of diabetic control and its changes during the evolution of the disease. This was done by measuring fasting serum magnesium and 24-hr urinary magnesium clearances when patients were first studied, as well as subsequently on follow-up. In 23 of these patients the retention of intramuscular magnesium was also assessed in relation to the degree of diabetic control and the duration of the illness. The mean +/−SD serum magnesium levels were significantly lower in diabetic children as compared to nondiabetic controls (1.91 +/−0.22 vs 2.12 +/−0.26 mg/dl, p less than 0.001). Serum magnesium in diabetic children correlated with glycosylated hemoglobins (r = -0.358, p less than 0.001), but not with 24-hr glycosuria (r = -0.296). On follow-up of patients, serum magnesium significantly increased when IDDM control improved and decreased when the control worsened. Diabetic patients had increased urinary magnesium clearances compared to nondiabetic subjects (5.26 +/−3.58 vs 3.60 +/−1.36 cc/min, p less than 0.05). All but five of the 23 patients given the magnesium load retained more than 40% of the dose, with a mean +/−SD retention of 58.7 +/−5.1%. There was no correlation between the amount of retained magnesium and the duration of the illness, degree of diabetic control, amount of glycosuria, magnesuria, magnesemia, glycosylated hemoglobins, or serum lipids. The data confirm that lower than control serum magnesium levels occur frequently among children with poorly controlled IDDM. Moreover, there might be magnesium deficiency in IDDM, as indicated by the high retention of magnesium when given intramuscularly. The deficiency of this ion may or may not be accompanied by decreased serum magnesium levels and may result from increased urinary magnesium losses in children with IDDM.