The difference between obsession and compulsion is the difference between a thought and an action. An obsession is an unwanted thought, urge or mental image that keeps coming back and causes anxiety. A compulsion is something you do, out loud or in your head, to make that anxiety go away. In obsessive-compulsive disorder (OCD) the two run in a loop: the obsession creates distress, the compulsion relieves it for a moment, and the relief teaches the brain to do it again.
| Obsession | Compulsion | |
|---|---|---|
| What it is | A repeated, unwanted thought, urge or image | A repeated behavior or mental act |
| How it feels | Intrusive, distressing, hard to dismiss | Driven, hard to resist, briefly relieving |
| Examples | “What if I left the stove on?” “What if I hurt someone?” | Checking, washing, counting, repeating, asking for reassurance |
| Where it happens | In the mind | In behavior or in the mind (mental rituals) |
| Its role in OCD | Creates the anxiety | Temporarily reduces the anxiety, which keeps the cycle going |
Difference between obsession and compulsion: the definitions
The National Institute of Mental Health (NIMH) describes obsessions as repeated, intrusive thoughts, urges or mental images that cause anxiety, and compulsions as repetitive behaviors a person feels driven to do in response to an obsession. In OCD, these symptoms take up more than an hour a day and get in the way of daily life.
Most people have an odd thought now and then, or like things done a certain way. That is not OCD. The difference is distress and time. Someone with OCD does not enjoy the ritual; they feel they cannot stop, and the thoughts and behaviors crowd out work, relationships and sleep. The Cleveland Clinic puts the number affected at about 2 out of every 100 people in the U.S.
These thoughts usually clash with what the person believes and wants. Someone who fears harming a loved one is typically a careful, gentle person. That mismatch is part of what makes obsessions so painful, and it is also a clue: the thought is a symptom, not a wish.
Examples of obsessions and compulsions
OCD tends to cluster around themes. Research describes common ones such as contamination, symmetry and order, harm, and morality or religion, and finds that compulsions serve different functions depending on the obsession behind them (Starcevic et al., 2011). Here is how the pairs often look:
- Contamination. Obsession: fear of germs, illness or chemicals. Compulsion: washing, cleaning, avoiding “dirty” places or people.
- Symmetry and order. Obsession: a sense that something bad will happen if objects are not lined up or “just right.” Compulsion: arranging, straightening, redoing a task until it feels right.
- Harm. Obsession: an image or urge of hurting yourself or someone else, or of having caused harm by accident. Compulsion: checking that nothing happened, hiding knives, asking others for reassurance, repeating a protective phrase.
- Morality or religion. Obsession: worry about having sinned, lied or offended. Compulsion: confessing, praying in a set way, mentally reviewing past events.
Compulsions are not always visible. Mental rituals such as counting, reviewing a conversation to be sure nothing bad was said, or silently neutralizing a thought with a “good” thought are compulsions too, and they can be just as time-consuming as hand washing.
Can you have obsessions and compulsions without OCD?
Yes. Intrusive thoughts happen to almost everyone, and plenty of people have routines or superstitions. A diagnosis of OCD depends on the pattern: obsessions and compulsions that are time-consuming, cause real distress, or interfere with daily life (American Psychiatric Association).
Why the cycle is hard to break on your own
Compulsions work, briefly. That is the problem. Each time a ritual lowers the anxiety, the brain learns that the ritual is what keeps you safe, and the obsession comes back stronger. Avoidance has the same effect: staying away from the places, people or objects that trigger the obsession brings short-term relief and long-term growth of the fear (McGuire et al., 2012).
an unwanted thought, urge or image
“something is wrong, I have to act”
brief, and the brain learns that the ritual kept you safe
checking, washing, counting, asking for reassurance
Two other things keep people stuck. Shame: a systematic review and meta-analysis found shame is consistently associated with OCD (Laving et al., 2022), and shame about the content of an obsession (especially harm or sexual themes) stops many people from describing it to anyone. And loneliness: a 2024 study found loneliness is common among people with OCD (Friedman-Ezra et al., 2024). Knowing that obsessions are a symptom with a name, and that clinicians hear these thoughts every day, is often the first relief.
Do I have OCD?
Only a clinician can diagnose OCD, but three questions point to whether an evaluation makes sense:
- Do unwanted thoughts, urges or images keep returning even though you try to push them away?
- Do you repeat actions or mental routines to feel safe or “right,” and feel anxious when you cannot?
- Do these take more than an hour a day, or get in the way of work, school, relationships or sleep?
If the answer to all three is yes, talk to someone who treats OCD. The first-line psychological treatment is a form of cognitive behavioral therapy called exposure and response prevention (ERP), in which you learn to face the obsession without doing the compulsion, so the anxiety can fall on its own.
OCD treatment in NYC
New York Behavioral Health provides therapy for OCD in person in Manhattan, Rockville Centre and Roslyn, and online across New York State. Our clinicians are trained in cognitive behavioral therapy, including ERP. We are a private-pay practice. The first session is a 45-minute intake, and we reply to new inquiries within one business day. Send an inquiry to get started.
References
- American Psychiatric Association. What is obsessive-compulsive disorder? Source
- Cleveland Clinic. Obsessive-compulsive disorder (OCD). Source
- Friedman-Ezra, A., Keydar-Cohen, K., van Oppen, P., Eikelenboom, M., Schruers, K., & Anholt, G. E. (2024). Loneliness in OCD and its determinants. Psychiatry Research, 337, 115963. PubMed
- Laving, M., Foroni, F., Ferrari, M., Turner, C., & Yap, K. (2022). The association between OCD and shame: A systematic review and meta-analysis. British Journal of Clinical Psychology, 62(1), 28-52. PubMed
- McGuire, J. F., Storch, E. A., Lewin, A. B., Price, L. H., Rasmussen, S. A., & Goodman, W. K. (2012). The role of avoidance in the phenomenology of obsessive-compulsive disorder. Comprehensive Psychiatry, 53(2), 187-194. PubMed
- National Institute of Mental Health. Obsessive-compulsive disorder: When unwanted thoughts or repetitive behaviors take over. Source
- Starcevic, V., Berle, D., Brakoulias, V., Sammut, P., Moses, K., Milicevic, D., & Hannan, A. (2011). Functions of compulsions in obsessive-compulsive disorder. Australian and New Zealand Journal of Psychiatry, 45(6), 449-457. PubMed


