Mental compulsions are repetitive mental acts that a person feels driven to perform in response to an unwanted, distressing thought. They happen entirely inside your head: silently counting, replaying conversations, mentally reviewing events, replacing a “bad” thought with a “good” one, or repeating a prayer or phrase. They serve the same function as physical compulsions like hand washing or checking locks, but because no one can see them, they often go unrecognized for years.
How Mental Compulsions Work
The cycle starts with an obsession, an intrusive thought that causes intense anxiety or dread. Maybe it’s a thought about accidentally harming someone, or a sudden doubt about whether you said something offensive in a conversation last week. The thought feels urgent and threatening, even when you logically know it’s irrational.
To relieve that distress, you perform a mental ritual. You might replay the conversation frame by frame, searching for proof you didn’t say anything wrong. You might silently repeat a specific word or phrase until the anxiety drops. You might mentally “undo” a disturbing image by replacing it with a safe one. The ritual brings temporary relief, but it also teaches your brain that the original thought was genuinely dangerous, which makes it return more forcefully next time. This is the core cycle of OCD: obsession, distress, ritual, brief relief, and then the obsession again.
Cognitive behavioral theories describe this process as “neutralization.” The compulsion isn’t really a response to the content of the thought itself. Research has shown that the same intrusive thoughts (about harm, sex, blasphemy) are common in people without OCD. The difference is how the person interprets the thought. Someone with OCD appraises a random violent image as personally meaningful or catastrophic, and that appraisal drives the urge to neutralize it. The neutralizing, in turn, reinforces the cycle.
Common Types of Mental Compulsions
Mental compulsions take many forms, but a few patterns appear frequently:
- Mental reviewing. Replaying past events, interactions, or memories over and over to verify that nothing went wrong or that no harm was done. A person afraid of hurting others might mentally re-examine every interaction from the day, checking each one for signs of offense or injury.
- Counting. Performing tasks while counting to land on a number that feels “right,” “safe,” or “good.” The counting itself is invisible to others.
- Praying or repeating words. Silently repeating a prayer, phrase, or specific word to prevent a feared outcome or to neutralize a disturbing thought.
- Cancelling or undoing. Replacing a “bad” thought with a “good” one to cancel it out. For example, if an unwanted violent image appears, you might force yourself to picture something peaceful until the anxiety subsides.
- Mental checking. Internally verifying that a memory is accurate, that an idea has been perfectly understood, or that you truly feel a certain way. This is the mental equivalent of going back to check the stove.
- Self-arguing. Building internal arguments or reassurance chains to prove that a feared scenario isn’t real. This can look like a mental debate that loops without resolution.
What ties these together is intention and structure. Mental compulsions aren’t random worrying. They follow rules, sometimes rigid ones, and they’re performed deliberately in response to a specific trigger.
Why They’re Often Missed
Mental compulsions are just as real and disruptive as physical rituals, but they’re harder for both the person experiencing them and the people around them to identify. Someone washing their hands 30 times a day has a visible problem. Someone mentally replaying every conversation from the past week looks like they’re just spacing out or being quiet.
This invisibility has led to the term “Pure O,” short for “purely obsessional OCD.” The label implies that a person experiences obsessions without compulsions. But this is almost always misleading. It’s extremely rare for someone with OCD to have obsessions with no compulsions at all. In the vast majority of cases, the compulsions are present; they’re just happening internally. The person may not even recognize their mental rituals as compulsions because they don’t match the popular image of OCD as hand washing or lock checking.
Even clinicians can miss them without the right questions. As one clinical psychologist at the Child Mind Institute put it, if you know what to ask, you can find the compulsions, but many people don’t recognize them as compulsions on their own. The diagnostic criteria in the DSM-5-TR explicitly include mental acts alongside physical behaviors: “repetitive behaviors or mental acts (e.g., silently praying, counting, repeating words silently) that the individual feels driven to perform in response to an obsession.”
Mental Compulsions vs. Rumination
This distinction matters because people often confuse the two, and they require different approaches. Rumination, the kind associated with depression, is a passive process. It’s repetitively dwelling on how bad you feel, what caused your distress, and what the consequences might be. It enters consciousness on its own and cycles without any particular structure or goal.
Mental compulsions are active and intentional. You perform them on purpose, even if the urge feels automatic, and they follow specific internal rules. You’re not passively stewing; you’re doing something in your mind to neutralize a threat. A person with OCD might mentally replay a memory not because they can’t stop thinking about it, but because they’re actively checking whether they did something harmful. The replay has a mission: to confirm safety and reduce anxiety.
In practice, the line can blur. Obsessional rumination, as researchers describe it, involves obsessive thoughts combined with mental neutralizing strategies like counting, self-arguing, and thought suppression. It looks like rumination on the surface, but underneath it has the hallmarks of compulsion: rules, purpose, and a drive to reach certainty.
What Makes Them Hard to Stop
Mental compulsions are self-reinforcing. Each time you perform a mental ritual and the feared outcome doesn’t happen, your brain attributes the safety to the ritual rather than to the reality that the threat was never real. This strengthens the link between the obsession and the compulsion, making it harder to resist next time.
They also have no natural boundary. If you’re washing your hands, at some point you physically stop. But a mental review can loop indefinitely. You can replay a conversation 50 times in an hour without anyone noticing, and without any external signal that you’ve “done enough.” The uncertainty that drives the compulsion, whether you really didn’t cause harm, whether you truly feel the right thing, is impossible to resolve with certainty. So the checking continues.
The standard treatment for OCD, exposure and response prevention, works for mental compulsions just as it does for physical ones. The core principle is the same: you learn to sit with the anxiety triggered by the obsession without performing the ritual. For mental compulsions, this means learning to notice when a mental ritual has started and choosing not to complete it, letting the intrusive thought exist without neutralizing it. This is harder to practice than resisting a physical compulsion because the ritual and the obsession occupy the same space (your thoughts), but with guidance, the approach is effective.

