- Published on
Is Coloring Your Hair Haram? The Islamic Ruling on Hair Color
- Authors
- Name
- Sih C.
- Role
- Founder & Islamic Content Researcher โข Islamful

The Ruling
Coloring your hair is generally permissible (halal) in Islam. The Prophet Muhammad (peace be upon him) not only allowed hair coloring but actively encouraged it for those with gray hair. The one major exception is pure black dye, which the majority of scholars consider haram based on an explicit prophetic prohibition.
Quick Answer: Hair coloring is permitted and even encouraged in Islam. Henna and natural dyes are sunnah. Colors like brown, red, auburn, and blonde are all fine. The main prohibition is on pure black dye, which most scholars forbid. If you are mixing colors that result in a dark shade but not jet black, that is permissible.
Want to check if a specific hair dye product or ingredient is halal? Try our free Halal or Haram Checker:
Islamic Ruling Checker
Check the ruling on anything โ food, activities, lifestyle, and more
The Evidence
The Prophetic Encouragement to Color Hair
The Prophet (peace be upon him) gave a direct command to Muslims to dye their gray hair, distinguishing themselves from the People of the Book:
ุฅูููู ุงูููููููุฏู ููุงููููุตูุงุฑูู ูุงู ููุตูุจูุบูููู ููุฎูุงูููููููู ู
Inna al-Yahooda wan-Nasara la yasbughoona fakhaalifoohum
"The Jews and Christians do not dye their hair, so differ from them."
[Sahih al-Bukhari, 3462; Sahih Muslim, 2103]
This is not merely a permission โ it is an encouragement. The Prophet used the imperative form, telling Muslims to actively color their gray hair.
The Prohibition of Pure Black
When the father of Abu Bakr (may Allah be pleased with him) was brought to the Prophet with his hair and beard completely white, the Prophet (peace be upon him) said:
ุบููููุฑููุง ููุฐูุง ุจูุดูููุกู ููุงุฌูุชูููุจููุง ุงูุณููููุงุฏู
Ghayyiroo hadha bi-shay'in wajtaniboo as-sawad
"Change this (gray hair) with something, but avoid black."
[Sahih Muslim, 2102]
The word ุงุฌุชูุจูุง (ijtaniboo โ "avoid" or "stay away from") is a strong command. This is the primary evidence scholars use when discussing the prohibition of pure black hair dye.
Henna and Katam: The Sunnah Colors
The Prophet (peace be upon him) specifically recommended certain natural dyes:
ุฅูููู ุฃูุญูุณููู ู ูุง ุบููููุฑูุชูู ู ุจููู ุงูุดููููุจู ุงููุญููููุงุกู ููุงููููุชูู ู
Inna ahsana ma ghayyartum bihi ash-shayba al-hinna'u wal-katam
"The best thing with which you can change gray hair is henna and katam."
[Sunan Abu Dawud, 4205; Sunan al-Tirmidhi, 1753]
Henna produces a reddish-brown tone, while katam is a plant that gives a dark brownish shade. When combined, they create a deep reddish-brown that is distinctly different from pure black. Many companions of the Prophet used this combination regularly.
Scholar Opinions
The scholarly consensus is clear on the permissibility of hair coloring in general. The debate centers specifically on pure black dye.
| School / Scholar | Ruling on Black Dye | Reasoning |
|---|---|---|
| Shafi'i | Haram | The command to "avoid black" in Sahih Muslim is a clear prohibition |
| Maliki | Haram | Follows the explicit wording of the hadith as a prohibition |
| Hanbali | Haram | Considered a form of deception (ghishsh) and contrary to the prophetic guidance |
| Hanafi | Permitted (with conditions) | Interpreted the hadith as indicating karahah (dislike), not absolute prohibition; allowed for a man beautifying himself for his wife or for warriors |
Imam al-Nawawi (Shafi'i) explicitly stated that dyeing with black is haram, based on the imperative in the hadith. He treated the word "avoid" as a binding prohibition.
Sheikh Ibn Baz held that coloring hair with henna, katam, or any non-black color is praiseworthy and sunnah. He maintained that pure black dye is haram except in rare cases of genuine necessity.
Sheikh Ibn Uthaymeen agreed that non-black colors are fully permissible and encouraged. He added that colors which merely appear dark โ like very dark brown โ are not the same as the prohibited pure black.
The Hanafi position, following Imam Abu Hanifa, is more lenient regarding black dye, permitting it under certain circumstances. However, even within the Hanafi school, the preference is to avoid pure black when possible. For a deeper discussion on this same ruling with different nuances, see our article on is dying your hair haram.
Conditions and Gray Areas
Men vs. women. The ruling on hair coloring applies equally to both men and women. Men are specifically encouraged to color their beards when gray appears. Women may color their hair with any permissible shade, provided it is not done to attract the attention of non-mahram men. For related rulings on beautification, see is makeup haram and is botox haram.
Modern fashion colors. Bright or unnatural colors (blue, pink, purple, etc.) are permissible in principle, as the prohibition is specifically on black. However, some scholars consider very attention-seeking colors to be makruh (disliked) if they lead to tabbarruj (provocative display) or imitate a group that Muslims should not imitate.
Wudu and prayer. Most modern hair dyes absorb into the hair shaft and do not create a barrier to water. This means they do not affect wudu. However, if a product leaves a thick, waterproof layer on the hair, that layer must be removed before performing wudu. You can check your daily prayer times on our dedicated tool.
Deception is always haram. If someone colors their hair specifically to hide their age during a marriage negotiation or any situation requiring honesty, the deception itself is sinful regardless of what color is used. The Prophet (peace be upon him) said: "Whoever deceives us is not one of us" (Sahih Muslim, 101).
Common Questions
Q: Is coloring hair the same as dying hair in Islamic ruling? Yes, there is no difference between coloring, dying, tinting, or highlighting in terms of the Islamic ruling. The same principles apply: all colors are permissible except pure black (majority view), henna is sunnah, and deception is forbidden. We have a full companion article on is dying your hair haram that covers overlapping details.
Q: Can I use dark brown hair color instead of black? Yes. Dark brown is not the same as pure black. Sheikh Ibn Uthaymeen and other scholars have clarified that the prohibition applies to pure, jet black dye specifically. A very dark brown or off-black shade that has visible undertones is permissible.
Q: Does hair coloring break my wudu? No. The act of applying hair color does not invalidate wudu. Most hair dyes are absorbed into the hair and do not form a waterproof barrier, so water still reaches the hair during wudu. If you use a product that does coat the hair with a physical layer, remove it before making wudu.
Q: Are chemical hair dyes halal? The chemicals themselves are not the issue โ the ruling concerns the color result and intention. However, Muslims should verify that hair dye products do not contain haram-sourced ingredients, such as animal-derived components from non-halal animals. Use our Haram Checker to verify specific ingredients.
Summary
Coloring your hair is halal in Islam and is in fact a sunnah practice when done to cover gray hair. The Prophet (peace be upon him) encouraged it directly and recommended henna and katam as the best options.
Key takeaways:
- Sunnah: Coloring gray hair with henna, katam, or similar natural dyes
- Permitted: All hair colors including brown, red, blonde, auburn, and fashion colors
- Prohibited (majority view): Pure black dye, based on an explicit hadith in Sahih Muslim
- Always haram: Coloring hair with the intention to deceive others about your age or identity
ูุงููู ุฃุนูู โ And Allah knows best.
Frequently Asked Questions
Is coloring your hair haram in Islam?
Coloring your hair is generally permissible (halal) in Islam. The Prophet Muhammad (peace be upon him) encouraged Muslims to dye gray hair to differ from the People of the Book. Natural dyes like henna are sunnah. The only restriction most scholars agree on is pure black dye, which is prohibited based on a hadith in Sahih Muslim.
Is it haram to color your hair with bright or unnatural colors?
Most scholars permit non-traditional hair colors (such as blue, red, or blonde) as long as they do not imitate a specific non-Muslim religious practice or involve deception. Some scholars consider extremely attention-seeking colors makruh (disliked), particularly if they lead to tabbarruj (provocative display).
What is the difference between coloring and dying your hair in Islam?
There is no difference in the Islamic ruling. Whether you call it coloring, dying, or tinting, the same rules apply: all colors are permissible except pure black dye (according to the majority of scholars), henna is sunnah, and the intention should not be to deceive others.