Green coffee beans, the kind that come straight off the farm before roasting, barely taste like coffee at all. They are grassy, starchy, and mostly flavorless. Almost everything that ends up in your cup, the sweetness, the acidity, the body, the specific notes of fruit or chocolate or nuttiness, gets created or unlocked during roasting. Roasting is not just cooking the beans until they turn brown. It is a sequence of real chemical reactions, and the choices a roaster makes at each stage decide what the coffee will actually taste like.

The first thing that has to happen is moisture loss. Green beans hold a fair amount of water, and that water has to evaporate before any of the flavor building reactions can really get going. Drying typically accounts for roughly the first half of the total roast time.[1] Nothing that makes coffee taste good has started yet. The bean is just getting ready for it.
Once most of that moisture is gone, two overlapping reactions take over: the Maillard reaction and caramelization. The Maillard reaction happens between amino acids and sugars in the bean, and it is where most of coffee's actual flavor compounds get formed.[1] Caramelization is happening at roughly the same time, breaking down sugars and building sweetness.
How long a roaster lets this stage run matters a lot. A shorter Maillard and caramelization stage tends to leave a sweeter cup, while pushing it longer starts burning off those same flavor compounds and sugars, trading sweetness for bitterness.[1] This is the part of the roast where slightly different timing turns into a noticeably different cup.
At some point the beans hit first crack, an audible popping sound caused by built up steam pressure finally breaking through the bean's structure. First crack also marks the start of what roasters call development, the stage where the flavor compounds already formed get refined into their final character.[1] How long a roast spends in development after first crack, expressed as a percentage of the total roast time, is called the development time ratio, or DTR.
Roasting consultant Scott Rao, whose writing on this concept is widely referenced in the specialty coffee industry, recommends a DTR of roughly 20 to 25 percent for most roast levels, measured from the end of first crack to the start of second crack.[2] He is also clear that DTR alone does not guarantee a good roast. Roast degree and overall development matter more than hitting a specific number, and an underdeveloped roast tends to taste roasty or baked, sometimes described as flat, cardboard like, or straw like, regardless of its DTR.[2]
If roasting continues past first crack far enough, the beans reach second crack, a different kind of cracking sound caused by a separate chemical breakdown called the pyrolytic reaction, starting at around 220 degrees Celsius.[1] This stage releases more carbon dioxide and starts producing bitter, roasty flavors, sometimes described as charcoal like or closer to dark chocolate. The beans also lose body and weight and become more brittle.[1] This is roughly the point where a roast crosses from medium into dark, and from here on, the roasting process itself starts to outweigh almost anything that happened on the farm.
That tradeoff shows up directly in how light, medium, and dark roasts taste. Light roasts spend the least time in the roaster and hold onto the most of their original character, often described as citrusy or fruity, with noticeably more acidity and the clearest sense of where the beans actually came from.[3] Medium roasts land in between, typically described as balanced, a little sweeter and mellower, with flavors that lean nutty or caramel rather than bright or fruity, while still keeping some trace of their origin.[3] Dark roasts spend the most time in the heat and end up nuttier or smokier, less acidic, fuller bodied, and the least connected to where the beans were grown, because by this point the roast itself has become the dominant flavor.[3] None of these levels is objectively better. They are just different points along the same chemical process, matched to different tastes.
One more step happens after the roast ends, and it is easy to skip by accident: resting. Roasting traps a large amount of carbon dioxide inside the bean, and that gas needs time to escape before the coffee brews well, a process called degassing.[4] Brew too soon and the leftover gas can interfere with how water moves through the grounds, leading to channeling, sharp acidity without real balance, a muted aroma, or excessive crema on espresso.[4] Wait too long, on the other hand, and the coffee can start tasting flat.
Lighter, more acidic roasts tend to hold onto gas longer and need more resting time than darker ones, and recommended windows differ by brew method too, roughly one to three weeks for espresso, one to two weeks for pour over methods like a V60 or Chemex, and a handful of days for French press.[4] Keeping beans whole until you are ready to brew, and grinding only right before, slows the process down and gives you more control over it.
None of this is really about one roast level being the real coffee. It is about understanding that roasting is not a single switch between light and dark. It is a sequence of specific chemical decisions, moisture loss, Maillard and caramelization timing, how long a roast develops past first crack, and whether it is allowed to reach second crack, each one shaping the final cup before a single drop of water ever touches the beans.
The next time two bags of the same origin taste completely different, the roast is very likely the reason.
Sources
Sources: Roasting chemistry, development timing, roast level, and resting information adapted from the guides below. Sources checked on 10 October 2026. Cup Taste is not affiliated with or endorsed by Sucafina, Scott Rao, Compass Coffee, or Methodical Coffee.
[1] Sucafina. Chemical Reactions in Roasting, https://instant.sucafina.com/news/chemical-reactions-in-roasting
[2] Scott Rao. Development Time Ratio, https://www.scottrao.com/blog/2016/8/25/development-time-ratio
[3] Compass Coffee. What's the Difference Between Light, Medium, and Dark Roast Coffee?, https://compasscoffee.com/blogs/the-daily-grind/blog-posts-what-s-the-difference-between-light-medium-and-dark-roast-coffee
[4] Methodical Coffee. Freshly Roasted Coffee, Explained: Degassing, Rest, and Flavor, https://methodicalcoffee.com/blogs/coffee-culture/freshly-roasted-coffee-explained-degassing-rest-and-flavor