5 years, 72% had CD4 counts <200 cells/mm³, 87% developed electrolyte disturbances, 33% recovered renal function, and 56% survived. ICU admission, dialysis, sepsis and hypomagnesemia were all significantly associated with nonrecovery of renal function and with mortality. Nonrecovery of renal function was significantly associated with hypomagnesemia, as was mortality in the multivariate analysis. The risks for nonrecovery of renal function and for death were 6.94 and 6.92 times greater, respectively, for patients with hypomagnesemia. In hospitalized AIDS patients, hypomagnesemia is a risk factor for nonrecovery of renal function and for in-hospital mortality. To determine whether hypomagnesemia is a determinant or simply a marker of critical illness, further studies involving magnesium supplementation in AIDS patients are warranted.]]>