← All diagnoses

Obsessive-compulsive and related disorders

Obsessive-compulsive disorder

OCD, obsessive-compulsive disorder

Intrusive, unwanted thoughts that cause anxiety, and actions or rituals a person feels driven to repeat to ease the distress. It takes a lot of time and interferes with everyday life.

ICD-10
F42
ICD-11
6B20
DSM-5-TR
Obsessive-compulsive disorder
1.3 %develop it during their lifetimeMeta-analysis of studies from around the world. 1.5 % of women, 1.0 % of men.
19.5 yearsaverage age of onsetNearly a quarter of boys develop it before age ten.
90 %also have another disorderDuring their lifetime, in a US population survey.
11 yearsfrom meeting diagnostic criteria to treatmentIn a US study of 293 patients.

In brief

Many people check the door once more or have thoughts they would rather not have. In a US survey, 28 % said they had experienced obsessions or compulsions at some point in their lives. OCD is when this takes a lot of time, for example more than an hour a day, or causes clear distress and interferes with everyday life.

Most people with OCD know the thoughts are exaggerated, but the anxiety is real, and the ritual brings relief in the moment. In the long run the rituals keep the disorder going, because the person never gets to learn that the anxiety passes on its own.

Level of insight in ICD-11

  • 6B20.0With fair to good insight
  • 6B20.1With poor to absent insight

Symptoms

Most people have both obsessions and compulsions.

Obsessions

  • Thoughts, images or urges that intrude again and again
  • Experienced as unwanted and alien
  • Cause anxiety, disgust or guilt
  • Often about contamination, harm, responsibility or something forbidden
  • Trying to push them away makes them stronger

Compulsions

  • Actions a person feels driven to repeat
  • Washing, checking, arranging, counting or repeating
  • Can also be mental, such as counting or praying silently
  • Done to ease distress or to prevent something feared from happening
  • Bring brief relief, then the doubt returns

Common themes

A meta-analysis of 21 studies with over 5,000 people found four main groups of symptoms.

Contamination and cleaning

Fear of germs, illness or dirt, and washing and cleaning to get rid of it.

Symmetry and order

Things must be placed right or done a certain number of times, with arranging, counting and repeating.

Forbidden thoughts

Unwanted thoughts about harming someone, about sex or about religion, and checking to make sure nothing has happened.

The fourth group was hoarding. In ICD-11 and DSM-5-TR, hoarding disorder has become a separate diagnosis.

Course

When it starts

The average age of onset is 19.5 years. Boys often develop it earlier than girls, and nearly a quarter of boys develop it before age ten.

How much time it takes

Among those who had the disorder in the past year, obsessions took 5.9 hours a day on average and compulsions 4.6 hours.

A long road to help

Many hide the symptoms out of shame. In a US study, 11 years passed from meeting the diagnostic criteria to first treatment. A German study found nearly 13 years from first symptom to diagnosis.

How the diagnosis is made

  1. Primary care

    In many health systems the first stop is a GP or other primary care provider, who asks about the symptoms and can refer on to a talking therapies service or a specialist mental health team. In England, people can also refer themselves to NHS talking therapies.

  2. Assessment

    The clinician asks about the thoughts, the actions, how much time they take and what the person avoids. The interview Y-BOCS is often used to measure how severe it is.

  3. Specialist care

    If first-line treatment does not help, the NHS notes that some people are referred to a specialist service. Specialist services differ widely between countries and regions.

ICD-11 requirements

  • Persistent obsessions or compulsions, most often both
  • Takes a lot of time, for example over an hour a day
  • Or causes significant distress or impaired functioning
  • Specified as good or poor insight

Older coding

  • ICD-10 is still used in many countries, with the code F42
  • F42.0 is predominantly obsessional thoughts, F42.1 predominantly compulsive acts and F42.2 mixed
  • Hoarding disorder has no code of its own in ICD-10

Prevalence

A meta-analysis of studies from around the world found that 1.3 % develop OCD during their lifetime: 1.5 % of women and 1.0 % of men. Women had 1.6 times the risk.

Individual studies give higher figures. A large US population survey found 2.3 % during the lifetime and 1.2 % in the past year.

Causes

Heredity matters most when the disorder starts early. A review of twin studies found that genes explain 45 to 65 % of the differences in obsessive-compulsive symptoms in children and 27 to 47 % in adults.

Stress and major life changes can trigger or worsen symptoms. In many people it starts gradually, without any clear triggering event.

Often at the same time

Nine out of ten people with OCD have also had another mental disorder.

Other disorders during the lifetime among those who have had OCD
Anxiety disorder
76 %
Mood disorder
63 %
Impulse-control disorder
56 %
Substance use disorder
39 %
Ruscio et al. 2010. US population sample.

Can be confused with

OCD and personality

Many believe OCD goes with high conscientiousness. The figures show the opposite.

Difference from people without the diagnosis
NeuroticismFar higher (d = 2.07).
ExtraversionLower (d = −1.12).
ConscientiousnessLower, not higher (d = −0.97).
Kotov et al. 2010, meta-analysis. Agreeableness and openness differ little.

Conscientiousness is about getting things done. Rituals that take hours every day do the opposite. It is anankastic personality disorder, not OCD, that resembles very high conscientiousness.

Treatment

OCD is among the mental disorders that respond best to treatment.

Exposure and response prevention

ERP is the first choice. The person approaches what they fear without performing the ritual, and learns that the anxiety passes. The NHS describes CBT of this kind as helping people face obsessive thoughts without putting them right through compulsions, and says it usually works fairly quickly.

Concentrated treatment

The Bergen 4-day treatment delivers ERP over four days in a row. In a Norwegian study of 90 patients, 91 % improved and 72 % no longer had the diagnosis right afterwards. After three months the figures were 84 % and 68 %. The study had no control group.

Medication

Some antidepressants (SSRIs) can work for OCD. The NHS describes SSRIs and CBT as the main treatments, alone or together. The UK guideline recommends an SSRI together with ERP for severe OCD.

Take the OCD test

Twelve questions about obsessions and compulsions. Takes a couple of minutes. The test is a screening and not a diagnosis.

Start the test

Sources

  1. WHO: ICD-11, 6B20 Obsessive-compulsive disorder
  2. NHS: Obsessive compulsive disorder (OCD), overview
  3. NIMH: Obsessive-Compulsive Disorder
  4. NICE CG31: Obsessive-compulsive disorder and body dysmorphic disorder
  5. Fawcett, Power and Fawcett 2020: Women are at greater risk of OCD than men, Journal of Clinical Psychiatry
  6. Ruscio et al. 2010: The epidemiology of obsessive-compulsive disorder in the National Comorbidity Survey Replication, Molecular Psychiatry
  7. van Grootheest et al. 2005: Twin studies on obsessive-compulsive disorder, Twin Research and Human Genetics
  8. Bloch et al. 2008: Meta-analysis of the symptom structure of obsessive-compulsive disorder, American Journal of Psychiatry
  9. Pinto et al. 2006: The Brown Longitudinal Obsessive Compulsive Study, Journal of Clinical Psychiatry
  10. Ziegler et al. 2021: Long durations from symptom onset to diagnosis and from diagnosis to treatment in OCD, PLoS One
  11. Kvale et al. 2018: Successfully treating 90 patients with obsessive compulsive disorder in eight days, BMC Psychiatry
  12. Kotov et al. 2010: Linking big personality traits to anxiety, depressive, and substance use disorders, Psychological Bulletin

Last reviewed November 22, 2026

The descriptions are short summaries. Only a qualified health professional can make a diagnosis, after an overall assessment. ICD-11 has been in effect since 2022, but many countries still code with ICD-10, and DSM-5-TR is the manual most used in the United States, so all three are shown. The DSM-5-TR match is the closest diagnosis and the criteria can differ.