Key points
- Autistic routines and OCD compulsions can look similar from the outside: repeated actions, strong preferences and distress when things change.
- The key difference is usually how they feel. Autistic routines and interests tend to feel comforting or enjoyable. OCD obsessions feel intrusive and unwanted, and compulsions are done to reduce anxiety.
- The two often occur together. A review estimated that about 9% of autistic people had OCD, and people diagnosed with one have a higher chance of later being diagnosed with the other.
- Describing why you do something, and how it feels, helps a professional tell them apart.
Why they get confused
Autism and obsessive-compulsive disorder (OCD) both involve repetition. An autistic person may eat the same breakfast every day, line things up, follow a fixed order when getting ready and feel very upset if the routine is broken. A person with OCD may check the door several times, wash their hands in a set way or arrange objects until they feel "right", and feel very anxious if they can't.
From the outside, these can look almost identical. A Spanish review on telling the two apart noted that both can involve a fixation on routine, ritualised behaviour, resistance to change and very narrow interests, which makes the distinction hard and can lead to OCD being wrongly diagnosed in autistic people [4].
The language doesn't help. People often describe autistic interests as "obsessions" and routines as "compulsive", even though these words have specific meanings in OCD.
What OCD is
OCD involves obsessions, compulsions or both [1]. Obsessions are repeated, unwanted thoughts, images or urges that feel intrusive and cause anxiety or distress, such as fears of contamination, of causing harm or of something being wrong. Compulsions are repeated actions or mental acts that a person feels driven to do to reduce that distress or prevent something bad from happening, such as checking, washing, counting or repeating phrases.
People with OCD often recognise that their thoughts or rituals are excessive, but feel unable to stop. The relief from a compulsion is usually short-lived, and the cycle starts again.
What autistic routines and interests are
Autism includes restricted and repetitive patterns of behaviour, interests or activities [1]. These can include a strong need for sameness and routine, intense or focused interests, repetitive movements, and sensory differences. They are present from early childhood.
For many autistic people, routines make the world more predictable and reduce the effort of constant decisions. Intense interests are often a source of real pleasure, calm and expertise. The distress usually comes when routines are disrupted or interests are interrupted, not from the routine or interest itself.
The key differences
The review on telling the two apart suggested looking at how the behaviour feels, what it is about, and what it does for the person [4]. In practice, these questions often help:
- How does it feel? Autistic routines and interests usually feel comforting, satisfying or enjoyable. OCD obsessions feel intrusive and unwanted, and compulsions feel like something you have to do rather than want to do.
- What is it for? Autistic routines often make life predictable or are simply preferred. OCD compulsions are usually aimed at reducing anxiety or preventing a feared outcome.
- Is there a feared consequence? "If I don't check the stove five times, the house will burn down" points towards OCD. "I like to do things in this order, and it throws me when I can't" points towards autism.
- Do you want to stop? People with OCD often wish they could stop their rituals. Autistic people usually don't want to give up their routines or interests, but may want others to respect them.
- When did it start? Autistic traits are present from early childhood [1]. OCD can begin at different ages, sometimes in adolescence or adulthood.
The same review argued that the words obsession and compulsion should not be used to describe autistic routines and interests, because they don't feel unwanted and people don't try to resist them in the same way [4].
When it's both
Autism and OCD often occur together. A large review estimated that about 9% of autistic people in the studies it covered had OCD [2]. In a Danish population study, people first diagnosed with autism had about twice the risk of a later OCD diagnosis, and people first diagnosed with OCD had nearly four times the risk of a later autism diagnosis [3]. The authors suggested that the two may share some underlying causes [3].
That second finding is worth noticing. Some adults are diagnosed with OCD first, and only later recognise that some of their repetitive behaviour has always been part of a wider autistic pattern.
When both are present, it matters which behaviour is which. The review suggested that support for autistic routines and interests focuses on adapting the environment and building flexibility, while exposure-based therapy, which gradually reduces compulsions, is used when OCD is also present [4]. Exposure therapy is not designed to remove autistic routines or interests. A professional who understands both conditions can help work out which behaviours are which.
An example
Here is a fictional example. Sam and Kai both keep their desks in a very particular order.
Sam arranges everything in the same place every morning. It feels calm and right, and Sam enjoys the order. If a colleague moves something, Sam feels thrown and has to put it back before starting work. Sam has kept things this way since primary school, and also has strong, long-lasting interests and finds noisy offices exhausting.
Kai also arranges the desk, but feels driven to do it: if things are not perfectly aligned, Kai has a strong feeling that something bad will happen at work. Kai spends twenty minutes adjusting and re-adjusting, feels relief for a short while, then the doubt returns. This started in Kai's late teens, and Kai wishes it would stop.
Sam's pattern looks more like autism, Kai's more like OCD. Some people recognise themselves in both.
Living with routines and rituals
Whatever the explanation, a few practical ideas can make daily life easier. For autistic routines, the aim is usually to protect them where they help and to plan for change: asking for advance notice, keeping a back-up plan when a routine can't happen, and building in time to adjust.
For OCD-type rituals, the aim is different. Because compulsions tend to keep the anxiety going, gradually resisting the ritual, with professional support, is usually part of getting better. If rituals take up a lot of time, cause distress, or are driven by frightening thoughts, it is worth talking to a doctor or mental health professional about OCD-specific help.
How to describe your experiences
- Describe the behaviour, then why you do it and how it feels: comforting, neutral, or driven by fear.
- Say whether there are unwanted thoughts or fears connected to it.
- Say whether you would like to stop, or whether you simply want others to respect it.
- Describe when it started, and what you were like as a child.
- Mention any other autistic traits, such as social communication differences or sensory sensitivities.
Common questions
Can someone be autistic and have OCD? Yes. They are separate conditions that often occur together [2][3].
Are autistic special interests a kind of obsession? Not in the clinical sense. Autistic interests are usually enjoyed and wanted. In OCD, obsessions are unwanted and distressing [4].
Why do I get so upset when my routine changes? For many autistic people, routines reduce uncertainty and the effort of constant decisions. A sudden change removes that support. Planning ahead and asking for advance notice can help.
Is needing things to be symmetrical a sign of OCD or autism? It could be either, or neither. Ask yourself how it feels. If arranging things is calming and satisfying, that fits autistic preferences. If it is driven by a feeling that something bad will happen, or you can't stop until it feels "just right" and wish you could, that fits OCD more.
AutismTestQuiz's Trait Profile asks about routines, focused interests and repetitive behaviour, and whether each experience is true now, was true in childhood, or both. It does not assess OCD. If you have intrusive, distressing thoughts or rituals you feel driven to do, it is worth talking to a professional.
Take the related test
Quick check
Ten questions, about two minutes. A first look before the full profile.
Start questionnaireTrait Profile
59 questions about social communication, routines, interests and sensory experience, and when each one began.
Start questionnaireRelated reading
References
- American Psychiatric Association (2022). Diagnostic and Statistical Manual of Mental Disorders (5th ed., text rev.; DSM-5-TR).
- Lai, M.-C., Kassee, C., Besney, R., Bonato, S., Hull, L., Mandy, W., Szatmari, P., & Ameis, S. H. (2019). Prevalence of co-occurring mental health diagnoses in the autism population: A systematic review and meta-analysis. The Lancet Psychiatry, 6(10), 819–829.
- Meier, S. M., Petersen, L., Schendel, D. E., Mattheisen, M., Mortensen, P. B., & Mors, O. (2015). Obsessive-compulsive disorder and autism spectrum disorders: Longitudinal and offspring risk. PLoS ONE, 10(11), e0141703.
- Paula-Pérez, I. (2013). Differential diagnosis between obsessive compulsive disorder and restrictive and repetitive behavioural patterns, activities and interests in autism spectrum disorders. Revista de Psiquiatría y Salud Mental, 6(4), 178–186.