Mental health condition

Obsessive-Compulsive Disorder (OCD)

OCD involves unwanted, intrusive thoughts (obsessions) and repetitive behaviors or mental acts (compulsions). Learn the symptoms and the treatments with the strongest evidence.

What is OCD?

Obsessive-compulsive disorder (OCD) is a mental health condition in which a person experiences obsessions, compulsions, or both. Obsessions are repeated, unwanted thoughts, images or urges that cause anxiety or distress. Compulsions are repetitive behaviors or mental acts that a person feels driven to perform to reduce that distress or prevent a feared outcome.

Symptoms

Common obsession themes include fear of contamination, fear of causing harm, a need for order or symmetry, and unwanted taboo thoughts. Common compulsions include excessive cleaning or handwashing, checking, counting, repeating actions, arranging, and seeking reassurance.

These symptoms can occur with OCD, but only a qualified healthcare professional can provide a diagnosis.

Causes and risk factors

The causes of OCD aren’t fully understood. Genetics, differences in brain circuits, and stressful or traumatic life events may all play a role. OCD often begins in childhood, adolescence or early adulthood, and it can run in families.

Diagnosis

A clinician diagnoses OCD through a clinical interview, often using structured questionnaires, and by ruling out other explanations. OCD commonly occurs alongside anxiety disorders, depression and tic disorders.

Treatment

  • Exposure and response prevention (ERP): a type of CBT in which you gradually face feared thoughts or situations while resisting compulsions. ERP has strong research support. Learn more about exposure therapy.
  • Medication: selective serotonin reuptake inhibitors (SSRIs) are commonly used, sometimes at different doses than for depression, as determined by a prescriber.
  • Combination: many people benefit from therapy and medication together.

Self-care

Learning about OCD can reduce shame. Try to notice reassurance-seeking and avoidance, since these can keep the cycle going. Support groups and involving trusted family members in treatment can also help.

Find care

Find care for OCD

Compare types of care — from online therapy to psychiatry — and learn what to consider before choosing a provider.

Explore care options

When to seek professional help

Consider contacting a doctor or licensed mental health professional if:

  • Obsessions or compulsions take up a lot of time (for example, more than an hour a day).
  • Rituals or avoidance are affecting work, school or relationships.
  • You feel unable to stop compulsions even though you want to.

Only a qualified professional can make a diagnosis, and reaching out early is always reasonable.

If you’re thinking about harming yourself or are in immediate danger, call your local emergency number. In the US, call or text 988 (Suicide & Crisis Lifeline).Crisis resources in other countries.

Explore care options

Frequently asked questions

Does everyone with OCD care about cleanliness?
No. Contamination fears are one common theme, but OCD can focus on many things — harm, symmetry, religious or moral concerns, relationships and more. Compulsions can be visible (checking, washing) or mental (counting, reviewing, reassuring yourself).
Does having an intrusive thought mean I have OCD?
Most people experience unwanted intrusive thoughts at times. In OCD, these thoughts cause intense distress and lead to compulsions or avoidance that interfere with life. A clinician can help tell the difference.

References

We rely on government health agencies, professional medical organizations, peer-reviewed research and academic institutions. Read our sourcing standards.

  1. Obsessive-Compulsive Disorder(opens in a new tab)

    National Institute of Mental Health (NIMH)Government health agency

  2. Obsessive-compulsive disorder and body dysmorphic disorder: treatment (CG31)(opens in a new tab)

    National Institute for Health and Care Excellence (NICE), 2005Government health agency

  3. What is obsessive-compulsive disorder?(opens in a new tab)

    American Psychiatric AssociationProfessional organization

About this article

Written by

ExploreMentalHealth Editorial Team

Our editors research and write every article using government health agencies, professional medical organizations and peer-reviewed research, following our published editorial standards.

First published
September 2, 2026
Last updated
September 19, 2026
Last medically reviewed
Review pending