OCD & autism
The overlap
Autism and OCD share surface features that can make them hard to tell apart. Both involve repetitive behaviours, a preference for sameness, rigidity, and distress when routines are disrupted. Both are associated with anxiety and sensory sensitivities. And the two conditions frequently co-occur.
A 2024 meta-analysis found that OCD affects approximately 11.6% of autistic young people - significantly higher than the general population rate of 1-2%. In the other direction, 9.5% of young people with OCD met criteria for autism.1
A separate 2025 meta-analysis found that autistic traits are substantially elevated in people with OCD, with a large effect size. The strongest association was with the restricted and repetitive behaviours domain of autism, suggesting that the overlap between the conditions is particularly concentrated in repetitive patterns of thinking and behaviour.2
The numbers tell a story
A meta-analysis of 27 studies found that autistic traits in OCD populations were substantially elevated compared to healthy controls, with the restricted and repetitive behaviours domain showing the largest effect. OCD symptoms were more strongly associated with repetitive behaviours (r = 0.34) than with social communication differences (r = 0.18).2
The key distinction: ego-syntonic vs ego-dystonic
The most important clinical distinction between autistic repetitive behaviours and OCD compulsions is how they feel to the person.
Autistic repetitive behaviours are typically ego-syntonic. They feel good, right, comfortable, or at least neutral. Stimming is self-regulatory. Routines provide predictability and comfort. Restricted interests bring joy, engagement, and a sense of identity. These behaviours are part of who the person is, and the person generally does not want to eliminate them.
OCD compulsions are typically ego-dystonic. They feel driven, urgent, unwanted, and exhausting. The person does not enjoy the compulsions - they perform them because not doing so feels unbearable. The compulsions provide temporary relief from anxiety, but the relief is short-lived and the cycle starts again. People with OCD often wish they could stop.
A 2024 systematic review of 31 studies confirmed this distinction, finding that emotional valence and perceived control are the key differentiating factors between autistic repetitive behaviours and OCD compulsions.3
Where it gets complicated
In practice, the distinction is not always clean. Some autistic people experience compulsions that feel ego-syntonic (particularly symmetry and ordering compulsions, which can feel satisfying even when driven by anxiety). Some autistic routines become so rigid that disrupting them causes genuine distress - not because of OCD, but because change is inherently challenging.
And many autistic people have both: comforting, identity-consistent autistic routines and separate, anxiety-driven OCD compulsions layered on top. In these cases, the OCD compulsions often attach to or build upon existing autistic patterns - making them even harder to identify as separate from the autism.
How autism affects OCD presentation
When autistic people develop OCD, it often presents somewhat differently from OCD in non-autistic people.
Obsessional themes
Autistic people with OCD may have obsessional themes that relate to their autistic experience: fears about sensory contamination (being contaminated by unpleasant textures or smells), obsessive concerns about social rules (did I break a social rule? did I offend someone?), or rigid moral thinking that tips into scrupulosity.
Compulsions
Compulsions in autistic people may be harder to identify because they overlap with autistic patterns. An autistic person who needs to touch every post along a street might be stimming, performing a compulsion, or both. The internal experience - what drives the behaviour - is what determines whether it is autism, OCD, or both.
Sensory-driven OCD
Some autistic people develop OCD that is specifically linked to sensory experiences. A fear of contamination might be driven not by germ phobia but by an intolerable sensory experience of feeling “dirty.” The “just right” feeling in symmetry OCD might relate to autistic sensory processing - the environment feels wrong at a sensory level when things are out of place.
Masking
OCD can be hidden behind autistic masking. An autistic person who already works hard to appear “normal” in social situations may also hide their compulsions. Internal compulsions (mental reviewing, counting, checking) are invisible and can be performed while appearing to function normally.
Alexithymia
Autistic people with alexithymia may struggle to identify the anxiety that drives OCD compulsions. They may know that something feels wrong and that performing a behaviour makes it feel less wrong, but they may not be able to label this as anxiety. This can make it harder to access standard OCD treatment, which often relies on rating anxiety levels.
Getting the right diagnosis
Why it matters
Autistic repetitive behaviours do not need treatment (and attempting to eliminate them can be harmful). OCD compulsions do benefit from treatment, and effective treatment is available. Getting the assessment right determines whether someone receives helpful support or harmful intervention.
What a good assessment looks like
A thorough assessment should explore the developmental history (autistic traits typically present from early childhood, while OCD often has a later onset or clear triggers), the emotional quality of repetitive behaviours (comforting vs anxiety-driven), the content and themes of intrusive thoughts, whether there is a clear obsession-compulsion cycle, the impact on daily functioning and wellbeing, and sensory processing differences.
Ideally, assessment should be conducted by a clinician who understands both autism and OCD, or by a multidisciplinary team with expertise in both areas.
Both can be true
Having autism does not protect you from developing OCD, and having OCD does not mean your autistic traits are “just OCD.” Both conditions can co-exist, and recognising this means both can be properly supported. You do not have to choose between labels - what matters is understanding what you are experiencing and getting the right help.
Shared neurobiology
Research has identified both shared and distinct neurobiological features between autism and OCD. Both conditions are associated with reduced temporal lobe cortical thickness and overlapping genetic heritability. However, autism is uniquely associated with increased frontal cortical thickness, and the conditions show different patterns on cognitive tasks despite both involving inflexibility.4
This neurobiological overlap helps explain why the conditions so frequently co-occur, while the differences support the clinical distinction between them.
Further reading on neurobetter
neurobetter services
- Local services directory - find mental health services near you
- Ask a Counsellor - get a confidential response from a registered counsellor
If you are in crisis
If you are struggling right now, please visit our Get Help Now page for immediate support options, including Samaritans (116 123), Crisis Text Line (text SHOUT to 85258), and NHS 111.
-
Aymerich, C. et al. (2024). Prevalence and correlates of the concurrence of autism spectrum disorder and obsessive compulsive disorder in children and adolescents: A systematic review and meta-analysis. Brain Sciences, 14(4), 379. https://doi.org/10.3390/brainsci14040379 ↩
-
Autistic traits in obsessive compulsive disorder: A systematic review and meta-analysis. (2025). Journal of Psychiatric Research, 187. https://doi.org/10.1016/j.jpsychires.2025.05.006 ↩
-
Repetitive behaviors in autism and obsessive-compulsive disorder: A systematic review. (2024). Journal of Autism and Developmental Disorders, 55(7), pp. 2307-2321. https://doi.org/10.1007/s10803-024-06357-8 ↩
-
Byrne, M.E., Pine, D.S. et al. (2025). Systematic review: Convergence and divergence between autism spectrum disorder and obsessive-compulsive disorder: Genetic, neuroimaging, and cognitive findings. Journal of the American Academy of Child and Adolescent Psychiatry. https://doi.org/10.1016/j.jaac.2025.03.011 ↩
This page has had one contribution from our team and community, and was last updated on 16 February 2026. Keeping this content up-to-date is a difficult task, especially as details can change quickly. We welcome feedback on any of the content in the Advice Hub, including any lived experience you can share. Please login or create an account to submit feedback.
neurobetter's content and services are intended to provide information, peer support, and connections to services. They are not intended to replace, override, or contradict medical or psychological advice provided by a doctor, psychologist or other healthcare professional.