OCD (obsessive-compulsive disorder)
Also searched as: obsessive compulsive disorder · OCD symptoms · OCD test · pure O · harm OCD · contamination OCD · OCD treatment · ERP therapy
OCD, or obsessive compulsive disorder, is a mental health condition in which a person has unwanted, distressing thoughts, images or urges (obsessions) and feels driven to perform behaviors or mental acts (compulsions) to reduce the anxiety they cause. OCD is not about being tidy or particular. It can be time-consuming and exhausting, but it is highly treatable, especially with a therapy called exposure and response prevention (ERP).
What is obsessive compulsive disorder?
OCD works as a loop. An intrusive thought appears ("What if my hands are contaminated?" or "What if I hurt someone?"). It triggers intense anxiety, disgust or a sense that something is "not right." To get relief, the person does something: washes, checks, asks for reassurance, repeats a phrase or avoids a situation. The relief is real but short-lived, and it teaches the brain that the thought was dangerous, so the cycle grows stronger.
Almost everyone has odd or disturbing thoughts from time to time. In OCD, those thoughts feel sticky and urgent, they clash with the person's values, and the rituals take up significant time (often more than an hour a day) or cause serious distress.
OCD can begin in childhood, adolescence or adulthood. Many people hide their symptoms for years out of shame, especially when obsessions involve taboo themes. Understanding that these thoughts are a symptom, not a reflection of character, is often a huge relief.
OCD symptoms
Obsessions are intrusive and unwanted. Common themes include:
- Contamination: germs, illness, dirt or chemicals
- Harm: fear of hurting yourself or others, or of being responsible for something bad
- Doubt and checking: whether the door is locked or the stove is off
- Symmetry and order: a strong need for things to feel "just right"
- Taboo thoughts: unwanted sexual, religious or violent thoughts
- Relationship doubts or worries about identity
Compulsions can be visible or mental:
- Excessive washing, cleaning or showering
- Checking locks, appliances, messages or your own body
- Counting, tapping, arranging or repeating actions
- Seeking reassurance from others or online
- Mentally reviewing events, praying, neutralizing thoughts or "figuring it out"
Avoidance is also common: staying away from knives, public restrooms or certain people to prevent the obsession from being triggered.
Common types: pure O, harm OCD and contamination OCD
OCD subtypes are informal labels based on the main theme, but the underlying mechanism is the same.
- Contamination OCD involves fears of germs or contamination, often with washing and cleaning rituals or avoidance of "unsafe" places and objects.
- Harm OCD involves intrusive thoughts about causing harm, such as pushing someone or losing control. People with harm OCD are deeply distressed by these thoughts precisely because they don't want to act on them.
- Pure O ("purely obsessional") is a popular term for OCD where compulsions are mostly mental: reviewing, analyzing, reassuring yourself or trying to push thoughts away. The compulsions are still there, just less visible.
Other presentations include relationship OCD, scrupulosity (religious or moral obsessions) and "just right" OCD. Whatever the theme, treatment targets the cycle of obsession and compulsion.
What causes OCD?
The exact cause is not known, but research points to several contributing factors:
- Biology: differences in certain brain circuits involved in detecting threats and stopping behaviors.
- Genetics: OCD tends to run in families.
- Learning: compulsions are reinforced by the short-term relief they bring.
- Stress and life events, which can trigger or worsen symptoms.
- In some children, a sudden onset after an infection has been studied, and this should be evaluated by a doctor.
Personality traits such as a strong sense of responsibility or a low tolerance for uncertainty may increase vulnerability. OCD often coexists with anxiety disorders, depression and tic disorders. It is never caused by a lack of willpower, and it is not something people can simply decide to stop.
OCD treatment: ERP therapy and other options
The best-supported treatment for OCD is a form of cognitive behavioral therapy called exposure and response prevention (ERP therapy). With guidance from a therapist, you gradually face situations that trigger obsessions (exposure) while resisting the urge to do your compulsions (response prevention). Over time, the brain learns that the anxiety rises and then falls on its own and that the feared outcome doesn't need to be prevented through rituals.
ERP is done step by step, starting with easier challenges, and you always agree on each step with your therapist. Cognitive therapy, ACT and inference-based approaches can complement it.
Medication can also help, particularly for moderate to severe OCD. A psychiatrist can assess whether it's appropriate, and combining medication with ERP is common.
A clinical psychologist or psychologist trained in OCD and ERP is the ideal first contact. In the first session, expect questions about your obsessions, compulsions, how much time they take and how they affect your life. You may complete a structured questionnaire, and you'll begin to map out your OCD cycle together.
When to seek help and what you can do
Seek professional support if obsessions and compulsions take up a lot of your time, cause significant distress, or interfere with work, school or relationships. If OCD leads to hopelessness or thoughts of suicide, reach out right away: call or text 988 in the US, call Samaritans at 116 123 in the UK and Ireland, or contact your local emergency number.
While waiting for treatment:
- Learn about the OCD cycle; understanding it is the first step in breaking it.
- Notice reassurance-seeking and try delaying it a little.
- Label thoughts as "an OCD thought" rather than arguing with them.
- Ask loved ones not to participate in rituals, kindly and with a plan.
Be cautious with online OCD tests: they can help you put words to your experience, but they cannot diagnose you, and repeatedly taking them can turn into a compulsion of its own.
Frequently asked questions
What is pure O OCD?
Pure O is an informal term for OCD in which compulsions are mainly mental rather than visible, such as reviewing, analyzing, praying, seeking certainty or trying to neutralize thoughts. Despite the name, compulsions are present; they're just internal. Pure O responds to the same treatment as other forms of OCD, especially ERP.
Is there an OCD test?
There is no blood test or scan for OCD. Professionals diagnose it through a clinical interview and validated questionnaires that assess obsessions, compulsions and their impact. Online OCD tests can help you reflect, but only a qualified mental health professional can confirm a diagnosis and recommend treatment.
Can OCD go away on its own?
Symptoms can fluctuate, easing during calmer periods and worsening under stress, but OCD rarely disappears completely without treatment. The good news is that ERP therapy and, when needed, medication help most people reduce symptoms significantly and regain time and freedom in daily life.
Do intrusive thoughts mean I'll act on them?
No. Intrusive thoughts in OCD are unwanted and distressing precisely because they go against your values. Having a thought is not the same as wanting or intending to act on it. A therapist experienced in OCD can help you understand this and respond differently to these thoughts.
How long does ERP therapy take?
Many people notice progress within a few months of regular ERP sessions combined with practice between sessions. The total duration depends on how severe OCD is, how long it has been present and whether other conditions are involved. Some people need more intensive programs.
Updated 12 November 2026 · For information only: this content does not replace an assessment by a qualified health professional.