Skip to main content

Sleep disturbances in obsessive-compulsive disorder: influence of depression symptoms and trait anxiety



Sleep disturbances have been reported in obsessive-compulsive disorder (OCD) patients, with heterogeneous results. The aim of our study was to assess sleep function in OCD and to investigate the relationship between sleep and the severity of obsessive-compulsive (OC) symptoms, depressive symptoms and trait anxiety.


Sleep quality was measured in 61 OCD patients and 100 healthy controls (HCs) using the Pittsburgh Sleep Quality Index (PSQI). Multiple linear regression was conducted to explore the association between sleep and psychopathological measures; a mediation analysis was also performed.


OCD patients showed poor sleep quality and more sleep disturbances compared to HCs. The severity of depression, trait anxiety and OC symptomatology were correlated with poor sleep quality. Multiple linear regression analyses controlling for potential confounders revealed that the severity of depression and trait anxiety were independently related to poor sleep quality in OCD. A mediation analysis showed that both the severity of trait anxiety and depression mediate the relationship between the severity of OC symptoms and poor sleep quality among patients with OCD.


Our findings support the existence of sleep disturbances in OCD. Trait anxiety and depression play a key role in sleep quality among OCD patients.

Peer Review reports


Sleep is crucial to brain function and important for maintaining cognitive and emotional processes [1]. Sleep disturbances have been reported in mood, eating, anxiety, personality, autism and schizophrenia disorders [2]. In major depressive disorder (MDD), insomnia or hypersomnia are considered one of the DSM-5 diagnostic criteria, and specifically, some sleep patterns measured by polysomnography (PSG), such as a decrease in slow-wave sleep (SWS) production and disturbed rapid eye movement (REM) sleep regulation, have been proposed as biological markers for depression [3].

Sleep disturbances are also prevalent in obsessive-compulsive disorder (OCD), as up to 48% of patients report these disturbances [4]. Previous research in OCD suggests that there is an association between specific sleep behaviours and clinical characteristics such as the severity of obsessive-compulsive (OC) symptoms, treatment resistance and age of onset of the disorder [5, 6]. Similarly, correlations between sleep disturbances, OC symptoms and response inhibition have been observed in subclinical samples [7, 8]. On the other hand, some studies argue that sleep disturbances in OCD could be attributed to the presence of comorbid depression [9,10,11].

Sleep disturbances in OCD have been studied with different measures, including self-report, observer report and PSG. Findings in this area could be classified into different groups: sleep quantity and quality, sleep disorders and sleep architecture.

The most reported disturbances in OCD compared to healthy controls (HCs) are the reduction in sleep duration and efficiency and increased nighttime awakenings [12,13,14]. Moreover, poorer sleep quality has been associated with the severity of OCD symptoms [15]. In contrast, another study that compared sleep function among four groups of subjects: OCD with and without comorbid depression, depressed patients and HCs [9] reported no differences in sleep function between OCD patients without comorbid depression and HCs, while OCD patients with depression and depressed patients exhibited very similar sleep patterns. These findings suggest the influence of comorbid depression on sleep quantity and quality. In line with these observations, two recent meta-analyses [10, 11] revealed that comorbid depression is a key factor in the existence of sleep disturbances in OCD, except for shortened sleep duration and longer sleep latency, which seem to be independent of comorbid depression.

Delayed sleep phase disorder (DSPD), which is considered a circadian sleep disorder (DSM-5), is a persistent inability to fall asleep coupled with extreme difficulty awakening in the morning. Several studies reported a higher prevalence of DSPD in OCD (17.6–42%) compared to the general population (0.2–10%) [5, 6, 16]. OCD patients with DSPD had more severe OC symptomatology and younger age at onset than patients without DSPD [5, 6]. The influence of depression on sleep circadian rhythm is unclear. Bobdey et al. [9] described DSPD in a subgroup of OCD patients without depression, supporting DSPD as a characteristic sleep behaviour in OCD; however, a recent meta-analysis reported a significantly higher prevalence of DSPD in OCD compared to HCs, but this effect became nonsignificant after controlling for comorbid depression [11].

In relation to sleep architecture in OCD, several studies identified alterations in REM and no-REM phase [12, 13, 17]. However, the results of a recent meta-analysis only revealed significant findings in a no-REM phase, describing a statistically significant reduction in the time spent in stage-2 sleep in OCD compared to HCs [10].

As it is described above, several studies have reported the influence of intensity of depression and OC symptomatology on the sleep function of OCD patients. However, up to date, no association between anxiety and sleep behaviour in these patients has been reported. Anxious traits have been related to sleep disruptions in the general population and in individuals with anxiety disorders such as panic disorder and posttraumatic stress disorder [18]. Alterations in sleep architecture are associated with both state anxiety (defined as a temporary reaction to adverse events) and trait anxiety (a more stable personality feature defined as a constant individual difference related to the tendency to respond with concerns, troubles and worries to various situations) [19] in patients with sleep disorders. In particular, trait anxiety was associated with poor sleep quality in a non-clinical sample [20].

The aim of our study was to assess the differences in sleep pattern and quality in patients with OCD compared to HCs and to determine the influence of the severity of depressive, trait anxiety and OC symptoms on sleep function in the patient group. Our hypothesis was that OCD patients would show worse sleep function (poor sleep quality and DSPD) than controls. We also aimed to determine whether the severity of psychopathology (depression and trait anxiety) could mediate the relationship between the intensity of OC symptoms and sleep disturbances.



The sample comprised 161 participants: 61 outpatients with OCD and 100 HCs. All patients were recruited from consecutive admissions to the Obsessive-Compulsive Disorders Unit of Bellvitge University Hospital (L’Hospitalet de Llobregat; Barcelona). HCs were recruited from the same geographic area through advertisements. The exclusion criteria were as follows: a history of substance abuse and/or dependence (except nicotine); other DSM-IV-TR Axis I and II comorbid psychiatric disorders except for MDD; neurological disease (except tics); having suffered a head injury with loss of consciousness; severe medical conditions; mental retardation; a history of bipolar disorder; a history of psychotic episodes; and having undergone electroconvulsive therapy and/or neurosurgery.

Written informed consent was obtained from each participant after a complete description of the study, which was approved by the Comitè Ètic d’Investigació Clínica (CEIC) de l’Hospital Universitari de Bellvitge. The authors assert that all procedures described herein comply with the Helsinki Declaration of 1975 (revised in 2013).

Clinical assessment

Patients were diagnosed by an experienced psychiatrist using the Mini-International Neuropsychiatric Interview (MINI) [21] and met the DSM-IV-TR diagnosis criteria for OCD. Twenty-six OCD patients (42.6%) showed depression comorbidity.

The current or past history of psychiatric or neurological disorders, treatment with psychotropic medication, substance dependence or abuse, and head injury were ruled out in HCs by a semi-structured interview conducted by an experienced psychiatrist. All HCs also scored below 7 on the 28-item Spanish adaptation of the Goldberg General Health Questionnaire (GHQ-28) [22].

Patients received psychopharmacological treatment at the time of the sleep assessment following their clinical needs (98.4% of the sample). The World Health Organization Anatomical Therapeutic Chemical Classification System [23] was used to recode the defined daily dose (DDD) of antidepressant medication. DDD can be defined as the assumed average maintenance dose per day for drug use for its main indication in adults. Antipsychotic and benzodiazepine treatments were also registered, and doses were recorded in chlorpromazine equivalents for antipsychotic drugs [24] and in diazepam equivalents for benzodiazepines (equivalent doses obtained from the Ashton Manual, available at

Sociodemographic variables such as sex, age and educational level were collected for all participants, and age of onset of OCD was collected in the patient group.

Symptom measures

Depression was measured with the 17-item Hamilton Depression Rating Scale (HDRS) [25], and trait-related anxiety was measured with the Trait Subscale of the State-Trait Anxiety Inventory (STAI) [26], in all the sample. The internal consistency of the HDRS in our sample was good (Cronbach’s alpha = 0.81). Both STAI-state and STAI-trait subscales showed excellent internal consistency (Cronbach’s alpha was 0.96 and 0.95, respectively). In the patient group, OCD severity was measured using the clinical version of the Yale-Brown Obsessive-Compulsive Scale (Y-BOCS) [27]. The internal consistency of the Y-BOCS was excellent (Cronbach’s alpha = 0.91).

Sleep function measures

Sleep function was assessed using the Pittsburgh Sleep Quality Index (PSQI) [28]. The PSQI is a retrospective self-report questionnaire that evaluates sleep function in the previous month and includes twenty-four self-related items, although only nineteen were used to calculate sleep quality that resulted in seven components (subjective sleep quality, sleep latency, sleep duration, habitual sleep efficiency, sleep disturbances, use of sleeping medication and daytime dysfunction). Each of them scored equally on a 0–3 score (the higher the score, the worse sleep quality). These components are as follows. A global PSQI score > 5 suggests poor sleep quality. In addition, specific items that would be useful to evaluate early insomnia and sleep phase shifting (SPS) were assessed: 1) the average amount of time a subject spends between going to bed and falling asleep; 2) usual bedtime; and 3) usual getting-up time. SPS was measured with the same procedure as described by Bobdey et al. [9]: the midpoint between bedtime and getting-up time for each subject was obtained (for example, if an individual went to bed at 23:00 h and got up at 06:00, their midsleep point would be 02:30). Mid-sleep is a chronotype indicator, with people from the morning type reporting earlier mid-sleep times when compared to people from the evening type, who report later mid-sleep times.

The internal consistency of the PSQI in our sample was good (Cronbach’s alpha = 0.79).

Statistical analysis

Data processing was performed using SPSS 21.0 (SPSS, IBM, USA). Differences in demographic, clinical and sleep variables between OCD patients and HCs were assessed by comparing the means using Student’s t test for continuous variables, the X2 test for a linear trend for ordinal variables and the X2 test for categorical variables. As sleep measures were not distributed normally, we used the Spearman correlation analysis to explore the relationship between continuous clinical variables and sleep function. Consequently, the global PSQI score was log transformed (ln) with the following formula: lnPSQI = ln (PSQI+ 1). A multiple linear regression was performed to explore the relationship between OCD and sleep function (lnPSQI) after adjusting for clinical variables. The transformed global PSQI score was considered the dependent variable. Other covariates (sex, age, the severity of depression, trait anxiety, obsessive-compulsive symptomatology, benzodiazepine treatment doses and comorbidity with MDD) were included as independent variables.

The Process macro for SPSS [29] was used to conduct a mediation analysis. This macro allows the inclusion of multiple mediators and covariates. In this mediation analysis, we decided to include the Y-BOCS score as the main independent variable because the severity of OCD might affect sleep function and can also be associated with other psychopathology variables (depressive symptoms and trait anxiety) that can affect sleep function as well. The global PSQI score (ln) was used as the dependent variable. Two potential mediators were considered: severity of depression (HDRS) and trait anxiety. The significance of the indirect effects in this model was tested by bootstrapping. In brief, bootstrapping is a nonparametric method based on resampling with replacement, which is performed many times. It allows the generation of the indirect effect and a confidence interval (CI) of the bootstrapped distribution. If zero is not in the confidence interval, then the researcher can be confident that the indirect effect is different from zero and mediation exists.


Demographic and clinical characteristics

Table 1 describes the demographic and clinical characteristics of the sample. As expected, OCD patients reported more psychopathology symptoms than HCs. OCD patients with depression reported more depressive symptoms but no significant differences in trait anxiety or OC symptoms when compared with OCD patients without depression. No significant differences in antidepressant or antipsychotic treatment were found in patients with or without MDD (Table 2), although the latter group received more benzodiazepines.

Table 1 Demographic and clinical characteristics of the sample
Table 2 Clinical variables and psychopharmacological treatment in OCD patients, with or without MDD comorbidity

Sleep quality

OCD patients reported poorer sleep quality than HCs (Table 3 and Table 4), with significant differences in sleep latency, sleep disturbance, use of sleeping medication and daytime dysfunction. OCD patients reported more time between going to bed and falling asleep as well as later times for getting up than HCs (Table 4). Regarding SPS, OCD patients showed significantly later mid-sleep points compared to HCs. No statistically differences in sleep quality measures and SPS were observed between OCD patients with and without MDD comorbidity, an additional table file shows this in more detail (Supplementary Table 1).

Table 3 Pittsburgh Sleep Quality Index: scores and components’ descriptive analyses
Table 4 Group mean scores on sleep schedule and global for OCD and HC

Correlation analyses

In OCD patients, higher scores on the PSQI, which reflect worse sleep quality, were positively associated with the severity of depression, trait anxiety and OC symptomatology (Table 5). No associations were found between the mid-sleep point, age at assessment and age of onset of OCD and sleep function and any clinical variables.

Table 5 Spearman’s correlations between clinical variables and sleep function in OCD patients and HCs

In HCs, poor sleep quality was positively associated with the severity of depression symptoms and trait anxiety and earlier mid-sleep points (morning chronotype) (Table 5).

Predictors and mediating factors influencing sleep quality

The results of the multiple regression model for the global PSQI score are shown in Table 6. After adjusting for clinical variables (sex, age, the severity of depression, trait anxiety, obsessive-compulsive symptomatology, benzodiazepine treatment doses and comorbidity with MDD), only higher levels of depression and trait anxiety in OCD patients were associated with worse sleep quality.

Table 6 Results of the multiple linear regression analyses in relation to sleep function (PSQI scores)

In the mediation analyses (Fig. 1), the severity of depression and trait anxiety were analysed as two potential mediators in the relationship between the intensity of OC symptomatology and sleep function. In the unadjusted model (a), the intensity of OC symptoms was positively associated with PSQI scores. This effect was fully mediated by both the severity of trait anxiety and depression (b); similarly, that the relationship between the intensity of OC symptomatology and sleep function was no longer significant when these two mediators were included in the equation. This mediation analysis was adjusted for the following clinical variables: age (β = − 0.003, SE = 0.007, P = 0.60), sex (β = − 0.11, SE = 0.15, P = 0.47), and benzodiazepine doses (β = 0.005, SE = 0.01, P = 0.56). The bootstrapping results for indirect effects were significant for depressive symptoms (95% CI: 0.005 to 0.045) and trait anxiety (95% CI: 0.003 to 0.042).

Fig. 1

Results of the mediation analysis exploring the relationship between severity of OC symptoms (Y-BOCS) and sleep function (lnPSQI) in subjects with OCD. Log transformed (ln) of sleep function was used in the mediation analysis. (a) Unadjusted model. The mediated effect (b) was adjusted for age, sex and benzodiazepines doses. Abbreviations: OC= Obsessive Compulsive; Y-BOCS= Yale-Brown Obsessive Compulsive Scale; PSQI= Pittsburgh Sleep Quality Index; HDRS= Hamilton Depression Rating Scale; STAI-T= State-Trait Anxiety Inventory; lnPSQI=Log-transformed (ln) Pittsburgh Sleep Quality Index; β= unstandardized regression coefficient; SE = standard error


Patients with OCD reported poorer sleep quality and more sleep disturbances, including a delayed mid-sleep point and a longer time between going to bed and falling asleep, than HCs. Furthermore, the severity of depression and trait anxiety was associated with poorer sleep quality and mediated the relationship between the severity of OC symptoms and poorer sleep quality. Although previous studies had reported the contribution of depressive symptoms to poor sleep quality in OCD, our study is the first to highlight the additional contribution of trait anxiety on sleep quality in OCD patients.

The findings in longer sleep latency, measured as a component of PSQI and registering the time taken to fall asleep, in OCD patients replicate previous studies using self-report measures [9], as well as a meta-analysis of three studies conducted with PSG [10]. On the other hand, the lack of differences in sleep duration and sleep efficiency between both groups appears to contradict other reports with positive results [12,13,14], although in these studies, variations in sleep duration and sleep efficiency were determined using PSG. Therefore, discrepancies with these findings might be attributable to the use of different instruments to evaluate sleep function, as the PSQI does not correlate well with PSG [28], which is considered the gold standard objective measure of sleep. In addition, a subgroup of OCD patients with comorbid depression reported shorter sleep duration (as measured with the PSQI) than patients with only OCD, thus supporting the influence of depression on sleep duration [9].

The finding that OCD patients have poorer sleep quality than HCs is partially consistent with the results of previous studies that used the same instrument (PSQI) [9, 30]. In contrast, comorbid MDD did not affect poor sleep quality in our study, whereas Bobdey et al. [9] found greater sleep disruption (according to the PSQI) only in OCD patients with comorbid depression compared to patients with only OCD, suggesting that depression substantially influences sleep behaviour.

Multiple systems associated with circadian rhythms are also related to psychopathology, including functions on monoaminergic neurotransmitters, the immune system, and the hypothalamic-pituitary-adrenal axis [31]. Despite the paucity of studies and the inconsistent findings, a link between circadian rhythm sleep disorder (CRSD) and OCD has been described. In this sense, CRSD in OCD is associated with poor treatment response, and some preliminary evidence implicates decreased light exposure and diurnal symptom variability in OCD patients [32]. Our results showed a statistically significant delayed mid-sleep-point and a delay in the getting-up time in the patient group compared to HCs, but there were no differences in the sleep bedtime between both groups. Taking into account that the mid-sleep point is an indirect measure of DSPD, our findings replicate the results of previous studies conducted among patients with OCD [5, 6, 9, 30] and suggest that circadian rhythms may be disrupted in OCD.

In univariate analyses, the severity of trait anxiety and depressive and OC symptoms were positively associated between them and with poor sleep quality. Multivariate analyses suggest that trait anxiety and depressive symptoms (but not OC symptoms) are associated with sleep quality, although the mediation analysis reveals that both psychopathological measures mediate the relationship between OC symptoms and sleep quality. Correlations between trait anxiety and sleep quality have not been previously described in OCD, although associations among depressive symptoms, comorbid MDD and sleep function have been reported by several studies [9,10,11, 13]. Associations between the severity of OC symptoms and poor sleep quality in our sample are consistent with the findings of previous studies conducted in OCD patients [5, 6]. Our study adds new information regarding the mediating role of trait anxiety and depressive symptoms in this relationship.

Previous studies suggest that several clinical characteristics are associated with CRSD in patients with OCD, including a younger age, early age of onset of OCD, male sex and greater severity of OC symptoms [5, 6]. However, in our sample, we did not find associations between mid-sleep-point (and indirect measure of DSPS) and age, age of onset of OCD, sex or the severity of OC symptoms.

A similar pattern of correlations between clinical variables and sleep quality was found in HCs, with positive associations between trait anxiety and depressive symptoms and poor sleep quality, suggesting a diagnosis-independent relationship. Our findings are consistent with previous studies reporting associations between depressive and anxiety symptoms and sleep disturbances in college student samples [33] . A systematic review of included nine studies conducted in the general population (excluding clinical samples and cohorts at high risk of suffering from sleep disturbances, anxiety and depression) showed a bidirectional relationship between depression/anxiety and several sleep disturbances, suggesting that alterations in sleep behaviour predicts depression/anxiety and vice versa [34]. Strikingly, a delayed mid-sleep point in HCs was negatively correlated with higher global PSQI scores, reflecting poor sleep quality. These findings suggest an association between an indirect measure of CRSD and general sleep quality in HCs. Future studies with larger samples are needed before drawing conclusions regarding this relationship.

Recent findings of neuroimaging studies with functional magnetic resonance imaging (fMRI) reported associations between decreased connectivity of the left amygdala and the bilateral region of the anterior cingulate cortex and increased risk of developing and anxiety disorder in patients with primary insomnia [35]. Regarding depression, increased functional connectivity between different brain areas was associated with both poor sleep quality and depressive problems score [36]. Therefore, novel results in the field of neuroimaging explain the neural mechanism underlying the clinically established associations between sleep function, depression and anxiety. Similarly, findings from a genetic study evaluating whether the polygenic score (PGS) for neuroticism was related to poor sleep quality showed that this effect was mediated by anxiety, depressive symptoms and neuroticism [37]. These results support prior clinical and neuroimaging data and reinforce the biological substrate that might play a role in the relationship between anxiety, depression and sleep behaviour. Results of a National Comorbidity Survey Replication (NCS-R) showed that 90% of patients diagnosed with OCD met the diagnostic criteria for other lifetime disorders in DSM-IV. Amongst these disorders, the most common were anxiety disorders (75.8%), followed by mood disorders (63.3%), impulse-control disorders (55.9%) and substance use disorders (38.6%) [38]. The substantial comorbidity of OCD with anxiety and affective disorders, and the neurobiological relationship established between anxiety, depression and sleep function, suggest that sleep disturbances in OCD could be partly related to the comorbidity with anxiety and depressive disorders. In this regard, a population-based study evaluated the prevalence of insomnia in OCD and determined a significant reduction liability to insomnia when OCD patients with comorbid depression and anxiety disorders were excluded from the analysis [39], suggesting that depressive and anxiety disorders contribute to sleep disturbances in patients with OCD. In line with the previous studies, the fact that the association between poor sleep quality and OC symptoms in the univariate analyses in our sample lost its significance when adjusting for depressive symptoms and trait anxiety suggests that the association with sleep is driven by depressive or anxiety symptoms but not by the severity of OC symptoms.

The limitations of the current study include a limited sample size but are nonetheless larger than previous research using the PSQI to assess sleep function in OCD. We did not include patients with other anxiety or depressive disorders apart from OCD with and without MDD as a clinical comparison group in our study. Its inclusion would have allowed the comparison of sleep patterns between patients suffering from different anxiety and depressive disorders. Our sample included OCD patients recruited from a tertiary care facility, thereby limiting the generalization of these results to community settings. A high percentage of patients (98.4%) was receiving psychopharmacological treatment at the time of assessment, which could have a negative effect on sleep quality, as previous studies have pointed out [4]. In this regard, some antidepressants commonly-prescribed in our sample (Selective Serotonin Reuptake Inhibitors (SSRI) and Tricyclic Antidepressants (TCA)) are sleep-disturbing early [40] and produce alterations in the REM-phase [41]. Although the PSQI is a validated instrument to assess sleep function [28], it is a self-report tool and therefore a nonobjective measure of sleep behaviour. This condition could introduce the possibility of a recall bias. The use of mid-sleep points as an indirect measure of DSPS might be improved by incorporating more extensive and objective measures to assess circadian rhythm, which allows advancement in the study of the relationship between OCD and CRSD. Recommendations to assess CRSD include up to two weeks of actigraphy recording, measurements of endogenous melatonin onset and questionnaires of chronotype [42].


On the basis of our findings and taking into account the limitations of our study, we can conclude that compared to HCs, patients with OCD show different sleep patterns characterized by poor sleep quality and more sleep disturbances (delayed mid-sleep-point and higher length of time between going to bed and falling asleep). Regarding the influence of clinical variables in sleep function in OCD, our study suggests that the severity of trait anxiety and depression symptoms mediate the negative effect of the intensity of OC symptomatology on sleep quality, indicating that trait anxiety needs to be considered a key element in sleep function, similar to depression. These results need to be confirmed by broader studies with more objective sleep measures to advance the knowledge of sleep behaviour in OCD and to establish better prevention and intervention strategies.



Obsessive-Compulsive Disorder




Healthy Controls


Pittsburg Sleep Quality Index


Major Depressive Disorder




Slow-Wave Sleep


Rapid Eye Movement


Delayed Sleep Phase Disorder


Comitè Ètic d’Investigació Clínica


Mini-International Neuropsychiatric Interview


General Health Questionnaire


Defined Daily Dose


Hamilton Depression Rating Scale


State-Trait Anxiety Inventory


Yale-Brown Obsessive Compulsive Scale


Sleep Phase Shifting


Confidence Interval


Log transformed


Circadian Rhythm Sleep Disorder


Functional Magnetic Resonance Imaging


Polygenic Score


National Comorbidity Survey Replication (RNS-R)


Selective Serotonin Reuptake Inhibitors


Tricyclic Antidepressants


  1. 1.

    Czeisler CA. Impact of sleepiness and sleep deficiency on public health - utility of biomarkers. J Clin Sleep Med. 2011;7(Suppl 5):S6–8.

    Article  PubMed  PubMed Central  Google Scholar 

  2. 2.

    Baglioni C, Nanovska S, Regen W, Spiegelhalder K, Feige B, Nissen C, et al. Sleep and mental disorders: a meta-analysis of polysomnographic research. Psychol Bull. 2016;142(9):969–90.

    Article  PubMed  PubMed Central  Google Scholar 

  3. 3.

    Palagini L, Baglioni C, Ciapparelli A, Gemignani A, Riemann D. REM sleep dysregulation in depression: state of the art. Sleep Med Rev. 2013;17(5):377–90.

    Article  PubMed  Google Scholar 

  4. 4.

    Paterson JL, Reynolds AC, Ferguson SA, Dawson D. Sleep and obsessive-compulsive disorder (OCD). Sleep Med Rev. 2013;17(6):465–74.

    Article  PubMed  Google Scholar 

  5. 5.

    Mukhopadhyay S, Fineberg NA, Drummond LM, Turner J, White S, Wulff K, et al. Delayed sleep phase in severe obsessive-compulsive disorder: a systematic case-report survey. CNS Spectr. 2008;13(5):406–13.

    Article  PubMed  Google Scholar 

  6. 6.

    Turner J, Drummond LM, Mukhopadhyay S, Ghodse H, White S, Pillay A, et al. A prospective study of delayed sleep phase syndrome in patients with severe resistant obsessive-compulsive disorder. World Psychiatry. 2007;6(2):108–11.

    PubMed  PubMed Central  Google Scholar 

  7. 7.

    Timpano KR, Carbonella JY, Bernert RA, Schmidt NB. Obsessive compulsive symptoms and sleep difficulties: exploring the unique relationship between insomnia and obsessions. J Psychiatr Res. 2014;57:101–7.

    Article  PubMed  Google Scholar 

  8. 8.

    Nota JA, Schubert JR, Coles ME. Sleep disruption is related to poor response inhibition in individuals with obsessive-compulsive and repetitive negative thought symptoms. J Behav Ther Exp Psychiatry. 2016;50:23–32.

    Article  PubMed  Google Scholar 

  9. 9.

    Bobdey M, Fineberg N, Gale TM, Patel A, Davies HA. Reported sleep patterns in obsessive compulsive disorder (OCD). Int J Psychiatry Clin Pract. 2002;6(1):15–21.

    CAS  Article  PubMed  Google Scholar 

  10. 10.

    Díaz-Román A, Perestelo-Pérez L, Buela-Casal G. Sleep in obsessive-compulsive disorder: a systematic review and meta-analysis. Sleep Med. 2015;16(9):1049–55.

    Article  PubMed  Google Scholar 

  11. 11.

    Nota JA, Sharkey KM, Coles ME. Sleep, arousal, and circadian rhythms in adults with obsessive-compulsive disorder: a meta-analysis. Neurosci Biobehav Rev. 2015;51:100–7.

    Article  PubMed  Google Scholar 

  12. 12.

    Insel TR, Gillin JC, Moore A, Mendelson WB, Loewenstein RJ, Murphy DL. The sleep of patients with obsessive-compulsive disorder. Arch Gen Psychiatry. 1982;39(12):1372–7.

    CAS  Article  PubMed  Google Scholar 

  13. 13.

    Voderholzer U, Riemann D, Huwig-Poppe C, Kuelz AK, Kordon A, Bruestle K, et al. Sleep in obsessive compulsive disorder: Polysomnographic studies under baseline conditions and after experimentally induced serotonin deficiency. Eur Arch Psychiatry Clin Neurosci. 2007;257(3):173–82.

    Article  PubMed  Google Scholar 

  14. 14.

    Hohagen F, Lis S, Krieger S, Winkelmann G, Riemann D, Fritsch-Montero R, et al. Sleep EEG of patients with obsessive-compulsive disorder. Eur Arch Psychiatry Clin Neurosci. 1994;243(5):273–8.

    CAS  Article  PubMed  Google Scholar 

  15. 15.

    Robinson D, Walsleben J, Pollack S, Lerner G. Nocturnal polysomnography in obsessive-compulsive disorder. Psychiatry Res. 1998;80(3):257–63.

    CAS  Article  PubMed  Google Scholar 

  16. 16.

    Lack LC, Wright HR, Bootzin RR. Delayed sleep-phase disorder. Sleep Med Clin. 2009;4:229–39.

    Article  Google Scholar 

  17. 17.

    Kluge M, Schüssler P, Dresler M, Yassouridis A, Steiger A. Sleep onset REM periods in obsessive compulsive disorder. Psychiatry Res. 2007;152:29–35.

    Article  PubMed  Google Scholar 

  18. 18.

    Coles ME, Schubert JR, Nota JA. Sleep, circadian rhythms, and anxious traits. Curr Psychiatry Reports. 2015;17(9):73.

    Article  Google Scholar 

  19. 19.

    Horváth A, Montana X, Lanquart JP, Hubain P, Szűcs A, Linkowski P, et al. Effects of state and trait anxiety on sleep structure: a polysomnographic study in 1083 subjects. Psychiatry Res. 2016;244:279–83.

    Article  PubMed  Google Scholar 

  20. 20.

    Norbury R, Evans S. Time to think: subjective sleep quality, trait anxiety and university start time. Psychiatry Res. 2019;271:214–9.

    Article  PubMed  Google Scholar 

  21. 21.

    Sheehan DV, Lecrubier Y, Sheehan KH, Amorim P, Janavs J, Weiller E, et al. The Mini-International Neuropsychiatric Interview (M.I.N.I.): the development and validation of a structured diagnostic psychiatric interview for DSM-IV and ICD-10. J Clin Psychiatry. 1998;59(Suppl 2):22–33 quiz 34–57.

    PubMed  Google Scholar 

  22. 22.

    Artal J, PÉrez-echeverría MJ. Validity of the scaled version of the general health questionnaire (GHQ-28) in a Spanish population. Psychol Med. 1986;16:135–40.

    Article  PubMed  Google Scholar 

  23. 23.

    Anatomical Therapeutic Chemical (ATC) Classification System. World Health Organization Collaboration Centre for Drug Statistics Methodology. 2015.

    Google Scholar 

  24. 24.

    Gardner DM, Murphy AL, O’Donnell H, Centorrino F, Baldessarini RJ. International consensus study of antipsychotic dosing. Am J Psychiatry. 2010;167:686–93.

    Article  PubMed  Google Scholar 

  25. 25.

    Hamilton M. A rating scale for depression. J Neurol Neurosurg Psychiatry. 1960;23:56–62.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  26. 26.

    Spielberger CD, Gorsuch RL, Lushore E. STAI. Cuestionario de Ansiedad Estado-Rasgo. S A Madrid: Sección Estud TEA Ediciones; 2010.

    Google Scholar 

  27. 27.

    Goodman WK, Price LH, Rasmussen SA, Mazure C, Delgado P, Heninger GR, et al. The Yale-Brown obsessive compulsive scale: II. Validity Arch Gen Psychiatry. 1989;46:1012–6.

    CAS  Article  PubMed  Google Scholar 

  28. 28.

    Buysse DJ, Reynolds CF, Monk TH, Berman SR, Kupfer DJ. The Pittsburgh sleep quality index: a new instrument for psychiatric practice and research. Psychiatry Res. 1989;28:193–213.

    CAS  Article  PubMed  PubMed Central  Google Scholar 

  29. 29.

    Preacher KJ, Hayes AF. Asymptotic and resampling strategies for assessing and comparing indirect effects in multiple mediator models. Behav Res Methods. 2008;40:879–91.

    Article  PubMed  Google Scholar 

  30. 30.

    Donse L, Sack AT, Fitzgerald PB, Arns M. Sleep disturbances in obsessive-compulsive disorder: association with non-response to repetitive transcranial magnetic stimulation (rTMS). J Anxiety Disord. 2017;49:31–9.

    Article  PubMed  Google Scholar 

  31. 31.

    McClung CA. How might circadian rhythms control mood? Let me count the ways. Biol Psychiatry. 2013;74:242–9.

    Article  PubMed  PubMed Central  Google Scholar 

  32. 32.

    Cox RC, Olatunji BO. Circadian rhythms in obsessive-compulsive disorder: recent findings and recommendations for future research. Curr Psychiatry Reports. 2019;21:54.

    Article  Google Scholar 

  33. 33.

    Taylor DJ, Gardner CE, Bramoweth AD, Williams JM, Roane BM, Grieser EA, et al. Insomnia and mental health in college students. Behav Sleep Med. 2011;9:107–16.

    Article  PubMed  Google Scholar 

  34. 34.

    Alvaro PK, Roberts RM, Harris JK. A systematic review assessing Bidirectionality between sleep disturbances, anxiety, and depression. Sleep. 2013;36:1059–68.

    Article  PubMed  PubMed Central  Google Scholar 

  35. 35.

    Pace-Schott EF, Zimmerman JP, Bottary RM, Lee EG, Milad MR, Camprodon JA. Resting state functional connectivity in primary insomnia, generalized anxiety disorder and controls. Psychiatry Res - Neuroimaging. 2017;265:26–34.

    Article  PubMed  Google Scholar 

  36. 36.

    Feng J, Cheng W, Rolls ET, Ruan H. Functional Connectivities in the brain that mediate the association between depressive problems and sleep quality. JAMA Psychiatry. 2018;75:1052–61.

    Article  PubMed  PubMed Central  Google Scholar 

  37. 37.

    Stephan Y, Sutin AR, Luchetti M, Terracciano A. Polygenic score for neuroticism is related to sleep difficulties. Genes, Brain Behav. 2020;19:e12644.

    Article  Google Scholar 

  38. 38.

    Ruscio AM, Stein DJ, Chiu WT, Kessler RC. The epidemiology of obsessive-compulsive disorder in the National Comorbidity Survey Replication. Mol Psychiatry. 2010;15:53–63.

    CAS  Article  PubMed  Google Scholar 

  39. 39.

    Sevilla-Cermeño L, Isomura K, Larsson H, Åkerstedt T, Vilaplana-Pérez A, Lahera G, et al. Insomnia in obsessive-compulsive disorder: a Swedish population-based cohort study. J Affect Disord. 2020;266:413–6.

    Article  PubMed  Google Scholar 

  40. 40.

    Wilson S, Argyropoulos S. Antidepressants and sleep: a qualitative review of the literature. Drugs. 2005;65:927–47.

    CAS  Article  PubMed  Google Scholar 

  41. 41.

    Lee K, Baron K, Soca R, Attarian H. The prevalence and characteristics of REM sleep without atonia (RSWA) in patients taking antidepressants. J Clin Sleep Med. 2016;12:351–5.

  42. 42.

    Zucconi M, Ferri R. Assessment of sleep disorders and diagnostic procedures: 1. Classification of sleep disorders. In: ESRS -Sleep Medicine Textbook. Regensburg: Bonn; 2014. p. 95–109.

Download references


The authors thank all the study participants and the staff from the Department of Psychiatry of Hospital Universitari de Bellvitge who collaborated to obtain the data for this study.

Avalilability of data and materials

The data that support the findings of this study are available on request from the corresponding author. The data are not publicly available due to privacy or ethical restrictions.


This study was supported in part by grants from the Carlos III Health Institute through the Ministry of Science, Innovation and Universities (PI10/01753, PI16/00950, PI18/00856 and PI19/01184), the European Regional Development Fund (ERDF) “A way to build Europe”, CIBERSAM, and the Catalan Agency for the Management of University and Research Grants (AGAUR 2017 SGR 1247). We thank CERCA Programme/Generalitat de Catalunya for institutional support. The funders had no role in the study design, data collection and analysis, decision to publish, or preparation of the manuscript. Eva Real was supported by a Juan Rodés contract (JR14/00038) from the Carlos III Health Institute. Dr. Soriano-Mas was supported by a Miguel Servet contract from the Carlos III Health Institute (CP10/00604). Javier Labad received an Intensification of the Research Activity Grant (SLT006/17/00012) by the Health Department of the Generalitat de Catalunya (SLT006/17/00012) during 2018 and 2019 and from Instituto de Salud Carlos III (INT19/00071) during 2020.

Author information




CS, VS, CM and JMM conceived the hypotheses for the present study. VS, JMM and JL designed the original research protocol. CS, NS-P, ER, PA, SB, SJ-M, CS-M, JMM and VS participated in the recruitment and obtained clinical data. JL, CS and VS performed the statistical analyses. CS wrote the first draft of the manuscript. All authors contributed to the interpretation and discussion of the results and approved the final version of the manuscript.

Authors’ information

Not applicable.

Corresponding authors

Correspondence to José M. Menchón or Virginia Soria.

Ethics declarations

Ethics approval and consent to participate

The study protocol was approved by the Comitè Ètic d’Investigació Clínica (CEIC) de l’Hospital Universitari de Bellvitge. All respondents gave written informed consent before they participated in the study in accordance with the Helsinki Declaration of 1975 (revised in 2013).

Consent for publication

Not applicable.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1 Table S1.

Group mean scores on sleep schedule and global for OCD with and without comorbid MDD.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Segalàs, C., Labad, J., Salvat-Pujol, N. et al. Sleep disturbances in obsessive-compulsive disorder: influence of depression symptoms and trait anxiety. BMC Psychiatry 21, 42 (2021).

Download citation


  • Obsessive-compulsive disorder
  • Sleep disorders
  • Sleep quality
  • Delayed sleep phase disorder
  • Depression
  • Trait anxiety