Whether youâre an early bird or a night owl, coffee is probably part of your daily routine. Since 2004, the number of American adults whoâve enjoyed a daily cup of java has jumped up 37 percent, the highest level in more than 20 years, according to the National Coffee Association. But coffee is hardly a new invention. Its roots go all the way back to 850 CE , when coffee beans were first cultivated in the Arabian colony of Harar near present-day Ethiopia.
âFrom there, coffee was transported to Mecca and spread throughout the Arabian continent,â Bryan Quoc Le, food scientist and CEO at Mendocino Food Consulting, tells Popular Science. âBut only in the 1600s did Venetian merchants record seeing a blackish beverage that resembled modern coffee, and brought coffee beans to Europe.â
Throughout this history, the way we grow, prepare, and serve coffee has changed. According to Samo Smrke, a research associate at Zurich University of Applied Sciencesâ Coffee Excellence Center, thereâs not a whole lot of other foods that receive the same level of processing as coffeeâand every tiny step, from the soil itâs grown into to the temperature itâs boiled at has an impact on flavor.
Hereâs a guide to the journey that a coffee bean takes to go from a simple root to your morning latte.
[ Related: The âexperienceâ of a cup of coffee may be just as stimulating as its caffeine. ]
Starting with seeds
A coffee plant hardly mimics the deep, rich brown that youâre used to seeing pour out of a french press. While in the ground, coffee is a lush, leafy plant with bright red berries. There are more than 130 types of coffee species out there, but only Arabica and Robusta end up in brews across the world, says Hannah Neuschwander, a senior advisor of communications at World Coffee Research.
Arabica beans originated in Ethiopia, but are now grown all over the world, especially in Brazil. Robusta is grown in Africa, Indonesia and India and is named for its hardy nature. The main taste difference between these two coffee species is that Arabica tends to taste lighter and fruitier, whereas Robusta makes for a rich, intense drink that is perfect for espresso.

But the beans themselves are just the beginning of the taste profile. âOne thing that most coffee drinkers donât totally understand is that what we call the bean is actually the seed thatâs inside the fruit,â Neuschwander tells Popular Science.
When it comes to harvesting and processing coffee, the ripeness of that fruit really matters for taste. Thatâs because the fruit itself, even when removed from the coffee bean, leaves an imprint on taste and aroma. Thereâs a few ways to get the fruit off of the seed, or processing the coffee, that eventually becomes a coffee bean. Stripping or grinding the fruit off completely leads to a more perceived acidic taste, says Smrke. Additionally, a washed process, which leaves a bit of the fruit on the seed to ferment, will end up with a fruitier taste in your cup.
Time to roast
Once youâve got a processed bean, thereâs still quite a ways to go before that bean even smells like anything close to a cup of joe. These beans, also called âgreenâ beans, have the precursors to those delicious java scents, says Smrke. However, the compounds need to go through a wake-up process called roasting. During roasting, thereâs a few processes happening to the beans. The most important of which is the Maillard reactionâa chemical reaction of sugars with amino acids gives coffee its distinctive, roasty smell, says Smrke.
Roasting, in terms of flavor, can be looked at as a battle between two different taste characteristics: acidity and bitterness. The more you roast a coffee bean, the more the acidic compounds will break down. This means if you are a fan of a more acidic brew, youâll want to stick with a lighter roast. Bitterness comes out more with roasting. So with a darker roast, youâll experience more of that classic coffee bitter taste. However, there is a caveat in this flavor battleâorigin taste, or the distinctive tastes that come from the process long before the roaster, tend to go away with a heavier roast.
[ Related: Scientists figured out the optimal cup of coffee. ]
âSeemingly minor, changes in the roast profile have a big impact on the final flavor in the cup,â William Ristenpart, director of the University of California, Davis Coffee Center, tells Popular Science.
Once coffee beans are roasted, itâs best to give them a little break before diving straight into preparation. This is because freshly roasted beans contain a lot of carbon dioxide, says Smrke, which means extracting it will be a foamy struggle. Dark roasts tend to need a break of around a month to six weeks before moving on to the next step, but that timeline is shorter for lighter roasts.

Preparing coffee
Just as there are seemingly countless ways to make a coffee bean unique, the same can be said for preparing a cup of coffee. Generally speaking, a coarser ground coffee is perfect for a french press or a cold brew. As you venture towards a stovetop moka pot, espresso machine, or even Turkish coffee, thatâs when a finely ground coffee is essential for the tastiest results.
The type of coffee, and its age, also plays a role in how to best grind it down. But, to keep things simple, letâs start with the ever-popular espresso. For brewing espresso, a lighter roast will need to be ground finer than a darker roast coffee, according to Smrke. And the fresher your espresso beans are, the coarser they need to be ground. A coarser grind helps balance out the frothiness of cremaâthe fine level of froth on the top of an espresso.
âWhen the coffee ages, the carbon dioxide is lost,â he says. âThis carbon dioxide is creating crema during the extraction of espresso, the crema impacts how much resistance you have or how easily it flows.â

Water temperature also matters, says Kristine Nolin, chemistry professor at the University of Richmond. Nolin argues for brewing coffee at a slightly-less-than-boiling 205 degrees Fahrenheit for perfect extraction.
âAt higher temperatures, the amount of bitter flavor will increase due to more of the flavor molecules being rapidly extracted,â she tells Popular Science. âOverboiling the water prior to brewing your coffee will lead to deoxygenation of the coffee, which also causes a bitter flavor.â
But for baristas and amateurs alike, the real way to get to know your perfect brew is to play around with different beans, roasts, equipment, and techniques. Whether itâs bitter or acidic, carmelized or smokey, hot or cold brewed, thereâs a near infinite number of ways to make yourself a cup of coffee that will both caffeinate and delight.