QuestionSolutions and mixtures
How Is Coffee Decaffeinated? The Chemistry of Removing Caffeine

Decaffeinated coffee is made by removing most of the caffeine from green coffee beans before they are roasted. The beans are treated with water, a solvent or supercritical carbon dioxide, and the caffeine dissolves out because it is more soluble in these fluids than the other bean compounds. Some caffeine always remains.
Contents
The full answer
Green coffee beans contain about 1 to 2% caffeine by dry weight, with the exact amount depending on the species. Arabica beans usually have less caffeine than robusta beans. Decaffeination aims to remove most of this caffeine while keeping the flavor compounds that give coffee its taste.
The principle is solubility. Caffeine dissolves in water and in some organic solvents, so a fluid that touches the bean can carry it out. The beans are first softened with moisture so that their surfaces are more open. The caffeine then moves into the fluid, the fluid is separated from the beans, and the beans are dried again before roasting.
Three main methods are used. Water processing soaks beans in water, then passes the liquid through a carbon filter that removes caffeine, and the flavor-rich liquid is returned to the beans. Solvent processing uses a solvent such as ethyl acetate, which is also found naturally in fruit, or methylene chloride, which has largely been replaced because of residue concerns. Supercritical carbon dioxide processing uses carbon dioxide held under high pressure, where it acts as a solvent that dissolves caffeine selectively.
US rules require that at least 97% of the caffeine be removed for coffee to be labeled decaffeinated. Each method is regulated for residues, and the remaining solvent or carbon dioxide levels in finished coffee are very low.
The science behind it
Caffeine has the formula C8H10N4O2 and a molar mass of about 194.19 g/mol. It dissolves in water to a moderate extent, about 2 grams per 100 milliliters at room temperature. Its solubility depends on the solvent and temperature, which is the basis of every decaffeination method. Solubility is the maximum amount of a substance that can dissolve in a given solvent, and different substances have different limits.
Selectivity means the solvent dissolves one substance much more than others. Supercritical carbon dioxide is especially useful because its solvent power can be tuned by changing pressure. Under the right conditions, it dissolves caffeine readily while leaving many aroma compounds in the bean. When the pressure is reduced, carbon dioxide returns to a gas and leaves the bean, so little solvent remains in the coffee.
Water processing relies on the same principle as tea making, where hot water pulls caffeine out of leaves. Caffeine dissolves into the water, and a filter or a second bath captures the caffeine and returns other compounds to the bean. Some flavor compounds also dissolve, so manufacturers adjust the process to keep as much flavor as possible. The filter has to be selective, because a filter that removes everything would also remove the coffee taste.
Caffeine is an alkaloid, a nitrogen-containing compound made by plants as a natural defense against some insects. Its nitrogen atoms are part of a ring structure that makes it fairly polar, which is why it dissolves more readily in water and polar solvents than oils do.
An everyday example
Packets of decaf coffee are sold alongside regular coffee in supermarkets. The label often names the process used, such as a water process or supercritical carbon dioxide. Many shoppers choose decaf in the evening, when even a small amount of caffeine could affect sleep, and keep regular coffee for the morning.
Decaf tea works differently. Tea leaves can be decaffeinated by a similar extraction method, and the process is sometimes described on tea packaging. In both cases, the caffeine is removed from a plant material by dissolving it in a fluid, and the flavor is kept as much as possible.
A related question readers ask
People often ask whether decaf is safe for people who avoid caffeine. Decaf is not completely caffeine-free, so people with strong sensitivity may still notice small effects. The amount is much smaller than in regular coffee, and the difference is usually noticed only by very sensitive people.
Some people choose a half-caf blend of regular and decaf beans to cut caffeine while keeping more of the regular flavor. Readers also ask whether decaf is less healthy. Decaffeination does not remove most other coffee compounds, and the research on coffee is largely about the drink as a whole. Anyone with a medical condition that requires limiting caffeine should follow their doctor’s advice rather than relying on decaf labels.
Common misconceptions
Decaf coffee contains no caffeine. Decaf contains a small amount, typically a few milligrams per cup. It is much lower than regular coffee but not zero.
Decaffeination uses harsh chemicals that stay in the coffee. Modern processes are regulated, and the solvent residues are kept very low. Water processing uses no added solvent at all.
Roasting removes the caffeine. Roasting changes flavor and color, but it removes very little caffeine. That is why decaffeination is done on green beans.
Frequently asked questions
Is decaf coffee completely caffeine-free?
No. Decaf coffee keeps a small amount of caffeine, usually a few milligrams per cup. US rules require that at least 97% of the caffeine be removed for a coffee to be sold as decaffeinated.
What is the safest way to decaffeinate coffee?
The main methods are water processing, solvent processing and supercritical carbon dioxide processing, and all are regulated for residues. Each method removes caffeine with good results, and the choice mostly affects flavor and cost.
Does decaf coffee taste different?
It can. Decaffeination removes some flavor compounds along with the caffeine, so decaf often tastes a little less rich. Roasting and brewing have a larger effect on taste than the decaffeination method.
Does roasting remove caffeine?
Roasting removes very little caffeine. Caffeine is fairly heat stable, so it stays in the bean through roasting, which is why decaffeination is done on green beans.
How much caffeine is in a cup of decaf?
A typical cup of decaf contains a few milligrams of caffeine. A regular cup of brewed coffee contains roughly 80 to 100 milligrams, depending on the beans and brewing method.
Sources and further reading
- OpenStax, "Chemistry 2e"
- Encyclopaedia Britannica, "Coffee"
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
Cite this page
“How Is Coffee Decaffeinated? The Chemistry of Removing Caffeine.” Atoms & Forces, https://science.bigworldlist.com/questions/how-is-coffee-decaffeinated/.
More about Carbon dioxide
- CompoundCarbon Dioxide (CO2): Formula, Properties and Uses
- ComparisonCarbon Dioxide vs Carbon Monoxide: Key Differences and Dangers
- ListGreenhouse Gases List: CO2, Methane, Nitrous Oxide and More
- QuestionHow Do Bath Bombs Fizz? Citric Acid and Baking Soda
- QuestionHow Do Fire Extinguishers Work? The Science of Each Type
- QuestionHow Do You Draw the Lewis Structure of CO2? Step by Step
- QuestionHow Do You Test for Carbon Dioxide? The Limewater Test
- QuestionHow Does Popping Candy Work? Trapped Carbon Dioxide Bubbles
- QuestionHow Does Temperature Affect Solubility? Solids vs Gases