Is Shaving Your Beard Haram?
Most classical scholars hold that shaving the beard is haram, while many in the Shafii school call it disliked. What the hadith and the four schools say.
- Published
- Reviewed by
- Salah Home Operations Team
- Last reviewed
- Reading time
- 7 min read
Short answer
Most classical scholars hold that shaving the beard is haram, including the majority of Hanafi, Maliki and Hanbali jurists and one view among Shafi'is. Many Shafi'i jurists hold it is makruh (disliked) rather than sinful, as Egypt's Dar al-Ifta explains, and Singapore's MUIS Fatwa Committee treats keeping the beard as a sunnah, not an obligation. Trimming is widely allowed: Ibn 'Umar cut whatever exceeded a fist-length.
Plenty of Muslim men shave, trim, or keep a short beard for work, comfort, or simply habit, and then hear that shaving is a sin. Others grow a full beard and wonder whether it is a duty or an extra. It is a fair question, and scholars have been discussing it for more than a thousand years.
Here is what the hadith actually say, what each of the four Sunni schools holds, and where modern fatwa bodies land.
Is shaving your beard haram in Islam?
According to the majority of classical jurists, yes: shaving the beard completely is haram. The Kuwaiti Encyclopedia of Islamic Jurisprudence (al-Mawsu'ah al-Fiqhiyyah), as quoted by the Mufti of the Federal Territory in Malaysia, says the majority of Hanafi, Maliki and Hanbali jurists, and one opinion among Shafi'is, prohibit it because it goes against the Prophet's ﷺ command to keep the beard.
It is not a point of full agreement, though. Many Shafi'i jurists rule that shaving is makruh (disliked) but not sinful, and several modern scholars hold that keeping the beard is a sunnah rather than an obligation. Egypt's Dar al-Ifta summarizes it plainly: "the majority of jurists have ruled that it is obligatory, but the jurists of the Shafi'i school have ruled that it is recommended."
What do the hadith say about the beard?
Several authentic hadith tell Muslim men to let the beard grow and trim the moustache. The main ones are:
- Ibn 'Umar reported that the Prophet ﷺ said, "Do the opposite of what the pagans do. Keep the beards and cut the moustaches short" (Sahih al-Bukhari 5892).
- In another narration: "Cut the moustaches short and leave the beard (as it is)" (Sahih al-Bukhari 5893), and "Trim closely the moustache, and let the beard grow" (Sahih Muslim 259a).
- Abu Hurayrah reported: "Trim closely the moustache, and grow beard, and thus act against the fire-worshippers" (Sahih Muslim 260).
- 'A'ishah reported that "letting the beard grow" is one of ten acts of the fitrah, alongside clipping the nails and using the tooth-stick (Sahih Muslim 261a).
Nobody disputes that these hadith are authentic. The disagreement is over what kind of command they contain: a binding obligation, or strong encouragement tied to appearance and custom. Gold is a different case: on men wearing gold, scholars report consensus that it is forbidden.
What do the four Sunni schools say about shaving the beard?
Three schools hold that shaving the beard is prohibited, and the Shafi'i school has two positions. Here is how the fatwa sources we read describe each school:
| School | Ruling on shaving the beard | Source |
|---|---|---|
| Hanafi | Prohibited; technically makruh tahrimi (a prohibitive dislike that is sinful) | Wahbah al-Zuhayli, al-Fiqh al-Islami wa Adillatuhu, quoted by the Mufti of the Federal Territory; Ibn 'Abidin and Ibn al-Humam, cited by Islamic Portal |
| Maliki | Haram | MUIS quotes a Maliki text: "It is forbidden to remove the beard" |
| Hanbali | Haram; MUIS quotes the school's "dominant view" as "haram (sinful) to shave the beard" | MUIS; Mufti of the Federal Territory |
| Shafi'i | Two views: makruh (disliked, not sinful), held by many Shafi'i jurists; haram, held by others such as al-Halimi | Dar al-Ifta Egypt (2013); MUIS |
Some scholars go further. Ibn Hazm reported a consensus that shaving the full beard is "not permissible," according to Shaykh Yusuf Shabbir of Islamic Portal (2007), and IslamQA (answer 1189) rules that shaving is haram. Dar al-Ifta, on the other hand, quotes the Shafi'i scholar al-Ramli calling al-Halimi's prohibition "weak" within that school.
Who says shaving the beard is only disliked or allowed?
The main Shafi'i position, and several modern fatwa bodies, hold that shaving is not a sin. Egypt's Dar al-Ifta (fatwa 5968, 2013) cites Shafi'i authorities including Zakariyya al-Ansari, al-Ramli, Ibn Hajar al-Haytami and al-Bujayrimi, who wrote that shaving the beard "is a reprehensible act even from a man and it is not prohibited." It notes that al-Qadi 'Iyad of the Maliki school also called it reprehensible. Its reasoning: "if a command is attached to a custom the command changes from obligation to recommendation," as with the command to dye grey hair.
The Mufti of the Federal Territory, Malaysia (Irsyad al-Fatwa 190) concludes that shaving is makruh tanzih (mildly disliked), following the Shafi'i school. Singapore's MUIS Fatwa Committee, answering a 2017 question about National Servicemen, concluded that keeping the beard is "a form of guidance and encouragement and not an obligation." It names modern scholars who held the beard is sunnah, including Mahmud Shaltut and the former Mufti of Egypt 'Ali Gomaa.
Is it haram to trim your beard?
Trimming a long beard is allowed by most scholars, and many permit trimming what exceeds a fist-length. Bukhari records that whenever Ibn 'Umar performed Hajj or 'Umrah, "he used to hold his beard with his hand and cut whatever remained outside his hold" (Sahih al-Bukhari 5892). Al-Zuhayli, quoted by the Mufti of the Federal Territory, says the Malikis and Hanbalis do not consider trimming a handful or more disliked, following Ibn 'Umar.
The stricter line is on cutting the beard very short. The Hanafi scholar Ibn al-Humam wrote that no scholar permitted trimming the beard to less than a fist-length, as cited by Islamic Portal. Al-Qadi 'Iyad, quoted by the Mufti of the Federal Territory, called shaving, cutting and shortening the beard makruh (disliked), while allowing a trim that keeps it from growing too long or too thick.
What if your job requires you to shave?
Fatwa bodies that see the beard as sunnah allow you to shave for a work requirement, and those that see it as obligatory treat it as a matter of real necessity. The Mufti of the Federal Territory advised employees in uniformed services to follow their dress code, and MUIS advised National Servicemen to adopt the opinion that allows shaving during service. Dar al-Ifta (fatwa 4857) told a barber that "whoever is afflicted with something controversial may follow the opinion of the scholar who permits it."
In the United States, the EEOC lists "an exception to the company's dress and grooming code for a religious practice" as a common religious accommodation, so you can ask your employer before assuming you must shave.
Does shaving your beard affect your prayer?
No. Your prayer is not invalid because you shave, and the duty to pray stays the same either way. Whatever view you follow on the beard, the five daily prayers remain obligatory, and a beard question should never become a reason to stop praying. The beard does need care in wudu: you wash your face, including the beard, as part of it. See our guide on how to make wudu step by step.
How do you keep the bigger picture in view?
The beard is a real question with a real scholarly debate, but it sits next to the much bigger daily habit of prayer. Questions like dyeing your hair follow the same hadith about distinguishing Muslims in appearance. If you want to put more energy into your five daily prayers, Salah Home makes it simple: log each prayer with a tap, build your streak, and earn Dates to build your own peaceful virtual home.
Frequently asked questions
Is shaving your beard a major sin?
Scholars who hold that shaving is haram count it as a sin. Many Shafi'i scholars and bodies like Singapore's MUIS hold it is not a sin at all.
Is it haram to have no beard?
Not if your beard simply does not grow. The rulings above are about removing a beard that grows, not about how much facial hair a man naturally has.
Can I trim my beard short?
Many scholars allow trimming what goes past a fist-length, following Ibn 'Umar's practice. Hanafi scholars like Ibn al-Humam held that cutting below a fist-length is not allowed, while those who hold shaving is only disliked are more lenient.
What does the Shafi'i school say about shaving the beard?
The Shafi'i school has two views. Many of its jurists, as cited by Egypt's Dar al-Ifta, hold that shaving is makruh but not prohibited, while others such as al-Halimi held it is haram.
Should you trim your moustache?
Yes. The hadith tell men to trim the moustache closely (Sahih Muslim 259a), and clipping the moustache is one of the ten acts of the fitrah (Sahih Muslim 261a).
Sources
- Sahih al-Bukhari 5892, "Keep the beards and cut the moustaches short," and Ibn 'Umar's fist-length trim
- Sahih al-Bukhari 5893, "Cut the moustaches short and leave the beard"
- Sahih Muslim 259a, "Trim closely the moustache, and let the beard grow"
- Sahih Muslim 260, "act against the fire-worshippers"
- Sahih Muslim 261a, the ten acts of the fitrah
- Egypt's Dar al-Ifta fatwa 5968: The ruling of keeping the beard (2013)
- Egypt's Dar al-Ifta fatwa 4857: Shaving the beard and threading the face (2013)
- MUIS Fatwa Committee: Fatwa on beard keeping
- Mufti of the Federal Territory, Irsyad al-Fatwa 190: Shaving the beard on the order of an employer
- IslamQA 1189: Is it haram to shave your beard?
- Islamic Portal (Hanafi): What is the Islamic ruling on shaving the beard? (2007)
- EEOC: What You Should Know About Workplace Religious Accommodation