- Published on
How to Stop Watching Porn in Islam: Islamic Tools That Work
- Authors

- Name
- Ahmad
- Role
- Senior Marketing Manager, Islamic education • Deen Back
بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
In the name of God, the Most Gracious, the Most Merciful.

If you are looking for how to stop watching porn in Islam, you probably already know the ruling. What you are actually looking for is how — the tools, the process, the practical path that makes quitting real rather than just another intention that fades.
Islam has those tools. They are not vague — they are specific, field-tested over centuries of people working on their nafs. Here is how to use them.
Why This Matters
The Quran addresses this battle directly:
إِنَّ النَّفْسَ لَأَمَّارَةٌ بِالسُّوءِ إِلَّا مَا رَحِمَ رَبِّي
"Indeed, the nafs commands [one to] evil, except for those upon whom my Lord has mercy."
— (Surah Yusuf, 12:53) — quran.com/12/53
The nafs that drives us toward pornography is the ammara bil-su' — the commanding self that pushes toward harm. Quitting is not about eliminating this nafs, it is about learning to override it with consistent Islamic practice.
The Prophet ﷺ taught:
"Be wary of the accursed one — he has no power over those who believe and place their trust in their Lord."
— (Surah An-Nahl, 16:99)
And practically:
"The most beloved deeds to Allah are the most consistent ones, even if they are small."
— (Sahih Muslim 783) — sunnah.com/muslim:783
Consistency is the Islamic answer — not grand willpower moments, but small daily acts that build a spiritual infrastructure the nafs cannot easily penetrate.
Step-by-Step Islamic Guide to Stopping Pornography
Step 1: Make Tawbah — For Real, Right Now
Do not wait until you have stopped before making tawbah. Make it now, as you read this. The conditions of sincere tawbah are:
- Stop the sin at this moment
- Feel genuine regret
- Resolve not to return to it
- If the sin harmed another person, address that — but pornography typically is a sin between you and Allah
Say:
أَسْتَغْفِرُ اللَّهَ وَأَتُوبُ إِلَيْهِ
Astaghfirullaha wa atubu ilayh — "I seek Allah's forgiveness and I repent to Him."
This is your reset point. It is not magic — the habit will pull at you again. But this moment of sincere tawbah changes your spiritual state and gives you a foundation to build from.
Step 2: Fast Strategically
The Prophet ﷺ said:
"O young people, whoever among you can afford to get married, let him do so. And whoever cannot, let him fast, for fasting is a shield for him."
— (Sahih Bukhari 5066) — sunnah.com/bukhari:5066
Fasting physically decreases sexual arousal and trains the nafs to tolerate delay. Start with Monday and Thursday fasting — two sunnah fasts per week — during your most vulnerable period. This is one of the most underused Islamic tools for this specific struggle.
Step 3: Guard the Gaze at Its Source
Every session of watching porn begins somewhere earlier: a scroll on social media, a search query, a bored late-night phone session. Guard the gaze there:
- Set Screen Time limits or use BlockSite for the specific sites
- Remove social media apps that show sexual content
- Delete browsing history and block access points at the router level
The gaze battle is won upstream, not in the moment when the content is in front of you.
Step 4: Rebuild Salah With Presence
Most people who struggle with pornography describe feeling disconnected from their salah. The connection goes both ways: haram content weakens salah, and weak salah leaves you more vulnerable to haram content.
The Quran says:
إِنَّ الصَّلَاةَ تَنْهَىٰ عَنِ الْفَحْشَاءِ وَالْمُنكَرِ
"Indeed, prayer prevents immorality and wrongdoing."
— (Surah Al-Ankabut, 29:45) — quran.com/29/45
This is a promise — but it applies to salah that is present and conscious. Start by focusing on one salah a day where you are genuinely present. Then build from there.
Rebuild Your Prayer Habit — One Salah at a Time
DeenBack helps you track your salah consistency, build a dhikr routine, and stay connected to your deen — the foundation of lasting change.
Free download. Premium features available in-app.
Step 5: Fill the Idle Hours
Pornography fills a void. It typically happens when you are bored, alone, and have nothing pressing to do. The Islamic remedy is to fill that space.
The Prophet ﷺ warned:
"Make use of five before five: your youth before your old age, your health before your illness, your wealth before your poverty, your free time before your busyness, and your life before your death."
— (Al-Mustadrak, Al-Hakim)
Fill your evenings with something of value: Quran recitation, a book, exercise, dhikr, calling a friend, pursuing a skill. The empty space is the danger zone.
Step 6: Increase Salawat and Astaghfirullah
Two dhikrs that work powerfully against the nafs are:
Salawat on the Prophet ﷺ:
اللَّهُمَّ صَلِّ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ
Allahumma salli 'ala Muhammad wa 'ala ali Muhammad
Astaghfirullah:
أَسْتَغْفِرُ اللَّهَ
Astaghfirullah — "I seek forgiveness from Allah"
Say Astaghfirullah 100 times after Fajr. Not as a ritual, but as a genuine act of seeking Allah's protection over your heart throughout the day.
Step 7: Seek Community
The shaitan's strategy is isolation. When you are alone in your struggle, the nafs has more room to operate. Connect with:
- An Islamic accountability partner (you do not need to name the specific sin)
- A local Islamic study circle or halaqah
- Online Islamic communities focused on self-improvement
You do not have to announce your struggle. Simply being around people who take deen seriously shifts the environment.
Making It Stick
This is not about one heroic act of willpower. It is about building systems that make the halal default and the haram difficult.
Read how to stop addiction in islam for the habit-formation science applied to Islamic practice. For the deeper battle with the nafs, how to control your nafs in islam and how to stop haram habits lay out the full picture.
Common Mistakes to Avoid
Relying on spiritual motivation without structural change You can feel motivated after Jumuah and still relapse by Friday night if nothing in your environment changed. Both are required.
White-knuckling through urges without dhikr When an urge hits, it lasts 2-4 minutes at its strongest. Dhikr is a bridge across that window. Use it actively, not passively.
Waiting to be "ready" to stop There is no readiness moment. The decision to start precedes the feeling of being ready.
Quitting alone One accountability person — even without details — makes a significant difference.
Common Questions
How do I make wudu and pray after watching pornography? Make ghusl (full ritual bath) if ejaculation occurred, then pray. Do not avoid salah because of the sin — the sin makes salah more necessary, not less.
Should I tell my spouse if I have been watching porn? There is no Islamic obligation to confess to your spouse. But if it has affected your relationship or marriage, consider speaking to an Islamic counselor with your spouse.
Is reading erotic content the same as watching pornography? Scholars treat it similarly — anything that deliberately stimulates sexual desire through haram means is prohibited. The same methods for stopping apply.
Closing
The tools exist. The path is clear. What is left is to use them — today, not tomorrow.
Make tawbah. Set up one blocker. Say Astaghfirullah 10 times right now. These small acts, done consistently, are how mountains are moved.
See also how to come back to allah after sinning and dua for repentance for more support on the spiritual side of this journey.
Islamic Tools for Real Change
DeenBack gives you dhikr, streak tracking, and daily reminders that keep the spiritual foundation strong when everything else feels hard.
Free download. Premium features available in-app.
Frequently Asked Questions
What does Islam say about watching pornography?
Pornography is unanimously considered haram. It constitutes the zina of the eyes, corrupts the heart, and trains the mind to objectify. Scholars across all madhabs agree it must be avoided and that stopping is an Islamic obligation.
Can I make tawbah for watching porn even if I have done it for years?
Yes. Allah says He forgives all sins for those who sincerely repent (Surah Az-Zumar, 39:53). There is no expiry date on tawbah and no minimum amount of previous good deeds required.
What Islamic practice helps most with quitting pornography?
Fasting is consistently cited by scholars because it disciplines the nafs. Combined with regular salah, dhikr of Astaghfirullah, and guarding the gaze from triggers, it creates a comprehensive spiritual defense.
Is there a specific dua to stop porn addiction?
Yes — make dua in sujud asking Allah directly: 'O Allah, protect my gaze, purify my heart, and strengthen me against my nafs.' Also recite Astaghfirullah abundantly throughout the day. See our dua for self-control post for more.
Why do I keep sinning even after making tawbah?
Because the habit is neurological as well as spiritual. Tawbah is essential but it works alongside practical change, not instead of it. Change your environment, build halal replacement habits, and tawbah becomes the foundation they all rest on.
