BACKGROUND: While electrolyte abnormalities are common among patients with COVID-19, very little has been reported on magnesium homeostasis in these patients. Here we report the incidence of hypermagnesemia and its association with outcomes among patients admitted with COVID-19. METHODS: We retrospectively identified all patients with a positive test result for SARS-CoV-2 who were admitted to a large quaternary care center in New York City in spring 2020. Details of the patients' demographics and hospital course were obtained retrospectively from the medical record. Patients were defined as having hypermagnesemia if their median magnesium over the course of their hospitalization was >2.4 mg/dL. RESULTS: A total of 1685 patients hospitalized with COVID-19 had magnesium levels checked during their hospitalization and were included in the final study cohort, among whom 355 (21%) had hypermagnesemia. Hypermagnesemic patients had a higher incidence of shock requiring pressors (35 vs 27%, p<0.01), respiratory failure requiring mechanical ventilation (28 vs 21%, p=0.01), acute kidney injury (65 vs 50%, p<0.001), and acute kidney injury severe enough to require renal replacement therapy (18 vs. 5%, p<0.001). In an adjusted multivariable model, hypermagnesemia was observed more commonly with increasing age, male sex, AKI requiring RRT, hyperkalemia, and higher CPK. Survival probability at 30 days was 34% for the patients with hypermagnesemia compared to 65% for patients without hypermagnesemia. An adjusted multivariable time to event analysis identified an increased risk of mortality with older age, need for vasopressors, higher C-reactive protein levels, and hypermagnesemia (HR 2.03, 95% CI 1.63-2.54, p<0.001). CONCLUSIONS: In conclusion, we identified an association between hypermagnesemia among patients hospitalized with COVID-19 and increased mortality. While the exact mechanism of this relationship remains unclear, hypermagnesemia potentially represents increased cell turnover and higher severity of illness which is frequently associated with more severe forms of AKI.