Skip to main content
Published on

Is Dying Your Hair Haram? Islamic Ruling Explained

Authors
  • Sih C.
    Name
    Sih C.
    Role
    Founder & Islamic Content Researcher โ€ข Islamful

The Ruling

Dying your hair is generally permissible (halal) in Islam. In fact, the Prophet Muhammad (peace be upon him) actively encouraged changing gray hair. The only significant restriction is on using pure black dye, which the majority of scholars consider haram.

Quick Answer: Hair dyeing is permitted in Islam. Henna and other colors are halal and even sunnah. The main prohibition is on pure black dye, which the majority of scholars forbid based on an explicit hadith. Using colors like brown, red, auburn, or blends that are not jet black is perfectly fine.

Want to check the ruling on a specific product or ingredient? Use our free Halal or Haram Checker:

Free Tool

Islamic Ruling Checker

Check the ruling on anything โ€” food, activities, lifestyle, and more

The Evidence

The Prophet Encouraged Changing Gray Hair

There are multiple authentic hadiths showing that dyeing hair is not only permitted but recommended. The Prophet (peace be upon him) said:

ุฅูู†ูŽู‘ ุงู„ู’ูŠูŽู‡ููˆุฏูŽ ูˆูŽุงู„ู†ูŽู‘ุตูŽุงุฑูŽู‰ ู„ุงูŽ ูŠูŽุตู’ุจูุบููˆู†ูŽ ููŽุฎูŽุงู„ููููˆู‡ูู…ู’

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 hadith is a clear encouragement to dye gray hair, making it a recommended practice in Islam.

The Prohibition of Pure Black Dye

However, there is a specific restriction. When the father of Abu Bakr (may Allah be pleased with him) was brought before the Prophet with completely white hair and beard, the Prophet said:

ุบูŽูŠูู‘ุฑููˆุง ู‡ูŽุฐูŽุง ุจูุดูŽูŠู’ุกู ูˆูŽุงุฌู’ุชูŽู†ูุจููˆุง ุงู„ุณูŽู‘ูˆูŽุงุฏูŽ

Ghayyiroo hadha bi-shay'in wajtaniboo as-sawad

"Change this (gray hair) with something, but avoid black."

[Sahih Muslim, 2102]

This hadith is the foundation for the scholarly discussion around black hair dye. The Prophet commanded changing the gray hair but explicitly told them to stay away from pure black.

Henna as a Sunnah Practice

The companions of the Prophet regularly used henna (a reddish-brown natural dye). Abu Hurairah (may Allah be pleased with him) reported that the Prophet (peace be upon him) said:

ุฅูู†ูŽู‘ ุฃูŽุญู’ุณูŽู†ูŽ ู…ูŽุง ุบูŽูŠูŽู‘ุฑู’ุชูู…ู’ ุจูู‡ู ุงู„ุดูŽู‘ูŠู’ุจูŽ ุงู„ู’ุญูู†ูŽู‘ุงุกู ูˆูŽุงู„ู’ูƒูŽุชูŽู…ู

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]

Katam is a plant that produces a dark brownish-black color. Combined with henna, it gives a dark reddish-brown shade โ€” distinct from pure black.

Scholar Opinions

The scholarly discussion on hair dyeing centers almost entirely on the question of black dye. Other colors are unanimously permitted.

School / ScholarRuling on Black DyeReasoning
Shafi'iHaramDirect prohibition in Sahih Muslim hadith
MalikiHaramFollowing the explicit command to "avoid black"
HanbaliHaramConsidered a form of deception and against the Sunnah
HanafiPermitted (with conditions)Interpreted the hadith as disliked (makruh), not strictly forbidden; permitted for a husband beautifying himself for his wife or for a warrior to appear younger to the enemy

Imam al-Nawawi (Shafi'i) stated clearly that dyeing with black is haram based on the hadith in Sahih Muslim. He considered the command "avoid black" to be a prohibition, not merely a recommendation.

Sheikh Ibn Baz ruled that dyeing hair with henna, katam, or any color other than black is sunnah and praiseworthy. He maintained that black dye is haram unless there is a genuine need, like a warrior on the battlefield.

Imam Abu Hanifa and some Hanafi scholars took a more lenient position, considering the prohibition of black dye to be one of karahah (dislike) rather than absolute prohibition. They permitted it in certain cases, such as a man beautifying himself for his wife. For related discussions on personal appearance, see is makeup haram and is botox haram.

Conditions and Gray Areas

Intention matters. If someone dyes their hair to deceive โ€” for example, hiding gray hair to appear younger during a marriage proposal โ€” this deception is haram regardless of the color used. The Prophet (peace be upon him) said: "Whoever deceives us is not one of us" (Sahih Muslim, 101).

Modern hair colors (blue, pink, green, etc.) are permissible as long as they do not imitate a specific non-Muslim religious practice or a sinful subculture. The general ruling is that unusual colors are allowed but may be considered makruh (disliked) if they draw excessive attention or resemble tabbarruj (provocative display). See is dancing haram for similar discussions on cultural practices and Islamic boundaries.

Wudu considerations. Hair dye that has been absorbed into the hair does not affect wudu, as water can still reach the hair strands. However, if the dye leaves a thick, waterproof coating that blocks water, it should be washed off before performing wudu. Most modern hair dyes absorb into the hair shaft and do not create a barrier.

Ingredients. Muslims should check that hair dye products do not contain haram substances such as alcohol-based solvents (in significant quantities) or animal-derived ingredients from non-halal sources. Use our Haram Checker to verify specific ingredients.

Common Questions

Q: Is henna halal for both men and women? Yes, henna is halal for both. The Prophet (peace be upon him) and his companions used henna for their hair and beards. For women, henna on hair and hands is widely practiced and encouraged. For men, it is specifically recommended for dyeing the beard when gray hair appears. You can learn more about daily Islamic practices on our prayer times page.

Q: Can I dye my hair before Hajj or Umrah? Dyeing hair before entering ihram is permissible. However, once in the state of ihram, applying dye or any scented product is not allowed. If the dye is already applied before ihram, it does not invalidate the pilgrimage.

Q: Is highlighting or balayage haram? Highlights and balayage that use non-black colors (blonde, caramel, brown tones) are permissible. These are considered normal beautification. The same conditions apply โ€” avoid deception and ensure the products used are free from haram ingredients.

Summary

Dying your hair is halal in Islam and is even encouraged as a sunnah practice for covering gray hair. The only significant exception is pure black dye, which the majority of scholars prohibit based on an explicit hadith.

Key points:

  • Sunnah: Dyeing gray hair with henna, katam, or similar natural dyes
  • Permitted: All hair colors except pure black (brown, red, blonde, auburn, and other shades)
  • Prohibited (majority view): Pure black dye, though the Hanafi school is more lenient
  • Haram regardless of color: Dyeing hair with the intention to deceive

ูˆุงู„ู„ู‡ ุฃุนู„ู… โ€” And Allah knows best.

Frequently Asked Questions

Is dying your hair haram in Islam?

Dying your hair is generally permissible in Islam. The Prophet Muhammad (peace be upon him) encouraged changing gray hair with henna and similar dyes. The main exception is pure black dye, which the majority of scholars consider haram based on a hadith in Sahih Muslim.

Is it haram to dye your hair black?

The majority of scholars (Shafi, Maliki, and Hanbali) consider dyeing hair pure black to be haram based on the hadith: "Change this gray hair but avoid black." The Hanafi school permits it under certain circumstances, such as for a husband beautifying himself for his wife.

Can Muslim women dye their hair?

Yes, Muslim women may dye their hair with any color except pure black (according to the majority view). Henna is specifically recommended in the Sunnah. Women should ensure the dye does not contain haram ingredients and does not prevent water from reaching the hair during wudu.