Introduction

Non-alcoholic fatty liver disease (NAFLD) is the most common chronic liver disease worldwide with a global prevalence of 25% and the leading cause of cirrhosis and hepatocellular carcinoma, including steatosis with or without mild inflammation (non-alcoholic fatty liver, NAFL) to non-alcoholic steatohepatitis (NASH)1,2. Depression is one of the leading mental illnesses, with an estimated 5% of adults globally suffering from it3.

There are growing epidemiological evidences that depression is associated with various diseases including diabetes4, hypertension5, cardiovascular disease6, which are also commonly accompanied by NAFLD. However, previous observational studies on the association between depression and NAFLD have mostly been cross-sectional studies with inconsistent results7,8,9,10,11,12,13,14. There is only one relevant longitudinal study on this topic, which based on 142,005 participants in median follow-up of 4.0 years, reported that depression was associated with an increased risk of hepatic steatosis (hazards ratio (HR):1.06, 95% confidence interval (CI):1.01–1.10)8. Conventional observational studies remain prone to residual unmeasured confounding and reverse causality biases, which can be reduced by Mendelian randomization (MR) design15. MR explores the effect of exposures on outcomes by using genetic variants as instrumental variables  (IVs), the alleles of this exposure-associated genetic variant are randomly allocated and not subject to reverse causation16, and provides new insights into the potential causal association. However, two previous MR studies on this topic have also showed conflict results17,18. Notably, a meta-analysis showed that 18.21% of patients with NAFLD had depression, and in more severe stages of the disease, such as NASH, depression reached 40.68%19. However, research on the relationship between depression and severe NAFLD is limited.

Therefore, we used data from a large prospective cohort, UK Biobank individual-level dataset, to assess whether the onset of depression was associated with severe NAFLD. Furthermore, we conducted a two-sample MR study to explore whether there is potential causal association between depression and NAFLD risk.

Methods

Study population and design

We first used data from the UK Biobank study (application number 84980) to evaluate the association of depression with severe NAFLD. The details about the UK Biobank study design and data collection have been described elsewhere20. Briefly, it is an ongoing, multi-center prospective cohort study of over half a million participants aged 40–69 years in UK from 2006 to 2010 (https://www.ukbiobank.ac.uk/). At one of 22 assessment centers in England, Scotland, and Wales, participants completed touch-screen and nurse-led questionnaires, underwent physical assessments, and provided biological samples. The UK Biobank study has approval from the North West Multi-centre Research Ethics Committee, all methods were performed in accordance with the relevant guidelines and regulations, and all participants provided written informed consent.

To analyze the association of depression with incident severe NAFLD, we included 481,181 participants after excluding participants with liver disease or alcohol/drug use disorders at baseline, without related exact date for liver disease or alcohol/drug use disorders, and new-onset severe NAFLD within 5 years follow-up (Fig. 1). The baseline liver disease and alcohol/drug use disorders were ascertained through data linkage to primary care and hospital inpatient records. The details of international classification of diseases, 10th revision (ICD-10) codes used to define them are listed in Supplementary Table S1, based on the latest Expert Panel Consensus Statement21. The conversion between the READ codes and ICD-10 codes was done using the UK Biobank’s look-up table.

Fig. 1
figure 1

Study design overview. Abbreviations: NAFLD, non-alcoholic fatty liver disease; SNP, single nucleotide polymorphisms. There are three assumptions of mendelian randomization design. The first assumption is that the genetic variants used as instrumental variables should be robustly associated with the exposure; the second assumption is that the used genetic variants should not be associated with any confounders; and the third assumption is that the selected genetic variants should affect the risk of the outcome merely through the risk factor, not via alternative pathways.

Assessment of depression

The diagnosis of depression at baseline was defined as the ICD-10 codes F32 (depressive episode), F33 (recurrent depressive disorder), F34 (persistent mood [affective] disorders), F38 (other mood [affective] disorders), and F39 (unspecified mood [affective] disorder), as identified from the part of mental and behavioral disorders in the “First occurrences fields” of the UK Biobank study (data category ID: 1712), which included data from primary care, hospital inpatient records, self-reported medical condition, and death registers. Participants with diagnosis date of depression prior to the baseline assessment center attendance date were considered had depression at baseline.

Severe NAFLD ascertainment and follow-up

Severe NAFLD was defined as hospitalization or death due to NAFLD or NASH22, which was ascertained using data linkage to hospital inpatient records (data field ID: 41270) and death registries (data field ID: 40001 and 40002). NAFLD (including NASH) was defined as ICD-10 K76.0 (fatty [change of] liver, not elsewhere classified) and K75.8 (other specified inflammatory liver diseases) in the most recent Expert Panel Consensus Statement21. Specifically, in the UK Biobank study, dates and causes of hospital admissions were obtained from record linkage to the Hospital Episode Statistics for England (England), the Scottish Morbidity Records (Scotland) and the Patient Episode Database for Wales (Wales), and dates and causes of death were obtained from death certificates held by the National Health Service (NHS) Information Centre (England and Wales) and the NHS Central Register Scotland (Scotland). Participants were followed up from the date of baseline assessment for UK Biobank until the date of the first diagnosis of severe NAFLD, loss to follow-up, death, or the end of the follow-up (2022-10-31 for England, 2021-07-31 for Scotland and 2018-02-28 for Wales), whichever came first.

Measurements of covariates

Several covariates were included in our study, and their selection was informed by previous literature and theory7,8,9,10,11,12,13,14,23,24,25,26,27,28,−29. Information on sex (male, female), age at recruitment (years), race (white, non-white), qualification (no qualifications, any other qualification, college or university degree), frequency of alcohol intake (never, special occasions only, one to three times a month, once or twice a week, three or four times a week, daily or almost daily), smoking status (never, former, current), oily fish intake (never, less than once a week, once a week, 2–4 times a week, 5–6 times a week, once or more daily) and processed meat intake (never, less than once a week, once a week, 2–4 times a week, 5–6 times a week, once or more daily), and physical activity level (low, moderate, high, missing) is from the baseline questionnaires. Body mass index (BMI) was calculated as weight in kilograms divided by height in meters squared (< 18.5, 18.5–24.9, 25.0–29.9, ≥ 30.0 kg/m2). Townsend deprivation index was used to indicate socioeconomic status, with a high score indicating a high socioeconomic deprivation30. The information for medication history of antidepressant use was obtained through self-report in verbal interview at baseline, we defined antidepressant use as self-reported use of at least one selective serotonin reuptake inhibitor or other antidepressant medication as previous algorithms31. Hyperglycemia/diabetes was defined as glycated hemoglobin (HbA1c) ≥ 42.0 mmol/mol32 or self-report of a physician diagnosis of diabetes. Elevated blood pressure (BP)/hypertension was defined as a systolic blood pressure ≥ 130 mmHg and/or a diastolic blood pressure ≥ 85 mmHg33 or self-report of a physician diagnosis of hypertension. Two measures of systolic and diastolic BP were obtained, and the average values were calculated. Hypertriglyceridemia was defined as ≥ 1.7 mmol/L and low high-density lipoprotein cholesterol was defined as < 1.3 mmol/L in women and < 1.0 mmol/L in men33.

Mendelian randomization analysis

In addition to the analyses of observational study, we performed a two-sample MR analysis to evaluate the causal effect of depression on the risk of NAFLD. The MR study was based on summary-level data of genome-wide association analyses on depression and NAFLD from published genome-wide association studies (GWAS). We used the hitherto largest published GWAS for depression that was conducted in a population of European-descent, which included 807,553 individuals (246,363 cases and 561,190 controls)34. In total, 67 single nucleotide polymorphisms (SNPs) associated with depression at the genome-wide significance threshold (P < 5 × 10− 8) and without linkage disequilibrium (LD, defined as r2 > 0.001 and clump distance < 10,000 kb) were identified, additionally, the SNPs not founded in the NAFLD GWAS and palindromic SNPs were disregarded (Supplementary Fig. S1). The strength of included SNPs was evaluated by calculating the F-statistic, and F-statistics > 10 were typically used as the cutoff for powerful IVs. Summary-level data for the associations of depression associated SNPs with NAFLD were obtained from the FinnGen consortium (R8 release, https://www.finngen.fi/en) which included 342,499 individuals (1,908 cases and 340,591 controls of European descent). No overlapping participating studies were shared between the depression and NAFLD GWASs. Data sources and instrument IVs are listed in Supplementary Table S2 and Supplementary Table S3. The STROBE-MR checklist is detailed in Supplementary material 1.

Statistical analysis

In the observational study using data from the UK Biobank study, the cumulative incidence of severe NAFLD according to the occurrence of baseline depression was estimated by using R packages “survival” and “survminer”. The log-rank test was used for comparing survival distributions between groups. The proportional hazard assumption was checked using Schoenfeld residuals. Cox proportional hazard regression models were performed to calculate the HR and 95% CI to assess the associations of depression with severe NAFLD risk. In our multivariable model, we adjusted for age at recruitment, sex, BMI, race, Townsend deprivation index, qualification, frequency of alcohol intake, smoking status, oily fish intake, processed meat intake, physical activity level, antidepressant use, hyperglycemia/diabetes, elevated BP /hypertension, hypertriglyceridemia and low high-density lipoprotein cholesterol. P values for interaction were tested by introducing a product term of the two variables examined in the regression models. Subgroup analyses were also conducted across categories of sex (male, female), age at recruitment (< 60, ≥ 60 years), race (non-white, white), smoking status (never, ever), frequency of alcohol intake (non-excessive alcohol intake, excessive alcohol intake), BMI (< 25, ≥ 25 kg/m2), antidepressant use (yes, no), hyperglycemia/diabetes (yes, no) and elevated BP/hypertension (yes, no), respectively.

To confirm the robustness of our results, we performed nine sensitivity analyses: (i) excluding 53 deaths without prior hospitalization; (ii) excluding people who with missing data for covariates; (iii) the analysis based on covariates with missing data imputed by the multiple imputation method with chained equations for 5 imputations; (iv) excluding people who drinking more than 14 units/week or who with missing data about the total average weekly units of alcohol; (v) widening the definition of NAFLD to include a broader definition that includes K76.8 (other specified diseases of the liver), K76.9 (liver disease, unspecified) as well as unspecified liver diseases: K74.0 (hepatic fibrosis), K74.1 (hepatic sclerosis), K74.2 (hepatic fibrosis with hepatic sclerosis), and K74.6 (other and unspecified cirrhosis of the liver); (vi) using primary care records, hospital admissions and death records to ascertain NAFLD; (vii) defining baseline depression using the recommendations of Smith DJ et al.35, which has been used in some papers36,37,38; (viii) using depression as a time-dependent independent variable; (ix) to prevent over-adjustment of potential mediators28,39,40,41,42,43,44,45,46,47,48, only age at recruitment, sex, race, Townsend deprivation index, qualification, oily fish intake and processed meat intake were included as covariates in the model.

Missing rates of covariates ranged from 0.001% for age at recruitment to 19.905% for physical activity level (Supplementary Table S4). Missing values were replaced by the sex-specific median and mode values in the study population for continuous and categorical variables, respectively. Given that the missing rate was high for physical activity level, this covariate was imputed using the missing-indicator method.

For the MR, inverse variance weighted (IVW) was our primary analytical method, assuming that all SNPs are valid IVs49. To examine the consistency of the associations, four sensitivity analyses were conducted, including the weighted median50, maximum likelihood51, MR pleiotropy residual sum and outlier (MR-PRESSO)52 methods as well as leave-one-out analysis. The weighted median method could provide consistent estimates when more than half of the weight in the analysis comes from valid genetic instruments50. The maximum likelihood method may provide more reliable estimates when measurement error occurs in the SNP-exposure effects51. MR-PRESSO employs a global test to detect the presence of horizontal pleiotropy and a distortion test to identify outlier instruments, and remove them before applying IVW52. Leave-one-out analysis where one SNP was removed at a time and IVW was conducted based on the remaining SNPs. Moreover, the Cochran’s Q statistic (IVW) and Rucker’s Q statistic (MR-Egger) were used to detect the heterogeneity of our MR analysis, MR-Egger intercept test and global test of MR-PRESSO were employed to detect for the presence of pleiotropy. An online tool (https://shiny.cnsgenomics.com/mRnd/) was used to assess the statistical power to identify the difference. The statistical power of depression on NAFLD is 90% when the type I error rate is 0.05. All MR analysis was performed by using R packages “TwoSampleMR” (version 0.5.6).

All statistical analyses were performed using R software 4.1.2. A two-sided P < 0.05 was considered statistically for all the tests, if not specified.

Results

Table 1 summarizes baseline characteristics of included participants by baseline depression status. Over a median follow-up of 13.46 years (interquartile range, 12.72–14.10 years), a total of 481,181 participants including 38,206 depression cases were prospectively followed up in the study. Over this period, 4,563 participants (4,510 hospitalizations and 53 deaths without prior hospitalization) were recorded as developing severe NAFLD. Participants who suffered from depression tended to be younger, more likely to be female and smokers, more likely to have a BMI of 30 or greater, had a higher prevalence of antidepressant use, hyperglycemia/diabetes, hypertriglyceridemia and low high-density lipoprotein cholesterol and more likely to be deprived. They also had a lower prevalence of elevated BP/hypertension, a lower physical activity level, were less likely to have processed meat, oily fish and alcohol intake at baseline.

Table 1 Baseline characteristics of participants according to status of depression in UK Biobank.

In our multivariable-adjusted model, participants with depression had an increased risk of severe NAFLD (HR:1.21, 95%CI:1.09–1.34), as compared to those without depression (Table 2). The cumulative incidence rate of severe NAFLD during the follow-up was higher in participants with depression compared with those without depression (Fig. 2). In subgroup analyses, we didn’t observe significant interactions across sex, age at recruitment, race, smoking status, frequency of alcohol intake, BMI, antidepressant use, hyperglycemia/diabetes, elevated BP/hypertension and depression (all P for interaction > 0.05), the association between depression and severe NAFLD risk was generally observed across different subgroups (Supplementary Fig. S2). The associations between depression and higher severe NAFLD risk were robust to a range of sensitivity analyses (Supplementary Table S5). The results did not changed too much after excluding those who dead due to severe NAFLD but without prior hospitalization (HR: 1.21, 95% CI: 1.09–1.34), excluding people who drinking more than 14 units/week or who with missing data about the total average weekly units of alcohol (HR: 1.18, 95% CI: 1.03–1.35), widening the definition of NAFLD (HR: 1.11 ,95% CI: 1.02–1.21), using primary care records, hospital admissions and death records to ascertain NAFLD (HR: 1.27, 95% CI: 1.15–1.40), or defining baseline depression using the recommendations of Smith DJ et al. (HR: 1.35, 95% CI: 1.17–1.56), or using depression as a time-dependent independent variable (HR:1.16, 95% CI: 1.06–1.27). The results of other sensitivity analyses were similar.

Table 2 Incident severe NAFLD in relation to status of depression among study participants in UK Biobank.
Fig. 2
figure 2

The cumulative incidence of severe NAFLD according to the occurrence of baseline depression in UK Biobank. Abbreviations: NAFLD, non-alcoholic fatty liver disease.

The MR estimates from different methods of assessing the causal effect of depression on NAFLD were presented in Table 3. Using IVW, genetic liability to depression was significantly associated with an increased risk of NAFLD (odds ratio (OR): 1.55, 95%CI: 1.10–2.19). The estimates remained directionally consistent in the weighted median (OR: 1.85, 95%CI: 1.14–3.00), maximum likelihood (OR: 1.58, 95%CI: 1.12–2.22), MR-PRESSO (OR: 1.55, 95%CI: 1.10–2.19) methods. Heterogeneity tests highlighted the non-existence of heterogeneity (IVW, Q (df) = 69.8 (66), P = 0.352; MR-Egger, Q (df) = 69.2 (65), P = 0.337). No horizontal pleiotropy was detected in the MR-Egger test (MR-Egger intercept = 0.019, P = 0.474) and MR-PRESSO test (global test P = 0.363). No outlier SNPs were detected in MR-PRESSO analysis, suggesting limited evidence of pleiotropic bias. Leave-one-out analysis result which was shown in Supplementary Fig. S3 demonstrated that there was no potentially influential SNP driving the causal link between depression and NAFLD.

Table 3 Association of genetically predicted depression with risk of NAFLD.

Discussion

Using the large UK Biobank dataset and analyzing a sample of more than 480,000, our study suggests an association between depression and higher severe NAFLD risk in people without manifest liver disease, the results of further MR analysis also support this finding, which may help to advance the intervention and treatment of both diseases.

The finding of our study that depression was associated with a higher severe NAFLD risk, which is consistent with several previous studies7,8,9,10. Two cross-sectional studies from the 2016 Korea National Health and Nutrition Examination Survey7, the 2007–2016 National Health and Nutrition Examination Survey (NHANES)9 reported that compared to subjects without depression, those with depression were more likely to have NAFLD. Another cross-sectional study which based on the Ravansar Non-Communicable Disease cohort investigation, reported that the odds of NAFLD in female participants with depression were 71% higher than in non-depressed participants10.The only longitudinal cohort study also found that depression was associated with an increased risk of hepatic steatosis (HR:1.06, 95%CI:1.01–1.10)8. In addition, one cross-sectional study conducted from the 2005–2010 NHANES reported that depression was not independently associated with NAFLD at the population level11, another small sample size study was also failed to detect a positive association between depression and NAFLD14. Our MR analysis using the latest database also supported that depression was associated with increased risk of NAFLD, providing additional evidence to previous inconsistent findings17,18.

There are some biologically plausible mechanisms for the association between depression and NAFLD. Chronic inflammation, obesity, diabetes, the increased cortisol and epinephrine levels, may provide a plausible explanation for the association between depression and NAFLD53. Pathobiological factors associated with depression, such as increased monoamine oxidase-A enzyme activities, may enhance cellular oxidative stress, thereby negatively affecting NAFLD13. What’s more, depression may lead to immune-mediated destruction of pancreatic β-cells54, which can lead to insulin resistance and diabetes mellitus, both of which are risk factors for NAFLD.

The large sample size, in addition to a prospective study design, provides a higher level of evidence than retrospective studies or cross-sectional studies. Moreover, by constructing IVs as measures of exposure, the MR analysis further supports our finding at the genetic level. However, several limitations should be considered. Firstly, in our study, severe NAFLD was identified according to ICD-10 codes in hospitalized medical records and death records, rather than via the gold diagnostic criteria including hepatic image or histology from liver biopsy, besides, there were no biomarkers of liver disease severity such as Fibrosis-4 index for liver fibrosis, NAFLD Fibrosis Score, or aspartate aminotransferase-to-platelet ration index in the UK Biobank study, or information for estimating them was only available at baseline assessment. Therefore, our main analysis included the advanced or severe cases of NAFLD primarily due to this disposal. To address this issue, we carried out a sensitivity analysis by using primary care records, hospital admissions and death records to ascertain NAFLD, more less severe cases can be included, and the pattern of association was similar with our main analysis result. What’s more, some NAFLD cases in the community may not take medical consultation, a proportion of NAFLD cases in this large population-based cohort might remain undiagnosed, leading to an underestimation of the NAFLD incidence rate. Secondly, we acknowledge the new terminology proposal issued to replace NAFLD with metabolic dysfunction-associated fatty liver disease (MASLD)55, however, we decided to use NAFLD rather than MASLD because information on cardiometabolic criteria required for its definition were not available during the follow-up. Given a body of evidence that the prevalence of the two diseases is comparable and almost all patients with NAFLD meet MASLD criteria56,57,58,59,60, it is reasonable to consider that our finding remains valid under the new MASLD definition. Thirdly, although we carefully controlled for many potential confounders, there would still be some potential covariates (unmeasured or unknown), so residual confounders cannot be ruled out, therefore, we used MR analysis for additional causal inference. Fourthly, some of the information in our study was based on self-report, such as frequency of alcohol intake, etc., so recall and misclassification bias may be present. Fifthly, the UK Biobank study participants are not representative of the UK general population owing to evidence of a healthy volunteer selection bias61. Sixthly, a major limitation of MR design is horizontal pleiotropy, which means that the used IVs exert effects on the outcomes not via the exposure but via alternative pathways. In our study, since we observed no indications of horizontal pleiotropy, the bias caused by pleiotropic effects should be minimal. Finally, we limited our MR analysis to individuals of European descent may limit the generalizability of our finding to other populations.

In summary, in this large-scale prospective cohort study of the UK population, depression was associated with an increased risk of severe NAFLD, our further MR analysis also supported this finding. This suggests that depression should be considered more broadly as a target for prevention of severe NAFLD. In addition, clinical monitoring of depressed patients for severe NAFLD may be required.