ABSTRACT
Objective
Non-alcoholic fatty liver disease (NAFLD) is a common chronic liver condition with an increasing global prevalence. Magnesium and vitamin D are essential for various physiological functions. However, their potential relationships with NAFLD and liver fibrosis remain unclear. This study aimed to assess the correlation between serum magnesium and vitamin D, and liver fibrosis indices, including the aspartate aminotransferase to platelet ratio index (APRI) and the fibrosis-4 (FIB-4) index.
Methods
In this retrospective study, 414 patients underwent abdominal ultrasound for hepatic steatosis assessment. Data on demographics, laboratory parameters, and imaging findings were recorded. Patients were categorized by hepatosteatosis presence, and severity. Biochemical fibrosis scores and their relationships with NAFLD were evaluated.
Results
Serum magnesium levels were inversely correlated with the FIB-4 index (r=-0.101, p=0.045). Magnesium levels were higher in low-risk groups (FIB-4 <1.45) (p=0.006). Vitamin D was inversely associated with hepatic steatosis severity (r=-0.107, p=0.031) and with APRI scores in non-diabetic/non-hyperlipidemic patients (r=-0.383, p=0.044). Low magnesium levels were linked to increased hepatic steatosis in prediabetic patients (p=0.013). Non-high-density lipoprotein cholesterol is positively correlated with steatosis severity (p<0.001).
Conclusion
Magnesium and vitamin D may have protective roles against hepatic steatosis and fibrosis. Their inverse correlations with fibrosis indices suggest potential antifibrotic effects, and magnesium could play a role in NAFLD pathogenesis, particularly in prediabetic patients. These findings support further investigation of magnesium and vitamin D in fibrosis scoring and NAFLD management.
INTRODUCTION
Non-alcoholic fatty liver disease (NAFLD) is the most common chronic liver disease worldwide, with a prevalence of approximately 25%, and its incidence is increasing. It is characterized by excessive fat accumulation in the liver in the absence of significant alcohol consumption, where significant alcohol consumption is defined as less than 21 units (30 g/day) per week in men and 14 units (20 g/day) per week in women. Several risk factors contribute to the development of NAFLD, including advanced age, male sex, ethnicity, obesity, hypertriglyceridemia, low levels of high-density lipoprotein (HDL) cholesterol, hypertension, type 2 diabetes mellitus (T2DM), and various genetic predispositions.1
NAFLD is now recognized as a hepatic manifestation of insulin resistance (IR) and a component of metabolic syndrome. Increased IR leads to increased lipid influx into the liver, which, combined with inflammatory cytokines and oxidative stress factors, triggers inflammation and subsequent fibrosis.1-4
Currently, NAFLD is most commonly detected using ultrasonography (USG) during routine examinations or screening because of its feasibility and accessibility. This assessment is based on differences in echogenicity between the liver, kidney, and portal vein walls.5 However, it does not provide histological evidence of disease activity. Therefore, several scoring systems have been developed that incorporate biochemical parameters to estimate histological activity, without the need for liver biopsy. Among these, the fibrosis-4 (FIB-4) index and the aspartate aminotransferase to platelet ratio index (APRI) are widely used in clinical practice.6-8 Although these scores are not fully sufficient to differentiate simple steatosis from steatohepatitis, one study has reported that the APRI score correlates with the severity of NAFLD as determined by radiological findings.9 Magnesium (Mg2+) is the most abundant intracellular divalent cation and plays a crucial role in many physiological processes. Due to its involvement in enzymatic reactions, Mg2+ has been reported to play a protective role in hepatic inflammatory processes and hepatocyte damage, which are fundamental histological features of NAFLD.10, 11
Vitamin D-related receptors are known to affect metabolic pathways in skeletal muscle, liver, adipose tissue, and pancreas.12, 13 Through these mechanisms, vitamin D deficiency contributes to IR. In addition, inadequate anti-inflammatory responses have been associated with increased hepatocyte inflammation, the development of hepatic steatosis or steatohepatitis, and an increased risk of metabolic syndrome.14, 15
Based on these data, we aimed to investigate the relationship between biochemical parameters and NAFLD, as well as the aspartate APRI and the FIB-4 index, to identify thresholds that may indicate a protective role against steatosis and fibrosis.
METHODS
Patients and Data Collection
A total of 691 patient records were reviewed. Among them, the following cases were excluded based on predefined exclusion criteria: 38 patients with liver cirrhosis; 65 patients with a history of past or chronic hepatitis; 25 patients who had received pioglitazone or liraglutide therapy; 67 patients with malignancy; 14 patients with a history of inflammatory bowel disease; 9 patients with autoimmune hepatitis; 2 patients with celiac disease; 10 patients with a history of chronic alcohol use; 43 patients using medications known to induce hepatic steatosis (anti-tumor necrosis factor therapy, corticosteroids, chemotherapeutic agents, etc.); and 4 patients diagnosed with Cushing’s syndrome.
As a result, 414 patients (230 females and 184 males) were included in this study.
Inclusion Criteria
The study included male and female patients aged 18 years and older who presented to our outpatient clinic between March 2012 and September 2022. Participants were required to have undergone abdominopelvic USG and to have relevant laboratory parameters available for evaluation. Individuals were only included if they did not meet any of the exclusion criteria listed below at the time of their hospital visit.
Exclusion Criteria
Patients with any of the following conditions during the data collection period were excluded from the study: Age under 18, alcohol consumption, presence of autoimmune hepatobiliary disease, history of viral hepatitis carriage or active hepatitis, diagnosis of cirrhosis of the liver or inflammatory bowel disease, presence of active malignancy or history of malignancy, or Cushing’s syndrome. Excessive alcohol consumption was defined as an average intake of more than 30 grams per day for men and more than 20 grams per day for women.
Hepatosteatosis Assessment
Ultrasound assessment of hepatic steatosis was performed using a LOGIQ S7 Expert ultrasound machine. A convex probe was used for B-mode imaging, scanning from the superior to inferior through the subcostal and intercostal regions. IR, non-HDL/HDL cholesterol ratio, and biochemical fibrosis parameters, including the APRI and FIB-4 scores, were calculated. The presence and severity of hepatic steatosis were assessed using USG. Hepatic steatosis was graded according to increased echogenicity, as follows:16
• Grade 1: Mild diffuse increase in echogenicity with normal visualization of the diaphragm and intrahepatic vessel walls.
• Grade 2: Moderate increase in echogenicity with slight opacity of the diaphragm and intrahepatic vessel walls.
• Grade 3: Severe enhancement of echogenicity with marked blurring of the diaphragm and intrahepatic vessel walls, and loss of visualization of the posterior segment of the right hepatic lobe.
Indices
The non-HDL/HDL cholesterol ratio was calculated by subtracting HDL cholesterol from total cholesterol to obtain non-HDL cholesterol, which was then divided by HDL cholesterol. The aspartate APRI, one of the indices used to assess liver fibrosis, was calculated by dividing the AST elevation ratio by the platelet count and multiplying the result by 100. The AST elevation ratio was determined by dividing the patient’s AST level by the upper laboratory limit (35 U/L for women and 50 U/L for men). The FIB-4 index was calculated using the formula: (age × AST) / (platelet count × √ALT).
Patients were also categorised according to
• Vitamin D levels: ≥20 ng/mL vs. <20 ng/mL
• Magnesium levels: ≤0.75 mmol/L vs. >0.75 mmol/L
• Non-HDL cholesterol levels: ≤150 mg/dL vs. >150 mg/dL
Ethics
Approval for this retrospective study was obtained from Dokuz Eylül University Non-Interventional Research Ethics Committee (decision number: 2023/37-17, date: 23.11.2022).
Statistical Analysis
Statistical analyses were performed using IBM SPSS Statistics 24.0. Descriptive statistics are presented as mean ± standard deviation (median, minimum, and maximum) and percentages. Shapiro-Wilk and Kolmogorov-Smirnov tests were used to assess the normality of the data distribution. As the data did not follow a normal distribution, the Mann-Whitney U test was used for pairwise comparisons of numerical variables. The Kruskal-Wallis test was used for comparisons involving more than two groups. Subgroup analyses in the parametric tests were interpreted using the Bonferroni correction. Categorical variables were analyzed using the chi-square test, and correlations between two numerical variables were assessed using the Spearman correlation test. A p value <0.05 or a 95% confidence interval that does not include the null value was considered statistically significant.
RESULTS
Demographic and Clinical Characteristics of the Patients
The mean age of all patients was 53.2±17.1 years (minimum: 18, maximum: 91 years). Descriptive statistics of the patients’ biochemical parameters are presented in Table 1. On ultrasonographic evaluation, 166 patients (40.1%) did not have hepatic steatosis, whereas 248 patients (59.9%) had varying degrees of steatosis (Table 1).
The correlations between biochemical parameters and hepatic steatosis when patients were evaluated as a whole, without stratification by comorbidities or sex, are summarized in Table 2. Non-HDL cholesterol levels and non-HDL/HDL cholesterol ratios were inversely correlated with the degree of hepatic steatosis (p<0.001 and p<0.001, respectively). In non-diabetic patients, non-HDL cholesterol and the non-HDL/HDL ratio were significantly higher in those with steatosis (Table 3). In the entire study population, a positive correlation was observed between non-HDL cholesterol levels and the APRI scores (r=0.126, p=0.012). In patients without diabetes and hyperlipidemia, non-HDL cholesterol levels showed a positive correlation with the steatosis grade (r=0.415, p=0.025), whereas the non-HDL/HDL ratio did not show a significant correlation (r=0.289, p=0.128).
Factors Related to Hepatosteatosis
When patients were evaluated as a whole, without stratification by comorbidities or sex, the correlations between biochemical parameters and hepatic steatosis were summarized in Table 2. Non-HDL cholesterol levels and non-HDL/HDL cholesterol ratios were inversely correlated with the degree of hepatic steatosis (p<0.001 and p<0.001, respectively).
In non-diabetic patients, non-HDL cholesterol and non-HDL/HDL ratio were significantly higher in those with steatosis (Tables 2 and 3). In the entire study population, a positive correlation was observed between non-HDL cholesterol levels and APRI scores (r=0.126, p=0.012). In patients without diabetes and hyperlipidaemia, non-HDL cholesterol levels showed a positive correlation with the steatosis grade (r=0.415, p=0.025), whereas the non-HDL/HDL ratio did not show a significant correlation (r=0.289, p=0.128).
Serum vitamin D levels were inversely correlated with the degree of steatosis in the overall population and in patients with both hyperlipidemia and T2DM/preDM. Non-HDL cholesterol levels and non-HDL/HDL ratio were positively correlated with steatosis grade in the overall population, independent of comorbidities. In addition, these parameters were positively correlated with steatosis grades in patients with both hyperlipidemia and diabetes/prediabetes (Table 2).
Fibrosis Indices
A significant negative correlation was observed between serum magnesium levels and the FIB-4 index (r=-0.101, p=0.045). Furthermore, when the FIB-4 score was stratified into two groups based on a cutoff value of 1.45, magnesium levels were significantly higher in the low-risk FIB-4 group (Table 4). In addition, in patients with hyperlipidemia, magnesium levels were significantly increased in the FIB-4 <1.45 group (p<0.05) (Table 4).
Subgroup Analysis
When patients were divided into two groups based on a serum magnesium threshold of 0.75 mmol/L, no correlation between vitamin D levels and hepatic steatosis severity was observed in the group with higher magnesium levels. However, in patients with lower magnesium levels, there was a significant inverse correlation between serum vitamin D levels and hepatic steatosis severity according to Spearman’s rho test (p<0.01; r=0.385). Furthermore, chi-squared analysis showed that hepatic steatosis was more common in patients with both serum magnesium levels ≤0.75 mmol/L and vitamin D levels <20 ng/mL (Table 5).
No significant correlation was found between vitamin D levels and another fibrosis index, APRI, in the whole population. However, in patients without diabetes and hyperlipidaemia, there was a negative correlation between vitamin D levels and APRI (r=-0.383, p=0.044). We also analysed the diabetic/prediabetic group separately. After excluding patients receiving any diabetes treatment and/or those with HbA1c ≥6.5% and fasting blood glucose ≥126 mg/dL, 45 prediabetic patients remained.
In this subgroup of exclusively prediabetic patients, we observed a significant inverse correlation between serum Mg+2 levels and HOMA-IR (Spearman’s rho, p<0.01, r=-0.396). In prediabetic but non-diabetic patients, serum magnesium levels were significantly higher in those with HOMA-IR <2 compared to those with HOMA-IR ≥2 (median 0.90 vs. 0.87 mmol/L; p=0.008), suggesting a potential inverse association between IR and magnesium levels.
DISCUSSION
Although the relationship between magnesium and the inflammatory response remains unclear, adequate serum and intracellular magnesium levels are thought to have a protective role against inflammation.17 In a study by Rayssiguier et al.18, in rats, hepatic magnesium depletion was associated with increased collagen accumulation in the liver. In addition, data suggest that both serum and intracellular magnesium levels are significantly lower in cirrhotic patients.19 Furthermore, studies have shown that each 100 mg increase in magnesium intake is associated with a 49% reduction in the risk of death from all causes of liver disease, and increased magnesium intake is associated with a reduced risk of advanced decompensated liver disease.20, 21 Although no similar study has been reported in the literature, our study found a weak inverse correlation between serum magnesium levels and the FIB-4 index, which is considered a predictive index of liver fibrosis, in the entire population evaluated (p<0.05, r=-0.101). In addition, when patients were grouped based on a FIB-4 threshold of 1.45, serum magnesium levels were significantly lower in the higher FIB-4 group (p<0.01). Due to the absence of patients with cirrhosis in our population, the APRI and FIB-4 scores were generally low. Nevertheless, the negative correlation between serum magnesium and the FIB-4 index suggests that magnesium may be directly or indirectly involved in antifibrotic and anti-inflammatory pathways.
Another study investigated the relationship between serum and intracellular magnesium levels, IR, and severity of hepatic steatosis in patients with metabolic syndrome. Patients with grades 2 and 3 steatosis, as assessed by ultrasound, were found to have lower magnesium levels than those without steatosis. In the same study, individuals with a HOMA-IR above 2.7 also had lower serum magnesium levels compared to those with a HOMA-IR <2.7.22 It should be noted that maintaining a high HOMA-IR threshold may have contributed to this finding. In an obesity study of patients with liver biopsy-confirmed NASH, patients with NASH had lower magnesium levels than those without NASH. Furthermore, low magnesium concentrations were found to be associated with high HOMA-IR.23 A meta-analysis of randomized controlled trials showed that magnesium supplementation improved IR in patients with type 2 diabetes, further supporting these findings.24 As IR is a fundamental mechanism of NAFLD, it plays a crucial role in the disease’s progression. Our study also provided data consistent with the literature. In the prediabetic patient population, a significant inverse correlation was found between serum magnesium and HOMA-IR levels. When patients were divided into two groups based on a HOMA-IR threshold of 2.00, those with a higher HOMA-IR had lower magnesium levels. This suggests that even in the absence of diabetes, serum magnesium levels may be affected under conditions of high IR. For example, a study comparing 50 patients with glucose intolerance or diabetes with 50 healthy controls found no statistically significant difference in serum magnesium levels between the groups.25
Vitamin D regulates several genes that are widely expressed in the liver, some of which are involved in glucose and lipid metabolism.26 A study by Chung et al.27 of 6,055 healthy individuals diagnosed with steatosis by ultrasound found an inverse correlation between vitamin D levels and the severity of hepatic steatosis. Individuals with vitamin D levels >20 ng/mL were found to have a lower prevalence of steatosis. Similarly, a meta-analysis of 15 studies involving 20,096 individuals showed that patients with NAFLD of Western origin tended to have lower vitamin D levels. In the general population, low vitamin D levels have been associated with an increased risk of NAFLD.28 A cohort study of 10,960 cases also found an inverse association between ultrasonographic steatosis severity and vitamin D levels, and between NAFLD fibrosis scores and vitamin D levels. Another study of biopsy-confirmed cases of liver fibrosis reported an inverse association between vitamin D levels and the severity of fibrosis. However, a separate biopsy-based study found no association between vitamin D levels and the severity of hepatic steatosis.29-31
In a study that examined 614 patients by biopsy, without stratifying them by comorbidities such as hyperlipidemia and diabetes, patients with advanced steatosis had significantly lower vitamin D levels. There was also an inverse association between vitamin D levels and steatosis severity. However, the same study found no association between serum magnesium levels and the presence or severity of steatosis.32 Notably, these studies examined vitamin D and magnesium levels separately, rather than assessing their combined effects.
Consistent with the literature, we found an inverse association between vitamin D levels and the severity of hepatic steatosis in the whole population. Furthermore, when we analyzed patients with both hyperlipidemia and diabetes/prediabetes separately from those without these comorbidities, we found a significant inverse association between the steatosis severity and vitamin D levels in these patients. However, no such correlation was observed in the patients without these comorbidities.
Studies in the literature have separately evaluated the relationships between serum magnesium levels, vitamin D levels, and NAFLD. However, in our analysis, when patients were divided into two groups based on a threshold serum magnesium level of 0.75 mmol/L, a significant inverse association between vitamin D levels and the degree of hepatic steatosis was observed in those within the lower magnesium group. Furthermore, when the group with low magnesium levels was subdivided based on a vitamin D threshold of 20 ng/mL, hepatic steatosis was more prevalent in patients with both low vitamin D and low magnesium levels (p=0.013). No significant association was found in the higher magnesium group. Based on the available literature, if low serum magnesium levels are accepted as being associated with NAFLD, it can be suggested that in patients with hypomagnesemia or those who are unable to maintain optimal magnesium levels for any reason. Ensuring adequate vitamin D levels or preventing vitamin D deficiency may have a protective effect against the occurrence and severity of NAFLD.
Vitamin D and APRI levels were examined in a study of 3,972 patients categorized into diabetes, pre-diabetes, and normal glucose tolerance groups. Despite a significant p value for correlation, no significant difference in mean APRI scores was found between different categories of vitamin D levels.33Another study of 58 HCV cases divided into two groups based on vitamin D levels found that APRI scores were higher in the low vitamin D group, with an inverse correlation between vitamin D levels and APRI.34 Similarly, a study of 185 patients with primary biliary cholangitis and 141 healthy controls found an inverse association between vitamin D levels and APRI.35
In our study, no association was found between vitamin D and APRI when the entire population was analyzed. However, in patients without hyperlipidemia and diabetes/pre-diabetes comorbidities, a significant inverse association was found between vitamin D levels and APRI. This suggests that vitamin D levels may not be sufficient to predict fibrosis in patients with metabolic comorbidities. However, in patients without metabolic comorbidities, incorporating vitamin D levels into the APRI score may help predict liver fibrosis.
In a study that followed 147 patients without initial NAFLD for seven years, 19% developed NAFLD. However, none of the patients with a baseline non-HDL level of <130 mg/dL developed NAFLD. The incidence of NAFLD increased with increasing non-HDL-C levels, leading to the conclusion that non-HDL-C levels may be a strong predictor of NAFLD development.36 Similarly, in a study of 2,717 cases with a mean follow-up of 1.6 years, 9.1% (264 cases) developed NAFLD, and the non-HDL/HDL ratio was significantly higher in those who developed NAFLD than in those who did not. Statistical analysis identified cut-off values for the non-HDL/HDL cholesterol ratio of 2.4 in women and 2.3 in men.37 Another clinical study of 265 cases found that non-HDL/HDL cholesterol levels were positively associated with the degree of hepatosteatosis and the FIB-4 index.38
Our analyses showed that both non-HDL cholesterol and non-HDL/HDL cholesterol ratio were positively correlated with the degree of steatosis. When patients were divided into groups based on the presence or absence of hepatosteatosis, the parameters of non-HDL levels and non-HDL/HDL ratios showed significant differences between groups, with higher values observed in those with steatosis.
Although recent studies have begun to highlight the superiority of the non-HDL/HDL cholesterol ratio over non-HDL cholesterol alone, our findings suggest that non-HDL cholesterol levels may be more indicative than the non-HDL/HDL cholesterol ratio. For example, in individuals with neither diabetes/prediabetes nor hyperlipidemia, no association was found between the non-HDL/HDL cholesterol ratio and the degree of steatosis, whereas in the same group, non-HDL cholesterol levels were correlated with the degree of steatosis. Another indication of the functional superiority of non-HDL cholesterol over the non-HDL/HDL ratio is its relationship with the APRI score. In the whole population, there was a significant positive correlation between the APRI and non-HDL cholesterol levels. The correlation between biochemical fibrosis parameters and radiological steatosis has also been investigated. In a study by Sahin et al.9 in which 205 organ transplant donors were evaluated, a significant correlation was found between the severity of steatosis detected by CT and the APRI score. However, in our study, these parameters did not provide any data regarding the presence or severity of hepatosteatosis.
Study Limitations
This study has several limitations that should be acknowledged. First, the retrospective and cross-sectional design precludes the establishment of causal relationships between serum magnesium, vitamin D levels, and hepatic fibrosis or steatosis. Second, the study was conducted at a single center, which may limit the generalizability of the findings to broader populations. Third, some laboratory and clinical parameters had missing data, potentially affecting the completeness and accuracy of the analyses. Additionally, hepatic steatosis was assessed using abdominal ultrasonography, which, while non-invasive and widely available, is less sensitive and specific compared to histopathological evaluation. Lastly, liver biopsy, the gold standard for diagnosing and staging non-alcoholic fatty liver disease and fibrosis, was not performed, which limits the precision in determining the severity of hepatic pathology.
CONCLUSION
In light of this information and the data obtained, serum vitamin D levels and non-HDL/HDL cholesterol ratios could be included in the modification of the APRI score, which is currently used to predict liver fibrosis. Magnesium and vitamin D appear to exert protective effects against hepatic steatosis and fibrosis. The observed inverse association with fibrosis indices may indicate potential anti-fibrotic properties. Moreover, magnesium may contribute to the pathophysiological mechanisms underlying NAFLD, particularly in individuals with prediabetes. These findings underscore the need for further research on the roles of magnesium and vitamin D in fibrosis assessment and clinical management of NAFLD.