Is Masturbation Haram?

Question: Is Masturbation from the major sins?

Summary:

Masturbation is prohibited in Islam, though it is not from the major sins. A Muslim should strive to remain chaste, lower the gaze, and seek marriage. If one falls into it, they must repent immediately and not take the sin lightly, remembering that disobedience to Allah should never be considered minor.

Answer:

In the name of Allah, all praise is due to Allah, and may peace and blessings be upon the Messenger of Allah ﷺ.

Masturbation is impermissible, but it is not from the major sins. A person should not take this matter lightly. Allah says:

From the Qur'an:

  • Surah Al-Mu’minun (5–7):
    "Those who guard their chastity. Except with their wives or those ˹bondwomen˺ in their possession, for then they are free from blame. But whoever seeks beyond that are the transgressors.”

    Allah addresses the believers and commands them to protect their private parts from impermissible acts. Then He clarifies: except with their wives or those bondwomen in their possession. Anyone who goes beyond these two has indeed transgressed the limits set by Allah.

  • Surah An-Nur (24:33):
    “And let those who do not have the means to marry keep themselves chaste until Allah enriches them out of His bounty.”

    It is upon the Muslim to strive to get married.

  • Surah An-Nur (24:30):
    “O Prophet!˺ Tell the believing men to lower their gaze and guard their chastity. That is purer for them. Surely Allah is All-Aware of what they do.”

    A person should keep themselves chaste, lower their gaze, and try to get married.

From the Salaf:

  • Ibn Taymiyyah:
    “Masturbation is prohibited (حرام) according to the majority of scholars.”

    He considered this to be the more correct opinion within the Hanbali school of thought.

From the Sunnah:

  • Sahih al-Bukhari 5066The Prophet ﷺ said:
    “O young men, if you are able to support a wife, get married. Verily, it lowers the gaze and guards chastity. Whoever is not able to do so, he must fast as it will restrain his passions.”

And Allah knows best.

← Back to Questions