Anpheros Search · Condition

Obsessive-Compulsive Disorder

Also known as: Obsessive-compulsive disorder, unspecified · OCD · Hoarding

General information only. Anpheros does not diagnose and does not recommend treatment. Talk to a doctor or pharmacist about your situation. In an emergency, call 112 (or your local emergency number).

Codes

ICD-10
F42
ICD-11
6B20.Z Obsessive-compulsive disorder, unspecified

Description

What is obsessive-compulsive disorder (OCD)?

Obsessive-compulsive disorder (OCD) is a mental disorder in which you have thoughts (obsessions) and behaviors (compulsions) that occur over and over. They interfere with your life, but you cannot control or stop them.

It's a myth that OCD just means being neat. Cleaning can be one symptom, but OCD more often involves getting stuck on a particular action you feel compelled to repeat, rather than simply staying organized. These obsessions and compulsions can shift over time.

What causes obsessive-compulsive disorder (OCD)?

The cause of OCD is unknown. Factors such as genetics, brain biology and chemistry, and your environment may play a role.

Who is more likely to develop obsessive-compulsive disorder (OCD)?

OCD usually begins when you are a teen or young adult. Boys are often diagnosed at a younger age than girls.

Risk factors for OCD include:

  • Family history. People with a first-degree relative (such as a parent, sibling, or child) who has OCD are at higher risk. This is especially true if the relative developed OCD as a child or teen.
  • Brain structure and functioning. Imaging studies have shown that people with OCD have differences in certain parts of the brain. Researchers need to do more studies to understand the connection between the brain differences and OCD.
  • Childhood trauma, such as child abuse. Some studies have found a link between trauma in childhood and OCD. More research is needed to understand this relationship better.
  • Temperament. Other studies found that people who are shy, often unhappy, or anxious and depressed as children may be more likely to develop OCD.

In some cases, children may develop OCD or OCD symptoms following a streptococcal infection. This is called Pediatric Autoimmune Neuropsychiatric Disorders Associated with Streptococcal Infections (PANDAS).

What are the symptoms of obsessive-compulsive disorder (OCD)?

People with OCD may have symptoms of obsessions, compulsions, or both:

  • Obsessions are repeated thoughts, urges, or mental images that cause anxiety. They may involve things such as
  • Fear of germs or contamination
  • Fear of forgetting, losing or misplacing something
  • Fear of losing control over your behavior
  • Worries about harm coming towards yourself or others
  • Unwanted forbidden thoughts involving sex or religion
  • Aggressive thoughts towards yourself or others
  • Needing things lined up exactly or arranged in a particular, precise way
  • Compulsions are behaviors that you feel like you need to do over and over to try to reduce your anxiety or stop the obsessive thoughts. Some common compulsions include:
  • Excessive cleaning and/or handwashing
  • Repeatedly checking on things, such as whether the door is locked or the oven is off
  • Compulsive counting
  • Ordering and arranging things in a particular, precise way

Some people with OCD also have Tourette syndrome or another tic disorder. Tics are sudden twitches, movements, or sounds that people do over and over. People who have tics cannot stop their body from doing these things.

How is obsessive-compulsive disorder (OCD) diagnosed?

The first step is to talk with your health care provider about your symptoms. Your provider will do a physical exam and ask about your medical history to rule out other health problems. If your symptoms do not seem to be caused by a physical problem, your provider may do an OCD test or may refer you to a mental health specialist for further evaluation or treatment.

OCD can sometimes be hard to diagnose. Its symptoms are like those of other mental disorders, such as anxiety disorders. It is also possible to have both OCD and another mental disorder.

Not everyone who has obsessions or compulsions has OCD. Your symptoms would usually be considered OCD when you:

  • Can't control your thoughts or behaviors, even when you know that they are excessive.
  • Spend at least 1 hour a day on these thoughts or behaviors.
  • Don't get pleasure when performing the behaviors. But doing them may briefly give you relief from the anxiety.
  • Have significant problems in your daily life because of these thoughts or behaviors.

What are the treatments for obsessive-compulsive disorder (OCD)?

The main treatments for OCD are cognitive behavioral therapy, medicines, or both:

  • Cognitive behavioral therapy (CBT) is a type of psychotherapy. It teaches you different ways of thinking, behaving, and reacting to your obsessions and compulsions.
  • Exposure and Response Prevention (ERP) is a specific type of CBT. ERP involves gradually exposing you to your fears or obsessions. You learn healthy ways to deal with the anxiety they cause.
  • Medicines for OCD include certain types of antidepressants. If those don't work for you, your provider may suggest taking some other type of psychiatric medicine.

If you have severe OCD that does not get better with these treatments, your provider may suggest a treatment called repetitive transcranial magnetic stimulation (rTMS). It is a brain stimulation procedure that uses magnetic pulses. It can target specific brain areas associated with OCD.

NIH: National Institute of Mental Health

Source: MedlinePlus, National Library of Medicine.

Next to it in ICD-10

Neighbouring codes in the classification, not a medical link.

External resources

Questions

What is the ICD-10 code for Obsessive-Compulsive Disorder?

F42 (WHO, International Classification of Diseases, 10th Revision).

What is the ICD-11 code for Obsessive-Compulsive Disorder?

6B20.Z: Obsessive-compulsive disorder, unspecified (WHO, ICD-11 for Mortality and Morbidity Statistics).

Sources and attribution

  • ICD-11 for Mortality and Morbidity Statistics, © World Health Organization, licensed under CC BY-ND 3.0 IGO.
  • Source: MedlinePlus, National Library of Medicine.
  • Names other than the official source titles: Anpheros translations and plain-language names, made with AI assistance and checked automatically; the source names are in English.
  • ICD-10 codes and titles © World Health Organization. Source: WHO, International Classification of Diseases, 10th Revision (2019).

Anpheros Search catalog 2026.10.5, published 17 October 2026. About the data →