Answered
Can Allah still accept my prayers if I keep watching porn?
Updated
In short
Your prayers remain valid and obligatory, and no authentic text says Allah stops accepting the salah of someone struggling with porn. Sin affects the heart's presence and the reward — not the validity — of prayer. The only mechanical link is purity: after ejaculation you must perform ghusl before praying. The five daily prayers are themselves an expiation for what happens between them, which makes quitting prayer because you sinned the exact inversion of how the system works.
There is a specific moment this article is written for: you sinned last night, the adhan is going off, and a voice says don’t bother — yours don’t count anymore. That voice is about to cost you far more than the sin did. Here is what the tradition actually says.
Sin does not invalidate salah
The validity of prayer hangs on its own conditions — purity, time, direction, its essential acts. Nowhere in that list, in any school of law, does “being free of sin” appear; if it did, no human’s prayer would ever be valid. A person struggling with pornography who prays with wudu, on time, has prayed a valid, obligatory, counted prayer. Full stop.
What sin does affect is the prayer’s interior — the khushu, the sweetness, the weight of reward. That dulling is real, and you’ve felt it. But a dulled prayer is a prayer; an abandoned one is a second sin stacked on the first.
The one mechanical connection to be careful with is purity: if there was ejaculation, ghusl is required before you pray — a five-minute matter, not a barrier.
Where the “not accepted” fear comes from
There are authentic narrations that prayers are not accepted for forty days after certain specific acts — consulting a fortune-teller among them. Three things about those texts: they are about those acts, not pornography; scholars across the schools explain “not accepted” there as stripped of reward, not invalid — the person must still pray, and the prayer still discharges the obligation; and no scholar extends this to the sin you’re fighting. The fear you’ve absorbed is a misapplied text amplified by shame.
Now set beside that fear what the Prophet ﷺ actually said about the five prayers of an imperfect person:
Abu Huraira reported:Verily the Messenger of Allah (ﷺ) said: The five (daily) prayers and from one Friday prayer to the (next) Friday prayer, and from Ramadhan to Ramadhan are expiations for the (sins) committed in between (their intervals) provided one shuns the major sins
The prayers are not the thing your sin disqualifies you from. The prayers are the thing washing the sin, cycle after cycle, provided the major sins are shunned — which is precisely the direction your striving is pointed. And the Qur’an states the principle even more broadly, in a verse revealed — the narrations tell us — for a man who came to the Prophet ﷺ devastated by a sin of desire:
وَأَقِمِ ٱلصَّلَوٰةَ طَرَفَیِ ٱلنَّهَارِ وَزُلَفࣰا مِّنَ ٱلَّیۡلِۚ إِنَّ ٱلۡحَسَنَـٰتِ یُذۡهِبۡنَ ٱلسَّیِّـَٔاتِۚ ذَ ٰلِكَ ذِكۡرَىٰ لِلذَّ ٰكِرِینَ
And establish prayer at the two ends of the day and at the approach of the night. Indeed, good deeds do away with misdeeds. That is a reminder for those who remember
Good deeds drive away evil deeds. Salah is not the courtroom where your habit convicts you. It is the instrument of its erasure.
The trap of praying less because you sinned
Follow the logic of the whisper to its end: sin → “your prayer is worthless” → skip prayer → drift from Allah → weaker resistance → more sin. Every recovering person recognizes this spiral, and we’ve mapped how shame drives it. The single most protective thing you can do for your recovery is refuse step two. Pray ashamed. Pray distracted. Pray angry at yourself. The Qur’an’s prescription for people in the middle of a struggle is not “get clean first”:
یَـٰۤأَیُّهَا ٱلَّذِینَ ءَامَنُوا۟ ٱسۡتَعِینُوا۟ بِٱلصَّبۡرِ وَٱلصَّلَوٰةِۚ إِنَّ ٱللَّهَ مَعَ ٱلصَّـٰبِرِینَ
O you who have believed, seek help through patience and prayer. Indeed, Allah is with the patient
Seek help through prayer — meaning prayer is the tool for people who still need help, not the trophy for people who don’t.
Pray it imperfectly, but pray it
If the habit is entangled with your prayer life — you feel far from Allah because of the habit and closer to the habit because you feel far from Allah — the way out is the same daily work of recovery, with your five prayers running through it like a spine. Even when your religious feeling is at its lowest — especially then — the prayers keep counting, keep expiating, and keep you within earshot of the One you’re trying to return to.
Common questions
- I heard prayers aren't accepted for 40 days after certain sins. Does that apply here?
- The authentic narrations about forty days concern specific matters — such as consulting fortune-tellers — not pornography, and scholars explain them as a loss of the prayer's reward, never as an exemption from praying or as the prayer being invalid. The obligation and the validity stand. No text extends this to porn.
- Should I pray even when I feel like a hypocrite doing it?
- Yes — that feeling is the shame talking, not the fiqh. A hypocrite prays to be seen; you'd be praying while ashamed to be seen, which is nearly the opposite. The tradition's term for praying while struggling isn't hypocrisy. It's faith.
- Does watching porn break my wudu or require ghusl before I pray?
- Watching alone breaks nothing. Ghusl is required only if semen was emitted with desire; madhy requires renewing wudu in Sunni fiqh and nothing in Ja'fari fiqh. The full rulings, school by school, are in our ghusl article.
- Will my duas still be answered while I'm stuck in this habit?
- The Qur'an's promise — 'I respond to the supplication of the caller when he calls upon Me' — was not conditioned on a clean record. Sins can dull the heart that asks, but the door itself does not close. Keep asking; the asking is itself a form of return.