Skip to main content
Published on

Is Coffee Haram? The Surprising Islamic History of Coffee

Authors
  • Sih C.
    Name
    Sih C.
    Role
    Founder & Islamic Content Researcher โ€ข Islamful
A traditional cup of Arabic coffee on an ornate saucer, representing the long history of coffee in Islamic culture

Coffee is halal โ€” permissible in Islam. This is the consensus of Islamic scholars today and has been the dominant position for centuries. Coffee is not an intoxicant, it does not impair the mind in the way that alcohol does, and there is no text in the Quran or Sunnah that prohibits it. What makes this question interesting is not the ruling itself, but the remarkable historical debate that surrounded coffee when it first appeared in the Muslim world.

For a broader framework on how Islamic law distinguishes between what is permitted and what is not, see the halal vs haram overview.

Quick Answer: Coffee is halal (permissible) by scholarly consensus. It is not an intoxicant and carries no prohibition. The only conditions: do not consume it in excess to the point of harming your health, and do not drink it during fasting hours in Ramadan. Check any food or drink instantly with our haram checker.

The Evidence

The default rule in Islamic jurisprudence regarding food and drink is permissibility (ibahah). Everything is halal unless there is specific evidence making it haram. This principle is rooted in the Quran:

ู‡ููˆูŽ ุงู„ูŽู‘ุฐููŠ ุฎูŽู„ูŽู‚ูŽ ู„ูŽูƒูู… ู…ูŽู‘ุง ูููŠ ุงู„ู’ุฃูŽุฑู’ุถู ุฌูŽู…ููŠุนู‹ุง

Huwa alladhi khalaqa lakum ma fi al-ardi jamee'a

"It is He who created for you all that is on the earth."

Source: Surah Al-Baqarah, 2:29

This verse establishes that the things of the earth are created for human benefit. Scholars derive from this that food and drink are permissible by default unless a specific prohibition exists.

The Quran specifies what is haram to consume โ€” alcohol (khamr), blood, pork, and carrion (Surah Al-Ma'idah, 5:3). Coffee falls into none of these categories. It is a plant-based beverage made from roasted seeds. It does not intoxicate. The Prophet Muhammad (peace be upon him) said:

ูƒูู„ูู‘ ู…ูุณู’ูƒูุฑู ุญูŽุฑูŽุงู…ูŒ

Kullu muskirin haram

"Every intoxicant is haram."

Source: Sahih al-Bukhari, 5585

Coffee is not an intoxicant. Caffeine is a stimulant, not an intoxicant. It does not cloud the mind, impair judgment, or cause the effects associated with khamr. This distinction is critical โ€” the prohibition applies to substances that intoxicate, and coffee simply does not meet that definition.

Scholar Opinions and the Ottoman Coffee Wars

The ruling on coffee today is straightforward, but the history is anything but. Coffee first spread through the Muslim world in the 15th century, originating from Yemen and Ethiopia. Sufi orders used it to stay awake during nighttime devotions (dhikr). As it gained popularity, it attracted controversy.

The bans: In 1511, the governor of Mecca, Khair Beg, convened a council of scholars and banned coffee, arguing it was an intoxicant. The ban was overturned within months by the Sultan of Egypt, who ruled that coffee was permissible. Similar bans were attempted in Ottoman Istanbul in the 16th and 17th centuries. Sultan Murad IV reportedly imposed harsh penalties on coffee drinkers in the 1630s.

The scholarly response: Each ban was challenged and reversed. The majority of scholars examined coffee on its merits and concluded it was not an intoxicant. The great Shafi'i scholar Ibn Hajar al-Haytami (d. 1567) initially questioned coffee but ultimately acknowledged it was not prohibited by Islamic law. Other scholars argued that the real concern was not the drink itself but the gatherings in coffeehouses, where gambling, idle talk, and other questionable activities sometimes took place.

The resolution: By the 17th century, the debate was effectively settled. Coffee became deeply embedded in Muslim culture across the Ottoman Empire, the Arabian Peninsula, North Africa, and beyond. The consensus held โ€” and continues to hold โ€” that coffee is halal.

Scholar/EraPositionReasoning
Majority of 15th-16th century scholarsHalalNot an intoxicant; default rule of permissibility applies
Khair Beg (Mecca, 1511)Temporarily bannedArgued it was an intoxicant; overturned by Egyptian Sultan
Ibn Hajar al-Haytami (Shafi'i, d. 1567)HalalAcknowledged it does not meet the definition of khamr
Ottoman scholars (post-17th century)HalalConsensus settled after repeated failed bans
Contemporary scholars (all schools)HalalUniversal agreement; no credible dissent today

The coffee debate is a fascinating example of how Islamic jurisprudence handles new substances. The system worked: scholars examined the evidence, debated vigorously, and arrived at a consensus based on established principles. For other food-related rulings, see whether gelatin is haram.

Conditions and Gray Areas

Coffee is halal, but Islamic law still places conditions on permissible things:

Excess and harm. The principle of la darar wa la dirar ("no harm and no reciprocating harm") applies to everything, including halal substances. If a person drinks so much coffee that it damages their health โ€” causing heart problems, severe anxiety, or sleep disorders โ€” then the excess becomes impermissible, not the substance itself. This is the same logic that applies to overeating sugar or any other halal food.

Fasting hours. Coffee is a liquid, so it breaks the fast during Ramadan. You cannot drink coffee between fajr and maghrib while fasting. This is not because coffee is haram โ€” it is because consuming any food or drink invalidates the fast. Coffee is perfectly fine during suhoor (pre-dawn meal) and after iftar (breaking the fast).

Additives. The coffee itself is halal, but watch what you add to it. Some flavored syrups, liqueurs, or additives may contain alcohol or non-halal ingredients. Always check the ingredients of specialty coffee drinks.

Coffeehouses and environment. The historical concern about coffeehouses was not about the drink but the setting. The same principle applies today โ€” if a coffee shop environment involves haram activities, the issue is the environment, not the coffee.

Common Questions

Q: Is caffeine the same as an intoxicant?

No. Caffeine is a stimulant that increases alertness. An intoxicant (muskir) clouds the mind, impairs judgment, and causes loss of control. Coffee does the opposite โ€” it sharpens focus. Scholars are clear on this distinction. The hadith prohibiting intoxicants does not apply to stimulants.

Q: Is decaf coffee also halal?

Yes. If regular coffee is halal, decaffeinated coffee is equally halal. For a contrasting case where a popular beverage's permissibility is genuinely debated, see our article on is kombucha haram. The decaffeination process does not introduce any haram substances (though some methods use chemical solvents, these evaporate entirely and are not consumed).

Q: Can I drink coffee before praying?

Yes. There is no prohibition on drinking coffee before prayer. Some people find it helps them stay focused during worship โ€” which is actually the reason Sufi orders originally adopted it.

You can check any specific food, drink, or ingredient using the tool below or on the haram checker page.

Summary

Coffee is halal in Islam. The evidence is clear:

  • The default rule for food and drink is permissibility, and nothing in the Quran or Sunnah prohibits coffee
  • Coffee is not an intoxicant โ€” caffeine is a stimulant that does not impair the mind
  • The historical Ottoman-era bans were short-lived, repeatedly overturned, and driven by political concerns rather than sound jurisprudence
  • The scholarly consensus โ€” across all four madhahib โ€” is that coffee is permissible
  • Conditions apply: avoid excess that harms your health, do not drink during fasting hours, and check additives in specialty drinks

Coffee has been part of Muslim culture for over 500 years. The Arabic word for coffee, qahwa, is one of the roots of the English word "coffee" itself. Drink it in good health.

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

Free Tool

Islamic Ruling Checker

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

Frequently Asked Questions

Is coffee haram in Islam?

No. Coffee is halal (permissible) in Islam by the consensus of contemporary and classical scholars. It is not an intoxicant, and there is no evidence from the Quran or Sunnah prohibiting it.

Why did some scholars try to ban coffee historically?

In the 15th and 16th centuries, some Ottoman-era scholars argued coffee was an intoxicant or that coffeehouses encouraged sinful gatherings. These bans were short-lived and repeatedly overturned by other scholars and rulers.

Can you drink coffee while fasting in Ramadan?

No. You cannot consume any food or drink โ€” including coffee โ€” during fasting hours in Ramadan. Coffee is permissible before suhoor and after iftar.