# Serum magnesium predictive value in hepatocellular carcinoma patients on first-line immunotherapy: a retrospective study

**Authors:** Xi Cheng, Wei Wang, Ya-nan Xue, Hong-lin Tang, Da Li

PMC · DOI: 10.3389/fimmu.2025.1732557 · Frontiers in Immunology · 2026-01-05

## TL;DR

High serum magnesium levels before immunotherapy predict better outcomes in liver cancer patients.

## Contribution

This study identifies serum magnesium as a novel predictive biomarker for immunotherapy response in hepatocellular carcinoma.

## Key findings

- Baseline serum magnesium ≥0.785 mmol/L predicts higher disease control rate and longer progression-free survival in HCC patients.
- High magnesium levels correlate with improved clinical outcomes in patients with macrovascular invasion or metastasis.
- Serum magnesium is an independent predictor of progression-free survival in both derivation and validation cohorts.

## Abstract

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.

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.

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.

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.

## Linked entities

- **Diseases:** hepatocellular carcinoma (MONDO:0007256), HCC (MONDO:0007256)

## Full-text entities

- **Diseases:** metastases (MESH:D009362), HCC (MESH:D006528), cancer (MESH:D009369)
- **Chemicals:** magnesium (MESH:D008274), Mg2+ (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12813027/full.md

## Figures

2 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12813027/full.md

## References

28 references — full list in the complete paper: https://tomesphere.com/paper/PMC12813027/full.md

---
Source: https://tomesphere.com/paper/PMC12813027