Introduction
Metabolic dysfunction-associated fatty liver disease (MAFLD), formerly known as non-alcoholic fatty liver disease (NAFLD), is rapidly becoming the leading cause of chronic liver disease worldwide, surpassing the prevalence of viral hepatitis.(Reference Younossi1,Reference Younossi, Stepanova and Ong2) The disease spectrum of MAFLD ranges from simple hepatic steatosis to metabolic dysfunction-associated steatohepatitis (MASH), potentially progressing to liver fibrosis, cirrhosis, and hepatocellular carcinoma.(Reference Byrne and Targher3,Reference Rinella and Sanyal4) The pathogenesis of MAFLD is multifactorial and involves genetic predisposition, insulin resistance, and alterations in the gut microbiota.(Reference Byrne and Targher3) The gut microbiota plays a crucial role in the onset and progression of MAFLD through the gut-liver axis, where dysbiosis may contribute to the increased transport of bacterial products and metabolites to the liver, thereby promoting inflammation and fibrosis.(Reference Yang, Xu and Xu5)
In recent years, a novel gut microbiota dietary index (DI-GM) has been developed to characterise the dietary components associated with gut microbiota diversity. This index includes beneficial components (e.g., fermented dairy products, whole grains, and fibre) as well as harmful components (e.g., red meat and high-fat diets). Studies suggest that DI-GM may influence the management of MAFLD by modulating gut microbiota diversity and acting through the gut-liver axis.(Reference Kase, Liese, Zhang, Murphy, Zhao and Steck6) A recent study demonstrated that the gut bacterium Bacteroides uniformis can effectively alleviate MASH by producing 3-succinylated bile acid.(Reference Nie, Luo and Wang7)
Additionally, vitamins play a crucial role in liver health, progression of MAFLD and liver fibrosis. Water-soluble vitamins such as vitamin C possess antioxidant properties that help reduce oxidative stress and inflammation, thereby preventing the progression of MAFLD and liver fibrosis.(Reference Skat-Rørdam, Pedersen and Skovsted8) Fat-soluble vitamins, including vitamins A and E, also have significant functions. Vitamin A exhibits antioxidant effects and protects hepatocytes, whereas vitamin E reduces hepatic fat accumulation and improves liver function.(Reference Qu, Ma and Cai9)
This study aimed to investigate the association between liver fibrosis and the newly proposed DI-GM and MAFLD, with a particular focus on the mediating role of vitamin C. By elucidating the interactions among these factors, we hope to provide new insights into the development of dietary interventions targeting the gut microbiota and vitamin C pathways, thereby offering effective strategies for the prevention and management of MAFLD and its complications.
Methods
Data source
The data for this study were obtained from publicly available records across six consecutive National Health and Nutrition Examination Survey (NHANES) cycles (2007–2018). The NHANES is an ongoing, cross-sectional study designed to assess the health and nutritional status of a nationally representative, non-institutionalised U.S. population. The study protocol was approved by the Institutional Review Board of the National Center for Health Statistics (NCHS), and informed consent was obtained from all participants. The NHANES employs a complex, multistage probability sampling design to ensure the collection of robust and generalisable data.
Laboratory measurements
Serum concentrations of vitamins and carotenoids were quantified using standard NHANES laboratory protocols at the CDC’s National Center for Environmental Health. Specifically, vitamin C (ascorbic acid) was measured using isocratic high-performance liquid chromatography (HPLC) with electrochemical detection at 650 mV. Retinol (vitamin A), tocopherols (vitamin E), and carotenoids (including α-carotene, trans-β-carotene, cis-β-carotene, β-cryptoxanthin, lutein/zeaxanthin, and lycopene) were simultaneously measured via HPLC with photodiode array detection, utilising a C18 column for separation. 25-hydroxyvitamin D concentrations (D2 and D3) were determined using ultra-high performance liquid chromatography-tandem mass spectrometry (UHPLC-MS/MS). All assays adhered to rigorous quality control procedures as detailed in the NHANES Laboratory Procedure Manuals.
Study design and population
A total of 59,842 participants were included in this study, spanning from 2007 to 2018, as DI-GM data were only available during this period. The exclusion criteria for the analysis were as follows: missing FLI index data (n = 42,466), participants aged under 20 years (n = 3016), missing Metabolic Dysfunction–Associated Fibrosis 5 (MAF-5) components data (n = 34), and missing DI-GM components data (n = 728). As shown in Figure 1, the final analysis included 13,498 eligible participants.(Reference Johnson, Paulose-Ram, Ogden, Carroll, Kruszon-Moran, Dohrmann and Curtin10)

Figure 1. Participant selection flowchart for NHANES 2007–2018 study: Analysis of MAFLD and liver fibrosis.
MAFLD diagnosis and MAF-5 score evaluation
We first calculated the US-FLI index for each participant and defined fatty liver (SLD) as a US-FLI ≥ 30.(Reference Younossi, Stepanova, Younossi, Golabi, Mishra, Rafiq and Henry11) MAFLD is was diagnosed based on the presence of SLD in conjunction with overweight/obesity (body mass index (BMI) ≥ 25 kg/m2), type 2 diabetes (T2 DM), or metabolic dysfunction.(Reference Eslam, Newsome and Sarin12) Metabolic dysfunction was defined by meeting at least two of the following metabolic risk abnormalities: (1) waist circumference ≥ 102 cm in men and ≥88 cm in women; (2) blood pressure ≥ 130/85 mmHg; (3) plasma triglycerides ≥ 150 mg/dl; (4) plasma high-density lipoprotein cholesterol (HDL-C) < 40 mg/dl in men and < 50 mg/dl in women; (5) prediabetes (i.e., fasting glucose levels between 100 and 125 mg/dl, 2-hour post-load glucose levels between 140 and 199 mg/dl, or HbA1c between 5.7% and 6.4%); (6) Homeostasis Model Assessment for Insulin Resistance (HOMA-IR) score ≥ 2.5; 7) plasma high-sensitivity C-reactive protein (hs-CRP) level > 2 mg/l. T2 DM was defined based on the following criteria of the American Diabetes Association: (1) self-reported physician diagnosis of diabetes, (2) use of oral hypoglycaemic agents or insulin treatment, (3) fasting plasma glucose ≥ 126 mg/dl, (4) oral glucose tolerance test ≥ 200 mg/dl, and (5) HbA1c ≥ 6.5%.(Reference Rinella, Lazarus and Ratziu13)
The MAF-5 score was calculated based on waist circumference, BMI, aspartate aminotransferase (AST) level, platelet count, and presence of diabetes.(Reference van Kleef, Francque and Prieto-Ortiz14) We defined participants with MAF-5 scores < 1 as the low-risk group, and those with MAF-5 scores ≥ 1 as the high-risk group. In the baseline analysis, participants with both MAFLD and MAF-5 ≥ 1 were categorised into the high-risk group for liver fibrosis. Subsequent regression analyses treated MAFLD and MAF-5 as the independent variables.
Gut microbiota dietary index assessment
According to the scoring criteria outlined by Kase et al.(Reference Kase, Liese, Zhang, Murphy, Zhao and Steck6) 14 food items or nutrients were identified as components of DI-GM. These included beneficial components such as avocado, broccoli, chickpeas, coffee, cranberries, fermented dairy products, fibre, green tea (which could not be assessed because of the lack of specific tea type data in NHANES), soy, and whole grains, whereas detrimental components such as red meat, processed meats, refined grains, and high-fat diets (≥40% energy from fat) were considered harmful.
DI-GM was calculated using dietary recall data from the NHANES 2007–2018. The components and scoring criteria for DI-GM are outlined in Supplementary Table S1. For beneficial items related to gut microbiota, a score of 1 was given when consumption exceeded the sex-specific median, and 0 otherwise. For harmful items, a score of 0 was assigned when consumption exceeded the sex-specific median or for high-fat diets (≥40% energy from fat), and a score of 1 was assigned otherwise. The total DI-GM score was derived by summing the individual item scores, yielding a range of 0 to 13 points (including beneficial components [0–9 points] and harmful components [0–4 points]). Participants were categorised into four groups based on their scores: 0–3 (Q1), 4 (Q2), 5 (Q3), and ≥6 (Q4).
Covariates
Based on published research and clinical judgment, this study considered several potential confounders, including age, sex, ethnicity, BMI, education level, income, smoking, energy intake, physical exercise, supplement use.(Reference Brooks, Titus, Bruce, Orzechowski, Mackenzie, Bartels and Batsis15,Reference Iranpour and Sabour16) Total energy intake was adjusted to isolate the effect of diet composition from total caloric consumption.
Age was treated as a continuous variable in logistic regression and descriptive analyses. For subgroup analyses, age was categorised into the following groups: 20–39 years, 40–49 years, 50–59 years, 60–69 years, and ≥70 years. Race was categorised as Mexican American, non-Hispanic Black, non-Hispanic White, and other Hispanic Americans. Education level was classified as ≤ high school, high school graduate or equivalent, some college or AA degree, and college graduate or higher. Income was divided into two categories: below $20,000 and ≥$20,000. Smoking was defined as: (1) smoking >100 cigarettes, or smq020 == ‘1’; 2) smoking <100 cigarettes but currently smoking daily or occasionally. Alcohol abuse was defined as consuming >210g per week for men and >140g per week for women. Insulin resistance was assessed using HOMA-IR, calculated using the following formula: HOMA-IR = (glucose × insulin)/405.(Reference Yang, Kwak, Song, Han, Lee, Kang and Lee17)
Data analysis
In accordance with the NHANES analysis guidelines, this study utilised a complex sampling design and applied weights to Mobile Examination Center samples. We described the characteristics associated with MAFLD in the high-risk liver fibrosis group. New weights were constructed by dividing the 2-year MEC weights (WTMEC2YR) by 6 cycles according to NHANES analytic guidelines.
Continuous variables were presented as means with standard errors (SE), while categorical variables were reported as frequency counts and percentages (%). For the analysis of categorical data, we employed the chi-square test with Rao-Scott second-order correction. We used the Wilcoxon rank-sum test to assess the differences in continuous variables, accounting for the complex survey sampling design.
To investigate the independent associations of DI-GM with MAFLD and the risk of liver fibrosis, multivariable-weighted logistic regression models were constructed, with covariates selected based on biological plausibility and prior literature to avoid over-adjustment bias. Model 1 was unadjusted; Model 2 adjusted for age, sex, ethnicity, and total energy intake, where energy adjustment was implemented to isolate the specific effect of diet composition from total caloric consumption;(Reference Eslam, Newsome and Sarin12,Reference Willett, Howe and Kushi18) Model 3 further adjusted for body mass index (BMI), socioeconomic status (education, income), lifestyle factors (smoking, physical activity), and dietary supplement use, incorporating BMI as a primary risk factor for fatty liver disease while controlling for the systemic influence of socioeconomic and lifestyle factors on metabolic health and the confounding role of exogenous nutrient supplementation.(Reference Vilar-Gomez, Nephew and Vuppalanchi19-Reference Zein, Unalp, Colvin, Liu and McCullough21)
To assess the potential nonlinear relationships between DI-GM and MAFLD and the risk of liver fibrosis, we performed restricted cubic spline (RCS) analysis, defining the DI-GM range at the 10th, 50th, and 90th percentiles and fitting the curves. Moreover, we explored potential mediators of the association between DI-GM and MAFLD, such as MAF-5 score and vitamin levels. Mediation analysis was conducted using the Sobel test, bootstrap method, and quasi-Bayesian Monte Carlo method, with 1,000 simulations based on normal approximation. Given the cross-sectional nature of NHANES, the mediation analysis was performed to explore statistical associations and potential biological linkages, rather than to establish causality.
Sensitivity analyses included subgroup analyses, multiple imputation, and propensity score matching (PSM). Subgroup analyses were conducted by stratifying participants based on factors such as age, sex, ethnicity, energy, BMI, income, education level, physical exercise, smoking and supplement use. To minimise the impact of missing data on the results, multiple imputations were used to handle missing vitamin data, employing chain equations to impute missing values, and generating five imputed datasets, following the approach used in prior studies. Additionally, to further eliminate bias and control for potential confounders between the groups, PSM was conducted at a 1:1 ratio using the MAFLD and high-risk liver fibrosis groups as reference populations.(Reference Lenis, Nguyen, Dong and Stuart22)
All analyses were performed using R (version 4.2.3) and Free Software Foundation’s statistical software (version 1.9.2). All analyses accounted for the complex survey design (stratification, clustering, and weighting) using the ‘survey’ package (version 4.4.2) in R. The ‘mediation’ package (version 4.5.0) was used for mediation analysis, the ‘mice’ package (version 3.15.0) for multiple imputation, and the ‘MatchIt’ package (version 4.5.5) for PSM. Statistical significance was determined using two-tailed p-values < 0.05.
Result
Baselines
Table 1 presents the baseline characteristics of the 13,498 participants. The mean age of the entire cohort was 49.64 years (standard error 0.14). Of these, 2,327 individuals had MAFLD, and 4,268 had the high risk of liver fibrosis. The analysis revealed that individuals at a high risk for MAFLD and liver fibrosis were generally older, more likely to be male, had lower educational attainment, higher BMI, and a higher prevalence of current smoking. Additionally, these individuals exhibited higher levels of liver enzymes (e.g., AST and ALT), inflammatory markers (CRP), blood glucose levels (e.g., HbA1c, glucose, and OGTT), insulin resistance (HOMA-IR), blood pressure (BP), lower levels of HDL, and higher levels of triglycerides (TG) and total cholesterol (TCHOL). They also have higher incidence rates of metabolic disorders and diabetes.
Table 1. Baseline characteristics and DI-GM scores across different health groups in the NHANES 2007–2018 study

1 Kruskal–Wallis rank sum test; Pearson’s Chi-squared test.
In terms of vitamin and carotenoid levels, individuals with MAFLD and those with high-risk liver fibrosis exhibited significant differences. Overall, the levels of α-carotene, α-cryptoxanthin, trans-β-carotene, cis-β-carotene, β-cryptoxanthin, lutein, zeaxanthin, retinyl palmitate, total lycopene, and vitamin C were lower in these individuals. In contrast, the levels of γ-tocopherol, retinyl stearate, retinol, α-tocopherol, 25-hydroxyvitamin D2, and 4-pyridoxic acid were relatively high. Notably, compared to the normal population, individuals with MAFLD and high-risk liver fibrosis showed an inverse trend in the levels of trans-lycopene and total lycopene.
Most strikingly, the DI-GM score in individuals with MAFLD and high-risk liver fibrosis gradually decreased compared to that in the normal population. This change reflects the differences in diet and lifestyle between these groups, suggesting potential disease associations or physiological changes.
Association between DI-GM and MAFLD and the risk of liver fibrosis
As shown in Tables 2 and 3, in unadjusted Model 1, each one-point increase in the DI-GM score was associated with an 11% reduction in the prevalence of MAFLD (OR = 0.89, 95% CI = 0.86–0.92, p < 0.001) and a 10% reduction in the prevalence of high-risk liver fibrosis (OR = 0.90, 95% CI = 0.87–0.93, p < 0.001). In fully adjusted Model 3, the association of DI-GM with MAFLD and high-risk liver fibrosis remained significant (MAFLD: OR = 0.93, 95% CI = 0.88–0.99, p = 0.030; high-risk liver fibrosis: OR = 0.94, 95% CI = 0.90–0.98, p = 0.002).
Table 2. Association of DI-GM with MAFLD across different models

CI = Confidence Interval, OR = Odds Ratio.
Table 3. Association of DI-GM with high-risk liver fibrosis across different models

CI = Confidence Interval, OR = Odds Ratio.
When DI-GM was categorised into quartiles, in the unadjusted Model 1, participants in the highest quartile (Q4) had a significantly lower prevalence of MAFLD (OR = 0.61, 95% CI = 0.53–0.70, p < 0.001) and high-risk liver fibrosis (OR = 0.64, 95% CI = 0.56–0.73, p < 0.001) than those in the lowest quartile. Additionally, propensity score matching (PSM) was performed, and the results remained robust (Supplementary Tables S2 and S3).
Linear and non-linear trends of DI-GM with MAFLD and the risk of liver fibrosis
To explore the potential non-linear relationship between the newly proposed DI-GM and MAFLD and the risk of liver fibrosis, we employed RCS in our analysis. As shown in Figure 2, after adjusting for all covariates, an overall decreasing trend in the risk of MAFLD and liver fibrosis was observed with increasing DI-GM scores (p < 0.001). However, the relationship between DI-GM and MAFLD was linear, with no significant non-linear association (p = 0.839). In contrast, a non-linear relationship was observed between DI-GM and the risk of liver fibrosis (p = 0.043), with a deceleration in the rate of risk reduction for both MAFLD and liver fibrosis when the DI-GM score exceeded 5.

Figure 2. Non-linear associations of DI-GM with MAFLD and the risk of liver fibrosis.
In summary, higher DI-GM scores, which indicate a more favourable dietary pattern associated with the gut microbiota, are associated with a lower risk of MAFLD and liver fibrosis, primarily in a linear manner.
Relationship between vitamins and MAFLD and the risk of liver fibrosis
To investigate the associations between various vitamins and carotenoids, MAFLD, and the risk of liver fibrosis (MAF-5), univariate logistic regression analyses were conducted. The results revealed significant associations between several vitamins and carotenoids and these diseases, suggesting their potential roles in the pathogenesis of MAFLD and liver fibrosis (Figure 3). Notably, α-carotene (MAFLD: OR = 0.93, 95% CI = 0.91–0.95, p < 0.001; MAF-5 ≥ 1: OR = 0.91, 95% CI = 0.89–0.94, p < 0.001), α-cryptoxanthin (MAFLD: OR = 0.76, 95% CI = 0.71–0.8, p < 0.001; MAF-5 ≥ 1: OR = 0.74, 95% CI = 0.68–0.79, p < 0.001), cis-β-carotene (MAFLD: OR = 0.50, 95% CI = 0.44–0.58, p < 0.001; MAF-5: OR = 0.55, 95% CI = 0.46–0.64, p < 0.001), and vitamin C (MAFLD: OR = 0.47, 95% CI = 0.38–0.57, p < 0.001; MAF-5: OR = 0.65, 95% CI = 0.52–0.8, p < 0.001) showed significant associations with both MAFLD and MAF-5.

Figure 3. Odds ratios of vitamins and carotenoids for MAFLD and MAF-5.
Additionally, we used random forest imputation to address the missing values for vitamins and carotenoids in the dataset. The results were consistent with the primary findings (Supplementary Tables S4 and S5).
Mediation analysis
To investigate the mediating effects of various vitamins and carotenoids on the relationship between the newly proposed DI-GM and MAFLD and liver fibrosis (MAF-5), we selected the four vitamins and carotenoids with the lowest odds ratios (ORs) for mediation analysis.
For MAFLD, cis-β-carotene exhibited the strongest mediating effect, accounting for 25.17% of the total effect. Additionally, the mediating effects of the other three vitamins or carotenoids (α-carotene, α-cryptoxanthin, and vitamin C) were 0.202%, 22.10%, and 22.30%, respectively.
In the MAF-5 ≥ 1 group, cis-β-carotene showed the strongest mediating effect, accounting for 63.12% of the total effect, whereas the mediating effects of the other three were 59.23% for α-carotene, 60.2% for α-cryptoxanthin, and 24.37% for vitamin C.
These results suggest that the relationship between DI-GM, MAFLD and the risk of liver fibrosis is largely mediated by these vitamins and carotenoids, with vitamin C and cis-β-carotene playing particularly prominent roles (Figure 4).

Figure 4. Mediation analysis of vitamins and carotenoids in the relationship between DI-GM and MAFLD/MAF-5.
Subgroup analysis
To further explore the relationship between the newly proposed DI-GM and MAFLD and liver fibrosis (MAF-5), stratified analyses among the participants were conducted. As shown in Tables 4 and 5, the relationship between DI-GM and MAFLD and the risk of liver fibrosis exhibited significant heterogeneity across different subgroups.
Table 4. Stratified analysis of DI-GM’s association with MAFLD across demographic subgroups

Table 5. Stratified analysis of DI-GM’s association with liver fibrosis (MAF-5) across demographic subgroups

First, regarding the relationship between DI-GM and MAFLD, significant interactions were observed between age, sex, education level, and smoking status. In the 50–59 age group, the association between DI-GM and MAFLD was most pronounced (OR = 0.86, 95% CI = 0.82–0.91, p < 0.001). Regarding sex, the negative correlation between DI-GM and MAFLD was stronger in females (OR = 0.90, 95% CI = 0.87–0.93, p < 0.001). Additionally, individuals with a college degree or higher also exhibited a stronger protective effect against DI-GM (OR = 0.86, 95% CI = 0.83–0.90, p < 0.001). These findings suggest that education level may play a moderating role in the association between DI-GM and MAFLD, potentially related to the dissemination of health knowledge and lifestyle improvements.
Smoking status also exhibited a significant interaction with the relationship between DI-GM scores and MAFLD. Among smokers, the association between DI-GM and MAFLD was more pronounced (OR = 0.96, 95% CI = 0.93–0.99, p = 0.023), suggesting that smoking may enhance the protective effect of DI-GM against MAFLD. In contrast, among non-smokers, the relationship between DI-GM and MAFLD was weaker (OR = 0.88, 95% CI = 0.85–0.90, p < 0.001). This may be related to the potential negative impacts of smoking on the gut microbiota and metabolic function, where the detrimental effects of smoking might amplify the protective effect of DI-GM.
Regarding the relationship between DI-GM and the risk of liver fibrosis, significant interactions were also observed between age and sex. The protective effect of DI-GM was particularly strong in the 40–49 age group (OR = 0.86, 95% CI = 0.81–0.91, p < 0.001) and among males (OR = 0.95, 95% CI = 0.92–0.97, p < 0.001). Additionally, smoking status was associated with the relationship between DI-GM and the risk of liver fibrosis. Compared to non-smokers, the negative correlation between DI-GM and the risk of liver fibrosis was stronger among smokers (OR = 0.96, 95% CI = 0.93–1.00, p = 0.024), indicating that smoking may further enhance the protective effect of DI-GM against liver fibrosis through its impact on hepatic metabolic function.
Supplementation needs for low DI-GM in MAFLD and high-risk fibrosis populations
To further explore the clinical implications of the DI-GM scores, we analysed the levels of vitamins and carotenoids among individuals at a high risk for MAFLD and liver fibrosis. As shown in Tables 6 and 7, individuals in the low DI-GM group with high-risk MAFLD and liver fibrosis exhibited significantly lower concentrations of most vitamins and carotenoids, particularly in Q1 and Q2. Specifically, in the high-risk MAFLD group, the levels of the majority of vitamins and carotenoids (such as α-carotene, β-cryptoxanthin, lutein, zeaxanthin and vitamin C.) were significantly higher in the Q3 and Q4 groups, with the exception of a few vitamins (e.g., γ-tocopherol). This suggests that intake of these nutrients may be associated with higher DI-GM scores, further supporting DI-GM as a potential modulator of metabolic diseases.
Table 6. Vitamin and carotenoid levels in high-risk MAFLD groups by DI-GM quartiles

Kruskal–Wallis rank sum test.
Table 7. Vitamin and carotenoid levels in high-risk liver fibrosis groups by DI-GM quartiles

Kruskal–Wallis rank sum test.
The distribution of vitamin and carotenoid levels in the high-risk liver fibrosis group was similar to that in the MAFLD group. Individuals in the Q3 and Q4 groups generally exhibited higher concentrations of carotenoids (such as α-carotene, trans-β-carotene, and β-cryptoxanthin) and vitamins (such as vitamin C, vitamin B12, and vitamin D3). Notably, the γ-tocopherol levels were higher in the Q1 group, with minimal differences observed among the other groups (Table 7). These findings suggest that individuals with low DI-GM scores may experience deficiencies in certain nutrients, particularly carotenoids and vitamins, further highlighting the necessity of supplementing high-risk populations with these nutrients.
Overall, the associations between DI-GM and MAFLD and liver fibrosis not only reflect the potential role of gut microbiota in metabolic diseases, but also provide new insights for clinical guidance on nutritional supplementation strategies involving vitamins and carotenoids. Specifically, in high-risk populations with low DI-GM scores, supplementation with relevant vitamins and carotenoids may help alleviate the metabolic liver burden and improve overall health status.
Sensitivity analysis
To verify the consistency and robustness of the results, we conducted multiple sensitivity analyses. We further confirmed the robustness of our findings using PSM, random forest imputation, and subgroup analyses. Additionally, to exclude potential confounding factors, we performed analyses excluding individuals aged 75 years or older and those with supplement use in fully adjusted Model 3. The results showed that the associations between DI-GM, MAFLD and the risk of liver fibrosis remained unchanged after excluding these specific groups. This further supports the robustness of our primary analysis results, indicating that the effects of DI-GM are consistent across different populations and are not significantly influenced by age or supplement use (Supplementary Tables S6 and S7).
Discussion
This study is the first to investigate the relationship between DI-GM and MAFLD and the risk of liver fibrosis, as well as the mediating roles of vitamins and carotenoids. The results demonstrate that higher DI-GM scores are associated with a reduced prevalence of MAFLD and high-risk liver fibrosis, and these associations are largely mediated by specific vitamins and carotenoids. This finding offers new insights into the prevention and management of MAFLD and liver fibrosis, particularly through dietary interventions targeting the gut microbiota and the potential supplementation of relevant nutrients.
The influence of diet on the gut microbiota and its potential role in the pathogenesis of MAFLD and liver fibrosis have been a major focus of research.(Reference Leung, Rivera, Furness and Angus23,Reference Trebicka, Macnaughtan, Schnabl, Shawcross and Bajaj24) In this study, DI-GM reflected dietary patterns that were either beneficial or detrimental to gut health, and its variations were associated with the risk of MAFLD and liver fibrosis.
For example, foods rich in dietary fibre, such as whole grains, legumes, vegetables, and fruits, are considered beneficial components of DI-GM. These foods promote the production of short-chain fatty acids such as propionate and butyrate by gut microbiota, which are beneficial for gut health.(Reference Holmberg, Feeney and Prasoodanan P.K.25) Additionally, the mediterranean diet has been shown to have positive effects on the gut microbiota and human health, potentially aiding in the prevention and mitigation of MAFLD and liver fibrosis progression.(Reference Ross, Patangia, Grimaud, Lavelle, Dempsey, Ross and Stanton26)
In contrast, refined grains and diets that are high in fat and carbohydrates are considered unfavourable components of DI-GM. These dietary habits not only alter the composition of the gut microbiota but may also exacerbate the progression of MAFLD and liver fibrosis by increasing inflammatory responses and reducing the production of beneficial metabolites.(Reference Loomba, Seguritan and Li27,Reference Shashni, Tajika, Ikeda, Nishikawa and Nagasaki28)
Reduced gut microbiota diversity is closely associated with an increased risk of MAFLD and liver fibrosis.(Reference Saeed, Díaz and Gil-Gómez29) Patients with MAFLD typically exhibit decreased α-diversity of the gut microbiota, along with an increase in harmful bacterial taxa and a reduction in beneficial bacterial taxa. This reduction in gut microbiota diversity may impact liver health through the gut–microbiota–liver axis.
Unhealthy lifestyle habits, excessive use of antibiotics, and chronic inflammation can alter the structure of the gut barrier, increasing the intestinal permeability to bacteria and their metabolites. As a result, bacterial products can enter the bloodstream, exerting direct toxic effects on the liver, further inducing hepatic inflammation, and accelerating the progression of MAFLD and liver fibrosis. Additionally, endotoxins from the gut, such as lipopolysaccharide (LPS), can enter the intestinal capillaries and activate Toll-like receptor (TLR) signalling pathways, triggering hepatic inflammation and fibrosis and promoting inflammatory responses and insulin resistance.(Reference Wiest, Lawson and Geuking30,Reference Zhang, Yan and Sheng31) The high mediation likely reflects the strong biological coupling between this specific dietary pattern, improved gut absorption, and the resulting systemic antioxidant status, rather than a single isolated mechanistic pathway.
Vitamins and carotenoids play a significant role in the progression of MAFLD, and liver fibrosis is influenced by gut microbiota.(Reference Liu, Zheng and Ji32,Reference Xiao, Zhong, Lin, Liu, Yan, Ke and Chen33) In this study, α-carotene, α-cryptoxanthin, cis-β-carotene, and vitamin C were identified as significant mediators of the association between DI-GM, MAFLD, and liver fibrosis. These vitamins and carotenoids, which act as antioxidants, can reduce oxidative stress and protect hepatocytes from damage.
Metabolites produced by the gut microbiota, such as short-chain fatty acids, can modulate the host’s antioxidant defence mechanisms and work synergistically with vitamins C and E to enhance antioxidant effects. Additionally, certain gut bacteria are capable of synthesising or transforming vitamins, such as vitamins K and B. These vitamins play important roles in regulating liver metabolism and immune function, which may help mitigate MAFLD progression.(Reference Zhang, Yan and Sheng31)
Despite the valuable insights provided by this study, several limitations of this study should be acknowledged. First, its cross-sectional design restricts the determination of causality. Future prospective studies and randomised controlled trials are needed to validate the causal relationships between DI-GM and MAFLD and the risk of liver fibrosis. Second, although we controlled for multiple potential confounders, the results may still be subject to bias owing to unmeasured variables or unknown confounding effects. Third, the DI-GM was constructed based on 14 food items; however, the NHANES 24-hour dietary recall data did not capture the consumption of specific types of tea, and thus, the relevant food parameters were not included in the analysis. This omission may have affected the comprehensiveness of the model and potentially underestimated the effects of certain dietary components. Lastly, self-reported 24-hour dietary records may introduce recall bias, and some covariates were also based on self-reports, which may affect the accuracy of the data.
Future research could address these limitations by using proxy variables (e.g., other antioxidant-rich teas) to supplement the missing green tea data, or by collecting more detailed dietary information to improve the integrity of the DI-GM model and enhance the accuracy of the analysis.
Conclusion
In summary, this study revealed significant associations between DI-GM, MAFLD and the risk of liver fibrosis, highlighting the important mediating roles of vitamins and carotenoids. These findings provide new insights into the prevention and management of MAFLD and its complications through dietary interventions targeting the gut microbiota and supplementation of relevant nutrients. Future research should explore the causal mechanisms underlying these associations and validate the effectiveness of these interventions.
Supplementary material
The supplementary material for this article can be found at https://doi.org/10.1017/jns.2026.10093.
Data availability statement
Data can be downloaded from the NHANES website (https://wwwn.cdc.gov/nchs/nhanes/default.aspx).
Acknowledgements
Not applicable.
Author contributions
J.L. and T.Z. collected the data, analysed the relevant information, and drafted the manuscript. J.C., T.Z., and J.L. contributed to statistical analysis and manuscript revision. L.X., W.S., and Q.H. designed the study, critically revised the manuscript, and approved the final submission. All authors have contributed to the manuscript and approved the submitted version.
Funding statement
The authors declare that they have received financial support for the research, authorship, and/or publication of this article. This work was financed by grants from the National Natural Science Foundation of China (Grant No. 82072642).
Competing interests
The authors declare no competing interests.
Acknowledgement of AI-assisted writing support
The authors utilised ChatGPT to enhance linguistic clarity and readability in drafting the manuscript. Every section was thoroughly reviewed and revised by the authors, who assume complete accountability for the published work.
Consent for publication
Not applicable.
Ethics approval and consent to participate
NHANES is a publicly used dataset available on the website. The NHANES protocol was approved by the institutional review board of the Centers for Disease Control and Prevention (https://www.cdc.gov/nchs/nhanes/irba98.htm). The NHANES obtained written informed consent from all participants.





