Autism vs OCD: similarities, differences and overlap
Start the free assessment Free, about 10 to 15 minutes
Short answer
Autism and OCD can both involve repetitive behaviors, rigid routines and distress when things are not right. The key difference is usually the feeling behind the behavior: autistic routines and repetitive actions often feel comforting or enjoyable, while OCD compulsions are driven by unwanted, distressing thoughts. The two often co-occur, and a professional assessment is needed to separate them.
Autism and OCD similarities
On the surface, the overlap is striking. Someone lines up objects, eats the same meal every day, gets upset if a routine is broken, or repeats an action several times. Those could be autistic traits, OCD symptoms, or both. That is why adults sometimes receive one label and later wonder about the other.
- Repetitive actions or rituals.
- Strong preferences about order, symmetry or how things are done.
- Distress when routines are interrupted.
- Intense, recurring focus on particular topics.
- Avoidance of certain situations.
What OCD is
Autism vs OCD symptoms: where they differ
How the behavior feels
This is the most useful distinction. In OCD, compulsions are usually unwanted. A person checks the stove five times not because checking feels good but because an intrusive thought ("the house will burn down and it will be my fault") will not let go. Many people with OCD recognize their fears as excessive and wish they could stop.
Autistic routines and repetitive behaviors are more often welcome. Rocking, arranging a collection, rewatching a favorite show or eating a familiar meal tends to feel calming, satisfying or simply right. The distress comes when the routine is disrupted, not from the routine itself.
What drives the focus
An autistic special interest is usually a source of joy and energy: train timetables, a fictional universe, birds, a programming language. OCD obsessions are the opposite: intrusive themes about contamination, harm, morality or things being "not right" that the person would rather not think about.
Onset
Autistic traits appear in early development. OCD can start in childhood too, but often begins around puberty or early adulthood. A history of routines and sensory preferences going back to toddlerhood points a clinician toward exploring autism; a clear start of intrusive fears later in life points toward OCD.
Mental rituals
OCD compulsions can be invisible: counting, repeating phrases silently, mentally reviewing past events to check you did nothing wrong. Autistic adults may also replay conversations, but usually to understand what happened socially rather than to neutralize a feared outcome. The overlap here can be genuinely hard to unpick without a skilled clinician.
| Feature | Autistic routines and repetition | OCD compulsions |
|---|---|---|
| Feeling during the behavior | Often calming or enjoyable | Relief from distress, rarely enjoyed |
| Linked thoughts | Interest, preference, sensory comfort | Unwanted intrusive thoughts or images |
| Person wants to stop? | Usually not | Often yes |
| Typical start | Early development | Often puberty or early adulthood |
| Disruption causes | Distress about change itself | Fear the feared outcome will happen |
Autism and OCD overlap: how often they occur together
Do I have autism or OCD? A worked example
Consider an adult who rearranges the mugs in the office kitchen every morning. If she does it because the colors in a neat row give her a small, pleasant jolt of calm, and she would be annoyed but fine if someone moved them, that fits an autistic preference for order. If she does it because an image of a colleague getting ill keeps flashing into her head, and only straightening the mugs a set number of times makes the image fade for a while, that fits an OCD compulsion. Same mugs, same row, very different inner experience. Only she can describe that experience, and a clinician needs her description to judge what is going on.
Why the difference matters for support
OCD has well-established treatments, including a type of cognitive behavioral therapy called exposure and response prevention, which helps people resist compulsions while facing feared thoughts.
Autism vs OCD in adults: questions to bring to a clinician
- Do I enjoy this behavior, or do I feel forced to do it?
- Is there a specific fear attached, such as harm, contamination or guilt?
- Were these patterns present when I was very young?
- What happens to my day when I cannot do the routine?
Frequently asked questions
Can you have both autism and OCD?
Yes. They frequently co-occur. Register research found that each diagnosis raises the chance of later receiving the other, and clinicians are advised to consider OCD when assessing autistic adults. Both can be supported at once with an approach that respects comforting routines.
Is lining things up a sign of autism or OCD?
It can be either, or neither. If lining things up feels satisfying and calming, that leans toward autistic preference. If it is driven by fear that something bad will happen otherwise, that leans toward OCD. A clinician will look at the whole pattern and history.
Are autistic special interests a type of obsession?
Not in the clinical sense. OCD obsessions are unwanted and distressing. Autistic special interests are usually chosen, enjoyable and energizing, even when they take up a lot of time. Everyday speech uses "obsessed" loosely, which adds to the confusion.
Sources
- NHS. Obsessive compulsive disorder (OCD): overview. Link
- Lai MC, Kassee C, Besney R, et al. Prevalence of co-occurring mental health diagnoses in the autism population: a systematic review and meta-analysis. The Lancet Psychiatry. 2019;6(10):819-829. doi:10.1016/S2215-0366(19)30289-5
- Meier SM, Petersen L, Schendel DE, et al. Obsessive-compulsive disorder and autism spectrum disorders: longitudinal and offspring risk. PLOS ONE. 2015;10(11):e0141703. doi:10.1371/journal.pone.0141703
- Cadman T, Spain D, Johnston P, et al. Obsessive-compulsive disorder in adults with high-functioning autism spectrum disorder: what does self-report with the OCI-R tell us? Autism Research. 2015;8(5):477-485. doi:10.1002/aur.1461
- National Institute for Health and Care Excellence. Autism spectrum disorder in adults: diagnosis and management (CG142). 2012, updated 2021. Link