Skip to content

Is Masturbation Haram?

Yes — Sin Last updated: 2026-05-01

Most Islamic scholars consider masturbation haram or at minimum makruh (disliked). Some scholars permit it only as a last resort to avoid zina (fornication).

📖

Wondering if you've gone too far?

This acclaimed translation has helped millions of Muslims deepen their understanding of Allah's guidance.

Get 'The Clear Quran' →

Quranic References

  • Quran 23:5-7 — 'And those who guard their private parts, except from their wives or those their right hands possess — indeed, they are not to be blamed. But whoever seeks beyond that, those are the transgressors.'
  • Scholarly consensus — Majority of scholars consider it prohibited.

In-Depth: Islam Perspective

Christian View

Traditional Christian teaching has consistently considered masturbation sinful, based on the principle that sexual expression is reserved for marriage between husband and wife. The Catholic Church teaches it is 'intrinsically and gravely disordered' (CCC 2352), while acknowledging that psychological factors can reduce moral culpability. Many Protestant denominations teach similarly, though some progressive Christian communities have adopted more accepting views, framing it as a health matter rather than a moral one.

Islamic View

The majority of Islamic scholars consider masturbation haram based on Quran 23:5-7, which condemns those who seek sexual gratification outside of marriage. However, there is legitimate scholarly debate — some Hanafi scholars consider it makruh (disliked but not forbidden) rather than haram, particularly when it prevents a greater sin (zina). Muslims struggling with this are encouraged to fast, exercise, and seek marriage.

Jewish View

The Torah prohibition of 'wasting seed' (hotza'at zera levatalah) is derived from the story of Onan in Genesis 38. Orthodox Judaism considers this a serious prohibition. Conservative and Reform Judaism have increasingly moved away from policing private sexual behavior, focusing instead on the broader principles of modesty, health, and healthy relationships.

What You Can Do

  • All traditions: Do not despair. This is one of the most common struggles and does not define your worth or your relationship with God.
  • Christian: If this weighs on your conscience, speak with a pastor or spiritual director. God's grace is greater than any struggle.
  • Muslim: The Prophet (pbuh) recommended fasting as a way to manage desires. Make dua and trust in Allah's mercy.
  • If compulsive sexual behavior is affecting your life, consider speaking to a therapist who respects your faith values.
🙏

You've Read the Truth. Now What?

Knowing it's haram is the first step. The Prophet (peace be upon him) taught that Allah loves those who repent. This book guides you.

Get the Book of Repentance →

Frequently Asked Questions

Will God forgive me for masturbating?

Yes. All three Abrahamic traditions teach that God is infinitely merciful and forgives those who sincerely repent. No sin is beyond God's forgiveness.

Is it a sin if I don't lust?

In traditional Catholic and Islamic teaching, the act itself is considered sinful regardless of whether lust is involved, because sexual expression is reserved for marriage. Some modern scholars debate this.

Does masturbation affect my prayers?

In Islam, it does not invalidate wudu (ritual ablution) in the majority view, though some scholars say it requires ghusl (full bath). In Christianity, it does not prevent you from praying — God always hears you.

Related Topics in Islam