What Are Mental Compulsions? OCD Symptoms You Might Not Recognize

QUICK ANSWER:

What are mental compulsions?

Mental compulsions are repetitive thoughts or mental actions performed to reduce anxiety, neutralize an intrusive thought, or gain certainty. Unlike visible compulsions such as washing, checking, or arranging, mental compulsions happen silently inside your mind.

Common examples include mentally reviewing past events, analyzing what a thought “really means,” repeating phrases or prayers, replacing a “bad” thought with a “good” one, testing your feelings, and reassuring yourself.

Although mental compulsions may briefly relieve anxiety, they reinforce the OCD cycle by teaching your brain that the intrusive thought was dangerous and needed to be resolved.


When most people picture obsessive-compulsive disorder (OCD), they imagine visible behaviors: washing your hands repeatedly, checking that the door is locked, or arranging objects until they feel “just right.”

But not every compulsion can be seen.

Someone may appear completely calm while internally reviewing a conversation for the twentieth time, testing whether they feel attracted to someone, repeating a phrase to cancel out a frightening thought, or trying to prove to themselves that they would never cause harm.

These are mental compulsions.

Because they happen internally, mental compulsions can be difficult to recognize—even for the person experiencing them. They may simply feel like overthinking, problem-solving, self-reflection, or an attempt to “figure something out.”

Understanding the difference between an intrusive thought and the mental response that follows is an important part of recognizing and treating OCD.

In this guide, we’ll explore what mental compulsions are, what they can look like, why they keep OCD going, and how Exposure and Response Prevention (ERP) can help.

What Is a Mental Compulsion?

A mental compulsion is a deliberate mental action a person feels driven to perform in response to an intrusive thought, image, urge, sensation, feeling, or doubt.

The purpose is usually to:

  • Reduce anxiety or discomfort

  • Prevent something bad from happening

  • Neutralize an upsetting thought

  • Determine what a thought means

  • Make sure something is true (or not true)

  • Feel completely certain

  • Reach a “just right” feeling

Compulsions are not limited to observable behaviors. Clinical definitions of OCD specifically include repetitive mental acts, and these internal rituals can interfere with daily life just as significantly as visible compulsions.

For example, someone may experience the intrusive thought:

“What if I said something offensive during that conversation?”

They might then replay the conversation in their mind, inspect their memory, analyze the other person’s facial expression, and silently list evidence that they are a good person.

That process may provide temporary relief. But when the doubt returns, the person feels compelled to review everything again.

Mental Compulsions vs. Intrusive Thoughts

One of the most confusing parts of OCD is telling the difference between an obsession and a mental compulsion.

An obsession is an intrusive and unwanted thought, image, urge, sensation, feeling, or doubt that appears and causes distress.

A mental compulsion is what you intentionally do inside your mind to reduce that distress or resolve the uncertainty.

For example:

  • Obsession: “What if I secretly want to hurt someone?”

  • Mental compulsion: Reviewing your past behavior to prove you are not dangerous.

Or:

  • Obsession: “What if I do not really love my partner?”

  • Mental compulsion: Checking your feelings whenever you look at your partner.

Or:

  • Obsession: “What if I accidentally cheated on the test?”

  • Mental compulsion: Reconstructing every moment of the exam to make sure you followed the rules.

The intrusive thought is the alarm. The mental compulsion is the attempt to turn the alarm off.

That distinction matters because trying to solve, disprove, cancel, or neutralize every intrusive thought can strengthen OCD—even when the response happens entirely inside your head.

Common Types of Mental Compulsions

Mental compulsions can take many forms and may change depending on the theme of someone’s OCD.

Mentally Reviewing Past Events

Mental review involves repeatedly replaying an event to determine exactly what happened.

You might review:

  • A conversation to check whether you offended someone

  • A drive to make sure you did not hit anyone

  • A childhood memory to determine whether you did something wrong

  • A social interaction to analyze how you appeared

  • A period of time you cannot remember clearly

  • The moments before leaving home to confirm that everything was turned off

Unlike ordinary reflection, mental review rarely leads to lasting clarity. Each attempt to remember perfectly tends to introduce another question:

“But what if I missed something?”

Rumination and Compulsive Analysis

Rumination can involve repeatedly trying to solve an unanswerable question or reach complete certainty.

This might sound like:

  • “Why did I have that thought?”

  • “What does this say about me?”

  • “How can I know for sure?”

  • “Would a good person feel this way?”

  • “What if my anxiety is actually intuition?”

  • “How do I know this is OCD?”

  • “What if I am in denial?”

  • “What if I never figure this out?”

Rumination can feel productive because the mind is working hard. But OCD often asks questions that cannot be answered with absolute certainty. The analysis continues not because an answer has not been considered, but because no answer feels certain enough.

Mental Checking

Mental checking involves looking internally for evidence about your thoughts, emotions, intentions, identity, memory, or physical sensations.

Examples include:

  • Checking whether you feel attracted to someone

  • Monitoring whether you feel “in love enough”

  • Testing your emotional reaction to a disturbing image

  • Checking whether you feel guilty

  • Scanning your body for signs of illness or arousal

  • Checking your memory for evidence that something happened

  • Monitoring your breathing, blinking, swallowing, or heartbeat

The more closely you check for a particular feeling or sensation, the more noticeable—and often more confusing—it can become.

Self-Reassurance

Reassurance does not always come from another person. You can also reassure yourself mentally.

You might repeatedly tell yourself:

  • “I would never do that.”

  • “Everything is definitely fine.”

  • “That thought does not mean anything.”

  • “I know I locked the door.”

  • “I am a good person.”

  • “This is only OCD.”

  • “Nothing bad is going to happen.”

These statements are not inherently unhealthy. The important question is how they are being used.

If you feel driven to repeat them until your anxiety decreases or you feel certain, they may be functioning as compulsions.

Repeating Words, Numbers, or Phrases

Some mental rituals involve silently repeating:

  • A particular word

  • A “safe” number

  • A person’s name

  • A phrase or affirmation

  • Something you just heard

  • A sentence until it feels complete or correct

A person may believe the repetition will prevent harm, eliminate uncertainty, or create a “just right” feeling.

Mental Praying

Prayer can be a meaningful and values-based spiritual practice. It can also become compulsive when someone feels driven to pray in a rigid or repetitive way to neutralize a thought or prevent a feared outcome.

Compulsive prayer may involve:

  • Repeating a prayer until it feels sincere enough

  • Starting over after becoming distracted

  • Praying to cancel an intrusive thought

  • Asking for forgiveness repeatedly

  • Trying to confess every possible mistake

  • Believing that failing to pray correctly could cause harm

The difference is not whether someone prays. It is whether OCD is dictating when, why, and how the prayer must be performed.

Cancelling or “Undoing” Thoughts

Mental undoing involves replacing an upsetting thought, word, or image with something that feels safer.

For example:

  • Visualizing a loved one healthy after imagining them getting hurt

  • Replacing a “bad” word with a “good” word

  • Thinking of a safe number after noticing an unsafe one

  • Creating a positive image to cancel a disturbing image

  • Repeating the opposite of an intrusive thought

The International OCD Foundation identifies praying, counting, mental review, and “undoing” as possible mental compulsions.

Thought Suppression

Someone with OCD may try to force an intrusive thought out of their mind, block it, or replace it immediately.

Unfortunately, actively monitoring whether you are still having a thought tends to keep your attention focused on it.

Thought suppression can become its own ritual:

“I cannot think about that. Think of something else. Is it gone yet? Why am I still thinking about it?”

The goal of OCD treatment is not to become better at eliminating unwanted thoughts. It is to learn that thoughts can be present without needing an immediate response.

Comparing

Compulsive comparison involves repeatedly comparing your internal experience with someone else’s—or with how you believe you “should” feel.

You might compare:

  • Your attraction to different people

  • Your relationship with other couples’ relationships

  • Your emotional response with another person’s response

  • Current memories with previous versions of the memory

  • Your symptoms with stories you read online

  • Your morality, intentions, or behavior with those of other people

Comparison may briefly create clarity, but OCD usually finds an exception that restarts the doubt.

How Can I Tell if I Am Problem-Solving or Performing a Compulsion?

Not every instance of analyzing, remembering, praying, or reassuring yourself is a compulsion.

The same mental activity may be ordinary in one situation and compulsive in another. The function of the behavior matters more than the specific thought.

Consider asking:

  • Do I feel an urgent need to figure this out right now?

  • Am I trying to eliminate anxiety or achieve complete certainty?

  • Have I already thought through this question multiple times?

  • Does each answer create another “what if?”

  • Do I feel temporary relief followed by renewed doubt?

  • Am I trying to prove that a feared possibility is impossible?

  • Does stopping before I feel certain make me uncomfortable?

  • Is this taking me away from what I want to be doing?

Ordinary problem-solving typically moves toward a decision or concrete action. Compulsive rumination moves in circles.

Why Are Mental Compulsions So Difficult to Recognize?

Mental compulsions can easily disguise themselves as responsible or useful thinking.

Reviewing the past may feel like being careful. Analyzing your intentions may feel like being self-aware. Reassuring yourself may resemble positive self-talk. Compulsive prayer may appear to be devotion.

They are also private. Family members, teachers, partners, and even clinicians may not realize how much time someone is spending performing internal rituals.

As a result, a person may believe they have “only obsessive thoughts” without recognizing the compulsions happening in response. This is sometimes informally called Pure O, meaning “purely obsessional” OCD.

However, many people described as having Pure O do experience compulsions—they are simply less visible. These may include rumination, mental review, self-reassurance, thought suppression, checking feelings, or neutralizing thoughts.

How Mental Compulsions Keep the OCD Cycle Going

The OCD cycle often looks like this:

  1. An intrusive thought, sensation, image, urge, or doubt appears.

  2. Anxiety, guilt, disgust, shame, or uncertainty increases.

  3. You perform a mental compulsion.

  4. Distress decreases temporarily.

  5. Your brain concludes that the compulsion protected you.

  6. The next intrusive thought feels even more important to resolve.

The problem is not that the compulsion never provides relief. It often does.

The problem is that the relief does not last.

Every time the ritual is used to escape uncertainty, the brain receives the message:

“This thought was important and dangerous. We need to do that ritual again next time.”

Over time, mental compulsions can become faster and more automatic, making it feel as though you are trapped inside your own thought process.

What Do Mental Compulsions Look Like in Children and Teens?

Children and teenagers may have difficulty explaining what they are doing mentally. They may simply report feeling stuck, confused, distracted, or unable to move on.

Signs might include:

  • Taking a long time to answer simple questions

  • Frequently starting sentences over

  • Appearing distracted during school or conversations

  • Asking others to repeat information

  • Becoming distressed when interrupted while thinking

  • Needing to remember something “exactly right”

  • Silently repeating words or phrases

  • Frequently confessing thoughts or minor mistakes

  • Asking highly specific reassurance questions

  • Becoming stuck trying to determine whether something “counts”

  • Saying, “I need to figure it out,” without being able to explain what would feel resolved

A child may also ask for reassurance because they have already tried unsuccessfully to reassure themselves internally.

These behaviors do not automatically mean that a child has OCD. A qualified clinician can assess the complete pattern, including the child’s distress, the purpose of the behavior, and its impact on daily functioning.

How Are Mental Compulsions Treated?

Exposure and Response Prevention (ERP), a specialized form of Cognitive Behavioral Therapy, is considered a first-line psychological treatment for OCD.

ERP involves gradually facing triggers for uncertainty or discomfort while practicing a different response—including resisting mental rituals.

For someone with mental compulsions, response prevention might involve:

  • Allowing a memory to remain incomplete

  • Not replaying a conversation

  • Leaving a question unanswered

  • Not checking for a particular feeling

  • Allowing an intrusive thought to remain in the background

  • Resisting the urge to replace a “bad” thought

  • Letting a phrase feel unfinished

  • Continuing an activity without first feeling certain

  • Responding with “maybe, maybe not”

  • Redirecting attention without first resolving the doubt

ERP is not about proving that the feared outcome will never happen. That would become another attempt to provide certainty.

Instead, ERP helps you learn:

“I can experience this thought and the uncertainty that comes with it without performing a ritual.”

Over time, your brain can learn that intrusive thoughts do not require an emergency response.

Does Resisting Mental Compulsions Mean I Have to Stop Thinking?

No.

Trying to force yourself to stop thinking can become another compulsion.

Response prevention does not require perfectly controlling your mind. It means noticing when you are intentionally engaging with an intrusive thought in an attempt to neutralize it, solve it, or feel certain—and practicing disengaging from that process.

You may still notice the thought.

You may still feel uncertain.

You may even find yourself beginning a mental ritual automatically.

The goal is not perfect mental silence. It is becoming less willing to spend your time answering every question OCD asks.

What If I Cannot Tell Whether I Am Ruminating?

That uncertainty is common—and trying to determine with complete certainty whether each thought is a compulsion can itself become part of the OCD cycle.

Rather than closely monitoring every thought, it may be more useful to notice the overall pattern:

  • Am I repeatedly returning to the same question?

  • Am I searching for a feeling of certainty or relief?

  • Is this thought process helping me take meaningful action?

  • Would I still be doing this if I were not anxious?

  • Can I allow the question to remain unanswered for now?

You do not have to label every thought perfectly before choosing to return your attention to the life happening around you.

Frequently Asked Questions

Looking for OCD Therapy in Florida, New Jersey, or Vermont?

Mental compulsions can make it feel as though you need to solve every doubt before you can return to your life. But the more you try to achieve complete certainty, the further away certainty can seem.

You do not need to eliminate intrusive thoughts or gain perfect control over your mind to recover from OCD.

At Temperance Psychotherapy, I provide evidence-based OCD treatment for children, teens, and adults using Exposure and Response Prevention, Cognitive Behavioral Therapy, Acceptance and Commitment Therapy, and other approaches tailored to each client’s needs.

I offer in-person OCD therapy in Longwood and Maitland, Florida, as well as virtual therapy throughout Florida, New Jersey, and Vermont.

If mental reviewing, rumination, checking, or other invisible rituals are taking up more of your life than others realize, I would love to help.

Sources

The information in this article is based on current research and evidence-based clinical practice. Additional information about OCD and mental compulsions is available from:

  • International OCD Foundation: About OCD

  • International OCD Foundation: Mental Compulsions and What to Do About Them

  • American Psychiatric Association: What Is Obsessive-Compulsive Disorder?

  • National Institute of Mental Health: Obsessive-Compulsive Disorder

  • National Institute for Health and Care Excellence: Obsessive-Compulsive Disorder and Body Dysmorphic Disorder—Treatment

Next
Next

What Is Play-Based Therapy? Helping Children Express, Process, and Build Skills Through Play