Hypermagnesemia (>2.4 mg/dL) was observed in 18.9% of patients and was associated with higher sequential organ failure assessment (sequential organ failure assessment) scores (9.2 ± 3.1), CRP (129.7 ± 84.6 mg/L), neutrophil-to-lymphocyte ratio (15.2 ± 10.8), and multiple inflammation index (564.3 × 103), with an ICU mortality of 52.8% (P = .001) and 28-day mortality of 61.1% (P < .001). This evidence concerns the gene CRP and Hypermagnesemia.