Ethiopia.
The arabica coffee plant, Coffea arabica, grows wild in the highland forests of southwestern Ethiopia, and that region is considered coffee's birthplace. A famous legend tells of a goat herder named Kaldi who noticed his goats became lively after eating red coffee cherries, though the story first appears in writing centuries later.
The first clear evidence of coffee as a brewed drink comes from Yemen in the 1400s, across the Red Sea, where Sufi mystics drank it to stay awake for night prayers. Yemen's port of Mocha became a major coffee trading hub, which is why "mocha" is still linked with coffee.
From there, coffeehouses spread to Mecca, Cairo and Istanbul, then to Europe in the 1600s. The Dutch, French and others later carried coffee plants to colonies in Asia, the Caribbean and Latin America.
Today Brazil is by far the largest coffee producer, but Ethiopia still grows a huge diversity of heirloom arabica varieties, and coffee remains central to its culture.