Definition and epidemiology
Obsessive-compulsive disorder is defined by the presence of obsessions, compulsions, or both that are time-consuming (typically more than one hour per day) or cause clinically significant distress or functional impairment. Obsessions are recurrent, persistent, intrusive thoughts, urges, or images that are unwanted and cause marked anxiety. Compulsions are repetitive behaviors (hand-washing, checking) or mental acts (counting, praying) performed in response to an obsession or according to rigid rules, aimed at reducing distress or preventing a dreaded event.
OCD has a lifetime prevalence of approximately 2–3%, affecting men and women roughly equally, though men tend to have an earlier age of onset. Mean age of onset is late adolescence to early twenties, but childhood-onset OCD (before age 10) occurs in about one-third of cases. The disorder follows a chronic, waxing-and-waning course if untreated. Cross-culturally, the core features remain consistent, though content of obsessions may vary (religious obsessions are more common in some cultures).
- OCD requires SSRI doses higher than for depression and 10–12 weeks to assess response.
- CBT with exposure and response prevention (ERP) is the most effective psychotherapy for OCD.
- Clomipramine is as effective as SSRIs but has more side effects; used when SSRIs fail.
- OCD with comorbid tics responds well to augmentation with low-dose antipsychotics (aripiprazole, risperidone).
- Obsessions are ego-dystonic (recognized as one's own but unwanted), unlike delusions or obsessive-compulsive personality disorder.
- PANDAS: acute-onset OCD in children following streptococcal infection; check ASO titers.
- Y-BOCS score ≥16 indicates moderate-to-severe OCD; used to quantify severity and monitor treatment.
- Deep brain stimulation (DBS) is FDA-approved for severe treatment-refractory OCD.
Etiology and risk factors
The etiology of OCD is multifactorial, involving genetic, neurobiological, and environmental components.
Genetic factors
Family and twin studies demonstrate heritability estimates of 45–65%. First-degree relatives of individuals with OCD have a four- to fivefold increased risk. Specific genetic loci have been implicated (including genes related to serotonin and glutamate neurotransmission), but no single gene is causative.
Neurobiological factors
Neuroimaging studies show hyperactivity in the cortico-striato-thalamo-cortical (CSTC) circuits, particularly involving the orbitofrontal cortex, anterior cingulate cortex, and caudate nucleus. Dysregulation of serotonin, dopamine, and glutamate neurotransmitter systems is implicated. Structural abnormalities include increased gray matter in the basal ganglia and reduced volume in orbitofrontal regions in some studies.
Environmental and developmental factors
- PANDAS/PANS: Pediatric autoimmune neuropsychiatric disorders associated with streptococcal infections (PANDAS) or other infections (PANS) may trigger acute-onset OCD in children, though this remains debated.
- Perinatal complications: Prenatal and perinatal insults have been associated with increased OCD risk.
- Trauma and stress: Psychosocial stressors and traumatic events can precipitate or exacerbate symptoms, though they are not primary causes.
Pathophysiology
The prevailing neurobiological model of OCD centers on dysfunction in the cortico-striato-thalamo-cortical loops. In this model, the orbitofrontal cortex generates error signals or doubts, which are inadequately filtered by the basal ganglia (particularly the caudate nucleus), leading to repetitive thoughts and behaviors. The thalamus relays these signals back to the cortex, perpetuating the loop.
Serotonergic dysfunction is strongly implicated, as evidenced by the efficacy of SSRIs. The serotonin hypothesis posits that reduced serotonergic tone in these circuits contributes to disinhibition of compulsive behaviors. Glutamatergic hyperactivity in cortico-striatal projections may also drive the repetitive nature of compulsions.
Cognitive models emphasize dysfunctional beliefs: inflated sense of responsibility, overestimation of threat, intolerance of uncertainty, perfectionism, and thought-action fusion (the belief that thinking something makes it more likely to happen). These cognitive distortions maintain the cycle of obsessions and compulsions.
Clinical features
The hallmark of OCD is the presence of obsessions and/or compulsions that consume significant time (>1 hour daily) and impair functioning.
Obsessions
Common themes include:
- Contamination: fear of dirt, germs, bodily fluids
- Harm: intrusive thoughts of causing injury to self or others
- Symmetry and exactness: need for order, alignment, or balance
- Forbidden thoughts: sexual, religious (scrupulosity), or aggressive intrusive thoughts
- Somatic: preoccupation with illness or bodily sensations (overlaps with health anxiety but distinct when ritualized)
Obsessions are ego-dystonic—recognized by the patient as their own thoughts but unwanted and distressing.
Compulsions
Common compulsions include:
- Washing and cleaning: excessive hand-washing, showering
- Checking: locks, appliances, switches; may involve mental checking
- Counting and ordering: arranging objects, counting in patterns
- Repeating: re-reading, re-writing, repeating routine actions
- Mental rituals: silent prayers, counting, phrase repetition to neutralize obsessions
- Reassurance-seeking: repeatedly asking others for confirmation
Compulsions provide temporary relief from anxiety but reinforce the obsessive cycle.
Associated features
Patients often have insight into the excessive or irrational nature of their symptoms (good insight), though some have poor or absent insight (historically termed "OCD with poor insight" or "obsessional psychosis"). Avoidance behaviors are common (avoiding triggers such as public restrooms). Comorbid depression, generalized anxiety, and other anxiety disorders occur in up to 60–70% of cases. Tic disorders co-occur in approximately 30% of OCD patients, especially in males with childhood onset.
Diagnosis
Diagnosis is clinical, based on DSM-5 or ICD-10 criteria.
DSM-5 criteria (summarized)
A. Presence of obsessions, compulsions, or both.
B. The obsessions or compulsions are time-consuming (>1 hour/day) or cause clinically significant distress or impairment.
C. Not attributable to physiological effects of a substance or another medical condition.
D. Not better explained by another mental disorder.
Assessment tools
- Yale-Brown Obsessive Compulsive Scale (Y-BOCS): gold-standard clinician-administered tool to quantify severity (score 0–40; ≥16 typically indicates moderate-to-severe OCD).
- Screening: brief self-report measures like the Obsessive-Compulsive Inventory-Revised (OCI-R) can aid initial identification.
Differential workup
No laboratory or imaging studies are diagnostic for OCD. Investigations are used to exclude organic causes when clinically indicated:
- Neuroimaging (MRI brain): only if atypical presentation, acute onset, or neurological signs suggest structural lesion.
- Streptococcal serology (ASO titers, anti-DNase B): in children with acute-onset OCD to assess for PANDAS.
- Thyroid function tests: hyperthyroidism can mimic anxiety symptoms.
A thorough psychiatric history, mental status examination, and collateral history from family are essential.
Differential diagnosis
OCD must be distinguished from several conditions with overlapping features:
- Obsessive-compulsive personality disorder (OCPD): ego-syntonic preoccupation with orderliness, perfectionism, and control without true obsessions or compulsions. OCPD patients do not perceive their rigidity as problematic.
- Generalized anxiety disorder: excessive worry about real-life concerns, not intrusive obsessions; no compulsions.
- Body dysmorphic disorder: obsessions limited to perceived appearance flaws; compulsions are appearance-related (mirror checking, skin picking).
- Hoarding disorder: now a separate diagnosis; difficulty discarding possessions regardless of value, leading to clutter. Distinct from OCD contamination-hoarding.
- Illness anxiety disorder (hypochondriasis): preoccupation with having a serious illness; may include checking but centers on health fears without compulsive rituals in the classic OCD sense.
- Trichotillomania and excoriation disorder: body-focused repetitive behaviors; considered related disorders in DSM-5.
- Psychotic disorders: In OCD with poor insight, obsessions may resemble delusions, but patients can usually acknowledge possibility that fears are excessive. True delusions lack insight and are fixed.
- Autism spectrum disorder: repetitive behaviors and rigid routines are present but serve self-soothing functions, not anxiety reduction; social communication deficits are key distinguishing features.
- Tourette syndrome: motor and vocal tics; can co-occur with OCD (especially in males). Tics are sudden, rapid, non-purposeful, whereas compulsions are goal-directed.
- Substance-induced anxiety: stimulants (amphetamines, cocaine) can cause compulsive behaviors.
Management
First-line treatment combines psychotherapy and pharmacotherapy. Severity, patient preference, and availability of services guide the approach.
Psychotherapy
Cognitive-behavioral therapy with exposure and response prevention (CBT with ERP) is the most effective psychotherapy. ERP involves gradual, repeated exposure to feared stimuli while preventing the compulsive response, leading to habituation and reduced anxiety. CBT addresses cognitive distortions (responsibility, thought-action fusion). Efficacy is well-established, with 50–60% of patients achieving significant symptom reduction. Sessions are typically weekly for 12–20 weeks.
Pharmacotherapy
SSRIs are first-line medications. OCD typically requires higher doses and longer trial duration (10–12 weeks) than depression. Commonly used SSRIs include:
- Fluoxetine
- Sertraline
- Fluvoxamine
- Paroxetine
- Escitalopram
Clomipramine, a tricyclic antidepressant with potent serotonin reuptake inhibition, is highly effective but reserved for treatment-resistant cases due to side-effect profile (anticholinergic, cardiac conduction effects).
Response rates: approximately 40–60% of patients have meaningful improvement (25–35% reduction in Y-BOCS) with an adequate SSRI trial.
Treatment-resistant OCD
For patients who fail two or more SSRI trials and adequate ERP:
- Augmentation strategies: adding low-dose antipsychotics (aripiprazole, risperidone) to SSRIs, particularly effective in patients with comorbid tics or poor insight.
- Switch to clomipramine: if not yet tried.
- Intensive ERP: residential or intensive outpatient programs.
- Investigational approaches: glutamate modulators (memantine, N-acetylcysteine) have shown promise in some studies but are not standard.
Neuromodulation
- Deep brain stimulation (DBS): FDA-approved under humanitarian device exemption for severe, treatment-refractory OCD. Targets include ventral capsule/ventral striatum and subthalamic nucleus.
- Transcranial magnetic stimulation (rTMS): emerging evidence, not yet standard.
Special populations
- Children: CBT with family involvement is preferred; SSRIs (fluoxetine, sertraline) are FDA-approved for pediatric OCD.
- Pregnancy: weigh risks of untreated OCD against medication risks; SSRIs (especially sertraline) are relatively safer; ERP is preferred if feasible.
- PANDAS/PANS: treat underlying infection (antibiotics if streptococcal); immunomodulatory therapies (IVIG, plasmapheresis) are controversial and reserved for severe cases in specialized centers.
Complications and prognosis
OCD is a chronic disorder. Without treatment, symptoms persist and often worsen over time. With treatment, prognosis is variable:
- Response to treatment: approximately 50–70% of patients achieve meaningful improvement with combined CBT and medication.
- Remission: complete remission is uncommon; most patients experience residual symptoms.
- Relapse: high relapse rates if treatment is discontinued; maintenance therapy is often required.
Complications
- Functional impairment: severe OCD can render patients unable to work, attend school, or maintain relationships. Time consumed by rituals can occupy most of waking hours.
- Comorbid depression: present in up to 50–60% of OCD patients; increases suicide risk.
- Suicide: individuals with OCD have elevated suicide risk, particularly with comorbid depression or poor insight.
- Skin damage: excessive washing leads to dermatitis, excoriation.
- Social isolation: shame and time demands lead to withdrawal.
- Substance use: patients may self-medicate with alcohol or sedatives.
Prognostic factors
Better prognosis is associated with:
- Good insight
- Shorter duration of untreated illness
- Absence of comorbid personality disorders or tic disorders
- Good response to initial treatment
- Social support and adherence to ERP
Poorer prognosis: early onset, severe symptoms, comorbid major depression, poor insight, hoarding symptoms, and lack of access to ERP.
COMPULSIONS mnemonic for common compulsion types: Counting, Ordering, Mental rituals, Praying, Undoing actions, Locking/checking, Symmetry, Inquiring (reassurance-seeking), Organizing, Neutralizing thoughts, Scrubbing/washing.
Practice questions
1. A 24-year-old woman presents with a 3-year history of excessive hand-washing, spending up to 4 hours daily washing her hands until they bleed. She reports intrusive thoughts that she is contaminated with germs and will cause harm to her family. She recognizes these thoughts as excessive but cannot resist the urge to wash. She has tried an initial low dose of sertraline daily for 4 weeks without improvement. What is the most appropriate next step in management?
2. A 28-year-old man describes spending 2–3 hours each morning arranging items on his desk in perfect symmetry before he can start work. He becomes extremely anxious if anything is out of place and must rearrange everything. He knows this is excessive but cannot stop. His boss is threatening termination due to chronic lateness. Mental status exam shows he is well-groomed, cooperative, and has full insight. Which psychotherapy has the strongest evidence for this condition?
3. A 9-year-old boy is brought by his parents with sudden onset of severe obsessive hand-washing and intrusive thoughts about contamination over the past 2 weeks. He was previously healthy. His mother reports he had a sore throat 3 weeks ago that resolved without treatment. On exam, he is anxious and his hands are chapped. Which of the following is the most appropriate initial diagnostic test?
Frequently asked questions
What causes obsessive-compulsive disorder?
OCD is caused by a combination of genetic, neurobiological, and environmental factors. Dysregulation in brain circuits involving the orbitofrontal cortex, caudate nucleus, and thalamus (cortico-striato-thalamo-cortical loops) and imbalances in serotonin, dopamine, and glutamate systems are implicated. Family history increases risk four- to fivefold. In some children, infections (PANDAS) may trigger acute onset.
What are the first symptoms of OCD?
Early symptoms typically involve intrusive, unwanted thoughts (obsessions) causing significant anxiety, followed by repetitive behaviors or mental acts (compulsions) performed to reduce that anxiety. Common initial presentations include excessive hand-washing due to contamination fears, repeated checking of locks or appliances, or intrusive thoughts about harm or forbidden topics. Symptoms usually begin in adolescence or early adulthood.
How is OCD diagnosed?
OCD is diagnosed clinically based on psychiatric interview and DSM-5 or ICD-10 criteria. The patient must have obsessions and/or compulsions that are time-consuming (over one hour per day) or cause significant distress or impairment. The Yale-Brown Obsessive Compulsive Scale (Y-BOCS) is used to assess severity. No lab tests or imaging are diagnostic, though they may exclude other conditions.
Is OCD curable?
OCD is a chronic condition and complete cure is uncommon, but it is highly treatable. Approximately 50–70% of patients achieve significant symptom improvement with combination therapy of cognitive-behavioral therapy (exposure and response prevention) and SSRIs. Many patients require long-term maintenance treatment to prevent relapse. With appropriate treatment, most individuals can achieve meaningful functional improvement and quality of life.
OCD vs OCPD — what is the difference?
OCD involves ego-dystonic obsessions (unwanted intrusive thoughts) and compulsions (repetitive behaviors to reduce anxiety), causing significant distress. Obsessive-compulsive personality disorder (OCPD) is characterized by ego-syntonic (acceptable to the person) preoccupation with perfectionism, orderliness, and control without true obsessions or compulsions. OCPD patients see their rigidity as reasonable, while OCD patients recognize their thoughts and behaviors as excessive or irrational.
Key drugs
Related conditions and differentials
Sources and further reading
StatPearls (NCBI Bookshelf)MedlinePlusWHO ICD-10: F42
Educational content for medical students, prepared by the WhiteCoat Pro editorial team with AI assistance; every page is reviewed by a second AI model for factual errors. It is not medical advice and does not replace the product label, local guidelines or a clinician.