Why the two get confused
Obsessive-compulsive disorder is full of anxiety, so it is easy to see why people wonder whether it is "just" an anxiety problem. NIMH notes that OCD can be hard to diagnose precisely because worry, anxiety and low mood, often the most distressing parts, look like symptoms of other conditions. People with OCD may also keep their thoughts to themselves out of fear of being judged, so a clinician may hear only about the anxiety.
Major health organizations describe OCD separately from the anxiety disorders. NIMH lists generalized anxiety disorder, panic disorder, social anxiety disorder and phobias as anxiety disorders and treats OCD as its own topic. The American Psychiatric Association groups OCD with related conditions such as hoarding disorder, body dysmorphic disorder and hair-pulling disorder. The labels matter less than what they point to: OCD has a distinct pattern, and that pattern usually calls for a specific kind of treatment.
NIMH estimates that 1.2% of U.S. adults had OCD in the past year and 2.3% will have it at some point in their lives. The American Psychiatric Association notes that it often begins in childhood, adolescence or early adulthood.

What OCD actually involves
NIMH describes two parts. Obsessions are repeated thoughts, urges or mental images that are intrusive and unwanted and make most people anxious. Compulsions are repetitive behaviors a person feels driven to do, often in response to an obsession. The NHS describes the cycle: an obsession arrives, it causes intense anxiety or distress, a compulsion brings temporary relief, and then the obsession returns and the loop starts again.
Common obsessions, according to NIMH and the NHS, include fear of contamination, fear of harming yourself or others by accident or on purpose, unwanted sexual, religious or violent thoughts, and a need for things to be symmetrical or exactly right. Common compulsions include:
- Excessive cleaning or handwashing
- Checking locks, the stove or the car repeatedly
- Counting, ordering or arranging things a particular way
- Asking others for reassurance
- Repeating words or prayers silently
- "Neutralizing" a bad thought with another thought
- Avoiding places or situations that set off the obsession
The NHS points out that not all compulsions are visible. Some people with OCD do almost all of their rituals in their heads, which is one reason it can go unrecognized for years.
Worry vs. obsession
The clearest difference is in the thoughts themselves. In generalized anxiety, NIMH describes worry about everyday matters: job performance, health, finances, family, being late. The worry is excessive, but the topics are ones most people recognize as real concerns.
Obsessions often feel different from the inside. They tend to arrive as intrusions that clash with who you are, such as a loving parent suddenly picturing harming their child, or a careful driver fearing they hit someone without noticing. The American Psychiatric Association notes that most people with OCD know or suspect their obsessional thoughts are not realistic, yet the distress cannot be resolved by logic. The NHS is direct about the frightening ones: violent or sexual intrusive thoughts are just thoughts, and having them does not mean you will act on them.

Habit vs. compulsion
Everyone double-checks sometimes. NIMH is explicit that not all repeated thoughts are obsessions and not all rituals are compulsions. It describes what usually marks OCD:
- You cannot control the thoughts or behaviors, even when you know they are excessive
- They take more than an hour a day
- The compulsions bring no pleasure, only brief relief from anxiety
- They cause significant problems in daily life
Compare a person who likes a tidy desk and feels good straightening it with someone who must realign the items until it feels "right," is late to work because of it, and feels dread if interrupted. The behavior looks similar. The function is completely different.
Where they overlap
The line is not always sharp. NIMH notes that it is common for people with OCD to also have an anxiety or mood disorder. Health anxiety is a good example of a gray zone: the NHS describes it as related to OCD, because repeated body-checking and reassurance-seeking work much like compulsions. Health Anxiety covers that pattern. The NHS also notes OCD can appear during pregnancy or after a baby, often as intrusive fears about the baby's safety.
Why the distinction matters for treatment
Getting the pattern right shapes what helps. NIMH describes exposure and response prevention, a specific form of cognitive behavioral therapy, as an effective treatment that reduces compulsions: gradually facing situations that trigger an obsession while resisting the usual ritual. Medication is also used, most often antidepressants that target serotonin, and NIMH notes that improvement can take 8 to 12 weeks and that OCD may require higher doses than depression. Those decisions belong with a physician, psychiatrist or psychiatric nurse practitioner; talk with your prescriber before changing anything.
Some well-meant responses can backfire. Reassurance from a partner ("No, you definitely locked it") can work like another compulsion. The American Psychiatric Association also notes that a healthy lifestyle alone is not sufficient treatment for OCD, though it helps with coping.
NIMH advises looking for a mental health professional with experience treating OCD. When you contact any therapist, ask directly whether they treat OCD and what training they have. Dr. Lehmann works with adults on anxiety more broadly in anxiety therapy; if your concern sounds like OCD, ask on the first call whether her practice is the right fit or whether a specialist referral would serve you better.
