How to resist compulsions when the urge feels impossible

A small white character sits on a wooden chair with its hands still on its knees while a tall black scribble, looped round one wrist, pulls taut away from it.

The short answer

You can't make the urge stop, and you don't need to. Resisting a compulsion means letting the urge stay while you don't act on it. Name it as OCD, delay, and ride the urge like a wave: it peaks and eases within minutes when you stop acting on it. Stopping a ritual completely works better than cutting it down, so try to stop the whole thing, not a smaller version.

In the middle of one right now? Ride this one out with the free wave, then come back.

Download Surf OCD for free

Why does the urge feel impossible to resist?

Because it isn’t behaving like a preference. It’s behaving like an alarm.

When the spike comes, a flash of harm, a doubt about the door, a “what if I don’t really love them”, a sense that something you touched is contaminated, your brain treats it as an emergency that has an obvious solution. The compulsion isn’t something you want. It’s the one thing your brain insists will make the feeling stop, and it insists hard. That’s why “just don’t do it” is such useless advice. You can’t argue yourself out of an alarm, and that isn’t a failing on your part.

Two more things make it harder. First, the urge comes with a strong sense of urgency. It feels like you have to sort this out in the next thirty seconds. Second, you’ve done the compulsion before and it worked, in the narrow sense that the relief was real. Short-lived, but real. Your brain remembers the relief and forgets the cost.

And the meaning you’re giving the moment matters. What turns a normal intrusion into an obsession is the reading you give it and what you do about it, not the thought itself. The urge feels impossible partly because it feels like something very important depends on the next few minutes. If that’s where you are right now, why OCD feels so real is worth a read later, not mid-wave.

What actually happens if you don’t do the compulsion?

The urge rises, gets very strong, peaks, and comes down. Not because anything got resolved. Because urges are time-limited by nature. They rise and fall like waves, and you don’t have to turn them off.

A small white character sits on a canal wall while a black scribble beside it rises to a peak above its head and then falls back to a thin trace.

That’s the whole idea behind urge surfing, which came out of addiction work: in one trial, a single short urge-surfing exercise left smokers less driven by their cravings over the following week. You don’t struggle against the urge, and you don’t act on it. You just notice it rising and falling, and you let it.

What doesn’t happen is certainty. You get to the other side of the wave still not knowing. Needing to know for sure is a core feature of OCD, and no amount of sitting with an urge gives you proof. “Maybe, maybe not” is the honest sentence, and it’s the one you’ll be living with.

Here’s the part that makes it worth doing anyway. Each time you face the trigger and skip the ritual, you build new learning that competes with the old alarm, and being surprised by what happens matters more than waiting for anxiety to drop. Every urge you ride out counts, even the ones that felt messy.

How to resist a compulsion in the moment

None of these steps make the urge smaller. They help you not act on it while it rises and falls, which is hard enough.

A small white character walks on across a footbridge with empty hands, its face turned toward the viewer.

  1. Name the urge out loud. “This is an urge, not an instruction.” One sentence, plainly. You’re not trying to calm yourself down, you’re noticing the loop instead of just following it.
  2. Name the compulsion you’re about to do. Be specific, because the mental ones are easy to miss. Checking, washing, re-reading, confessing, googling, asking, and also reviewing, scanning your body for a feeling, and mentally arguing about it. If yours is the invisible kind, how to stop OCD rumination goes deeper.
  3. Delay instead of deciding. Don’t promise yourself you’ll never do it again. Say: “not in the next ten minutes.” Ten minutes is something you can face. Forever isn’t. Set a timer and put the phone face down.
  4. Stop arguing with the thought. Stop trying to establish whether the thought is true. That’s the compulsion in thinking form, and there’s always one more “but what if”. Leave the question unanswered.
  5. Put your attention in your body, not in the thought. Breathe out slowly and longer than you breathe in. Slow breathing settles the body’s stress response, and grounding comes from the distress-tolerance side of therapy. Use them to stay where you are, not to make the urge leave. If they become the new ritual, they’ve stopped helping.
  6. Go back to what you were doing. Wash the dishes you were going to wash, walk to the shop, answer the email. Let the urge stay while you do it. Getting through the next ten minutes with the urge still there is the practice, and it’s hard work.
  7. Don’t check whether it worked. Scanning to see if the urge has gone is checking. When the ten minutes are up, set another ten if you can.

Does delaying count, or is that cheating?

Delay counts. It’s the most useful middle step there is when full resistance feels out of reach, because it breaks the link between the spike and the automatic ritual.

But watch what delay turns into. If you spend the ten minutes ruminating, praying, mentally rehearsing or holding your breath until you’re allowed to do the ritual, you’ve swapped one compulsion for another and the clock is just a new rule. Delay is meant to be uneventful. Boring, even.

And the aim is that the delay eventually doesn’t end in the ritual. You delay, and then you don’t do it, because the moment passed and you were busy.

Is cutting a compulsion down as good as stopping it?

No, and this is worth knowing before you settle for a shorter version. Pooling the trials, exposure works better when rituals are stopped fully rather than just reduced. Half a ritual still teaches your brain that the ritual was needed.

The same goes for the less obvious versions. One check instead of six is still a check, and checking again makes you less sure of what you checked, not more. Asking your partner once “in a casual way” is still asking, and people with OCD seek reassurance more often, from more people, and are less satisfied by the answer. If that’s your pattern, how to stop asking for reassurance has the specifics.

So aim to stop the whole compulsion. You won’t always manage it, and nobody does. Keep trying anyway.

Why “just this once” is the trap

“Just this once” is the most persuasive sentence in OCD, because it’s technically true every single time. This one check really won’t ruin your life. It’s just that the same thought will come again tomorrow, and the day after.

The cost isn’t the thirty seconds. It’s what those thirty seconds teach. Relief works like a reward, and it comes right after the ritual, so the ritual gets stronger. People reach for reassurance to feel certain and to hand the responsibility to someone else, and the relief doesn’t last, so the urge comes back.

A more honest way to put the choice: “I can do this once and make it worse later, or I can be uncomfortable now and not make it worse.” Put like that, it’s still hard. It’s just not confusing.

What to do after you’ve given in

First, nothing. No detailed review, no promises, no working out how much progress you’ve lost. Analyzing the slip is another compulsion, and being hard on yourself for it is a third.

A small white character stands up from a low kerbside wall and turns to walk on with empty, open hands.

What you didn’t do is break a streak. Recovery isn’t a streak, it’s a skill you’ve been practicing, and one ritual doesn’t undo the practice. The next urge will show up soon enough, and you get another go. Ride that one.

It also helps to know that the work gets harder before it gets easier for a lot of people, which is normal and not a sign it’s going wrong: does ERP make you worse before it gets better covers that honestly.

Riding the urge instead of white-knuckling it

White-knuckling means tensing up and forcing yourself not to act until the urge goes away. That’s still a struggle against the urge, and it’s so exhausting that a lot of people give up. Surfing is different. You let the urge be as strong as it gets and you stop treating its strength as information.

Done on purpose, over and over, in different places and moods, that’s exposure and response prevention, and varying the practice and dropping the safety behaviors is what makes the learning last. One ridden urge in a supermarket is worth more than an hour of planning at the kitchen table. If you want to build that into a plan, how to do ERP at home is the starting point, and the evidence behind guided ERP is there if you want to check our sources.

Right now, though, you don’t need a plan. You need to get through this wave without the ritual. Surf OCD has a free timed exercise for exactly that moment, so ride the free wave and let this one pass.

If the urge is tangled up with thoughts of ending your life, that isn’t something to surf alone. Surf OCD isn’t a crisis service, so please find a helpline in your country and talk to a person today.

Straight answers

How long does an OCD urge last if you don't act on it?

Usually minutes, not hours. An urge you don't act on tends to peak fairly fast and then ease off, though it can come back in another wave soon after. What makes it last longer is arguing with the thought, checking whether the urge has gone, or doing a smaller version of the ritual. The urge dropping doesn't mean you got certainty.

Is it bad to distract myself instead of doing the compulsion?

It depends what the distraction is for. Getting back to your actual life while the urge is still there is good practice. Frantically scrolling so you never have to feel the urge is avoidance, and avoidance keeps the loop going. The test is simple: are you willing to let the urge stay while you get on with things, or trying to escape it?

What if resisting the compulsion makes the anxiety worse?

It often does, at first. Skipping a ritual usually spikes anxiety harder than giving in, which is why the first few attempts feel like proof you're doing it wrong. You're not. The spike is the alarm going off harder at first, and it settles as the new learning builds. Pick urges you can actually sit with rather than the hardest one you have.

Can I resist compulsions without doing full ERP?

You can resist individual urges on your own, and it helps. Doing it in a planned, repeated way is what shifts things longer term, because scattered resistance in bad moments is harder and teaches less. Many people start with self-guided practice and get further with a therapist or structured program when that's available to them.

Why do I feel guilty after giving in to a compulsion?

Because OCD turns the slip into a second theme. The guilt spiral, replaying it, promising it'll never happen again, deciding you've ruined your progress, is itself a mental compulsion. Notice it, don't argue with it, and put your attention on the next urge instead. One ritual doesn't undo the ones you rode out. Those still count.

Keep reading

Written by Edwin Simonds and checked against every source cited above. Not medical advice.

Ride the next one out

A free urge-surfing wave, right in your browser. No app, no sign-up, nothing recorded. The same tool is free in the Surf OCD app, in Wave Rider.

Surf an urge now