From: Dr. Hatem al-Haj
Pornography and Masturbation
I am currently working on a book about raising the Muslim child. The title is still being finalized, but I felt it was important to share a small section now min bāb taʿjīl al-manfaʿah, to hasten benefit while the full work is still underway. These issues are reaching our youth earlier and with greater intensity than many parents realize. We need guidance that is rooted in our dīn and also informed by what sound research actually shows. My hope is that these thoughts offer benefit, open healthy conversations, and support parents in approaching these sensitive topics with clarity, mercy, and wisdom.
• Pornography. From an Islamic standpoint, pornography is categorically prohibited because it involves deliberate exposure to ʿawrah, stimulation of lust outside marriage, and imagery that normalizes sexual indecency (fawāḥish). Modern research reinforces these moral concerns: recent reviews show that pornography is now widespread among adolescents—with some studies reporting exposure rates exceeding 50%, and others over 90% in certain samples—and that heavy or early use is associated with distorted sexual expectations, increased acceptance of sexual aggression, and higher rates of anxiety, depression, and sexual risk-taking, especially when use becomes habitual. (1)
• Masturbation. For teens facing strong impulses, Sunni fiqh spoke with moral seriousness yet with realistic mercy. It describes masturbation as a generally condemned and spiritually harmful habit; the decisive majority of jurists considered it haram when practiced habitually or for mere pleasure. Yet the same jurists made careful distinctions when addressing cases of moral pressure and fear of falling into a greater sin. The Ḥanafī school notes that if a person is overwhelmed by desire and resorts to masturbation for the purpose of calming the urge and avoiding zinā, then “the hope is that he will not be punished.” (2) Ḥanbalīs likewise acknowledge that when one fears falling into zinā, masturbation becomes permissible because it is the lesser of two evils. (3)
Even among Mālikīs and Shāfiʿīs—who generally hold it forbidden—jurists recognize that if masturbation becomes the only available means to prevent an imminent act of zinā, then it is tolerated as the lesser of two harms.(4) Thus, the general rule remains that masturbation for entertainment or habit is prohibited; but when a young person faces intense pressure and seeks to prevent a major sin, strong opinions within the tradition hold that he is not blameworthy.
Pornography, however, remains categorically and absolutely prohibited. Tarbiyah at this stage should therefore emphasize avoiding pornography, strengthening prayer and fasting, lowering the gaze, building healthy routines and wholesome activities, and supporting teens in choosing chastity for Allah’s sake—while reassuring them that struggling to avoid a greater sin is understood in our law and met with mercy, not shame.
Medically, Masturbation, unlike pornography, has not been shown by current scientific research to cause direct physical harm when it occurs infrequently and without compulsive patterns(5); however, this does not make it harmless in the Islamic moral sense or trivial in the emotional lives of young people. Clinical reviews emphasize that the main risks arise when masturbation becomes habitual, porn-driven, secretive, or tied to intense guilt(6), and that harsh shaming can actually increase anxiety, secrecy, and compulsive behavior(7) rather than reduce it. At the same time, research does not support popular claims of biological damage from occasional masturbation, and most distress seen in studies appears in youth who feel that the behavior conflicts with their faith or values(😎, or who pair it with heavy pornography use. For Muslim parents and educators, this means acknowledging the scientific nuance without normalizing the act: masturbation is spiritually harmful and morally discouraged, but the greater psychological danger for teens often comes from silence, fear, and shame, not from occasional lapses. The goal is to uphold the moral teaching that masturbation is discouraged while avoiding the kind of humiliation or fear that can trap teens in secrecy and despair.
Adolescent emotional brain development, particularly in reward sensitivity and impulse control, means that teens tend to feel sharper emotions and seek stronger stimulation, while their prefrontal control systems are still maturing.(9) Islamic tarbiyah meets this not with denial but with clear rules, structured routines, spiritual practices, and safe outlets (sports, service, creative work).
وصلى الله على محمد والحمد لله رب العالمين
Footnotes:
(1) Mar Alvarez Segura et al., “Impact of Pornography Consumption on Children and Adolescents: A Trauma Informed Approach,” Frontiers in Child and Adolescent Psychiatry 4 (2025), article 1567649. PMC
Michal Privara and Petr Bob, “Pornography Consumption and Cognitive Affective Distress,” Journal of Nervous and Mental Disease 211, no. 8 (2023): 641–646. PMC
(2) Ḥanafī: Ibn ʿĀbidīn states: “فإن غلبته الشهوة ففعل إرادة تسكينها به فالرجاء أن لا يعاقب” (“If desire overwhelms him and he does it intending only to calm the urge, then the hope is that he will not be punished.”) — Radd al-Muḥtār ʿalā al-Durr al-Mukhtār (ḥāshiyat Ibn ʿĀbidīn), Dār al-Ḥalabī edition, 2:399.
(3) Ḥanbalī: Al-Mardāwī writes: “لو قيل بوجوبه في هذه الحالة لكان له وجه، كالمضطر، بل أولى لأنه أخف” (“If someone were to say it becomes obligatory in this situation, it would have a basis—like the ruling of a person in necessity, indeed even more so, because it is the lighter harm.”) — al-Inṣāf, Ṭurki ed., 26:466.
(4) Mālikī: Al-Kharashī states: «اعلم أن استمناء الشخص بيده حرام خشي الزنا أم لا، لكن إن لم يندفع عنه الزنا إلا به قُدِّمَهُ عليه ارتكاباً لأخفّ المفسدتين» — “Know that a person’s masturbating with his own hand is forbidden, whether he fears zinā or not; however, if zinā cannot be repelled from him except through it, then masturbation is given precedence over zinā, as committing the lesser of the two evils.” Sharḥ al-Khurashī ʿalā Mukhtaṣar Khalīl, al-Maṭbaʿah al-Kubrā al-Amīriyyah (Būlāq), 2/358.
Shāfiʿī: Al-Bujayrimī writes: «وقياسه حل الاستمناء إن تعين للدفع… فلو كان يندفع بكل من الزنا والاستمناء تعين الاستمناء لخفته» — “By analogy, masturbation is permissible if it is uniquely required to ward off (zinā)… so if the urge would be repelled by either zinā or masturbation, then masturbation is what becomes required, due to it being lighter (less harmful).” Ḥāshiyat al-Bujayrimī ʿalā al-Khaṭīb (Tuhfat al-Ḥabīb ʿalā Sharḥ al-Khaṭīb), Dār al-Fikr, 1/363.
(5) Anna Mascherek et al., “Is Ejaculation Frequency in Men Related to General and Mental Health? Looking Back and Looking Forward,” Frontiers in Psychology 12 (2021): Article 732833.— Review concludes no evidence of inherent physical harm from ejaculation/masturbation when not compulsive.
(6) Cynthia L. Robbins et al., “Prevalence, Frequency, and Associations of Masturbation With Partnered Sexual Behaviors Among US Adolescents,” Archives of Pediatrics & Adolescent Medicine 165, no. 12 (2011): 1087–1093.— Shows masturbation among adolescents correlates with compensatory patterns and porn-linked use rather than inherent harm.
(7) Michael Privara and Petr Bob, “Pornography Consumption and Cognitive-Affective Distress,” Journal of Nervous and Mental Disease 211, no. 8 (2023): 641–646.— Demonstrates that distress often stems from compulsive patterns and anxiety, not from isolated behaviors; harsh responses worsen distress.
( Anna Mascherek et al., Frontiers in Psychology 12 (2021), Article 732833.— Highlights “moral incongruence” as a major driver of distress in masturbation-related research.
(9) Mariam Arain et al., “Maturation of the Adolescent Brain,” Neuropsychiatric Disease and Treatment 9 (2013): 449–461. NCBI+1