Mental Health Conditions

Obsessive-Compulsive Disorder (OCD): Signs, Causes and Treatment

OCD involves unwanted recurring thoughts, repetitive behaviors, or both. Learn how it differs from habits, its risk factors, and how treatment helps.

By Mental Health Awareness Editorial TeamPublished Updated 8 min read

A calm hallway with a closed door and a person pausing with a hand resting on the handle
On this page

Obsessive-compulsive disorder (OCD) is a long-lasting condition involving uncontrollable, recurring thoughts (obsessions), repetitive behaviors (compulsions), or both. It is much more than a preference for neatness: the thoughts and rituals take up time, cause real distress and can get in the way of daily life. OCD is treatable, and several well-studied therapies and medicines can help people manage it.

This article explains what OCD is, how it differs from ordinary habits and worries, what researchers know about risk factors, and how it is evaluated and treated. It is general information and not a way to diagnose yourself or anyone else.

What OCD is

The National Institute of Mental Health (NIMH) describes two parts of OCD.

  • Obsessions are intrusive, unwanted thoughts, urges or mental images that make most people anxious.
  • Compulsions are repetitive behaviors, often done in response to an obsession.

Some people have mainly obsessions, some mainly compulsions, and many have both. NIMH notes that symptoms are time-consuming and can cause significant distress or interfere with daily life. OCD often occurs alongside a mood or anxiety disorder, so it is sometimes discussed with anxiety disorders, although it is a distinct condition.

What obsessions and compulsions can look like

NIMH lists common examples. These are descriptions of patterns, not a checklist.

Common obsessions include:

  • Fear of germs or contamination
  • Fear of forgetting, losing or misplacing something
  • Fear of losing control over one's behavior
  • Aggressive thoughts toward others or oneself
  • Unwanted, forbidden or taboo thoughts involving sex, religion or harm
  • A desire for symmetry or perfect order

Common compulsions include:

  • Excessive cleaning or handwashing
  • Ordering or arranging things in a precise way
  • Repeatedly checking things, such as whether a door is locked or an appliance is off
  • Counting
  • Praying or silently repeating words

Unwanted thoughts of harm or taboo subjects are a well-recognized part of OCD. NIMH describes obsessions as unwanted and anxiety-provoking, and notes that people may not disclose their obsessions and compulsions because they fear judgment, which is one reason diagnosis can be difficult. A mental health professional can help sort out what the thoughts mean for an individual.

How OCD differs from habits and everyday worry

Everyone rechecks something once in a while, and many people have routines they like to keep. NIMH explains that not every repeated thought or habit is OCD. With OCD, people generally:

  • Cannot control their obsessions or compulsions, even when they recognize them as excessive
  • Spend more than one hour a day on them
  • Get no pleasure from carrying out the behaviors, though they may feel temporary relief from anxiety
  • Have significant problems in daily life because of them

This is why casual phrases such as "I'm so OCD about my desk" can feel hurtful to people who live with the condition. Using the term loosely makes the illness sound like a quirk, which feeds the misunderstandings covered in mental health myths and facts.

Onset and course

According to NIMH, symptoms can begin at any time but usually start between late childhood and young adulthood, and most people are diagnosed as young adults. Symptoms may start gradually, fade for a while or get worse. Stress often makes them worse, and the specific obsessions and compulsions can change over time. Some people avoid situations that trigger symptoms, and some turn to alcohol or other drugs to cope. If left untreated, symptoms can become severe.

Many adults recognize that their compulsions do not make sense. Children often do not realize their behavior is unusual and may fear that something terrible will happen if they skip a ritual. NIMH notes that parents or teachers are often the first to notice symptoms in children.

How common is OCD?

NIMH's statistics page reports that 1.2 percent of U.S. adults had OCD in the past year, and 2.3 percent had it at some point in their lives. The estimates come from the National Comorbidity Survey Replication, conducted from 2001 to 2003, so they are older figures from a specific survey and describe the population rather than any individual.

NIMH lists several conditions that can occur with OCD:

  • Mood and anxiety disorders are common. See depression for more on mood conditions.
  • Tic disorders. Some people also have tics, which are sudden, brief, repetitive movements or sounds.
  • PANDAS. Children who suddenly develop OCD symptoms, or whose symptoms get worse, after a streptococcal infection may be diagnosed with Pediatric Autoimmune Neuropsychiatric Disorders Associated with Streptococcal Infections.

Causes and risk factors

NIMH says the exact causes of OCD are unknown, and lists these risk factors.

  • Genetics. Having a parent or sibling with OCD is associated with a higher risk. No single gene has been identified.
  • Biology. Brain imaging studies show differences in the frontal cortex and in structures beneath it that affect behavior control and emotional responses.
  • Temperament. Children who are more reserved, who experience negative emotions or who show symptoms of anxiety or depression may be more likely to develop OCD.
  • Childhood trauma. Some studies link it to obsessive-compulsive symptoms, but NIMH notes more research is needed.

Nothing on NIMH's list points to a personal failing, and risk factors describe patterns in groups of people, not what will happen to any one person.

How OCD is evaluated

NIMH says diagnosis can be difficult because worry, anxiety and low mood are features of many mental illnesses. The first step is to see a health care provider, who will examine you, review your health history and rule out other causes. They may refer you to a mental health professional for a fuller evaluation. Being open about the thoughts and behaviors, even the ones that feel embarrassing, helps the clinician understand what is going on. Clinicians are used to hearing about intrusive thoughts.

How OCD is treated

NIMH states that there is no cure for OCD, but that treatment helps many people, including those with severe OCD, to manage symptoms, take part in daily activities and improve quality of life. Treatment typically involves psychotherapy, medication or both.

Psychotherapy

NIMH says cognitive behavioral therapy (CBT) and related therapies can be as effective as medication for many people, and that for others, combining therapy with medication works best. CBT helps people question negative thoughts, understand their effects and change self-defeating behaviors.

A specific type of CBT called exposure and response prevention (ERP) is central. In ERP, a person is gradually exposed to a trigger (for example, touching something they find contaminated) while being supported not to perform their usual compulsion (for example, washing). NIMH acknowledges this can cause anxiety at first, which may lead some people to drop out early, but compulsions typically decrease as treatment continues. ERP can reduce compulsions even for people who do not respond well to medication. Therapists trained in ERP guide the process step by step, and it is not something to attempt alone by "forcing" exposure.

Children may need extra help from family members and health care providers to manage symptoms.

Medication

NIMH says the most common medications are antidepressants that act on serotonin, known as SSRIs. Improvement can take 8 to 12 weeks, and possible side effects include headache, nausea and difficulty sleeping. NIMH also warns that stopping medication without talking to your provider can cause withdrawal symptoms. Questions about which medicine, how much and for how long belong with a prescriber. Do not start, stop or change medication on your own.

Other treatments

For severe OCD that has not improved after other treatments, NIMH notes that repetitive transcranial magnetic stimulation (rTMS) is an option. It also describes deep brain stimulation, a surgical procedure that NIMH considers experimental for OCD and that the FDA has approved only for severe cases under a Humanitarian Device Exemption. These are specialist decisions.

Everyday self-management

NIMH suggests a consistent sleep schedule, regular exercise, a healthy and balanced diet, and support from trusted family and friends. Like other self-care, these habits complement treatment and do not replace it.

Supporting someone with OCD

NIMH's page does not have a dedicated section on helping a loved one, so these suggestions reflect general good practice and the principles in its description of the condition:

  • Listen without judgment. Many people hide their thoughts out of shame.
  • Learn how OCD works, so you can see the behaviors as symptoms, not choices.
  • Encourage professional help and offer practical support such as going to appointments.
  • Be cautious about joining in rituals or reassuring repeatedly. Ask the person's clinician how best to respond, because the right approach depends on the treatment plan.
  • Avoid mocking or using the term casually.

For broader ideas on reducing shame, see ways to reduce mental health stigma.

When to seek help

Consider talking to a health care provider if obsessions or compulsions take up much of your day, cause distress, or get in the way of work, school or relationships. A primary care provider can refer you to a mental health professional experienced in OCD, and FindTreatment.gov (opens in a new tab) from SAMHSA can help you look for services near you.

If you or someone you know is struggling or having thoughts of suicide, visit the Suicide & Crisis Lifeline website or use its online chat. In a life-threatening emergency, contact local emergency services.

You can read more about the wider picture in the mental health awareness guide, and about related conditions such as ADHD.

Frequently Asked Questions

Is being a perfectionist or liking things tidy the same as OCD?

Not necessarily. NIMH says everyone sometimes rethinks or double-checks things. With OCD, people generally cannot control the thoughts or behaviors even when they see them as excessive, spend more than an hour a day on them, and have significant problems in daily life.

Can OCD be cured?

NIMH says there is no cure, but treatment helps many people, including those with severe OCD, to manage symptoms, take part in daily activities and improve quality of life.

What is exposure and response prevention?

ERP is a type of cognitive behavioral therapy. People are gradually exposed to triggers while being supported not to carry out their usual compulsion. NIMH says compulsions typically decrease as treatment continues.

When does OCD usually start?

NIMH says symptoms can begin at any time but usually start between late childhood and young adulthood.

Do unwanted thoughts mean I want to act on them?

Unwanted, intrusive thoughts are a recognized feature of OCD, and NIMH describes obsessions as thoughts that make most people anxious. If they distress you, a mental health professional can help.

This article is for general education and is not a diagnosis or a substitute for advice from a qualified health professional. Editorial review by a medical professional is pending.

About the author

Mental Health Awareness Editorial Team

Articles are prepared by our editorial team from public sources such as NIMH, SAMHSA, CDC and WHO. The team does not provide medical care, and we do not claim clinical credentials. Authors and contributors | Editorial policy

Medical review status

Editorial review pending. This article has not yet been reviewed by a qualified clinician.

How we handle medical review

References and sources

  1. Obsessive-Compulsive Disorder (health topic) (opens in a new tab) NIMH. Checked December 3, 2026.
  2. Obsessive-Compulsive Disorder: When Unwanted Thoughts or Repetitive Behaviors Take Over (opens in a new tab) NIMH. Checked December 3, 2026.
  3. Obsessive-Compulsive Disorder (statistics) (opens in a new tab) NIMH, 2003. Checked December 3, 2026.
  4. FindTreatment.gov (opens in a new tab) SAMHSA. Checked December 3, 2026.