OCD and Waswasa in Islam: How to Manage Anxiety and Intrusive Thoughts with Islamic Psychology

Learn the difference between OCD and waswasa, the spiritual and psychological causes of intrusive thoughts, and how to deal with them using principles from Islam and psychology.

ENG

Francesca Bocca-Aldaqre

4/11/20253 min read

"Allah has forgiven my Ummah for any evil thought that enters their hearts, until they act upon it."

— Sahih Muslim, hadith 238

🌪 What is OCD? And what is Waswasa?

Obsessive-Compulsive Disorder (OCD) is a type of anxiety disorder, characterized by ruminative thoughts (obsessions) and repetitive behaviors (compulsions). In the Islamic context, these thoughts are often called waswasa, a term used in the Qur’an to refer to the whispers of Shaytan (Surat an-Nas, 114:4–5).

Anxiety manifests as a difficulty in managing worries, which leads to avoidance of situations that trigger them. A small amount of anxiety is physiological and protective. But in OCD it becomes a dysfunctional spiral:

obsessive thought → anxiety → compulsion → temporary relief → repetition.

🎥 Watch the video below for a visual explanation of these concepts

🔍 Types of OCD (and Waswasa)

- Checking: checking the oven or door over and over again.

- Contamination: excessive washing and cleansing.

- Mental contamination: sexual, blasphemous or immoral thoughts.

- Hoarding: difficulty getting rid of objects.

- Rumination: thinking at length about past events or hypothetical scenarios.

- Intrusive thoughts: sudden, disturbing, unintentional ideas.

But what makes OCD different?

We all have unwanted thoughts.

The difference is that people with OCD give them a disproportionate meaning, react with fear and try to compulsively control them.

The more you fight the thought, the more power you give it.

🧠 What causes OCD?

Genetics

Brain structures (such as the amygdala and orbitofrontal cortex)

Environmental experiences, trauma, rigid religious contexts

Often it all starts in the religious sphere: ablutions, intentions, sins, apostasy. But then it also extends to other spheres (hygiene, morality, safety, etc.).

☪️ Intrusive thoughts and sin: where do we draw the line?

In the wake of Islamic tradition, thoughts that arise spontaneously in the mind — without intention, without deliberation — do not constitute sin.

What has value in the eyes of Allah is the conscious intention of the heart and the action that follows.

We are not held responsible for what crosses our mind involuntarily. We become responsible only when we voluntarily welcome that thought, when we approve it internally or commit to acting on it.

⚖️ Seven Principles for Dealing with OCD and Waswasa

1. Allah does not burden a soul beyond its capacity

Intrusive thoughts are not under our direct control: we cannot prevent them from coming, but we can decide how to respond.

👉 Spiritual responsibility lies not in the content of the thought, but in our action in the face of it.

📌 Practical example:

Situation: Repeated doubts about the intention (niyyah) before salat.

Application: Say it once with sincerity.

Action: “I have done my part. Allah knows my heart.”

2. Certainty is not nullified by doubt

In Islamic jurisprudence (fiqh), the principle holds that certainty is not dented by suspicion. A doubt, even if recurring, does not have the power to nullify what is certain.

📌 Practical example:

Situation: You have done wudhu, then the thought “maybe I broke it” comes to you.

Application: If there is no clear proof, ignore the thought.

Action: Consider your state of purity valid.

3. You are not what you think

“If you want the shayṭān to stop, when the waswasa comes he finds joy in it: nothing disturbs him more than the happiness of the believer.”

— Sulaymān al-Dārānī

Thoughts, even disturbing ones, do not define who you are. They are like clouds that pass through the sky of the mind. If you do not feed them, they vanish.

📌 Practical example:

Situation: A sudden blasphemous thought.

Application: Recognize that it is not yours, it is not wanted.

Action: Let it go. Go about your day.

4. Reality prevails over feeling

We do not always “feel” spiritually pure or satisfied with an act. But the objective truth of our gesture is more valuable than subjective emotions.

📌 Practical example:

You have done ghusl, but you do not feel “clean enough”?

Do not repeat it: rationality precedes sensation.

5. Worship Allah, not the external form of Islam

When attention is fixed on the technical and repetitive details of the rules, we risk losing the heart of worship: the relationship with Allah.

Our goal is not ritual obsession, but inner presence and trusting submission.

📌 Example: Ibn ʿAbbās performed wudhu with very little water.

Spirituality is simplicity, not perfectionism.

6. Balance between fear and hope

The fear of Allah is a compass. But if it is not accompanied by hope in His mercy, it becomes oppression.

“My mercy has surpassed My wrath.”

— Hadith Qudsi

👉 The believer’s heart lives suspended between khawf (fear) and rajāʾ (hope).

7. Recurring doubts do not have the same weight as occasional doubts

A doubt that returns every day, without objective evidence, is waswasa.

A rare and well-founded doubt may deserve attention.

📌 Treating every doubt with the same rigor is exhausting and spiritually paralyzing. You need to know how to distinguish.

🌿 In conclusion

OCD and waswasa are real, complex, but not invincible phenomena.

The wisdom of our tradition offers us profound spiritual tools, while modern psychology provides us with complementary languages ​​and strategies.

You are not alone. And you are not your thoughts.

Your faith does not depend on their absence, but on your ability to respond with balance, knowledge, and confidence.

💬 Do you find yourself in these dynamics? You can book a consultation with me to learn how to apply these and other strategies of traditional "Islamic psychology" (ʿilm al-nafs).