|

OCD and Waswas in Islam: When Intrusive Thoughts Feel Like a Test of Faith

You have a thought you did not ask for. It is disturbing, perhaps blasphemous, perhaps violent or sexual, and it has arrived in your mind completely without invitation. You are horrified by it. You try to push it away. It comes back stronger. You wonder whether this thought reveals something about who you really are. You wonder whether you have lost your faith. You wonder whether you are a bad person. If this is your experience, this article is essential reading.

What waswas actually is in Islamic understanding

Waswas in Islamic tradition refers to the whisperings of Shaytan. The Quran devotes an entire surah to seeking protection from it: Surah Al-Nas. Waswas creates doubt, misgiving, and suggestion. It whispers. It tempts. It creates uncertainty where there should be clarity.

The classical scholars wrote about waswas extensively, particularly in relation to acts of worship. A person repeatedly doubting whether they have broken wudu, a person who cannot complete salah because they keep restarting it, a person tormented by doubts about whether they have said the correct words correctly, these patterns were recognised by scholars like Ibn Qayyim al-Jawziyyah and Ibn Taymiyyah as waswas, and their advice was remarkably consistent: ignore it, do not engage with it, do not give it attention, complete your worship regardless.

This is important. The correct Islamic response to waswas is non-engagement. Do not count your doubts. Do not seek reassurance for every one. Do not restart the prayer. Complete it and move on. This response, given correctly for genuine waswas, is deeply wise.

What OCD actually is

Obsessive-Compulsive Disorder is a clinical condition characterised by intrusive, unwanted thoughts (obsessions) that cause significant distress, followed by repetitive behaviours or mental acts (compulsions) that temporarily reduce that distress, which then reinforces the obsessive cycle.

OCD is not about being neat, organised, or fussy. It is a serious, sometimes debilitating condition that affects approximately 2% of the population. It causes genuine suffering. It significantly impairs functioning. And it has a specific, evidence-based treatment that works very differently from the advice given for waswas.

OCD commonly presents in Muslim communities in what clinicians call “scrupulosity,” a form of OCD focused on religious themes. The intrusive thoughts are about faith, blasphemy, whether prayers were valid, whether certain acts were sinful, whether the person is secretly a disbeliever. The compulsions are religious: repeating prayers, seeking religious reassurance, excessive dhikr, re-reading Quranic verses, confessing minor sins repeatedly to scholars or family members.

Where waswas and OCD overlap, and where they diverge

This is where it gets genuinely important. Waswas and OCD-scrupulosity look strikingly similar on the surface. Both involve unwanted religious doubts. Both involve distress. Both involve compulsive responses. Understanding the difference is not just academic. It determines whether the response helps or makes things significantly worse.

Key differences:

Waswas: The doubt passes when ignored. Non-engagement works. The person can move on without significant distress lingering.
OCD: The doubt does not pass when ignored at first. It intensifies before it reduces. Non-engagement is the correct long-term treatment but requires professional guidance to implement because the short-term experience is extremely difficult to tolerate without support.
Waswas: Reassurance from a scholar or trusted person genuinely helps and the matter is resolved.
OCD: Reassurance provides only brief relief and then the doubt returns, often stronger. Seeking reassurance is itself a compulsion that feeds the OCD cycle. This is why giving reassurance to someone with OCD is one of the most counterproductive things you can do, even though it feels kind.
Waswas: The response is contextually triggered, related to specific acts of worship, and does not significantly impair overall functioning.
OCD: The obsessions pervade daily life. They occur outside of worship contexts. The time spent on compulsions is significant, often hours per day. Daily functioning is genuinely impaired.

Why telling someone with OCD to “do more dhikr” can make things worse

This needs to be stated clearly because it matters enormously. If a person with clinical OCD, not waswas, is told to respond to their intrusive thoughts with more dhikr, more prayer, more repetition of protective phrases, they are being given compulsions. They are being told to use the mechanism that maintains and worsens OCD as the cure.

In OCD, the compulsion temporarily reduces anxiety. This reinforces the cycle: the brain learns that the compulsion makes things feel better, and so it generates more obsessions to be neutralised by more compulsions. More dhikr in response to an OCD thought does not remove the thought. It feeds the cycle that produces it.

This is not a criticism of dhikr. Dhikr is a beautiful, powerful practice with genuine psychological and spiritual benefits. The problem is using it as a response to OCD intrusive thoughts, because in that context, it functions as a compulsion rather than as genuine worship.

What the intrusive thoughts themselves mean

People with OCD are typically deeply disturbed by their intrusive thoughts, precisely because those thoughts violate what they actually believe and value. A person who has intrusive thoughts about harming their child is almost certainly not dangerous. They are horrified by the thought. The horror is evidence of their values, not a contradiction of them.

A Muslim who has blasphemous intrusive thoughts does not have weak faith. Their distress about the thought is itself evidence of their care for their faith. The Prophet (peace be upon him) addressed this directly when the companions reported being disturbed by thoughts they were ashamed to say aloud. He responded: “That is pure faith.” The distress about the thought is the sign of iman, not the thought itself.

Islamic scholars have consistently agreed that a thought you did not choose, that you find repugnant, and that you did not act on, carries no sin. You are not accountable for what enters your mind. You are accountable for what you choose to do with it.

What actually treats OCD

The gold standard treatment for OCD is Exposure and Response Prevention therapy, known as ERP. It works by gradually exposing the person to the situations that trigger their obsessions while preventing the compulsive response. Over time, the brain learns that the anxiety will pass without the compulsion, and the obsessive cycle weakens.

ERP is difficult. It requires deliberately tolerating the anxiety that the compulsion used to relieve. This is why it requires a trained therapist to guide it. Without proper guidance, attempts to do it alone can go wrong.

For Muslim clients with scrupulosity OCD, a therapist who understands the Islamic context is not just preferable, it is significantly more effective. They can distinguish between genuine religious practice and compulsive religious behaviour. They can help the client understand what Islam actually says about intrusive thoughts. They can design exposures that are appropriate to the specific religious content of the obsessions.

How to know if what you are experiencing is OCD

Ask yourself these questions honestly. Have you been spending significant time on religious rituals to neutralise doubts, far more than feels like worship? Do you seek reassurance repeatedly from scholars, family, or the internet, only to feel briefly reassured before the doubt returns? Are the doubts and the distress interfering with your daily life, your sleep, your relationships, your ability to function? Have you tried to stop the rituals and found you cannot?

If yes, please speak to a mental health professional. A proper assessment will clarify what you are dealing with. And if it is OCD, there is effective treatment. You do not have to live like this.

OCD is treatable. You deserve proper support.

Our specialists include psychologists trained in OCD treatment who understand the Islamic context of scrupulosity. They will not confuse your symptoms with spiritual weakness. Matched to you within 48 hours.

Book a session