The Science of Coffee Roasting: What Happens Inside the Bean
Grab a handful of green coffee beans and take a sniff. That sharp, earthy smell isn’t what you’d expect from your morning cup. Yet, the same beans—once properly roasted—release some of the richest aromas in food. The transformation is chemical, rapid, and precise.
High-altitude Arabica green beans contain over 2,000 chemical compounds, with 700 to 850 of them being aromatic. But those flavors don’t emerge on their own. Roasting is the critical process that unlocks them.
What’s Really Inside Green Coffee Beans?
Green coffee is a storage vault of organic compounds. Scientists have identified more than 2,000 different chemicals in high-quality Arabica beans, with 700 to 850 of them contributing to aroma. For comparison, vanilla has around 150 aromatic compounds, and wine far fewer. Coffee is chemically complex, to say the least.
The Roasting Process: Turning Green into Aromatic
When green coffee is roasted, a series of chemical reactions occur that drastically change its composition and flavor profile. Between five and twenty-five minutes of heating—depending on whether you're using a fast or slow roast profile—the beans lose moisture, expand in size, and develop aroma.

Key changes include:
- Moisture evaporation begins at temperatures above 200°C (392°F).
- Beans can increase in volume by up to 60%.
- Weight loss ranges from 10% to 25%, depending on roast degree—darker roasts lose more mass.
- Roasters often avoid very dark roasts to reduce weight loss and cost.
Carbon Dioxide and Freshness
During roasting, beans release carbon dioxide. This continues for up to thirty days after roasting. Interestingly, CO₂ release helps protect freshness by limiting oxygen exposure and slowing oxidation—the main cause of flavor degradation. However, after about seven days, CO₂ levels drop significantly, and oxygen begins breaking down aromatic compounds, which is why coffee tastes best when used within a week of opening.
The Roasting Reactions: Maillard and Sugar Development

One of the most crucial phases is the Maillard reaction and associated sugar caramelization. Around six to seven minutes into the roast—when internal temperatures rise—beans absorb heat, triggering pyrolysis. This results in the first crack, a low, sparse popping sound indicating starches are converting to sugars, moisture escapes, and new aromatic compounds begin forming.
This phase also sees the development of coffee oils and acids such as nicotinic acid, citric acid, quinic acid, malic acid, acetic acid, and caffeine. These combine to form the coffee’s signature aromatic profile.
The Maillard reaction can continue through the second crack—but there’s a trade-off. While extended roasting deepens flavor via caramelization, it also risks carbonizing sugars and other compounds, leading to unpleasant bitter and burnt notes. The roaster’s challenge is to maximize caramelization while minimizing carbonization.
How to Read a Roast by Sight, Sound, and Smell
Experienced roasters monitor roast progress through visual cues, auditory signals, and scent.

Color Changes: Beans shift from grey to golden yellow, then light brown, followed by a slightly oily light brown, and eventually a glossy dark brown. Over-roasted beans turn black, dry, and emit blue smoke with a burnt smell—warning signs of nearing combustion.
Target roast levels are typically between light brown and glossy dark brown for balanced flavor.
Sound Cues: Under sufficient heat, beans emit two distinct cracking sounds:
- First Crack: Occurs around seven minutes into the roast (e.g., with heat-resistant beans like Mandheling or Antigua). It’s a low, muffled pop signaling the start of starch-to-sugar conversion and moisture release. This phase lasts about two minutes before settling.
- Second Crack: Occurs around twelve minutes in—sharper and more intense. It indicates cell wall rupture and signals the roast is nearing its end. Prolonging beyond this point diminishes aroma quality.
Coffee, in effect, “speaks” during roasting. Listening closely helps determine when to stop.

Frequently Asked Questions
What causes the bad smell in green coffee beans?
Green coffee beans have a sharp, earthy, or even sour aroma due to their raw state and the presence of compounds not yet transformed by heat. This smell is completely normal and contrasts with the pleasant aromas released during roasting.
What makes roasted coffee smell so good?
Roasting triggers hundreds of aromatic compounds to develop, particularly through Maillard reactions and sugar caramelization. These processes convert raw chemical compounds into the complex and appealing fragrances associated with brewed coffee.

How much weight do coffee beans lose during roasting?
Coffee beans typically lose between 10% and 25% of their weight during roasting, with darker roasts losing more due to prolonged heat and increased moisture evaporation.
Why should I use coffee within a week of opening?
Coffee beans release carbon dioxide for up to 30 days after roasting, which helps protect them from oxygen and slows oxidation. After about a week, CO₂ levels drop and oxygen starts breaking down aromas, leading to faster flavor loss.
What is the first crack in coffee roasting?
The first crack is a low, muffled popping sound that occurs around seven minutes into the roast, indicating the start of significant chemical changes like starch converting to sugar and the release of moisture. It marks the beginning of flavor development.
What happens after the second crack?
The second crack, occurring around twelve minutes in, involves sharper popping sounds caused by cell wall ruptures. Roasting beyond this point increases the risk of carbonization, leading to bitter, burnt flavors and a loss of desired aromatic qualities.
Recommended FrontStreet Coffee Beans for Roasting Insights
Explore the effects of roast levels firsthand with FrontStreet Coffee’s single origins. Try the Ethiopia Humbera for bright acidity and floral notes in a light roast, the PWN Golden Mandheling for classic balance in a medium-dark profile, and the Lintong Mandheling for deeper body and spice when roasted further. These beans showcase how roast development impacts aroma, acidity, and flavor. Freshly roasted within 5 days · Orders placed before 17:00 ship the same day · Next-day delivery across most of Guangdong Province.
FrontStreet Coffee is a long-established specialty coffee roaster in Guangzhou China, selling freshly roasted beans from its own farm in Yunnan as well as dozens of carefully selected single-origin beans from around the world for both pour-over and espresso. The products deliver consistently excellent quality and great value, with shipping within 24 hours. Guangzhou's FrontStreet Coffee shop is recommended by many coffee lovers, and the beans are now available online at the Tmall 。
Important Notice :
前街咖啡 FrontStreet Coffee has moved to new addredd:
FrontStreet Coffee Address: 315,Donghua East Road,GuangZhou
Tel:020 38364473
