August 10, 2017 3 min read

Learn Basic Coffee Chemistry

The Chemistry of Coffee: What's Going on in That Cup?

Coffee is one of the world's most popular beverages, cherished for its rich flavor and energizing effects. But what exactly is happening in that cup of coffee? Let's dive into the fascinating chemistry behind your favorite brew.

Coffee Aroma

When you brew a cup of coffee, the first thing you notice is the aroma. This delightful smell is the result of hundreds of volatile compounds, which are chemicals that evaporate easily. Key volatile compounds in coffee include:

- Pyrazines: Earthy aroma

- Methylpropanil: Fruity and spicy notes

- Vanillin: Vanilla scent

- Methional: Baked potato smell

- Methanethiol: Cabbage or garlic aroma

These compounds are formed during the roasting process, where the coffee beans are heated to high temperatures. The heat breaks down complex molecules in the beans into simpler ones, creating the aromatic compounds that give coffee its distinctive smell.

Coffee Flavor

The flavor of coffee is influenced by several factors, including the type of coffee beans, the roasting process, and the brewing method. One of the most crucial elements in coffee flavor is chlorogenic acids.

Chlorogenic Acids: These compounds are present in all coffee beans and contribute to the bitter taste of green coffee. During roasting, chlorogenic acids break down into other compounds, which help develop coffee's characteristic flavor.


Caffeine is a key compound in coffee, responsible for its stimulating effects. It works by blocking adenosine, a neurotransmitter that makes you feel sleepy. When you drink coffee, caffeine binds to adenosine receptors in your brain, preventing adenosine from making you feel tired and giving you a boost of energy.

Mixing Coffee and Milk

When you add milk to coffee, you create a mixture—a combination of substances that are not chemically combined. The milk and coffee molecules remain separate but mixed through two main forces: diffusion and convection.

- Diffusion: Movement of particles from high to low concentration. Milk molecules diffuse into coffee until evenly distributed.

- Convection: Movement of fluids due to density differences. Denser milk sinks, warms up from the coffee's heat, becomes less dense, and rises, mixing with the coffee.


Entropy measures disorder. According to the second law of thermodynamics, entropy always increases over time. Mixing milk and coffee creates a more disordered system, reflecting this principle.

Additional Coffee Chemistry

Beyond aroma, flavor, and caffeine, several other chemical reactions play crucial roles in coffee chemistry:

- Maillard Reaction: This reaction occurs between amino acids and sugars during roasting, contributing to the brown color and rich flavor of roasted coffee beans.

- Caramelization: When sugars in the coffee beans are heated to high temperatures, they undergo caramelization, creating sweet and caramel-like flavors.


The chemistry of coffee is a complex and fascinating topic. The aroma, flavor, and caffeine content of coffee are influenced by the chemical composition of the coffee beans and the roasting process. Mixing coffee and milk involves the principles of diffusion, convection, and entropy, showcasing the intricate science behind a seemingly simple beverage. Whether you're a casual coffee drinker or a passionate coffee aficionado, understanding these chemical processes can enhance your appreciation for each cup of coffee.

How Much Caffeine is in Coffee?

How Caffeine Works on the Body

Is Decaf Coffee Bad for You?