coffeesterTHE COFFEE ENCYCLOPEDIA

Knowledge · industry

A History of Coffee

How a wild plant from the Ethiopian highlands became the world's most consequential beverage

A History of Coffee
Photo by Michael Dagonakis on Unsplash

The Kaldi Legend and Mythic Origins

The most widely repeated origin story of coffee centers on Kaldi, described as a goatherd who noticed his flock behaving with unusual energy after grazing on unfamiliar red berries. The tale is colorful and enduring, but it is also almost certainly apocryphal. According to sources, the story does not appear in the written record before 1671, when it was first related by Antoine Faustus Nairon, a Maronite professor of Oriental languages and author of one of the first printed treatises devoted to coffee, De Saluberrima potione Cahue seu Cafe nuncupata Discursus (Rome, 1671). Nairon describes a camel or goat herder in the Kingdom of Ayaman (Arabia Felix), but the herder is unnamed in this earliest account; the name "Kaldi" appears to be a later invention, likely of the twentieth century.

A second legend attributes coffee's discovery to a Sheikh Omar, who, starving after exile from Mokha, stumbled upon coffee berries, attempted to chew and roast them, and finally boiled them to produce a revitalizing liquid. A third tradition, recorded by Ralph S. Hattox, holds that the Islamic prophet Muhammad was introduced to a stimulating beverage by the Angel Gabriel for its restorative qualities.

None of these accounts carries archaeological or documentary support. They reflect instead the cultural significance coffee had already assumed by the time these stories were first written down — a beverage so central to daily life that its origins demanded a suitably remarkable explanation.

Botanical Origins and Early Use in Ethiopia

Whatever the legends suggest, the botanical record is clearer. Wild coffee plants originated in Ethiopia, with the original domesticated coffee plant said to have come from Harar, and the native population thought to derive from Ethiopia, with distinct nearby populations in Sudan and Kenya. Genetic studies on Coffea arabica varieties have found them to be of low genetic diversity but retaining some residual heterozygosity from ancestral materials. A 2020 follow-up study cited in the literature definitively confirmed that the vast majority of Coffea arabica plants originate from early varieties cultivated on the farms of Yemen — suggesting a tight genetic bottleneck as cultivation moved from wild Ethiopian stock to managed Yemeni plantings.

The earliest possible textual references to the coffee bean appear in the 10th-century al-Hawi of al-Razi (Rhazes) and in the 11th-century Canon of Medicine by Avicenna (Ibn Sina), both of which describe a plant component called bunchum as hot and dry, with al-Razi reporting beneficial effects for the stomach. However, later accounts suggest that bunchum was made from a root rather than from coffee beans, and there is no confirmed evidence, historical or archaeological, of coffee as a drink being consumed before the 15th century.

There are indications that coffee use may have expanded from the 14th century among certain Islamized groups in southeastern Ethiopia, though direct evidence for early consumption remains scarce. The beverage as we understand it today appears to be a relatively recent development in the long span of human food history.

Sufis, Yemen, and the Fifteenth Century

By the late 15th century, coffee drinking was well established among Sufi communities in Yemen. The Sufi Imam Muhammad Ibn Said al-Dhabhani is known to have imported goods from Ethiopia to Yemen, providing one early link in the chain connecting Ethiopian wild plants to Yemeni cultivation and consumption. The mufti of Aden, Sheikh Jamal-al-Din al-Dhabhani (d. 1470), is reported by the historian Abd al-Qadir al-Jaziri to have been the first to adopt the use of coffee, circa 1454.

The Sufis used qahwa as an aid to concentration and as a kind of spiritual intoxication during their nighttime devotions — specifically during the dhikr, the rhythmic chanting of the name of God. Coffee drove away fatigue and lethargy and brought, as al-Jaziri put it, "a certain sprightliness and vigour" that aided in early-morning religious work. This spiritual framing was crucial: coffee entered history not as a luxury or a stimulant of the marketplace, but as a tool of contemplative practice.

By 1414, the plant was known in Mecca. In the early 1500s, it was spreading through the Mameluke Sultanate of Egypt and across North Africa, carried along routes running out of the Yemeni port of Mocha — a name that would become permanently associated with coffee itself. The port of Mocha remained the world's sole gateway for coffee until the end of the 17th century.

One of the most important early chroniclers of this period was Abd al-Qadir al-Jaziri, who in 1587 compiled Umdat al-Safwa fi hill al-qahwa (عمدة الصفوة في حل القهوة), tracing coffee's spread from Arabia Felix northward to Mecca and Medina, and then to Cairo, Damascus, Baghdad, and Constantinople. A copy of this manuscript reached the French royal library, where it was translated in part by Antoine Galland as De l'origine et du progrès du café in 1699.

Coffeehouses and the Ottoman World

As coffee moved northward through the Islamic world, it generated an entirely new kind of social institution: the coffeehouse, known in Arabic as maqāhī (مقاهي). Coffeehouses associated with Sufism sprang up in Cairo around the religious university of Al-Azhar. They opened in Syria, especially in the cosmopolitan city of Aleppo, and then reached Constantinople in 1554–1555, when two Arab merchants — Hakem of Aleppo and Shems of Damascus — opened the first coffeehouse in the Tahtakale district. The Ottoman chronicler İbrahim Peçevi, writing between 1642 and 1649, confirms this date, noting that until around the year 962 of the Islamic calendar (1555), coffee and coffeehouses did not exist in Constantinople.

These establishments rapidly became known as "schools of wisdom" for the quality of their clientele and the frankness of their discourse. Patrons gathered to drink coffee, converse, play chess and backgammon, listen to music, and discuss news and politics. The coffeehouse was, in essence, the first institution in history to provide a secular, non-alcoholic space for public intellectual life.

This prominence brought backlash. Coffeehouses in Mecca became a concern for imams, who viewed them as venues for political gathering and illicit behavior; bans were imposed between 1512 and 1524. However, these prohibitions could not be maintained. Coffee had become too deeply ingrained in daily ritual and culture across the Arab world and beyond. The debates over its permissibility — whether it was intoxicating, and therefore forbidden under Islamic law — were ultimately resolved in coffee's favor, and the beverage continued its spread unimpeded.

The etymology of the word itself reflects these trade and cultural routes. The Arabic qahwah (قَهْوَة) — most likely meaning "the dark one," referring to the brew or the bean — passed into Ottoman Turkish as kahve, and from there into Italian as caffè, French as café, Dutch as koffie, and English (first attested via Dutch in 1582) as coffee. The Ethiopian word for the plant, buna or būn, derives from an early Semitic root bunn, related to the color brown in Amharic and Tigrinya.

Coffee Reaches Europe

Through Mediterranean trade routes, primarily shaped by Venetian–Ottoman commercial relations, knowledge of coffee entered Europe in the mid-16th century — the Italian caffè is first attested as caveé in Venice in 1570. The first café in Europe is believed to have been opened in Belgrade (then Ottoman Serbia) in 1522, as a kafana. The first café in France is believed to have opened in 1660.

By the late 17th century, coffeehouses were established across Western Europe, especially in Holland, England, and Germany. London's coffeehouse culture became particularly vibrant: these establishments attracted merchants, writers, scientists, and politicians, and served as informal headquarters for commerce and ideas. Lloyd's of London, for example, originated in a coffeehouse environment. The coffeehouse model — an accessible, public, intellectually stimulating space — shaped European civil society in ways that extended far beyond the beverage itself.

The word café, adopted into English-speaking countries in the late 19th century from the French, eventually shed its strict association with coffee and came to describe a broader range of eating and drinking establishments — a linguistic legacy of coffee's foundational role in European social life.

Colonial Expansion and Plantation Coffee

For most of the 17th century, Yemen maintained a near-monopoly on coffee production, carefully guarding its plants and seeds. But as European demand grew, colonial powers moved aggressively to establish their own supply chains. The Dutch began cultivating coffee in Java in the 17th century, breaking the Yemeni monopoly and establishing Southeast Asia as a coffee-producing region. "Java" became, like "Mocha" before it, a common synonym for coffee itself.

The pivotal moment for the Americas came in 1720, when Gabriel de Clieu, a French naval officer, transported coffee seedlings to Martinique in the Caribbean. From Martinique, cultivation spread to other Caribbean islands, including Saint-Domingue (present-day Haiti) and to Mexico. By 1788, Saint-Domingue supplied half the world's coffee — a statistic inseparable from the brutal system of enslaved labor that underpinned it. The plantation economy of the Caribbean and, later, South America was built on the forced labor of enslaved Africans, making coffee's global rise one of the most morally complex chapters in agricultural history.

Coffee cultivation reached Brazil in the 18th century and expanded rapidly. By 1852, Brazil became the world's largest producer of coffee and has held that status ever since. In 2023, Brazil produced approximately 31% of the world's total coffee supply. The concentration of production in a single nation created supply vulnerabilities and price dynamics that continue to shape the coffee supply chain to the present day.

Across the Indian subcontinent and East Africa, colonial botanical networks similarly transferred coffee cultivation. Coffee plants are today cultivated in over 70 countries, primarily in the equatorial belt spanning the Americas, Southeast Asia, the Indian subcontinent, and Africa — a geography now known in the trade as the "Bean Belt."

The Modern Global Industry

Since 1950, the landscape of global coffee production has shifted considerably. Several major producers emerged to challenge the established order: Colombia, Ivory Coast, Ethiopia, and most dramatically, Vietnam, which overtook Colombia to become the world's second-largest producer in 1999. Vietnam's rise, built largely on Coffea robusta cultivation, transformed global commodity markets and contributed to price volatility that has repeatedly squeezed smallholder farmers.

The industrialization of coffee — the development of instant coffee, the rise of supermarket retail, and the consolidation of roasting into large multinational brands — is often described by historians of the industry as the First Wave of coffee culture. It was followed by the Second Wave, characterized by the growth of specialty café chains and consumer interest in the drinking experience, and then by the Third Wave, which brought a rigorous focus on provenance, processing, and craft roasting.

Today, coffee is one of the world's most economically significant agricultural commodities. The coffee industry was valued at approximately $495.50 billion globally in 2023. Yet despite this scale, coffee farmers disproportionately live in poverty — a structural inequity that movements such as direct trade and fair-trade certification have sought, with partial success, to address.

The word coffee break, now a fixture of working life worldwide, entered the English language only in 1952 — a reminder of how recently even the most familiar aspects of coffee culture were formalized. From Sufi monasteries in 15th-century Yemen to the global commodity network of the 21st century, coffee's history is, in the end, a history of human connection: the persistent desire to gather, to think, and to share something warm across a table.

Frequently asked questions

Where did coffee originate?
Wild coffee plants originated in Ethiopia, with the original domesticated plant said to have come from the Harar region. However, coffee as a prepared beverage has its roots in Yemen, where Sufi communities were brewing and consuming it by the late 15th century.
Is the Kaldi goatherd story true?
Almost certainly not in any literal sense. The Kaldi legend does not appear in the written record before 1671, when it was first related by Antoine Faustus Nairon in a printed treatise on coffee. The herder is unnamed in the earliest account, and the name "Kaldi" appears to be a later invention, likely of the twentieth century.
When did coffeehouses first appear?
Coffeehouses emerged in the Arabian Peninsula and broader Islamic world in the 15th and early 16th centuries, particularly in Cairo, Damascus, and Mecca. The first coffeehouse in Constantinople opened around 1554–1555. In Europe, the first is believed to have opened in Belgrade (then Ottoman Serbia) in 1522, with France's first café opening around 1660.
How did coffee spread to the Americas?
Gabriel de Clieu, a French naval officer, brought coffee seedlings to Martinique in 1720. From Martinique, cultivation spread to other Caribbean islands including Saint-Domingue (present-day Haiti) and to Mexico. By 1788, Saint-Domingue supplied half the world's coffee. Brazil, where coffee arrived later, became the world's largest producer by 1852 and has held that status ever since.
What does the word "coffee" mean etymologically?
The English word "coffee" entered the language via Dutch koffie, borrowed from Ottoman Turkish kahve, itself borrowed from the Arabic qahwah. The Arabic term most likely meant "the dark one," referring to the brew or the bean, derived from the Semitic root qhh meaning "dark color." Some etymologists have also connected it with the Kaffa region of Ethiopia and with the Arabic quwwa, meaning "power."
When did Yemen lose its monopoly on coffee production?
The Yemeni port of Mocha was the world's sole gateway for coffee until the end of the 17th century. The Dutch broke this monopoly by beginning cultivation in Java in the 17th century, and colonial cultivation subsequently expanded into the Caribbean and Latin America in the 18th century.

See also

Sources & further reading