Reference

Obsessive-compulsive disorder (OCD)

Obsessive-compulsive disorder (OCD) is a condition characterized by intrusive thoughts, images, or urges (obsessions) and repetitive behaviors or mental acts performed to reduce distress (compulsions). These experiences can feel involuntary, intrusive, and difficult to dismiss, often creating cycles of anxiety, doubt, and temporary relief.

OCD is classified as an anxiety-related disorder because the core mechanism involves threat detection, uncertainty intolerance, and attempts to neutralize perceived danger. The condition is defined not simply by unusual thoughts, but by the repetitive loop of obsession, distress, and compulsive response (APA DSM-5-TR; Abramowitz & Jacoby, 2014).

For broader context see
Understanding anxiety,
Anxiety symptoms,
and the organizing framework
Body-first vs mind-first anxiety.

Educational content only. This page does not provide medical advice, diagnosis, or treatment. New, severe, or concerning symptoms should be medically evaluated.

Core features of OCD

OCD involves two interacting components:

  • Obsessions – intrusive thoughts, images, or urges that feel distressing or threatening.
  • Compulsions – behaviors or mental acts performed to reduce anxiety or prevent feared outcomes.

Common obsessions include fears of contamination, harm, mistakes, moral violation, or uncertainty. Common compulsions include checking, washing, counting, repeating phrases, mental reviewing, reassurance seeking, and avoidance.

Many of these patterns connect with broader anxiety mechanisms described on pages such as
Intrusive thoughts and anxiety,
Certainty seeking,
Reassurance seeking,
and Avoidance and anxiety.

The obsession-compulsion cycle

OCD is best understood as a repeating feedback loop.

  1. An intrusive thought or sensation appears.
  2. The thought is interpreted as meaningful, dangerous, or morally important.
  3. Anxiety or distress rises.
  4. A compulsion or mental ritual is performed.
  5. Relief occurs temporarily.
  6. The brain learns that the compulsion reduced danger.

Because the compulsion reduces anxiety in the short term, the brain strengthens the cycle. This process is related to learning mechanisms described in threat conditioning and reinforcement research (LeDoux, 2015; Abramowitz, 2009).

Similar learning processes also appear in anxiety patterns such as
panic attacks,
health anxiety,
and catastrophizing.

Common types of OCD themes

OCD themes vary widely but often cluster into recognizable categories.

Contamination OCD

Fear of contamination from germs, chemicals, illness, or environmental exposure. Compulsions often include washing, cleaning, or avoidance.

Checking OCD

Fear of mistakes or harm caused by oversight. Repetitive checking behaviors may involve locks, appliances, or safety concerns.

Harm OCD

Intrusive thoughts involving accidental or intentional harm toward oneself or others. These thoughts are ego-dystonic, meaning they conflict with the person’s values and intentions.

Moral or scrupulosity OCD

Obsessions focused on morality, religion, or ethical correctness. Compulsions may include confession, reassurance seeking, or mental reviewing.

Relationship OCD

Persistent doubt about relationships, attraction, or compatibility, often accompanied by mental checking and reassurance seeking.

Health-related OCD patterns

Some individuals with OCD experience intrusive thoughts about illness or bodily harm. This can overlap with
health anxiety or symptom monitoring such as
palpitations,
chest pain,
or dizziness.

Intrusive thoughts and OCD

A key misconception about OCD is that intrusive thoughts are rare or abnormal. Research shows that intrusive thoughts occur in the general population as well (Rachman, 1997). The difference in OCD is the interpretation of those thoughts.

When intrusive thoughts are interpreted as dangerous, morally significant, or predictive of behavior, distress increases and compulsive responses become more likely.

See also:
Intrusive thoughts and anxiety,
Rumination,
and Overthinking and anxiety.

Uncertainty and OCD

Many OCD patterns involve difficulty tolerating uncertainty. Even small possibilities of harm can feel unacceptable, leading to repeated checking, reassurance seeking, or mental review.

Related concepts include
intolerance of uncertainty
and anxiety and uncertainty.

Physical symptoms in OCD

Although OCD is often described as a thought-based condition, physical anxiety symptoms frequently occur during obsessional distress. These can include:

These sensations arise from the same nervous system activation described in
Why anxiety feels physical
and
Nervous system and anxiety.

Evidence-based treatment

The most widely studied psychological treatment for OCD is exposure and response prevention (ERP), a form of cognitive behavioral therapy. ERP involves gradually facing feared thoughts or situations while resisting compulsive behaviors, allowing anxiety to decline naturally over time (Foa et al., 2012).

Medication may also be used in some cases, particularly selective serotonin reuptake inhibitors (SSRIs).

See Anxiety treatment for a general overview.

When to seek help

Professional evaluation may be helpful when obsessive thoughts or compulsive behaviors:

  • consume significant time each day
  • interfere with work, relationships, or daily functioning
  • cause persistent distress

Additional guidance is available at
When to seek help for anxiety.

Related pages


Author

Gabrielle McMurphy, LCPC
Licensed Clinical Professional Counselor
Licensed in Idaho, North Carolina, South Carolina, and Montana
Founder, AnxietyExplained.com

Created: March 2026
Last reviewed: February 2026

References

  • American Psychiatric Association. DSM-5-TR Diagnostic Criteria for OCD.
  • Abramowitz JS. The Cognitive-Behavioral Treatment of OCD. 2009.
  • Abramowitz JS, Jacoby RJ. OCD and anxiety disorders mechanisms. 2014.
  • LeDoux JE. Anxious: Using the Brain to Understand and Treat Fear and Anxiety. 2015.
  • Foa EB et al. Exposure and Response Prevention for OCD. 2012.
  • Rachman S. A cognitive theory of obsessions. 1997.
  • National Institute of Mental Health. Obsessive-Compulsive Disorder. 2024.

Purpose: Educational reference only.