What anxiety and OCD have in common
Both conditions involve distressing mental content that creates an urgent need for relief. Both can lead to avoidance: staying away from people, places, or situations that trigger the feeling. Both respond to certain approaches within CBT. And both can be genuinely debilitating when left untreated.
The overlap is why OCD is frequently misdiagnosed, including as generalized anxiety, social anxiety, or depression. Getting the right diagnosis matters enormously because the best treatments for each are different.
How generalized anxiety works
Generalized anxiety disorder involves persistent, hard-to-control worry about real-life concerns: health, finances, work, relationships, the future. The worry feels excessive, but its content is recognizable. These are things most people worry about, just turned up significantly.
The worry tends to be diffuse: it shifts between topics, it is future-focused, and while it creates distress, it does not typically involve specific rituals or compulsions. CBT targets the cognitive distortions that sustain it and builds tolerance for uncertainty.
How OCD works differently
OCD operates on a loop. An intrusive thought, image, or urge, the obsession, triggers intense anxiety. A behavior or mental ritual, the compulsion, temporarily relieves it. The relief reinforces the compulsion, making the next episode more likely.
The content of obsessions in OCD is often ego-dystonic: it feels foreign, disturbing, or completely at odds with who you are. Common themes include harm, contamination, symmetry, morality, and religion, but OCD can attach to almost anything that feels high-stakes.
Critically, compulsions in OCD are not just visible behaviors. Reassurance-seeking, mental review, googling symptoms, confessing, and praying to neutralize a thought are all compulsions. If you are spending significant mental energy trying to manage an intrusive thought, that is worth exploring.
Why the treatment difference matters
The gold-standard treatment for OCD is Exposure and Response Prevention (ERP), which works by breaking the obsession-compulsion cycle. For anxiety disorders, CBT targets the worry patterns and builds distress tolerance through a different mechanism.
Using standard anxiety therapy for OCD, particularly approaches that encourage talking through or analyzing the intrusive thoughts, can inadvertently reinforce the compulsion cycle. It is one reason why getting the right diagnosis, and the right therapist, matters so much.
If you have been in therapy for anxiety and feel like you are not making progress, it is worth asking whether OCD might be a better frame. The same applies in reverse: what looks like OCD is sometimes better understood as anxiety, and treatment adjusts accordingly.
A note on "pure O" and hidden OCD
Many people with OCD have no visible rituals, which is why it often goes unrecognized. "Pure O" (primarily obsessional OCD) involves mostly mental compulsions: reviewing, analyzing, seeking certainty, mentally arguing with the thought. From the outside, and sometimes even to the person experiencing it, it just looks like excessive thinking.
If you have distressing, repetitive, intrusive thoughts that you work hard to manage, regardless of whether there is a visible behavior attached, that is worth discussing with a clinician who specializes in OCD.