Coffee Chemistry Behind A Great Tasting Cup

Figuring out the chemistry behind a great tasting cup of coffee has been our number one goal as humans ever since we nailed sliced bread. If you’re a lover of coffee, then you’ll probably already know that not all coffee is created equally and rarely are two cups ever the same.

But how can two cups be so different? At the end of the day it’s the same thing, coffee, but yet at the same time, each brew can produce entirely unique experiences. So why’s it so hard? Because there’s a ton of complex chemistry involved, that’s why!

We all know and love coffee for the caffeine, but caffeine doesn’t affect the flavor of your coffee. Brewing a great tasting cup requires excellence in three parts: the roast, the bean, and the brew. Let’s take a look at the coffee chemistry.

The Components

The humble cup of coffee contains more than 1,000 chemicals, and while scientists haven’t really figured out each and every one, they have nailed the big players when it comes to taste and potential health benefits.


Due to the popularity of coffee drinking, caffeine is one of the most widely consumed psychoactive drugs worldwide. YES, caffeine is a drug!

Caffeine helps to reduce fatigue, enhances perception, and gives you that extra kick to help you to stay awake, some studies have even concluded that caffeine may help long-term memory.

In addition to keeping you awake and alert, caffeine is also linked to boosting energy expenditure and metabolic rate. When it comes to how much coffee you can drink in a day dietary recommendations suggest that up to 400 milligrams of caffeine per day is perfectly fine.


Studies have shown that this bitter tasting alkaloid can block cancer cells from moving around the body, protect the brain from damage, help to lower total cholesterol and sugars, as well as combating bacteria.

Chlorogenic Acids

There are around 45 phenolic compounds that have been found in coffee. Along with their breakdown product caffeic acid, these compounds have been shown to have anti-inflammatory and antibacterial properties, help lower type-2 diabetes and aid in cardiovascular disease prevention.

Kahweol and Cafestol

It’s these diterpenes that are the reason why your coffee taste bitter. These compounds have been shown to prevent and aid in battling cancer. The bad news is that they have also been linked to raising your cholesterol.

The Secret Behind Great Tasting Coffee

So now you have a better understanding of some of the compounds found in coffee let’s take a closer look at the beans, the roast, and how to brew a great tasting cup.

The Bean

Coffee farmers devote a lot of energy and time into growing and harvesting coffee trees (YES, that’s right coffee does grow on trees) to make sure you get that perfect cup of joe. In case you didn’t know, the coffee bean is actually the pit of a cherry after these cherries get pitted the coffee bean is then dried and processed.

There are basically two verities of commercially viable coffee beans the Arabica beans (Coffea Arabica) and Robusta beans (Coffea canephora var. Robusta). However, there are actually around 70 types of Coffea (the flowering plants that produce coffee beans), but most are simply not palatable.

If you want the best tasting coffee opt for the Arabica beans since they have a wider variety of aromas and balanced flavors. Arabica beans also tend to have more trigonelline and diterpenes (kahweol and cafestol).

Process of Coffee Roasting

If you want a cup of coffee with a bit more kick, the Robusta beans have almost twice as much caffeine and chlorogenic acids but do tend to have a more bitter taste.

The Roast

The roasting process involves taking green coffee beans and turns them into delicious, toasty brown beans. The roasting also helps to bring out flavors like floral notes, chocolate and more.

When it comes to roasting coffee beans, there really isn’t a standard method that every coffee roaster follows. But typically coffee beans are roasted in a multi-step process from anywhere between 150 to 250 degrees Celsius and from 2 to 25 minutes.

150 to 200 Degrees Celsius

The first stage at around 150 to 200 degrees Celsius is when the Maillard Reaction takes place. During this reaction proteins and sugars react to form aroma and flavor compounds. Maillard chemistry isn’t just part of the coffee world it’s also partially to thank for the excellent browning, flavor, and smell of other foods like fries, steak, and, of course, bacon (…mmm bacon).

The Maillard reaction also helps to create many other compounds including 2-Furfurylthiol which gives coffee its delicious roasted flavor.

170 to 200 Degrees Celsius

As the temperature slowly rises to 179 to 200 degrees Celsius caramelization starts to take place, the natural sugars caramelize, and the generated compounds create burnt sugar (furanone’s) and butterscotch (diacetyl) flavors.

At 205 Degrees Celsius

When the temperature starts to reach 205 degrees Celsius the water inside of the bean starts to vaporize which in-turn causes the bean to expand and eventually crack open. This is known as the “first crack” in the coffee world.

At the first crack, “light roast” coffees are removed from the roaster. Light roasts tend to be higher in acidity, and the characteristics of different bean origins are most pronounced in light roasts.

225 to 230 Degrees Celsius

As the beans continue to roast and the temperature starts to reach 225 to 230 degrees Celsius the bean cracks once again, this is called the “second crack.”

This second crack is the results of the cellulose in the coffee bean’s cell walls breaking apart.

As it gets hotter, the bean starts to turn a much darker brown at this stage you have the favored medium roast. Medium roasts have a good balance between acidity from the bean and body from the roasting chemistry. Aromatic compounds also emerge that give coffee an earthy scent and earthy, roasted flavors.

Even More Heat

Roasting any further will make the beans darker, and they will become pretty oily, and you’ll get your dark roast. At this stage, almost all of the tasting notes will be from the actual roasting, and you can’t really tell the origin of the coffee bean at this stage because the strong body overwhelms those geographic notes. Darker roasts are typically used for brewing espresso.

brewing coffee

So you’ve got all those coffee bean choices on the shelf, but how do you actually brew the best coffee you can?

The Brew

Now you’ve arrived at the weakest link. You’ve got a coffee bean with a great origin and a roast you love. Now all that’s left is to grind it and add hot water right? If only it were that easy, unfortunately, you can have the best coffee in the world and still mess this part up.

There are a few key components to brewing a great cup of coffee. There’s obviously the coffee, the water ratio (ditch the tablespoon, best use a coffee scale), then there is water quality (forget tap water use filtered or bottled water), then you’ve got the water temperature, boiling water that is too hot and you’ll get gross burnt coffee so best to get your water temperature close to 96 degrees Celsius (205 F).

Don’t forget you also need to decide on how you will be brewing your coffee. There are pour overs, Moka pots, the Chemex and French press coffee brewers (cafetière, press pots) to name just a few, but whatever you choose the basic principles of all brewing methods are the same.

Chemistry Of Coffee Brewing

So you have chosen your best coffee maker now for the coffee grind. For the coffee grind, research shows that the more pulverized the beans, the more you’ll get out of them, caffeine that is.

In one study, researchers found that using a regular home coffee grinder for 42 seconds compared with 5 seconds doubled the amount of caffeine squeezed out of a 37-gram portion.

Another study found that having more particulates (the fine powder that turns into coffee sludge) also helped to increase the overall caffeine content.

chemistry of coffee brewing

As you add your water to your ground coffee, it spreads across the grounds, and CO2 starts to bubble out, this process is called the “bloom.” Once the grounds are fully saturated the hot water will start to dissolve the compounds found in the roasted cells of the coffee beans.

Most of the delicious compounds will dissolve in water more readily than the nasty ones, so make sure to add enough water to get the good stuff to dissolve, but, not too much that your coffee tastes bad.

Finally, Osmosis will start to drag those compounds out of the coffee grounds and into the water bringing with it all of those great flavors into your coffee pot.

Coffee geeks will tell you that manual pour over coffee brewing methods such as the Chemex or the Hario V60 is far better than automatic coffee makers. This is true when brewing coffee the manual way you have much more control over the brewing process and can tweak things on the fly like how much water gets added and when.

Plus, pour-over methods continuously replenish the coffee grounds with fresher water, which makes the brewing process go faster. The water is manually poured in an all-in-one stream, instead of the shower-head-like contraption typically found in your auto drip coffee maker.