What’s Inside a Coffee Bean? Full Composition Breakdown
Ever wondered what’s really inside a coffee bean—and why certain beans taste brighter, roast darker, or brew differently? Understanding what coffee beans are made of explains everything from extraction yields to flavor development. Whether you're a home roaster, barista, or just curious, knowing the chemical makeup helps you make better coffee decisions.
In short: green coffee is around 10–13% water, loses nearly all of it when roasted (ending under 5%), and is built from carbohydrates (40–50%), proteins (8–10%), acids, lipids, minerals (about 4% of dry weight), and many other bioactive compounds. Every component changes during roasting and affects your cup.
Moisture Content: From Fresh to Roasted
The moisture level in coffee beans shifts dramatically through processing. Unprocessed, pulp-covered coffee cherries can carry about 50% water. Once dried to become green (raw) beans, moisture stabilizes between 10% and 13%. After roasting, that drops to just 5% or less. This isn’t just dryness—it reflects how water interacts with the bean’s gel-like proteins and polysaccharides, bound in complex physical and chemical ways.
Minerals: Small Amounts, Big Impact
Though minerals make up just around 4% of a green coffee bean’s dry weight, they matter. Potassium dominates, accounting for roughly 40% of all minerals, followed by calcium, magnesium, phosphorus, sodium, and sulfur. Trace elements—over 33 types including zinc, manganese, copper, and rubidium—are also present in parts-per-million amounts. Most of these minerals (at least 90%) dissolve into brewed coffee, making them a useful indicator of extraction efficiency. Soil quality and fertilizer use during cultivation heavily influence mineral content, especially in Arabica versus Robusta.
Carbohydrates: The Flavor Backbone
Carbs in coffee beans fall into two main groups: low molecular weight sugars (like glucose, fructose, and sucrose) and polysaccharides (including cellulose, galactomannans, arabinogalactans, and other fibrous structures). These affect both flavor and physical properties like bean hardness.
Low Molecular Weight Sugars
Sucrose is the primary free sugar in green beans, varying by origin, variety, and ripeness. Arabica typically has more sucrose than Robusta. Green Arabica also shows lower levels of glucose, fructose, and total reducing sugars compared to Robusta. During roasting, sucrose degrades fastest: losing 97% at light roast, 99% at medium, and 100% at dark. Other simple sugars also decline notably.
Polysaccharides
Polysaccharides constitute about 40–50% of a green bean’s dry mass. Key types include galactans, mannans, arabinans, and cellulose—all vital to cell structure and bean hardness. Roasting retains roughly 70–75% of these, with cellulose being the most stable and arabinans the least. Some polysaccharides dissolve into the final brew depending on water solubility.
Acids: The Source of Brightness
Acidity in coffee—when well-developed—delivers vibrant, high-quality flavor. Green Arabica contains non-volatile acids such as citric, malic, oxalic, and tartaric acids, with minimal volatile acids detected. Roasting causes major shifts: most acids degrade (around 15% loss overall), but volatile acids evolve notably. Formic and acetic acids rise early in roasting then decline later, while citric and malic acids steadily break down into other compounds. Darker roasts show significantly reduced acidity.
Proteins, Amino Acids & Chlorogenic Acids
Crude protein in green beans ranges from 13–16%, but true protein (minus nitrogenous compounds like caffeine and trigonelline) is around 8.8–9.7%. Free amino acids make up 0.15–0.25% of green beans, with Robusta generally higher than Arabica—these strongly shape flavor precursors. Chlorogenic acids (at least three isomers) serve physiological roles in the plant and degrade during roasting, generating complex byproducts critical to final cup quality. Robusta usually has more chlorogenic acids than Arabica, and wet-processed beans contain roughly 40% more than dry-processed ones.
Lipids (Coffee Oil): The Body Builders
Coffee’s lipids come from the bean’s internal oils and outer wax layer. These fats—including triglycerides and other compounds—define much of coffee’s texture and aroma. Arabica beans hold about 15% lipid content (±0.78%), while Robusta holds about 10% (±1.41%). Lipids are essential to perceived body and crema formation in espresso.
Volatile Compounds: The Aroma Makers
Over 660 volatile aromatic compounds have been identified in roasted coffee—the most of any food or beverage. These aren’t present in raw beans but form during roasting through Maillard reactions, thermal decomposition, and interactions among sugars, acids, amino acids, and phenols. Factors like bean origin, climate, soil, processing, roast temperature, and time all influence which aromas develop. Roast level drastically alters flavor notes—ranging from nutty and caramel to smoky, spicy, or bitter.
Fiber & Pectins: Structure & Texture

Pectins, formed from polysaccharide chains (including galacturonic acid, rhamnose, and others), make up over 3% of the bean. Lignin, a woody, insoluble residue (around 2.4%), comes from plant cell walls and contributes to the bean’s fibrous structure.
Nitrogen Compounds: Bitterness, Stimulants & More
The nitrogen-containing compounds in green coffee include caffeine, trigonelline, nicotinic acid (niacin), proteins, and free amino acids.
Caffeine
Caffeine levels vary by variety: Robusta contains around 2.2% caffeine (dry weight), Arabica around 1.2%. Some newer low-caffeine varieties from Java and Ivory Coast measure as little as 0.2%. Caffeine is very bitter but doesn’t solely account for coffee’s overall bitterness. It’s rapidly absorbed by the body and affects the central nervous system.
Trigonelline
This water-soluble, slightly bitter compound breaks down heavily during roasting (losing 50–80%, depending on time and temperature), forming niacin and up to 29 volatile compounds—nine of which are known coffee aroma contributors.
Nicotinic Acid (Niacin)
Almost nonexistent in green beans, niacin forms primarily from trigonelline breakdown during roasting. However, some of it continues breaking down into volatile forms, so net gains are small.
Frequently Asked Questions
How much water is in green coffee beans?
Green (raw) coffee beans typically contain 10–13% moisture by weight. Unprocessed, pulp-on coffee cherries may hold up to 50% water, while roasted beans contain 5% or less.
What minerals are most common in coffee beans?
Potassium is the most abundant mineral, making up around 40% of the mineral content in green coffee. Other major minerals include calcium, magnesium, phosphorus, sodium, and sulfur, plus trace elements like zinc, manganese, and copper.
Does roasting reduce sugar content in coffee?
Yes. Sucrose, the main sugar in green coffee, is almost completely lost during roasting—97% gone at light roast, 99% at medium, and 100% at dark. Other simple sugars like glucose and fructose also degrade significantly.
What creates coffee aroma?
Over 660 volatile aromatic compounds form during roasting from chemical reactions between sugars, acids, amino acids, and other compounds. These include Maillard reaction products and thermal breakdown byproducts, creating notes like caramel, nuts, fruit, smoke, and spice.
Why do Arabica and Robusta beans differ chemically?
Arabica generally has more sucrose and trigonelline but less caffeine than Robusta. Robusta tends to have higher chlorogenic acids and caffeine content, contributing to its stronger, more bitter profile.
Recommended FrontStreet Beans for Roast Chemistry Study
Explore the building blocks of coffee chemistry with FrontStreet’s Ethiopia Guji Humbera—bright with citrus and floral tones from high natural acidity and complex sugars. For contrast, try Yirgacheffe, which highlights delicate floral and berry notes from balanced chlorogenic acids and moderate sucrose. Finally, PWN Golden Mandheling offers heavy body and earthy sweetness due to its higher lipid content and lower acidity. All showcase how green bean composition translates through roast. 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
