OCD and Sleep: Why OCD Can Feel Worse at Night

Understanding the Connection Between OCD and Sleep

Going to sleep should be a time when the mind finally gets a chance to slow down. Though for some living with OCD, getting into bed is when the brain works overtime. This means no break from intrusive thoughts, uncertainty, or compulsions. As the mind tries to settle down, nighttime quiet can make OCD feel particularly loud.

In fact, research increasingly suggests that OCD and sleep difficulties are closely connected. People with OCD experience higher rates of insomnia, difficulty falling asleep or staying asleep, shorter sleep duration, and disruptions in the timing of their sleep compared with people without OCD (Nota et al., 2015; Santiago et al., 2025).

Why Can OCD Feel Worse At Night?

Our attention during the day is occupied by work, school, conversations, and many other responsibilities. So when we get into bed and try to settle down for the night, all of those other distractions disappear. This normally becomes a time for introspection, but for someone with OCD, a healthy sense of looking onward does not exist when there is more space for intrusive thoughts that capture attention.

This can include: replaying conversations from the day, questioning their behavior, mentally reviewing memories, checking how they feel about someone or something, and many other compulsions that may feel heightened from the lack of distractions.

Intrusive thoughts are a normal part of the human experience, but when the response to these thoughts becomes so strong that we are constantly checking, analyzing, avoiding, or reassuring, it makes it that much harder for the brain to disengage.

Research has even found that adults with OCD tended to have shorter sleep duration and a higher prevalence of delayed sleep phase disorder compared with control groups. Overall, the researchers concluded that OCD is associated with disruptions in both duration and timing of sleep (Nota et al., 2015).

The Relationship May Go Both Ways

Researchers are still investigating how exactly OCD and sleep influence one another. Though the pattern may look as though OCD directly affects someone's ability to sleep, the relationship may be more complicated.

As we know, OCD symptoms can interfere with sleep (Santiago et al., 2025). Though, it may also be true that sleep disturbance provokes greater OCD symptom severity (Grenno et al., 2026).

In a nationally representative sample of over 2000 adults, people experiencing sleep disturbance reported greater OCD symptom severity. This relationship remained significant even after accounting for depression and other anxiety-related disorders (Cox & Olatunji, 2016). The results from this study suggest that sleep deserves more attention when we talk about OCD.

When Bedtime Becomes Another Place To Seek Certainty

For some people with OCD, goals they need to reach before bedtime may quietly appear. For instance, having to feel certain before falling asleep or having to figure out what a thought means. OCD often responds to these attempts to achieve certainty by flooding the mind and asking for more.

As one question leads to the next, time spent resting is instead consumed with solving questions that may not have definitive answers.

It Is Not About Having a Perfectly Quiet Mind

It can be tempting to approach bedtime with different goals to eliminate intrusive thoughts, but trying to force thoughts away can sometimes be what keeps attention focused on them. For those with OCD, a more helpful goal may instead be to learn to respond differently when those intrusive thoughts appear. 

For instance, instead of telling yourself that you need to figure something out before you can sleep, you should be telling yourself that the issue at hand does not need to be solved right at this moment. 

As previously mentioned, the goal for OCD may be to achieve perfect certainty or have an empty mind, but your own goal should be to stop giving OCD the job of deciding when you are allowed to rest.

What If Sleep Problems Are Becoming Part of Your OCD Cycle?

If OCD is disrupting your sleeping habits and making it difficult to stop engaging in mental or behavioral compulsions at night, it is worth bringing up to a mental health professional.

Sleep difficulties may easily become overlooked when the primary focus is on daytime OCD symptoms. However, recent research suggests that assessing and addressing sleep disturbances may be an important part of comprehensive OCD care (Grenno et al., 2026; Santiago et al., 2025).

You do not have to wait until bedtime to start working on the relationship between OCD and sleep, and not every thought needs to be solved before you shut your eyes.

With appropriate support, it is possible to learn to respond differently to intrusive thoughts, reduce compulsive patterns, and create more space for rest, even when your mind isn't perfectly quiet.

If OCD is interfering with significant amounts of your sleep/rest, it may be worth speaking with a medical health professional who understands OCD and ERP. The OCD & Anxiety Clinic of Ontario provides support for individuals experiencing OCD and anxiety-related concerns.

References

Cox, R. C., & Olatunji, B. O. (2016). Sleep disturbance and obsessive-compulsive symptoms: 

Results from the National Comorbidity Survey Replication. Journal of Psychiatric Research, 75, 41–45. https://doi.org/10.1016/j.jpsychires.2016.01.007

Grenno, G., Alfì, G., Miniati, M., Gambini, M., Coccoglioniti, A., Gugliotta, A. A., Marazziti, 

D., Nobili, L., Gemignani, A., & Palagini, L. (2026). A systematic review on insomnia and circadian rhythms desynchronization in obsessive-compulsive disorder: From childhood to adulthood. Journal of Sleep Research, 35(4), e70322. https://doi.org/10.1111/jsr.70322

Nota, J. A., Sharkey, K. M., & Coles, M. E. (2015). Sleep, arousal, and circadian rhythms in 

adults with obsessive-compulsive disorder: A meta-analysis. Neuroscience & Biobehavioral Reviews, 51, 100–107. https://doi.org/10.1016/j.neubiorev.2015.01.002

Santiago, T., Simbre, I., & DelRosso, L. M. (2025). Sleep disorders in patients with 

obsessive-compulsive disorder: A systematic review of the literature. Journal of Sleep Research, 34(4), e14446. https://doi.org/10.1111/jsr.14446