Lattes

Latte recipes, espresso drinks and coffee how-to

In this article
  1. The Main Chemical Components
  2. How Roasting Changes the Chemistry
  3. Brewing: What Actually Ends Up in the Cup
  4. Why Does Coffee Taste Bitter or Sour?
  5. Caffeine Content: A Common Misconception
  6. Comparing Coffee to Tea and Other Drinks
  7. Safety and Practical Considerations
  8. Frequently Asked Questions

What Is Coffee Made Of Chemically?

· 5 min read · Latte Recipes

Coffee is chemically a complex aqueous solution containing over 1,000 volatile and non-volatile compounds. The most significant classes are caffeine (a stimulant alkaloid), chlorogenic acids (antioxidants), polysaccharides (carbohydrates), lipids (oils), proteins, melanoidins (brown pigments from roasting), and organic acids such as citric, malic, and quinic acid. The exact composition depends on the bean variety, roast level, and brewing method.

The Main Chemical Components

Here’s a breakdown of the primary chemical groups found in a typical cup of black coffee (per 100 ml, approximate values):

  • Caffeine (C₈H₁₀N₄O₂): 40–80 mg per 100 ml. It’s a xanthine alkaloid that acts as a central nervous system stimulant. It’s present in both Arabica and Robusta, with Robusta containing roughly twice as much.
  • Chlorogenic acids (CGAs): 35–200 mg per 100 ml. These are esters of caffeic acid and quinic acid. They are the main antioxidants in coffee and contribute to its astringency and bitterness.
  • Polysaccharides: About 30–50% of the dry bean weight. These include galactomannans and arabinogalactans. They are largely insoluble but contribute to the body and mouthfeel.
  • Lipids: About 15–20% of the bean weight, mostly as triglycerides. In brewed coffee, only about 2–4% of these lipids end up in the cup (unless you drink unfiltered coffee like French press, which has more).
  • Proteins and free amino acids: About 10–13% of the bean, but most are denatured during roasting. They contribute to Maillard reaction products, which create the brown color and roasted aroma.
  • Organic acids: Citric, malic, acetic, formic, and quinic acids. These give coffee its brightness and acidity. The total acidity is about 1–2% of the dry weight.
  • Melanoidins: High-molecular-weight brown polymers formed during roasting. They are responsible for the dark color and some bitter taste.

How Roasting Changes the Chemistry

Roasting is a pyrolysis process that transforms the green bean’s chemistry. During roasting:

  • Water evaporates (green beans are about 10–12% moisture).
  • Sucrose (about 6–9% in Arabica) caramelizes and breaks down into acetic acid and other volatile compounds.
  • Chlorogenic acids degrade, producing quinic acid and caffeic acid, which increase perceived bitterness.
  • Maillard reactions between amino acids and reducing sugars create melanoidins and hundreds of aroma compounds like furans, pyrazines, and thiols.
  • Caffeine is heat-stable, so it survives roasting almost unchanged. That’s why dark roast does not mean less caffeine by weight.

Brewing: What Actually Ends Up in the Cup

The brewing method determines which compounds are extracted. Water temperature, grind size, and contact time matter:

  • Espresso: High pressure and short time (25–30 seconds) extract a high concentration of oils and solids, giving a thick crema.
  • Drip/filter: Paper filter traps most lipids and some fine particles, resulting in a cleaner cup with less body.
  • French press: Metal mesh lets oils and fine grounds through, so the cup has more lipids and sediment, which can taste fuller.
  • Cold brew: Cold water extracts less acidity and bitterness, but still pulls caffeine and some CGAs. It often tastes sweeter and less acidic.

Extraction yield (the percentage of coffee solids dissolved) is typically 18–22% for optimal flavor. Under-extraction (below 18%) gives sour, salty notes; over-extraction (above 22%) gives bitter, hollow flavors.

Why Does Coffee Taste Bitter or Sour?

Bitterness in coffee comes from several sources: caffeine (though it contributes only ~10% of the perceived bitterness), chlorogenic acid lactones, and melanoidins. Darker roasts produce more bitter compounds because chlorogenic acids break down into lactones and then into phenylindanes, which are intensely bitter.

Sourness, on the other hand, comes from organic acids like citric and malic acid. Under-extracted coffee often tastes sour because the acids are extracted early, while the sugars and bitter compounds come later. A balanced cup balances acidity with sweetness and bitterness.

Caffeine Content: A Common Misconception

Many people think dark roast has more caffeine because it tastes stronger. In reality, caffeine is stable during roasting, so the difference is minimal. By volume, a dark roast has slightly less caffeine because the bean expands and loses density. By weight, they are nearly identical. The perception of strength comes from the bitter, roasty flavors, not from caffeine.

Typical caffeine ranges for an 8 oz (240 ml) cup:

  • Drip coffee: 95–165 mg
  • Espresso (1 oz): 47–64 mg
  • Instant coffee: 63–90 mg
  • Decaf: 2–5 mg

These are ranges, not guarantees, because bean variety, roast, and brewing method all affect the final number.

Comparing Coffee to Tea and Other Drinks

Coffee and tea both contain caffeine, but their chemical profiles differ. Tea has L-theanine, an amino acid that promotes calm alertness, while coffee has higher chlorogenic acids and different antioxidant types. Coffee also has more lipids, which contribute to its body. Decaffeinated coffee is processed with solvents (like methylene chloride or ethyl acetate) or water-based methods (like Swiss Water Process) to remove 97–99% of caffeine.

Safety and Practical Considerations

For most healthy adults, up to 400 mg of caffeine per day (about 4 cups of brewed coffee) is considered moderate. However, individual tolerance varies. Pregnant women are often advised to limit intake to 200 mg per day. Caffeine can cause insomnia, jitteriness, and increased heart rate in sensitive individuals. If you’re trying to reduce caffeine, opt for decaf or half-caf blends.

Also note that coffee is acidic (pH about 5), which can trigger heartburn in some people. Cold brew is often less acidic, but not always.

Frequently Asked Questions

Does coffee contain any nutrients?

Yes, a cup of black coffee has small amounts of B vitamins (riboflavin, niacin), potassium, and magnesium, but the amounts are not significant compared to your daily needs. The main health benefit comes from antioxidants like chlorogenic acids.

Why does coffee smell so good?

The aroma comes from over 800 volatile compounds, including furans (caramel-like), pyrazines (nutty), and thiols (sulfur notes). These are formed during roasting and are released when the coffee is ground or brewed.

Is instant coffee chemically different?

Instant coffee is brewed coffee that has been dehydrated (by spray-drying or freeze-drying). It has fewer volatile aromatics, so it tastes less fresh, but it still contains caffeine and chlorogenic acids. Some instant coffees have added sugars or creamers.

Does adding milk or sugar change the chemistry?

Yes, milk adds proteins, fats, and lactose, which can bind with some polyphenols and reduce bitterness. Sugar adds sweetness, which can mask sour or bitter notes. These additions don’t remove caffeine or acids, but they alter flavor perception.

Can you extract caffeine at home?

Not practically. Caffeine is water-soluble, but removing it selectively requires organic solvents or activated carbon, which are not safe for home use. That’s why commercial decaffeination is done before roasting.