ConditionMental health & sleep
Obsessive-Compulsive Disorder (OCD)
Obsessive-compulsive disorder (OCD) is a mental health condition in which a person has unwanted, distressing thoughts, images or urges (obsessions) and feels driven to perform repetitive behaviors or mental acts (compulsions) to reduce the anxiety or prevent something bad from happening. The cycle takes up more than an hour a day or causes significant distress. OCD affects about 1 to 2% of people and often starts in childhood or early adulthood. Exposure and response prevention therapy and SSRI medicines are highly effective.
Also called: OCD, obsessive-compulsive disorder, obsessional neurosis (outdated)
At a glance
- What it is
- A cycle of intrusive obsessions and compulsions that cause distress or take over an hour a day.
- How common
- About 1 to 2% of people; often starts by age 20.
- Common themes
- Contamination, harm, symmetry and order, taboo thoughts, checking, doubt.
- Not a personality quirk
- Being tidy or careful is not OCD; OCD is distressing and unwanted.
- Treatment
- Exposure and response prevention (ERP) therapy and SSRIs, alone or together.
- Outlook
- Most people improve substantially with treatment.
When to get help
Call 911 or go to the ER
- Thoughts of suicide or self-harm: call or text 988 (US), or call 911 or your local emergency number
- Not eating, drinking or caring for basic needs because of rituals
See a doctor within a day or two
- Sudden onset of severe OCD symptoms in a child, especially with tics, eating restriction or after a strep infection
- Severe depression alongside OCD
Book a routine appointment
- Intrusive thoughts or rituals that take more than an hour a day or cause marked distress
- Repeated checking, washing, counting, arranging or reassurance-seeking that interferes with work, school or relationships
- Avoiding places, people or objects because of obsessional fears
Obsessions and compulsions
Obsessions are repeated, unwanted thoughts, images or urges that cause anxiety, disgust or a feeling that something is "not right". People with OCD usually recognize that these thoughts are excessive, but cannot simply dismiss them.
Compulsions are behaviors or mental acts done to reduce that distress or prevent a feared event. They bring brief relief, which reinforces the cycle and makes obsessions stronger over time.
| Common obsession theme | Typical compulsions |
|---|---|
| Contamination (germs, dirt, illness) | Excessive handwashing, cleaning, avoiding touching things |
| Harm or doubt (leaving the stove on, hitting someone with the car) | Checking locks, appliances, retracing routes |
| Symmetry, order, "just right" feelings | Arranging, repeating actions until it feels right, counting |
| Unwanted taboo thoughts (violent, sexual or religious) | Mental reviewing, praying, seeking reassurance, avoidance |
| Fear of losing things | Hoarding-like saving, repeated checking |
| Relationship or sexuality doubts | Constant analysis, comparing, reassurance-seeking |
Compulsions are not always visible. Mental compulsions, such as silently repeating phrases, praying, counting or reviewing memories, are common.
Intrusive thoughts
Almost everyone has occasional strange or disturbing thoughts. In OCD, the person reacts to these thoughts with intense alarm, attaches great meaning to them, and tries hard to neutralize them. Having violent or taboo intrusive thoughts in OCD does not mean a person wants to act on them; these thoughts are distressing precisely because they go against the person's values.
Causes and risk factors
- Genetics: OCD runs in families, especially early-onset OCD.
- Brain circuits: differences in communication between the frontal cortex and deeper brain structures (the basal ganglia).
- Stressful or traumatic life events can trigger or worsen symptoms.
- Pregnancy and the postpartum period: a known time of onset or worsening.
- PANDAS/PANS: in some children, a sudden onset of OCD symptoms after a strep or other infection is thought to be immune-related. This is an area of ongoing research.
Related conditions
OCD often occurs with depression, generalized anxiety disorder, tic disorders and Tourette syndrome, and ADHD. Related "obsessive-compulsive spectrum" conditions include body dysmorphic disorder, hoarding disorder, trichotillomania (hair pulling) and skin-picking disorder. Illness anxiety disorder shares some features.
OCD in children
Children may not recognize their thoughts as excessive. Signs include long bedtime or bathroom rituals, repeated questions for reassurance, distress if routines are changed, redoing homework, and avoiding touching certain things. Parents often get pulled into rituals. Early treatment with ERP adapted for children is very effective.
Diagnosis
A primary care doctor, psychologist or psychiatrist diagnoses OCD through a clinical interview. Questionnaires such as the Yale-Brown Obsessive Compulsive Scale (Y-BOCS) measure severity. The diagnosis requires obsessions, compulsions or both that are time-consuming (over an hour a day) or cause significant distress or impairment, and are not better explained by another condition or substance.
Treatment
Exposure and response prevention (ERP)
ERP is a type of cognitive behavioral therapy and the most effective psychological treatment. With a therapist, you gradually face feared situations or thoughts (exposure) while resisting compulsions (response prevention). Anxiety rises and then falls without the ritual, and the brain learns that the feared outcome does not happen or can be tolerated. Typical courses involve 12 to 20 sessions, plus practice between sessions.
Medicines
- SSRIs (selective serotonin reuptake inhibitors) such as fluoxetine, fluvoxamine, sertraline and paroxetine are first-line. OCD often needs higher doses than depression, and benefits may take 8 to 12 weeks.
- Clomipramine, an older antidepressant, is effective but has more side effects.
- Augmentation: for partial response, adding a low dose of certain antipsychotics or other medicines under specialist care.
Combining ERP and medicines is often best for moderate to severe OCD.
Severe and treatment-resistant OCD
Options include intensive outpatient or residential ERP programs, transcranial magnetic stimulation (deep TMS is FDA-cleared for OCD), and, rarely, deep brain stimulation.
Living with OCD
- learn about OCD and how reassurance-seeking feeds it
- family members can support by not participating in rituals, with guidance from the therapist
- look after sleep, exercise and stress
- connect with support organizations such as the International OCD Foundation
Outlook
OCD is often long-term, with symptoms that wax and wane, but most people improve significantly with ERP and medicines. Many achieve good control and full lives.
Frequently asked questions
What are the main symptoms of OCD?
OCD involves obsessions, which are unwanted, distressing thoughts, images or urges, and compulsions, which are repetitive behaviors or mental acts done to reduce anxiety. Common examples include fears of contamination with excessive washing, and doubts about safety with repeated checking.
What are the types of OCD?
OCD is usually described by themes: contamination and cleaning, harm and checking, symmetry and ordering, unwanted taboo thoughts with mental rituals, and hoarding-like behaviors. Many people have more than one theme, and themes can change over time.
Can OCD go away on its own?
OCD rarely disappears without treatment, though symptoms can fluctuate with stress. With exposure and response prevention therapy and medicines, most people experience significant, lasting improvement.
Do intrusive thoughts mean I want to act on them?
No. In OCD, intrusive thoughts about harm or taboo topics are unwanted and distressing because they conflict with your values. People with OCD are not more likely to act on them. Therapy helps you respond to these thoughts without fear.
What is the best treatment for OCD?
Exposure and response prevention, a form of cognitive behavioral therapy, is the most effective therapy. SSRI medicines are the first-line medicines. Many people do best with both, especially for moderate to severe OCD.
Sources
This guide was written from current patient and clinical guidance, including:
- National Institute of Mental Health: Obsessive-compulsive disorder
- American Psychiatric Association: Practice guideline for the treatment of patients with OCD
- International OCD Foundation: About OCD
- NICE: Obsessive-compulsive disorder and body dysmorphic disorder, treatment (CG31)
- American Academy of Child and Adolescent Psychiatry: Practice parameter for OCD
- 988 Suicide and Crisis Lifeline