Lifestyle Factors in the Association of Shift Work and Depression and Anxiety
- PMID: 37578795
- PMCID: PMC10425829
- DOI: 10.1001/jamanetworkopen.2023.28798
Lifestyle Factors in the Association of Shift Work and Depression and Anxiety
Abstract
Importance: Shift work may lead to adverse health outcomes. Whether shift work is associated with depression and anxiety, and to what extent lifestyle mediates the associations, remains unknown.
Objective: To explore the associations of shift work, its type, frequency, and working years with anxiety and depression and to examine the potential mediating role of lifestyles.
Design, setting, and participants: This cohort study included 175 543 employed or self-employed workers who participated in the UK Biobank baseline survey (2006-2010). Data analysis was conducted from November 2022 to January 2023.
Exposures: Employment and shift work status information was obtained from baseline. Lifestyles included smoking, physical activity, alcohol consumption, dietary characteristics, sleep duration, sedentary time, and body mass index (BMI).
Main outcomes and measures: Depression and anxiety were identified based on electronic health records. Cox proportional hazard regression models were used to calculate the association of shift work with anxiety and depression, and cause mediation analyses we used to test the mediating role of lifestyle factors in this association.
Results: Of the 175 543 included participants (mean [SD] age, 52.6 [7.1] years; 88 290 men [50.3%]; 167 495 White participants [95.4%]), 27 637 participants (16.2%) reported shift work. During a median (IQR) follow-up of 9.06 (8.35-9.75) years, 3956 workers (2.3%) developed depression and 2838 (1.7%) developed anxiety. In the fully adjusted model, individuals who reported engaging in shift work, or shift workers, had a higher risk of depression (HR, 1.22; 95% CI, 1.12-1.33; P < .001) and anxiety (HR, 1.16; 95% CI, 1.04-1.28; P < .001), and the risk was positively associated with shift frequency. Among shift workers, there was no significant difference between night shifts and nonnight shifts. In the dose-association analyses, years of shift work were negatively associated with the risk of depression and anxiety. Smoking, sedentary time, BMI, and sleep duration were identified as the main potentially modifiable mediators. These mediators together explained 31.3% of the association between shift work and depression and 21.2% of the association between shift work and anxiety.
Conclusions and relevance: In this cohort study, shift work was significantly associated with a higher risk of depression and anxiety, and lifestyle factors partially mediated the associations. These findings not only support that shift work should be considered an occupational hazard, but also provide evidence for the urgent need for the development of public health interventions that promote healthy lifestyles aimed at improving the mental health of shift workers.
Conflict of interest statement
Figures


Similar articles
-
The roles of lifestyle factors and genetic risk in the association between night shift work and cholelithiasis: a prospective cohort study.Front Endocrinol (Lausanne). 2025 May 28;16:1573203. doi: 10.3389/fendo.2025.1573203. eCollection 2025. Front Endocrinol (Lausanne). 2025. PMID: 40502398 Free PMC article.
-
Rotating night shift work and adherence to unhealthy lifestyle in predicting risk of type 2 diabetes: results from two large US cohorts of female nurses.BMJ. 2018 Nov 21;363:k4641. doi: 10.1136/bmj.k4641. BMJ. 2018. PMID: 30464025 Free PMC article.
-
Associations between long-term night shift work and incidence of chronic obstructive pulmonary disease: a prospective cohort study of 277,059 UK Biobank participants.BMC Med. 2024 Jan 16;22(1):16. doi: 10.1186/s12916-023-03240-8. BMC Med. 2024. PMID: 38225649 Free PMC article.
-
Shift Work and Poor Mental Health: A Meta-Analysis of Longitudinal Studies.Am J Public Health. 2019 Nov;109(11):e13-e20. doi: 10.2105/AJPH.2019.305278. Epub 2019 Sep 19. Am J Public Health. 2019. PMID: 31536404 Free PMC article.
-
Modifiable risk factors for thyroid cancer: lifestyle and residence environment.Endokrynol Pol. 2024;75(2):119-129. doi: 10.5603/ep.97258. Epub 2024 Mar 18. Endokrynol Pol. 2024. PMID: 38497372 Review.
Cited by
-
Association between Shift Work and Health Outcomes in the General Population in China: A Cross-Sectional Study.Brain Sci. 2024 Jan 30;14(2):145. doi: 10.3390/brainsci14020145. Brain Sci. 2024. PMID: 38391721 Free PMC article.
-
Level of Work-Related Anxiety and Potential Causes of Anxiety in Healthcare Workers in the Emergency Department.Psychiatry Investig. 2024 Nov;21(11):1299-1307. doi: 10.30773/pi.2024.0265. Epub 2024 Nov 18. Psychiatry Investig. 2024. PMID: 39610241 Free PMC article.
-
Association between shift work and eating behaviours, sleep quality, and mental health among Italian workers.Eur J Nutr. 2025 Feb 18;64(2):97. doi: 10.1007/s00394-025-03600-5. Eur J Nutr. 2025. PMID: 39964501
-
Association of Shift Work and Lifestyle With Aortic Aneurysm Incidence: A Large Prospective Cohort Study in the UK Biobank.J Am Heart Assoc. 2025 Jun 17;14(12):e040481. doi: 10.1161/JAHA.124.040481. Epub 2025 Jun 4. J Am Heart Assoc. 2025. PMID: 40464129 Free PMC article.
-
The roles of lifestyle factors and genetic risk in the association between night shift work and cholelithiasis: a prospective cohort study.Front Endocrinol (Lausanne). 2025 May 28;16:1573203. doi: 10.3389/fendo.2025.1573203. eCollection 2025. Front Endocrinol (Lausanne). 2025. PMID: 40502398 Free PMC article.
References
-
- Depression and other common mental disorders: global health estimates 2017. World Health Organization. Accessed July 11, 2023. https://apps.who.int/iris/bitstream/
-
- Number of people working night shifts up by more than 150,000 in 5 years. Trade Union Congress. Accessed July 12, 2023. https://www.tuc.org.uk/news/number-people-working-night-shifts-more-1500...