The Origins of Coffee

Every telling of coffee’s origin begins with the same goats. Kaldi, a young herder on the Ethiopian plateau — ninth century, in the versions that bother with a date — notices his flock capering with unusual energy after browsing the red berries of an unfamiliar tree. He tries the berries himself, feels the lift, and carries them to a nearby monastery, where a disapproving monk flings them into the fire. The roasting beans release an aroma so glorious that the monks rake them from the embers, dissolve them in hot water, and discover a drink that carries them through their night prayers. It is a wonderful story, and almost none of it can be true. The tale of Kaldi first appears in print in 1671, in a Latin treatise written in Rome some eight centuries after the events it describes, and no Ethiopian or Arabic source from the intervening centuries mentions him. What the legend preserves is not history but a truth about coffee’s beginnings: the plant is Ethiopian, animals and people almost certainly discovered its effects by eating it long before anyone brewed it, and the drink’s first devoted constituency was religious men who needed to stay awake in the dark.

Strip away the goats and the real story is, if anything, better. Coffea arabica evolved in the understory of the highland forests of southwestern Ethiopia — the historical kingdom of Kaffa, which may or may not have given the drink its name — and it still grows wild there today, the only place on earth where that is true. The peoples of the region used coffee long before it was a beverage: chewing the cherries, sometimes binding crushed beans with fat into a kind of proto energy bar, and brewing infusions from the leaves and the dried fruit husks. Coffee as food and folk stimulant is Ethiopian and very old. Coffee as the drink we would recognize — roasted seeds, ground and steeped in hot water — appears on the record much later, and on the other side of the Red Sea.

Yemen and the invention of the drink

Sometime in the early-to-mid 1400s, coffee crossed the narrow strait from Ethiopia to Yemen, whether through trade, migration, or war (Ethiopian forces occupied parts of Yemen in the sixth century, and traffic between the two coasts never stopped). There it found its killer app. Sufi mystics in Yemen’s mountain lodges practiced dhikr, a nightly devotional ritual of chanting the names of God, and staying alert through the small hours was a spiritual necessity. First they drank qishr, an infusion of the dried cherry husks that Yemenis still drink today; eventually someone roasted and brewed the seeds themselves, and the modern drink was born. They called it qahwa — a word that had previously meant wine, appetite-suppressing and intoxicating in its own way — and the name proved as durable as the habit. Qahwa became the Turkish kahve, the Italian caffè, the French café, and the English coffee: the entire vocabulary of the world’s most consumed brewed beverage descends from an Arabic word for wine, applied by mystics to a drink that kept them sober and awake.

Yemen did more than invent the beverage; it invented the crop. Farmers terraced the arid mountainsides inland from the coast and made coffee agriculture for the first time, and by the 1540s coffee was being grown commercially in the Yemeni highlands for export through the Red Sea port of al-Makha — Mocha, the town whose name would outlive its trade so thoroughly that it now mostly denotes a chocolate drink. For roughly two centuries, every coffee bean in the world came from those terraces, a monopoly Yemen guarded by scalding or parboiling beans before export so they could not germinate elsewhere.

The drink of the mosque, the market, and the argument

From the Sufi lodges, coffee spread through the Islamic world with remarkable speed, traveling the pilgrimage and trade routes that stitched the region together. It was known in Mecca by 1414, and the annual Hajj did for coffee what no marketing campaign could: pilgrims from Cairo to Delhi tasted it in the holy cities and carried the habit home. By the early 1500s it had reached Cairo, where coffee stalls clustered around the great religious university of al-Azhar; Damascus had its first coffeehouse by 1530; and in 1554 the drink arrived, institutionally speaking, in Istanbul, where two Syrian merchants opened the Ottoman capital’s first coffeehouses and inaugurated the world’s first café culture.

Success brought scrutiny. To religious authorities coffee was suspicious on two counts: it altered the mind, which invited comparison to wine, and it gathered men in rooms where they talked freely, which invited comparison to sedition. In 1511 the young governor of Mecca, Khair-Beg — reportedly stung by satirical verses circulating out of the coffeehouses — convened a council of scholars and had the drink banned and the stocks burned. Cairo and Istanbul saw their own prohibitions, and under the Ottoman sultan Murad IV (1623–40) coffee drinking was, for a time, punishable by death. Every ban failed. The scholars eventually settled on the sensible consensus that coffee was permissible, the coffeehouses reopened wherever they had closed, and the episode established a pattern that would repeat in London and beyond: rulers fear coffee not for what it does to the body but for what it does to conversation.

Leaving home: seeds, smugglers, and empires

Coffee reached Europe in the 1600s by two routes — overland through Ottoman trade across the Mediterranean, and by sea, as the English and Dutch East India Companies began loading cargoes at Mocha early in the century. (Curiously, the English company was shipping Mocha coffee to India decades before Londoners could buy a cup at home.) What happened when the drink landed — the coffeehouses of London and Paris, the siege of Vienna, the penny universities — is a story of its own. What matters to the origin story is that European demand broke Yemen’s monopoly, and it broke it with seeds.

The first breach is credited to Baba Budan, an Indian Sufi pilgrim who, around the 1670s, is said to have smuggled seven fertile seeds out of Mecca strapped to his body and planted them in the hills of Mysore — hills that still bear his name and still grow coffee. The Dutch got living plants to their colony of Java by the 1690s, and a single tree sent from Java to the Amsterdam botanical garden in 1706 became one of the most consequential plants in agricultural history: its offspring were gifted to Louis XIV, and in 1723 a French naval officer named Gabriel de Clieu carried a seedling across the Atlantic — sharing his water ration with it during a becalmed crossing, by his own perhaps embellished account — to Martinique, from which coffee spread through the Caribbean and Latin America. Brazil acquired its first plants in 1727 and would, within a century, become the largest producer on earth, a title it has never relinquished. By the early 1800s the plantations of Java, Ceylon, and the Americas — worked, it must be said, substantially by enslaved and indentured laborers — had reduced Yemen, once the world’s only source, to a rounding error in the trade.

That expansion drew the map we now call the Coffee Belt, and it completed a journey that still shapes every cup: an Ethiopian forest plant, domesticated by Yemeni mystics, argued over by Ottoman scholars, and scattered across the tropics by European empires. When modern specialty coffee prizes a wild-tasting Ethiopian heirloom lot or pays record prices for a rare Yemeni microlot, it is not discovering something new — it is circling back to the beginning.

Frequently asked questions

Was Kaldi and his dancing goats a real story? Almost certainly not as told. The legend first appears in a Roman treatise of 1671, centuries after the fact, and no earlier source mentions Kaldi. It endures because it dramatizes real history: coffee is native to Ethiopia, and its stimulant effect was likely discovered through eating the fruit.

Where does the word “coffee” come from? From the Arabic qahwa, a word that originally meant wine. Yemeni Sufis applied it to their new devotional drink in the 1400s, and it passed through Turkish (kahve) into virtually every European language.

Which country is the true birthplace of coffee? Both Ethiopia and Yemen have a claim. The Arabica plant evolved in Ethiopia, and its fruit was consumed there first; Yemen is where coffee was first cultivated as a crop, brewed as the drink we know, and sold to the world.

When did people start drinking coffee? Brewed coffee dates to the early-to-mid 1400s in Yemen. It was known in Mecca by 1414, reached Cairo in the early 1500s and Istanbul by the 1550s, and arrived in Europe in the first half of the 1600s.