The Population Based Risk of Obstructive Sleep Apnea and Psychiatric Conditions
Chuan-Yi Kao, Tsui-Hsein Huang, Chuan-Hui Kao, Jing-Yang Huang, Chia-Tze Kao, Yi Hsien Hsieh

TL;DR
This study finds that obstructive sleep apnea significantly increases the risk of psychiatric disorders like depression and anxiety, especially in younger and overweight individuals.
Contribution
The study provides population-based evidence of the elevated psychiatric disorder risk in OSA patients using a large, real-world dataset.
Findings
OSA patients had a 91.3% higher risk of developing depressive disorders compared to non-OSA individuals.
Anxiety disorders were 66.3% more likely in OSA patients over an 8-year period.
Younger individuals and those with higher BMI showed greater risk for psychiatric disorders in OSA patients.
Abstract
This study investigates the association between obstructive sleep apnea (OSA) and the risk of developing psychiatric disorders. OSA, characterized by intermittent hypoxia and sleep fragmentation, contributes to brain damage and emotional regulation issues, which may predispose individuals to psychiatric conditions such as depression, anxiety, bipolar disorder, and schizophrenia. The research focuses on understanding the heightened risks of these disorders in OSA patients to inform clinical interventions. To assess the risk differences for psychiatric disorders in patients with OSA compared to those without OSA. The study utilized a retrospective cohort design, analyzing de-identified electronic health records (EHRs) from the TriNetX US Network. Data from 7,079,095 individuals (aged 18–65 years) were included. After exclusion (prior psychiatric disorders, circadian rhythm disorders,…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3- —Chung Shan Medical University Hospital
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsObstructive Sleep Apnea Research · Sleep and related disorders · Neuroscience of respiration and sleep
1. Introduction
The correct way to address a disease is by identifying its underlying cause. The causes of mental illnesses can be multifactorial. Excluding genetic and environmental factors, maintaining a healthy physiological state can help preserve mental well-being. Obstructive sleep apnea (OSA) is a widespread systemic disorder with far-reaching health implications, spanning cardiovascular, metabolic, and psychiatric domains. Research highlights that individuals with OSA experience increased risks for psychiatric conditions, including depression, anxiety, bipolar disorder, and schizophrenia [1–3].
OSA-induced sleep fragmentation disrupts the natural sleep architecture, especially impacting restorative deep sleep and REM sleep, both of which are vital for emotional regulation and memory processing. This disruption may underpin the observed link between OSA and mood disorders, as impaired REM sleep adversely affects emotional stability and the ability to manage negative emotions [4, 5]. Additionally, chronic sleep deprivation resulting from OSA is known to impair cognitive domains such as attention, executive function, and memory, which are central to mental health and are often compromised in conditions like depression, anxiety, and ADHD [6, 7].
From a psychiatric standpoint, emotional regulation dysfunction is pivotal in understanding the connection between OSA and psychiatric disorders. Chronic sleep loss, intermittent hypoxia, and associated neural damage diminish the capacity to cope with stress and manage daily challenges, often leading to irritability, heightened anxiety, and emotional instability [8]. Persistent fatigue may further promote feelings of helplessness and hopelessness, hallmarks of depressive states [9]. Epidemiological data indicate that individuals with OSA are two to three times more likely to experience depressive symptoms and are similarly predisposed to heightened anxiety due to concerns about sleep quality and daytime functioning [10, 11]. OSA's interference with daily activities can result in social withdrawal and reduced occupational performance, compounding mental health difficulties.
There is also an emerging interest in the link between OSA and bipolar disorder. Studies suggest that OSA prevalence is higher in individuals with bipolar disorder. Given the centrality of sleep regulation in bipolar disorder, disruptions caused by OSA can intensify emotional instability and increase the likelihood of mood episodes [12, 13]. Mental illnesses have complex origins, influenced by a variety of factors. More research is focusing on physiological and pathological contributors to these conditions. The prevalence of OSA is increasing in today's society, and it is recognized that OSA can lead to mental health issues due to alterations in the body's physiological structure. Some of these mental health disturbances can be treated and reversed, while others may not be. Understanding the underlying causes of mental illnesses is essential to delivering the most effective treatment.
This study was to evaluate the differences in psychiatric disorder risks between patients with OSA and those without. By analyzing the incidence of psychiatric disorders in these populations, we seek to inform clinical interventions designed to improve mental health outcomes in individuals affected by OSA.
2. Methods
2.1. Study Design
This study was a retrospective cohort analysis using global federated electronic health record (EHR) datasets to examine the risk of psychiatric disorders among adults diagnosed with OSA compared to adults without OSA.
2.2. Data Source
Data were extracted on May 21, 2024, from the TriNetX US Network, a global federated health research network that provides access to de-identified electronic medical records (EMRs) from healthcare organizations (HCOs). The dataset includes diagnostic, procedural, medication, laboratory, and genomic data, mainly sourced from large academic medical institutions across the United States. TriNetX is compliant with the Health Insurance Portability and Accountability Act (HIPAA) and is ISO 27001:2013 certified, ensuring data protection and regulatory compliance. TriNetX aggregates and de-identifies patient data, which enables secure web-based access to demographic, diagnostic, and procedural records. Data coding follows standardized biomedical ontologies such as SNOMED-CT and ICD-10, ensuring consistency in clinical terminology.
2.3. Study Population
We included adult patients aged 18–65 years with at least two medical examinations recorded between January 1, 2016 and December 31, 2023. A total of 7,079,095 individuals met these criteria. After exclusions, 368,125 OSA patients and 4,396,092 non-OSA patients remained, before matching. Figure 1 illustrates the sample selection and refinement process, including the inclusion and exclusion criteria. This rigorous protocol minimized confounding factors and ensured a well-defined study population.
2.4. OSA Cohort
The cohort included 755,819 patients diagnosed with OSA (ICD-10: G47.33) within the specified timeframe. Exclusions applied to individuals with prior diagnoses of psychiatric disorders, circadian rhythm sleep disorders, other forms of sleep apnea, pregnancy, or records of death before the index date. After exclusions, 368,125 patients with OSA were retained for analysis.
2.5. Non-OSA Cohort
We identified 6,323,276 individuals without any record of OSA diagnoses during the study period. The index date was based on the first medical examination within this timeframe, and the same exclusion criteria were applied, resulting in a final sample of 4,396,092 individuals for the non-OSA group.
2.6. Study Outcomes and Follow-Up
The primary outcome was the 8-year risk of newly diagnosed psychiatric disorders, including schizophrenia, bipolar disorder, depressive disorder, and anxiety-related conditions. Outcomes were tracked from the index date, and data were analyzed using methods consistent with observational cohort study designs.
2.7. Ethics and Approval
All data were de-identified per HIPAA Privacy Rule standards (§164.514(a)), with de-identification verified by a qualified expert as outlined in §164.514(b)(1). Due to the use of de-identified data, Institutional Review Board (IRB) approval was waived. Additionally, approval for the study was obtained from the IRB of Chung Shan Medical University Hospital (CSMUH), under the approval number CS2-21176.
2.8. Statistical Analysis
All statistical analyses were conducted using TriNetX Analytics platform, which supports robust data analysis and visualization functions suitable for observational studies. We applied propensity score matching (PSM) to balance baseline characteristics between OSA and non-OSA cohorts to reduce potential confounding. Propensity scores were calculated using logistic regression, taking into account demographic variables, comorbidities, and relevant medical history.
After matching, we estimated hazard ratios (HRs) with 95% confidence intervals (CIs) for the primary outcomes—psychiatric disorders—including schizophrenia, bipolar disorder, depressive disorder, and anxiety-related conditions. Cox proportional hazards models were utilized to analyze time-to-event data for each psychiatric outcome over the 8-year follow-up period.
We evaluated the assumption of proportional hazards for each outcome, and any violations were addressed through stratification or time-varying covariates. Statistical significance was defined as a two-tailed p-value of less than 0.05. Sensitivity analyses were performed to assess the robustness of our results, including adjustments for additional covariates and subgroup analyses based on age, sex, and comorbidity burden. All analyses were completed on de-identified data sets, ensuring compliance with HIPAA regulations and maintaining patient confidentiality.
3. Results
3.1. Characteristics of the Study Cohorts
After propensity-score matching, 360,708 patients in each cohort (OSA and non-OSA) were selected. Significant baseline differences before matching were effectively minimized, producing balanced groups for analysis.
3.2. Baseline Characteristics Before Matching
The baseline characteristics of patients with OSA and non-OSA patients before PSM, shown in Table 1. Significant differences are evident in age, gender, race, and health conditions, with standardized mean differences (SMDs) indicating the extent of variation. These discrepancies highlight the need for matching to control for confounding factors.
3.3. Baseline Characteristics After Matching
Post-PSM shows the adjusted baseline characteristics, where SMD values are notably reduced, demonstrating that the groups are now balanced in terms of demographics and health factors. This balancing ensures that any differences in psychiatric disorder risk are more attributable to OSA rather than baseline disparities.
3.4. Cumulative Probability and HRs
The cumulative probability and HRs for the occurrence of psychiatric disorders in OSA and non-OSA patients over 1, 3, and 8 years were summarized in Table 2. The higher HRs in the OSA group suggest an increased risk for psychiatric conditions, supporting a potential association between OSA and mental health risks.
3.5. Risk of Psychiatric Disorders Between OSA and Non-OSA Patients
The comparative data on the risk of various psychiatric disorders, such as depression and anxiety, between OSA and non-OSA patients shown in Figure 2. Figure 2A–E shows a significantly higher incidence of psychiatric disorders in OSA patients, especially on depressive disorders and anxiety-related diseases.
3.6. Subgroup Analysis by Demographic Factors
The subgroup analysis of psychiatric disorder risks by age, sex, race, and BMI shown in Figure 3. This stratified analysis reveals that certain subgroups, such as younger patients or those with higher BMIs, have elevated risks, aiding in identifying high-risk populations for targeted interventions.
3.7. Composite Psychiatric Disorders
OSA patients showed a 1-year cumulative probability of 12.7%, rising to 45.0% at 8 years. In comparison, the non-OSA cohort had a cumulative probability of 7.2% at 1 year and 31.3% at 8 years (HR: 1.694; Figures 2A and 3A). When comparing the factors of age, sex, race, and BMI, patients with OSA show a higher risk value than non-OSA patients. All CI that does not cross 1 suggests statistical significance.
3.8. Schizophrenia
In the schizophrenia HR statistics, when comparing the male sex factor, OSA patients show a higher risk value than non-OSA patients. Minimal difference was observed between the cohorts, with an HR of 0.971 (Figures 2B and 3B).
3.9. Bipolar Disorder
In the statistics for bipolar disorder, all factors show differences except for the Asian race factor, which shows no difference. In comparison across these factors, patients with OSA have a higher risk than non-OSA patients. The cumulative incidence in OSA patients reached 1.7% at 8 years (HR: 1.885; Figures 2C and 3C).
3.10. Depressive Disorders
In the HR statistics for depressive disorders, comparisons across factors such as age, sex, race, and BMI show that patients with OSA have a higher risk than non-OSA patients. At 8 years, cumulative incidence was 27.4% in OSA patients versus 15.8% in non-OSA patients (HR: 1.913; Figures 2D and 3D).
3.11. Anxiety Disorders
In the HR statistics for anxiety-related diseases, comparisons across factors such as age, sex, race, and BMI show that patients with OSA have a higher risk than non-OSA patients. Cumulative incidence for OSA patients was 37.4% at 8 years compared to 25.4% in non-OSA patients (HR: 1.663; Figures 2E and 3E).
4. Discussion
The results of this study highlight the substantial psychiatric risks associated with OSA, especially regarding depressive and anxiety disorders. Elevated HRs for depressive disorders (1.913) and anxiety disorders (1.663) are consistent with existing research linking sleep disturbances and intermittent hypoxia to emotional dysregulation and cognitive issues. Intermittent hypoxia was found to increase anxiety and depressive-like behaviors in a pulmonary fibrosis model, indicating that oxygen deprivation could intensify emotional dysregulation [14].
The mechanisms through which OSA contributes to psychiatric disorders are likely multifaceted, involving neuroinflammatory responses and oxidative stress induced by intermittent hypoxia. This hypoxia, combined with sleep fragmentation, disrupts the normal sleep architecture, impairing cognitive processes and heightening vulnerability to mood disorders. Our result was similar with one study showed that approximately 65% of OSA patients have a psychiatric comorbidity, with depressive disorders being the most common (31.5%) [15].
Subgroup analyses revealed that younger OSA patients and those with higher BMIs had an elevated risk of depressive and anxiety disorders, suggesting demographic-specific vulnerabilities. These findings may inform targeted psychiatric screenings in high-risk subpopulations, improving early detection and management. Our findings also support integrative care models, where sleep specialists collaborate with psychiatrists. Prior research shows that continuous positive airway pressure (CPAP) therapy reduces depressive and anxiety symptoms in OSA patients [16]. The present study results indicated that while OSA patients had a slightly higher risk of schizophrenia compared to non-OSA patients, the difference between the two groups was minimal. Specifically, the HR for OSA patients relative to non-OSA patients was 0.971, indicating a negligible increase in risk. This finding aligns with other study showing that while OSA is associated with various psychiatric disorders, the additional risk specifically for schizophrenia in male patients with OSA is not substantially elevated [17]. This minor increase in HR suggests that, although there is a risk association, it may not be clinically significant in this cohort.
OSA prevalence is elevated among individuals with bipolar disorder, ranging from 15% to 30%, likely due to sleep regulation disturbances intrinsic to bipolar disorder [18]. The statistical analyses revealed that differences exist across multiple factors, with the exception of the Asian race factor, which showed no significant difference in bipolar disorder risk. When comparing the risk between patients with OSA and those without, the study found that OSA patients had a higher risk of developing bipolar disorder over time. The cumulative incidence for bipolar disorder in OSA patients reached 1.7% after 8 years, with a HR of 1.885, indicating a substantially increased risk relative to non-OSA patients. This aligns with findings that suggest a strong association between OSA and increased vulnerability to psychiatric disorders, including bipolar disorder, particularly over extended observation periods [19]. This study confirms that patients with OSA have a significantly elevated risk of developing depression compared to individuals without OSA, even after adjusting for factors like age, sex, race, and BMI. Over an 8-year period, the cumulative incidence of depressive disorders in OSA patients reached 27.4%, contrasted with 15.8% in non-OSA individuals, with a HR of 1.913, indicating a markedly increased likelihood of depression in the OSA group. One analysis reported an even higher HR of 2.18 (95% CI = 1.55–3.08), further confirming the significant association between OSA and depressive disorders [20]. Additional studies have similarly highlighted a correlation between sleep apnea and heightened vulnerability to depressive symptoms [21–23].
Furthermore, OSA patients also show a significantly higher risk of anxiety disorders than non-OSA individuals. Specifically, the HR for anxiety disorders among OSA patients was 1.663, with a cumulative incidence of 37.4% over 8 years, compared to 25.4% for those without OSA. This finding underscores the greater susceptibility of OSA patients to anxiety-related conditions, which may also be influenced by age, sex, and BMI. Evidence from other research supports that CPAP therapy can alleviate symptoms of both depression and anxiety in OSA patients, suggesting that proper management of sleep apnea may lead to improved psychiatric outcomes [24].
Despite the advantages of a large dataset and matching methods, the current study has limitations. Intellectual disability was not identifiable in the dataset and could not be excluded, which may represent a potential confounder [25]. Notably, it relies on diagnostic codes, which can result in the underreporting or misclassification of psychiatric disorders, potentially impacting data accuracy. Future research should adopt a longitudinal approach to investigate the mechanistic pathways that link OSA with mental health disorders, particularly focusing on neurocognitive and inflammatory biomarkers. Although many studies have identified associations between OSA and various mental illnesses, persistent findings suggest a substantial relationship likely influenced by factors such as the ambiguous etiology of psychiatric conditions, suboptimal treatments, and the rising prevalence of OSA. Additionally, this study has not explored changes in mental health outcomes in OSA patients following treatment interventions, such as CPAP, oral appliances, or surgical methods, due to incomplete data on treatment efficacy. Future studies should address these gaps to clarify the effects of therapeutic strategies on mental health in OSA patients.
5. Conclusion
This study underscores the significant psychiatric risks associated with OSA, revealing an increased likelihood of developing mental health disorders such as depression, anxiety, bipolar disorder, and schizophrenia. Analysis of an extensive patient dataset using PSM indicates that OSA patients have a higher cumulative probability of psychiatric disorders over time, especially in younger individuals or those with higher BMIs. It is suggested that addressing OSA may be crucial for preventing or mitigating psychiatric conditions.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Shoib S. Ullah I. Nagendrappa S. Prevalence of Mental Illness in Patients With Obstructive Sleep Apnea — A Cross-Sectional Study from Kashmir, India Annals of Medicine & Surgery 202280 p. 10405610.1016/j.amsu.2022.104056 PMC 927801935846865 · doi ↗ · pubmed ↗
- 2Mi C. Hou A. Liu Y. Qi X. Teng J. Assessing the Causal Relationship Between Psychiatric Disorders and Obstructive Sleep Apnea: A Bidirectional Mendelian Randomization Frontiers in Psychiatry 20241510.3389/fpsyt.2024.13512161351226 PMC 1090326138426001 · doi ↗ · pubmed ↗
- 3Gupta M. A. Simpson F. C. Obstructive Sleep Apnea and Psychiatric Disorders: A Systematic Review Journal of Clinical Sleep Medicine 201511216517510.5664/jcsm.44662-s 2.0-8492313204225406268 PMC 4298774 · doi ↗ · pubmed ↗
- 4Noland M. D. W. Paolillo E. W. Noda A. Impact of PTSD and Obstructive Sleep Apnea on Cognition in Older Adult Veterans Journal of Geriatric Psychiatry and Neurology 202336538639610.1177/0891988722114913236592096 · doi ↗ · pubmed ↗
- 5Bucks R. S. Olaithe M. Eastwood P. Neurocognitive Function in Obstructive Sleep Apnea: A Meta-Review Respirology 2013181617010.1111/j.1440-1843.2012.02255.x 2-s 2.0-8486831687222913604 · doi ↗ · pubmed ↗
- 6Trosman I. Trosoman S. J. Cognitive and Behavoiral Consequences of Sleep Disorder Breathing in Children Medical Sciences 2017530402919437510.3390/medsci 5040030 PMC 5753659 · doi ↗ · pubmed ↗
- 7Ferini-Strambi L. Baietto C. Di Gioia M. R. Cognitive Dysfunction in Patients With Obstructive Sleep Apnea (OSA): Partial Reversibility after Continuous Positive Airway Pressure (CPAP) Brain Research Bulletin 2003611879210.1016/S 0361-9230(03)00068-62-s 2.0-003821019212788211 · doi ↗ · pubmed ↗
- 8Lavalle S. Masiello E. Iannella G. Unraveling the Complexities of Oxidative Stress and Inflammation Biomarkers in Obstructive Sleep Apnea Syndrome: A Comprehensive Review Life 202414442544510.3390/life 1404042538672697 PMC 11050908 · doi ↗ · pubmed ↗
