Coffee Roasting Explained: From Green Bean to the Cup You Drink
Roasting is the step that turns a hard, grassy seed into something you would recognise as coffee. It is part chemistry, part physics and part judgement, and it shapes flavour more than almost anything else between the farm and your cup.
What green coffee actually is
Before any roasting happens, coffee is green. The beans you imagine, dark and aromatic, do not exist yet. What the farm ships is the seed of a coffee cherry: pale, dense and slightly bluish or yellow-green depending on the variety and how it was processed. Pick one up and it feels like a small hard pebble. Sniff a handful and you get grass, hay, raw peas, sometimes a faint vegetal sweetness, but nothing like the smell of a cafe.
That hardness and lack of aroma are not flaws. They are exactly why green coffee is shipped and stored in this form. A green bean is chemically stable. Kept cool, dry and away from strong odours, it holds its quality for many months, which is what makes the global coffee trade possible at all. Inside that stable little seed sits the raw material for everything you will eventually taste: sugars, proteins, acids, oils, water and hundreds of trace compounds. None of them have been transformed yet.
Roasting is the transformation. Heat drives off water, rearranges the sugars and proteins into new molecules, and builds the aromatic compounds that we read as coffee flavour. You cannot brew a satisfying drink from green beans, and not only because they are too hard to grind well. The flavour simply is not there. It has to be created, and a roaster creates it by managing how heat moves into the bean over time.
It helps to picture the roaster's job as walking a tightrope between time and temperature. Apply heat too aggressively and the outside of the bean races ahead of the inside, scorching the surface before the centre has properly developed. Move too cautiously and the roast drags, baking the beans into something flat and papery. Everything that follows in this article is really about how a roaster keeps that balance from green seed to finished bean.
What happens inside the bean during a roast
A roast is usually described in phases. The boundaries between them are not sharp lines, and they overlap, but thinking in stages makes the process much easier to follow.
The drying phase
Green coffee holds roughly a tenth of its weight as water. When the beans hit the hot roaster, that water has to leave before much browning can happen. This first stretch is the drying phase. The beans take on heat, the moisture inside turns to vapour and escapes, and the colour shifts only a little, from green towards a pale yellow. The smell in the room moves from grassy to something closer to toast or popcorn. Get the drying wrong, by rushing it or stalling it, and the rest of the roast struggles to recover, so roasters pay close attention here even though nothing dramatic seems to be happening.
The Maillard reaction and browning
As the beans dry out and climb past roughly 150 degrees Celsius, browning begins in earnest. The headline reaction is the Maillard reaction, the same family of chemistry that browns bread crust, seared meat and roasted nuts. Amino acids (the building blocks of the bean's proteins) react with reducing sugars to form a large cast of new compounds. This is where a huge share of coffee's aroma and colour comes from: nutty, bready, toasty and savoury notes all trace back to this stage. The bean darkens steadily and starts to smell properly of coffee.
Caramelisation of sugars
Overlapping with the Maillard reaction, the bean's sugars begin to caramelise. Sucrose breaks down under heat into compounds that carry sweetness, gentle bitterness and that familiar caramel and toffee character. Caramelisation and the Maillard reaction run alongside each other rather than one neatly following the other, and together they account for most of the flavour development you taste in the finished cup. The longer and hotter this browning continues, the more the sweetness shifts towards roast-driven, slightly bitter tones.
First crack and what it signals
Then comes one of the most useful moments in the whole process: first crack. Pressure has been building inside each bean as water vapour and gases expand against the rigid cell structure. At a point somewhere around 196 degrees Celsius, depending on the bean and the roaster, the bean can no longer hold that pressure and pops audibly, a bit like popcorn but quieter and more scattered. The beans visibly swell and lose more moisture as steam escapes. In a busy roastery you can often hear the first scattered pops before they build into a steady rattle, and an experienced roaster listens as carefully as they watch the temperature readout.
First crack matters because it is a clear signal. It tells the roaster the coffee has reached the threshold of being drinkable and that the final, decisive part of the roast has begun. Almost all roast levels end at or after first crack. Stopping much before it would leave the coffee underdeveloped, with grassy and sour flavours that no brewing method can fix.
Development time after first crack
The window between first crack and the moment the roaster drops the beans out to cool is often called development time. It is short, frequently a matter of a minute or two, but it is where the roaster makes some of the most important decisions. During development the browning reactions keep running, some acids break down while others form, the colour deepens and the balance of acidity, sweetness and body settles into place. A very short development tends to keep brighter, more acidic and origin-driven flavours. A longer development rounds the cup out, building more sweetness and body while softening the sharper notes.
Second crack and darker roasts
If heat continues past development, the coffee reaches second crack. It sounds different from the first: softer, faster and more like the snap of small twigs. By this point carbon dioxide built up inside the bean is driving the structure apart, and oils begin to migrate to the surface, which is why dark roasted beans often look shiny. Roasts taken to or beyond second crack are firmly in dark roast territory. Push too far and the coffee turns ashy and burnt, so this is the edge of the map for most specialty work.
Roast levels and how they change the cup
Roast level is simply how far the roast was taken before the beans were cooled. People talk about light, medium, medium-dark and dark, with plenty of shades in between. There is no single agreed temperature for each, and one roaster's medium can be another's light, but the broad pattern of how flavour shifts is consistent.
- Light roast. Stopped at or shortly after first crack. The cup is bright and often fruity or floral, with the most pronounced acidity, a lighter body and a clean, crisp feel. This is where the character of the origin shows most clearly.
- Medium roast. Taken a little past first crack with more development. Acidity softens, caramel-like sweetness comes forward, and the body grows. Many people find medium the most balanced and approachable point, with notes of caramel, chocolate or toasted nuts appearing.
- Medium-dark roast. Further still, sometimes reaching the start of second crack. Acidity drops further, body becomes heavier, and roast-driven flavours start to dominate over the subtler origin notes.
- Dark roast. Taken to or beyond second crack. Acidity is low, the body is full and sometimes oily, and bold, roasty, sometimes smoky flavours take over. Origin character is mostly gone, replaced by the taste of the roast itself.
The pattern is worth holding onto: as a roast goes darker, acidity falls, body rises, and the balance tips away from where the coffee was grown and towards how it was roasted. Light roasts let you taste the farm. Dark roasts let you taste the fire. Neither is right or wrong, but they answer different questions.
Why specialty coffee leans light to medium
Much of specialty coffee favours light to medium roasts, and the reason follows directly from that pattern. Specialty buyers pay close attention to where a coffee comes from, the variety, the altitude, the way the cherries were processed. All of that effort shows up as origin character: the particular acidity, the specific fruit or floral notes, the texture that makes one washed Ethiopian taste unlike a natural Brazilian. A darker roast would flatten those differences under a common layer of roast flavour. Keeping the roast lighter preserves what makes each lot distinct, which is the whole point of treating coffee as a single-origin product rather than a commodity. This is a preference and a philosophy, not a rule, and well made dark roasts have their place too.
The basics of roasting equipment
You do not need to understand machinery to enjoy coffee, but a little context helps you read what a roaster is doing. Most commercial roasting happens on one of two broad designs.
Drum and hot-air roasters
A drum roaster turns the beans inside a heated metal cylinder, a bit like a clothes dryer. Heat reaches the beans by a mix of contact with the hot metal, radiant heat and the hot air moving through the drum. Drum roasters give the operator fine control and tend to build body and sweetness, which is part of why they remain the standard in most roasteries.
Hot-air or fluid-bed roasters work differently. Instead of a turning drum, a strong stream of hot air lifts and tumbles the beans, roasting them almost entirely by convection. This tends to be fast and very even, and the beans are constantly in motion. Each design has its own natural behaviour and its own feel, and skilled roasters get excellent results from both.
Sample roasting
Before committing to a large batch, roasters often run a sample roast. This means roasting a very small amount of a green coffee on a tiny machine in order to taste it and judge its quality. Sample roasting is how a buyer decides whether a lot is worth purchasing and how a roaster works out roughly where a coffee wants to be roasted before scaling up. A green coffee that shines on a sample roaster still has to be reproduced reliably on the larger production machine, so the sample is a starting point rather than a finished recipe.
The roast curve and rate of rise
However the heat is applied, roasters think about the roast as a curve. They track the temperature inside the roaster over time, and from that they watch the rate of rise: how quickly the bean temperature is climbing at any given moment. A healthy roast usually shows the rate of rise gradually slowing as the roast progresses rather than stalling or spiking. Reading and shaping that curve, deciding when to add or pull back heat, is the heart of the roaster's craft. Two roasters can take the same green coffee to the same final colour and produce noticeably different cups simply by taking different paths along the curve.
Degassing, rest and the freshness window
Freshly roasted coffee is not actually at its best the moment it leaves the roaster. During roasting the beans build up a large amount of carbon dioxide, and after roasting they slowly release it. This release is called degassing, and it carries on for days.
The release is fastest at the start. A large share of the gas escapes within the first day or two. This matters for brewing because if you brew coffee that is too fresh, the escaping gas pushes water away from the grounds and disrupts even contact, which can leave the extraction patchy and the cup tasting sharp or hollow. For that reason coffee usually benefits from a short rest before you brew it.
How long to rest depends on the roast and the brewing method. As a rough guide, darker roasts, which are more porous, often settle within a few days, while lighter roasts can want a week or more. A common sweet spot for many brewing methods falls somewhere from around five to ten days after roasting, when the gas has calmed down but the aromatics are still lively. Some espresso drinkers happily wait two to three weeks. After that the coffee does not spoil suddenly, but it slowly loses brightness, structure and aroma as it ages and oxygen does its work. The freshness window is a span of good days, not a single perfect moment, and the roast date on the bag is your best reference point for finding it.
How roast, origin and brewing fit together
Roast level does not act alone. It interacts with where the coffee is from and with how you choose to brew it, and these three pull on each other.
Lighter roasts tend to suit methods that prize clarity, such as pour-over and other filter brewing, where you want the acidity and the origin notes to come through cleanly. Their denser structure can also call for slightly finer grinding or hotter water to extract fully. Darker roasts, with their lower acidity and heavier body, often sit comfortably in milk-based drinks and in styles where a bold, roasty backbone is the goal; they also tend to extract more readily, so they can be more forgiving. None of this is fixed, and plenty of people happily brew light roasts as espresso or enjoy a medium roast through almost any method. The useful idea is that roast, origin and brew are a set of dials you adjust together rather than in isolation.
How to read a bag and a roast
A well labelled bag of specialty coffee tells you a great deal if you know what to look for. The roast date is the single most useful piece of information, far more so than any best-before date, because it lets you judge where the coffee sits in its freshness window. Beyond that, look for the country and ideally the region or farm, the variety, the altitude and the processing method, all of which point to the kind of flavours you can expect. Many bags also list tasting notes and an indication of roast level.
You can read a fair amount from the beans themselves too. A consistent colour across the batch suggests an even roast. Visible oil on the surface points to a darker roast, while a dry, matte surface is typical of lighter and medium roasts. Scorched or badly uneven beans can hint at problems in how the coffee was roasted. None of these checks replace simply tasting the coffee, but together they help you set sensible expectations before you grind.
Keeping roasted coffee at its best
Once you have good coffee, storage decides how long it stays good. Roasted beans have four main enemies: oxygen, moisture, heat and light. Manage those and you protect the work that went into growing and roasting the coffee.
- Keep beans in an airtight container to slow contact with oxygen. Many bags come with a one-way valve that lets carbon dioxide escape while keeping fresh air out, which is ideal during the first weeks.
- Store somewhere cool and dark, such as a cupboard, and away from the heat of the oven or the coffee machine.
- Keep moisture away. Coffee readily takes on dampness and surrounding smells, both of which dull and distort its flavour.
- Buy and keep whole beans, grinding only just before you brew. Grinding hugely increases the surface area exposed to air, so pre-ground coffee stales far faster than whole beans.
A note on the freezer, since it always comes up: long-term freezing in a properly sealed, airtight container can preserve coffee well, but repeatedly taking beans in and out invites condensation, which is exactly the moisture you are trying to avoid. For everyday drinking, a sealed container in a cool dark cupboard, beans kept whole, and a roast date you trust will carry you a long way.
From seed to cup, in your hands
Roasting is the bridge between a stable green seed and the aromatic cup in front of you. Heat dries the bean, then the Maillard reaction and caramelisation build flavour and colour, first crack marks the turn into drinkable coffee, and the choices a roaster makes through development and beyond set the final balance of acidity, sweetness and body. Lighter roasts keep the voice of the origin; darker roasts speak more of the roast itself. After all that, a short rest lets the coffee settle, and sensible storage keeps it honest. Understanding even the outline of this process changes how you taste. The next time you open a bag, glance at the roast date, notice the colour and aroma of the beans, and you are already reading the story the roaster wrote in heat and time.
