When OCD Presents as Autism: How to Recognize the Difference (and Why It’s Important)

You've been told you have OCD, or perhaps someone has told you have autism. Or perhaps both. But something doesn't quite fit, or maybe the treatment isn't working as expected, or the explanations feel incomplete. You're not imagining things. Autism and OCD are two of the most commonly confused and co-occurring conditions in mental health, and getting the distinction right is one of the most clinically important.

This post is for you if you've ever wondered: Are my repetitive behaviors OCD, autism, or both? And what does it even matter?

It matters enormously.

The Surface Looks the Same.  But the Root Is Different

Both OCD and autism can involve repetitive behaviors, rigid routines, and intense distress when things feel 'wrong.' A person with autism might insist on eating the same breakfast every day, need to walk the same route to work, or feel overwhelming discomfort when plans change. A person with OCD might wash their hands repeatedly, check the stove multiple times before leaving, or need to repeat a phrase until it 'feels right.'

From the outside  and even to the person themselves  these can look identical. But the internal experience is fundamentally different.

In OCD, repetitive behaviors are driven by anxiety: they're attempts to reduce a specific threat or prevent a feared outcome. In autism, repetitive behaviors often serve a regulatory function: they help manage sensory overwhelm, provide predictability, or simply feel good.

The key clinical question isn't 'does this person do repetitive things?' It's 'why are they doing them, and what happens if they stop?'

The Function of the Behavior

In OCD, compulsions are ego-dystonic; they feel unwanted, foreign, and distressing. The person usually doesn't want to be checking the lock for the fifteenth time. They feel, against their will, driven by an anxiety they cannot escape. Stopping the compulsion brings intense anxiety, at least initially.

In autism, repetitive behaviors (sometimes called 'stimming') are often ego-syntonic, which means that the behaviors often feel natural, comfortable, and even pleasurable. Rocking, humming, arranging objects, following routines: these tend to bring calm, not dread. Stopping them may cause distress, but it's usually because something regulating and enjoyable has been taken away, not because a feared catastrophe feels imminent.

This distinction matters most in treatment. ERP (Exposure and Response Prevention), the gold-standard treatment for OCD, involves deliberately resisting compulsions to break the anxiety cycle. If those behaviors are actually autistic coping strategies rather than OCD compulsions, doing ERP on them could strip away something the person genuinely needs, causing harm rather than relief.

When Both Are Present

Here's where it gets more complex: an estimated 17-37% people diagnosed with austim also meet criteria for OCD. The two conditions genuinely co-occur at significant rates, and each can make the other harder to see and treat.

Individuals with autism may develop OCD that is distinct from their autistic traits, true intrusive thoughts, and genuine anxiety-driven compulsions. This person needs both conditions addressed, not just one.

Some signs that OCD may be present alongside autism include:

  • The content of the repetitive behavior is focused on preventing harm or disaster (rather than comfort or regulation)

  • The person expresses that their thoughts feel intrusive, unwanted, or 'not them.'

  • Rituals have escalated over time and are taking up increasing amounts of time

  • The person feels distress about having the thoughts, not just about the behaviors

  • There is a clear obsession (thought) connected to the compulsion (behavior)

Why Diagnosis Affects Everything

Misdiagnosis in either direction creates real harm. A person with autism misdiagnosed with only OCD may be pushed into ERP for behaviors that are actually sensory or regulatory needs, leading to increased distress, burnout, and loss of coping tools. A person with OCD misdiagnosed with only autism may never receive the targeted OCD treatment that could dramatically reduce their suffering.

Getting an accurate picture, ideally with a clinician who is well-versed in both conditions, means treatment can be genuinely tailored. ERP for the OCD. Support and accommodation for the autistic neurology. And wisdom about where the two overlap.

Good treatment doesn't try to eliminate traits of autism in the name of treating OCD. It distinguishes between what needs to change and what deserves to be honored.

What This Means for You

If you are an individual with autism and also struggling with what looks like OCD, you deserve a thorough evaluation that doesn't collapse one condition into the other. If you're already in OCD treatment and it feels like something important is missing, it may be worth exploring whether autism is also part of your picture.

Understanding both is not about adding more labels. It's about building treatment that actually fits who you are, the whole of you, not just the parts that are easiest to see.

Next
Next

The Missing Ingredient in OCD Recovery: Self-Compassion