Worry that won’t switch off, checking things more than once, a mind that keeps circling back to the same fear. These experiences can show up with obsessive-compulsive disorder (OCD) and with anxiety disorders, which is why the two are easy to confuse.
The short answer
Both involve fear and distress. OCD is defined by intrusive, unwanted thoughts, called obsessions, and by repeated actions or mental rituals, called compulsions, that a person feels driven to do to ease that distress. Anxiety disorders center on fear or worry about real-life situations, without that cycle of obsessions and rituals.
Telling them apart matters because the most effective treatment approaches differ. Here’s how they compare.
Is OCD an Anxiety Disorder?
For many years, OCD was grouped with the anxiety disorders. In 2013, the DSM-5, the diagnostic manual clinicians in the United States use, moved it into its own category, obsessive-compulsive and related disorders. The change reflects what researchers had learned about how OCD works and how it responds to treatment.
Anxiety is still a big part of OCD. Obsessions cause intense anxiety, and compulsions are an attempt to make it go away. The difference lies in that cycle, not in whether anxiety is present.
How Obsessions Differ From Everyday Worry
Worry in generalized anxiety disorder tends to focus on real concerns: money, health, work, family. The worries are usually exaggerated or hard to control, but they’re about things that could plausibly happen, and many people see them as reasonable even when they’re excessive.
Obsessions in OCD feel different. They’re intrusive thoughts, images or urges that show up uninvited and often clash with who the person is. Someone who loves their child might have sudden, upsetting images of harming them. Someone careful about germs might be unable to stop thinking that a doorknob has contaminated them. People with OCD often recognize these thoughts as out of character, which makes them more distressing, not less.
Compulsions vs. Avoidance and Reassurance-Seeking
Compulsions are behaviors or mental acts a person feels they have to perform in response to an obsession, often following strict rules. Common examples include washing, checking, counting, arranging things until they feel “right,” repeating phrases silently, or mentally reviewing past events to make sure nothing bad happened. The relief they bring is brief, so the cycle repeats.
The OCD cycle
1
Obsession
An intrusive, unwanted thought, image or urge
2
Anxiety
Intense distress or fear in response
3
Compulsion
A ritual or mental act to make the distress stop
4
Brief Relief
The anxiety eases for a while
Then the obsession returns and the cycle starts again. Each round can make the next compulsion feel more necessary.
People with anxiety disorders also try to reduce their distress. They might avoid situations that make them nervous, ask others for reassurance or overprepare. These habits can look like compulsions from the outside. The difference is that they’re tied to a realistic worry and don’t follow the rigid, ritual-like pattern of OCD.
Mental compulsions are easy to miss because no one else can see them. Someone with OCD might look calm while spending hours a day silently checking, counting or replaying thoughts.
How the Same Worry Can Look Different
The topic of a worry doesn’t tell you much on its own. What matters is how the thought shows up and what the person does about it. A few examples:
Health
Someone with generalized anxiety might worry often about getting sick, schedule extra doctor visits and look up symptoms online. Someone with OCD might have a sudden, vivid thought that they’ve been contaminated, then wash their hands in a specific way, a set number of times, until it feels right, even though they know the risk is low.
Safety at Home
A person with anxiety might lie awake worrying that the house isn’t secure. A person with OCD might check the stove, the locks or the windows over and over, sometimes for an hour, because the thought “what if I missed it” keeps coming back no matter how many times they look.
Relationships
Someone with social anxiety might replay a conversation and worry that they embarrassed themselves. Someone with OCD might have intrusive doubts about whether they truly love their partner, then spend hours mentally reviewing their feelings to find certainty that never comes.
In each case, both people are distressed. The OCD pattern stands out because of the intrusive quality of the thought and the ritual that follows it.
The topic of a worry doesn’t tell you much on its own. What matters is how the thought shows up and what the person does about it.
Side-by-Side Comparison
| OCD | Anxiety disorders | |
|---|---|---|
| Main feature | Obsessions and compulsions | Excessive fear or worry |
| Type of thoughts | Intrusive, unwanted, often out of character | Worries about real-life concerns |
| Response to distress | Rituals or mental acts that follow strict rules | Avoidance, reassurance-seeking, overpreparing |
| How the person sees the thoughts | Often recognizes them as excessive or irrational | Often sees the worry as reasonable, if too strong |
| Diagnostic category | Obsessive-compulsive and related disorders | Anxiety disorders |
When Both Are Present
It’s common to have OCD and an anxiety disorder at the same time. Someone might have OCD along with generalized anxiety disorder, panic disorder or social anxiety. Depression often occurs alongside both.
Because the symptoms overlap, OCD is sometimes diagnosed as an anxiety disorder, especially when compulsions are mostly mental. If treatment for anxiety hasn’t helped much, it may be worth asking a provider whether OCD could be part of what’s going on.
Some people also use alcohol or other substances to quiet intrusive thoughts or constant worry. That relief doesn’t last, and it can make both conditions harder to treat over time.
How Treatment Differs
Both conditions are commonly treated with therapy, and both often respond well to cognitive behavioral therapy (CBT). For OCD, a form of CBT called exposure and response prevention (ERP) is widely used. It involves gradually facing the thoughts or situations that trigger obsessions while practicing not doing the compulsion, with a therapist guiding the process. For anxiety disorders, CBT usually focuses on recognizing and changing anxious thought patterns and gradually facing feared situations.
Some people also benefit from medication, which a psychiatrist or other prescriber can discuss with you.
Getting the diagnosis right helps you get the right kind of care. Foundations Ohio offers mental health day treatment for adults near Columbus, OH, including treatment for OCD and treatment for anxiety, in full-day and half-day formats. To ask about options, call (888) 501-5618.
Frequently Asked Questions
Do I have OCD or is it just anxiety?
Look at whether you have intrusive thoughts that feel out of character, followed by rituals or mental acts you feel you have to do. That cycle points toward OCD. Worry about everyday concerns without rituals points more toward an anxiety disorder. A mental health professional can tell the difference with a full evaluation.
Can OCD be misdiagnosed as anxiety?
Yes. When compulsions are mostly mental, such as silently checking or reviewing, OCD can look like generalized anxiety. Telling your provider about any repeated thoughts or rituals helps them make an accurate diagnosis.
Can OCD cause constant anxiety?
It can. Obsessions cause intense anxiety, and compulsions only relieve it briefly, so many people with OCD feel anxious much of the day.
Can you have OCD and generalized anxiety at the same time?
Yes. The two often occur together, and treatment can be planned to address both.