The Patterns blog
7 min read

OCD vs Anxiety: How to Tell the Difference

The clearest difference between OCD and an anxiety disorder is the compulsion. Both involve intense fear and repetitive worry. Only OCD adds a ritual - a behavior or a mental act performed specifically to neutralise the distress - and that ritual is what keeps the whole thing running. This is why advice that helps generalised anxiety often makes OCD worse.

The overlap is real

It is worth saying plainly: OCD and anxiety disorders feel similar from the inside, and the overlap is not imaginary. OCD was classified as an anxiety disorder until the DSM-5 moved it into its own category, obsessive-compulsive and related disorders, in 2013. Anxiety is still the fuel. People with OCD very often also meet criteria for an anxiety or depressive disorder.

So the question is rarely “is this anxiety or is this something else?” It is usually “is there an OCD mechanism operating inside this anxiety?”

The distinguishing feature: the loop

Generalised anxiety tends to look like a broad, drifting worry. Money, health, work, whether that email sounded rude. It moves from topic to topic, it responds somewhat to circumstances, and the main behavior attached to it is avoidance or reassurance.

OCD looks like a closed loop with four steps:

  1. Obsession. An intrusive thought, image, urge, or doubt arrives and sticks.
  2. Distress. A spike of fear, disgust, guilt, or a sense that something is not right.
  3. Compulsion. Something done to make the distress stop: checking, washing, counting, confessing, mentally reviewing, seeking reassurance, avoiding.
  4. Relief. Temporary, real, and the reason the loop tightens.

The relief is the trap. Each pass teaches your brain that the obsession was a genuine threat and that the compulsion averted it. We wrote about what this feels like day to day in the loop, and how I loosen it.

Six practical distinctions

Anxiety disorderOCD
ContentUsually realistic worries, scaled upOften improbable, taboo, or magical in flavour
Relationship to the thoughtFeels like your own concernOften feels alien, unwanted, “not me”
What followsAvoidance, worry, reassuranceA specific ritual, repeated, often with rules
Feeling of completionFades when circumstances changeMust feel “right” or “complete” before it stops
Doubt“This might go badly”“How can I ever know this will not go badly?”
What treatment targetsThe worry and the avoidanceThe compulsion

The fifth row is the one clinicians lean on. OCD is often described as a disorder of pathological doubt rather than of fear. The intolerable thing is usually not the feared outcome itself, but the impossibility of proving it will not happen.

Ego-dystonic versus ego-syntonic

Obsessions in OCD are typically ego-dystonic: they feel foreign, contrary to your values, and distressing precisely because you do not want them. A person with harm OCD is horrified by the thought of hurting someone. A person with contamination OCD does not want to be washing.

Generalised anxiety worries are usually ego-syntonic. They feel like reasonable concerns you happen to be having too much of. People with generalised anxiety often believe their worry is useful - that it is preparation.

This distinction is not perfect, and it is not something to self-diagnose from. But it is a genuine signal.

Why it changes what helps

This is the practical stakes of the whole question. A lot of standard, sensible anxiety advice functions as a compulsion when applied to OCD:

  • “Challenge the thought and look at the evidence.” In OCD, evaluating the evidence is the ritual.
  • “Reassure yourself that it is not going to happen.” This is reassurance seeking, and it feeds the loop.
  • “Distract yourself until it passes.” Distraction used as escape is avoidance, and it prevents the learning that would otherwise happen.
  • “Relax and breathe until the anxiety comes down.” If the goal is to drive the anxiety away, this becomes another neutralising ritual.

The OCD-specific treatment is ERP, which does close to the opposite: approach the trigger, leave the question unresolved, and do not perform the ritual.

When to get an assessment

Self-sorting has limits, and this article is not a diagnostic tool. Talking to a clinician is worth it if:

  • The worry has a repetitive act attached that you feel compelled to perform.
  • You are losing significant time to it, or avoiding parts of your life.
  • The content is taboo or frightening in a way you have never told anyone.
  • Ordinary anxiety strategies have not helped, or have made things tighter.

Ask specifically about OCD. Under-recognition is common, partly because people are often too ashamed of the content to describe it, and partly because mental compulsions are invisible from the outside.

What this looks like from the inside

For years I told people I had anxiety, because that word did not require me to explain the content. It was also, honestly, a way of not looking too closely. Anxiety made me a slightly tense person. OCD would have made me something I did not want to be.

What eventually gave it away was not the fear. It was noticing the rules. The order in which I had to check things. The fact that a check only counted if I had paid attention properly, so an inattentive check meant starting over. General anxiety does not usually come with a rulebook.

If you have been treating your OCD as anxiety, you have probably been given a lot of advice that quietly made it worse. That is not your failure and it is not your therapist’s malice. It is a naming problem with real consequences.

Sources

Common questions

Is OCD an anxiety disorder?

It used to be classified as one. In the DSM-5, published in 2013, OCD was moved out of the anxiety disorders chapter into a new category called obsessive-compulsive and related disorders, reflecting differences in how it presents and responds to treatment. Anxiety is still central to the experience of OCD.

What is the main difference between OCD and anxiety?

The compulsion. Anxiety disorders involve worry and avoidance. OCD adds a repetitive behavior or mental act performed to neutralise the distress, and that act is what maintains the cycle.

Can you have both OCD and an anxiety disorder?

Yes, and it is common. Co-occurring anxiety and depressive disorders are frequent alongside OCD. A clinician can treat both, but the OCD component generally still needs exposure and response prevention specifically.

Track the loop in a place that stays private

Patterns is a free OCD journal and ERP companion. No account, no cloud sync, nothing leaves your device.

All download options