ORIGINAL RESEARCH article
Front. Immunol.
Sec. Cancer Immunity and Immunotherapy
Serum Magnesium Predictive Value in Hepatocellular Carcinoma Patients on First-Line Immunotherapy: A Retrospective Study
Provisionally accepted- Sir Run Run Shaw Hospital, School of Medicine, Graduate School, Zhejiang University, Hangzhou, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Background: Serum magnesium plays a critical role in modulating immune responses and enhancing anti-tumor immunity in cancer patients. However, its predictive significance in relation to progression-free survival (PFS) and disease control rate (DCR) among hepatocellular carcinoma (HCC) patients undergoing first-line immunotherapy remains uninvestigated. Methods: This retrospective study analyzed HCC patients treated with immune checkpoint inhibitors (ICIs) in a derivation cohort and an independent validation cohort. Patients were enrolled based on predefined inclusion criteria. The primary endpoint was to assess the association between baseline serum magnesium levels prior to immunotherapy initiation and the disease control rate. The optimal cut-off value of serum magnesium for predicting disease control was determined using receiver operating characteristic (ROC) curve analysis. PFS was evaluated using the Kaplan–Meier method. Results: A total of 110 hepatocellular carcinoma patients treated with ICIs were enrolled in the derivation cohort. The DCR was 78.18%. ROC analysis identified a baseline serum magnesium level ≥0.785 mmol/L as predictive of disease control, with a sensitivity of 89.4% and specificity of 87.5% (AUC 0.869). Patients with baseline Mg2+ ≥0.785mmol/L demonstrated significantly longer median PFS compared to those with baseline Mg2+<0.785mmol/L (12.83 months vs. 3.45 months, P< 0.001, hazard ratio: 0.269, 95% confidence interval: 0.165–0.438). The DCR was 30% in the low-Mg2+ group and 96.25% in the high-Mg2+ group. Subgroup analyses revealed that patients with macrovascular invasion or extrahepatic metastasis, as well as those without macrovascular invasion or extrahepatic metastases in the high-Mg2+ group exhibited significantly longer median PFS compared to those in the low-Mg2+ group. Both univariate and multivariate analyses confirmed that serum magnesium level is an independent predictive factor of PFS for patients receiving immunotherapy. In the validation cohort (n=48), patients with Mg2+ ≥0.785 mmol/L showed significantly longer median PFS (17.13 months vs. 5.20 months, P=0.037, hazard ratio: 0.304, 95% confidence interval: 0.131–0.701) and higher DCR compared to those with Mg2+<0.785mmol/L. Conclusion: Elevated serum magnesium levels prior to first-line immunotherapy are associated with improved clinical outcomes in HCC. Serum magnesium demonstrates significant predictive value and could serve as a cost-effective, accessible biomarker for guiding immunotherapy strategies in HCC patients.
Keywords: clinical outcome, Hepatocellular Carcinoma, Immune checkpoint inhibitor, Predictive Value, Serum magnesium
Received: 26 Oct 2025; Accepted: 10 Dec 2025.
Copyright: © 2025 Cheng, Wang, Xue, Tang and Li. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Da Li
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
