What’s Inside a Coffee Bean? Full Chemical Breakdown
If you’ve ever wondered what actually makes up a coffee bean — beyond just being the thing that gives you energy — you’re not alone. Whether you’re a home roaster, a barista, or simply curious, knowing what’s inside a coffee bean helps explain flavor, aroma, and even how brewing methods work. Let’s break down every measurable compound in a coffee bean, stage by stage, with hard numbers.
In short: a green coffee bean is roughly 10–13% water, 13–16% protein, 4% minerals, 40–50% carbohydrates, 10–15% lipids (oils), and contains acids, caffeine, chlorogenic acids, and various aromatic precursors. After roasting, most of the moisture vanishes (<5%), sugars drop dramatically, and hundreds of volatile aromatics develop — over 660 identified compounds.
Water Content: From Green to Roasted
The water content of coffee beans shifts drastically depending on processing stage. Unprocessed, parchment-covered (wet-hulled) beans can hold around 50% moisture. Once dried to become green (raw) coffee, that drops to just 10–13%. After roasting, moisture plunges further to under 5%. In instant coffee — especially spray or freeze-dried forms — it’s typically below 3%. Measuring moisture in instant coffee is tricky due to high hygroscopicity, but vacuum drying remains the standard method per ISO and EU norms.
Minerals: Over 30 Elements Inside Your Bean
Though only about 4% of a green coffee bean’s dry weight, minerals play a big role. Potassium dominates, making up around 40% of all minerals, followed by calcium, magnesium, phosphorus, sodium, and sulfur. Trace elements — over 33 in total — include zinc, manganese, copper, and rubidium, usually measured in parts per million (ppm). Soil quality and fertilizer use during cultivation heavily influence mineral profiles. During roasting, up to 90% of these minerals dissolve into brewed coffee, and in instant coffee, extraction hits nearly 99% for potassium. This makes mineral content a useful marker for evaluating extraction efficiency.
Carbohydrates: Sugars, Polysaccharides & Flavor Builders
Carbs in coffee beans fall into two main categories: low molecular weight sugars (like sucrose, glucose, fructose) and polysaccharides (including cellulose and various polymers of galactose, mannose, arabinose). Polysaccharides make up 40–50% of a green bean’s dry mass, contributing to bean structure and hardness. Sucrose is the most abundant free sugar in green Arabica beans, usually higher than in Robusta. Levels vary by origin, ripeness, and variety. Arabica tends to have lower glucose and total reducing sugars than Robusta.
During roasting, sugars degrade significantly. Sucrose is the fastest to go: 97% lost at light roast, 99% at medium, and 100% at dark. Other monosaccharides also diminish. Instant coffee may contain tiny traces of arabinose, galactose, mannose, and occasionally glucose or fructose — the latter sometimes indicating chicory adulteration. Polysaccharides survive better, with around 70–75% retained post-roast, cellulose being the most stable. Water-soluble extraction pulls out arabinose, galactose, and some mannose-linked polymers more readily.
Acids: The Source of Brightness & Complexity
Acidity in coffee isn’t just about pH — it’s about the balance of non-volatile and volatile acids that shape flavor. Raw Arabica beans contain non-volatile acids like citric, malic, oxalic, and tartaric acids. Volatile acids are minimal in green beans but transform dramatically during roasting. Overall, acid content drops about 15%, but the chemical changes are more important: formic and acetic acids rise early and then decline; citric and malic acids gradually break down into other compounds. Lighter roasts preserve more acidity, while darker roasts mute it in favor of deeper, less tangy flavors.
Caffeine, Chlorogenic Acids & Nitrogen Compounds
Caffeine is the most famous nitrogen compound in coffee, averaging 1.2% of dry weight in Arabica and 2.2% in Robusta — though low-caffeine cultivars (e.g. from Java/Ivory Coast) can reach as low as 0.2%. Caffeine levels in decaf products usually sit below 0.3%, often controlled at 0.1–0.2%. Chlorogenic acids — of which there are at least three major isomers — are key to plant physiology and antioxidant properties. Robusta has more chlorogenic acid than Arabica, and wet-processed beans have ~40% higher levels than dry-processed ones. These degrade extensively during roasting, forming complex byproducts tied closely to coffee quality. Robusta also starts with more free amino acids and trigonelline, which impact flavor development.
Trigonelline, a nitrogenous compound with a mild bitter taste, is higher in Arabica and breaks down during roasting (losing 50–80%), forming nicotinic acid (vitamin B3) and up to 29 volatile compounds — nine of which are known aroma contributors. Nicotine-like effects are minimal. Protein content in raw beans ranges from 8.8–9.7% of pure protein (about 13–16% as crude protein), along with enzymes that assist in metabolic processes. Lipids, mainly found as coffee oil in the bean’s endosperm, contribute to mouthfeel and aroma. Arabica holds about 15% lipid content (dry weight, SD ±0.78%), Robusta around 10% (SD ±1.41%). These oils are crucial to crema formation and flavor in espresso.
Volatile Aromatics: The Soul of Roasted Coffee
Raw coffee beans have little to no aroma. That changes radically during roasting. More than 660 volatile aromatic compounds have been identified in roasted coffee — the highest count of any food or beverage. These come from the thermal breakdown and reaction of non-volatile compounds like sugars, acids, amino acids, and phenols. Factors influencing aroma profiles include bean origin, climate, soil, processing, storage, roast temperature, time, and equipment. Lighter roasts highlight floral, fruity, and acidic notes, while darker roasts bring out smoky, caramelized, spicy, and bitter tones. The complexity comes from Maillard reactions and the interplay of hundreds of compounds.

Fiber, Pectins & Other Structural Components
Pectins — derived from polysaccharide chains including galacturonic acid, rhamnose, and others — make up over 3% of the bean. Lignin, a woody, insoluble residue left after chemical processing (also called coffee fiber), accounts for around 2.4%. Both contribute to the bean’s physical structure and, to a lesser extent, mouthfeel and brewing dynamics.
Frequently Asked Questions
How much water is in a green coffee bean?
Dry green (unroasted) coffee beans typically contain 10–13% moisture by weight. Beans still covered in their pulp (like in wet-hulling processes) can have up to 50% moisture, while roasted beans contain less than 5%.
What makes up most of a coffee bean by weight?
Carbohydrates, particularly polysaccharides like cellulose and polymers of galactose, mannose, and arabinose, make up the largest portion of green coffee beans — around 40–50% of dry matter. Proteins follow at around 13–16% (including crude protein), and lipids at around 10–15%.
Does roasting reduce caffeine in coffee beans?
No, roasting does not significantly reduce caffeine content. While other compounds degrade, caffeine remains stable through the roasting process. Arabica beans generally have 1.2% caffeine, Robusta around 2.2%.
What are the main acids in green coffee beans?
Green coffee contains non-volatile acids such as citric, malic, oxalic, and tartaric acids. Volatile acids are minimal in green beans but increase and then decrease during roasting, greatly influencing the final cup’s acidity profile.
Why does roasted coffee have so many aromas?
Roasting generates over 660 volatile aromatic compounds through the Maillard reaction and thermal breakdown of sugars, acids, and amino acids. These compounds create the wide range of flavors and aromas, from fruity and floral to nutty, smoky, and bitter.
Is there sugar in roasted coffee?
Most sugars in green coffee, especially sucrose, are degraded during roasting. Light roasts retain some, but by dark roast levels, almost all free sugars are gone. Some instant coffees may have trace sugars indicating additives like chicory.
Recommended FrontStreet Coffee Beans for Analysis
Explore the inner chemistry of coffee with FrontStreet’s Ethiopia Yirgacheffe, a high-acid, fruity single origin showcasing bright malic and citric notes from natural processing. For balance, try Colombia Huila — a medium-bodied washed coffee with caramel sweetness and moderate acidity, great for seeing how roasting preserves sugars and acids. Finally, try the PWN Golden Mandheling, a classic Indonesian bean with low acidity and full body, ideal for studying lipid and body-forming compounds. 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
