# How is caffeine extracted and what is it extracted from?

**URL:** <https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777>\
**Category:** Factual Questions\
**Created:** [October 23, 2004, 4:59pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777 "2004-10-23T16:59:55Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xurando](https://avatars.discourse-cdn.com/v4/letter/x/b77776/32.png) [@Xurando](https://boards.straightdope.com/u/Xurando)\
**Post date:** [October 23, 2004, 4:59pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/1 "2004-10-23T16:59:55Z")

</div>

Most cola drinks and other carbonated beverages such as Mountain Dew have a large caffeine content. My understanding is that these drinks have the caffeine added to them at the time of manufacture. Where does caffeine extract come from? How is it extracted? Is it possible to buy a gallon/liter of pure caffeine from a distributor of some sort? Is the sale of pure caffeine regulated?

---

<div class="post-metadata">

**Author:** ![Smeghead](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@Smeghead](https://boards.straightdope.com/u/Smeghead)\
**Post date:** [October 23, 2004, 5:11pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/2 "2004-10-23T17:11:28Z")

</div>

I don’t know how it’s done on an industrial scale, but I can tell you that I once extracted caffeine from tea leaves in my organic chemistry lab in college. I forget the exact process, but there was fractional distillation and solvents and condensation and whatnot involved. We ended up with a small amount of grayish powder that probably wasn’t safe for consumption because of the chemicals we used.

---

<div class="post-metadata">

**Author:** ![chukhung](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@chukhung](https://boards.straightdope.com/u/chukhung)\
**Post date:** [October 23, 2004, 5:34pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/3 "2004-10-23T17:34:35Z")

</div>

This [page](http://www.tlchm.bris.ac.uk/webprojects2001/tilling/synthesis.htm) says

> [@](#):
>
> Very little laboratory synthesis of caffeine is undertaken for one main reason: the growing trend for decaffeinated coffee means that there is an abundance of the pure compound as a residue from this process.  
> …  
> Most of the world’s purified caffeine, used to spike soft drinks (the caffeine in coca-cola is not from cola at all, but added afterwards) and used in over-the-counter medicines comes from extracted caffeine from poor quality coffee beans and tea leaves, or the by-product from decaffeination.  
> …  
> Pure caffeine is extremely toxic, and chemical supply companies are not allowed to sell to individual purchasers.  
> …  
> The standard lethal dose for an average adult is commonly quoted as ten grams, although because few people have died from this, information is limited. Most cases of caffeine induced death have been a result of hospital errors.  
> …  
> In coffee terms, the lethal dose is the equivalent to about fifty double espressos in one go, an amount that would induce vomiting well before the blood concentration reached dangerous levels.

---

<div class="post-metadata">

**Author:** ![Caiata](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@Caiata](https://boards.straightdope.com/u/Caiata)\
**Post date:** [October 23, 2004, 5:39pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/4 "2004-10-23T17:39:02Z")

</div>

Caffeine exists naturally in tea leaves and coffee beans, as well as in cocoa. It is also found in the leaves of a plant called _Camellia sinensis_ and in the leaves of the kola plant. [sup]1[/sup] (This is half of the origin of the name “Coca-Cola”; kola leaf extract and coca leaf extract were used in the _original_ formula [sup]2[/sup].)

Like **Smeghead** , I also extracted caffeine from tea leaves in Organic Chemistry pracs. However, that was … _quickmaths_ … 7 years ago, so I don’t remember how we did it. The yield wasn’t that great, I remember that! Unfortunately I don’t know how it’s done on an industrial scale - I suppose it could even be synthesised, if that would be easy enough or give high enough yield.

[1: Moffat, CM, Osselton, MD, Widdop, B, and Galichet, LY. Eds. 2004. _Clarke’s Analysis of Drugs and Poisons._ Pharmaceutical Press. UK.]

[2: Perrine, DM. 1996. _The Chemistry of Mind-Altering Drugs: History, Pharmacology, and Cultural Context._ American Chemical Society. Washington, DC. USA.]

On preview: I see **chukhung** has answered the other half of your question. While it’s true that the caffeine in Coke now comes from other sources, it was originally there due to the kola extract. But, that was a long time ago 🙂

---

<div class="post-metadata">

**Author:** ![erislover](https://avatars.discourse-cdn.com/v4/letter/e/71e660/32.png) [@erislover](https://boards.straightdope.com/u/erislover)\
**Post date:** [October 23, 2004, 5:44pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/5 "2004-10-23T17:44:25Z")

</div>

According to a chemist I used to work with, caffiene is highly soluble in carbon dioxide held at its triple point. Caffeine-containing items like coffee beans placed in this will have the caffeine rapidly diffuse from the bean into the CO[sub]2[/sub]. I am not aware if this is how it is done on an industrial scale.

---

<div class="post-metadata">

**Author:** ![WhyNot](https://avatars.discourse-cdn.com/v4/letter/w/c77e96/32.png) [@WhyNot](https://boards.straightdope.com/u/WhyNot)\
**Post date:** [October 23, 2004, 5:50pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/6 "2004-10-23T17:50:01Z")

</div>

Now that the question’s answered, a hijack:  
My ex worked for a beverage company, and one day “requisitioned” a sandwich baggie full of caffeine. It was a white powder (looked to my uneducated eyes a lot like cocaine!) and tasted bitter as all get out.

The two of us worked at a nightclub (he was a bouncer, I was the concession stand floozie) and he’d make killer pots of coffee by putting a few pinches of the caffeine powder on top of the coffee grounds before brewing. Made awful tasting coffee, but kept all the bouncers really alert! 😃  
[/hijack]

---

<div class="post-metadata">

**Author:** ![chukhung](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@chukhung](https://boards.straightdope.com/u/chukhung)\
**Post date:** [October 23, 2004, 5:54pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/7 "2004-10-23T17:54:03Z")

</div>

> [@Caiata](#):
>
> Caffeine exists naturally in tea leaves and coffee beans, as well as in cocoa. It is also found in the leaves of a plant called _Camellia sinensis_.

The above might be a bit misleading for those not familiar with tea production. _Camellia sinensis_ **is** the plant species whose leaves and leaf buds are used to produce tea. [Cite](http://en.wikipedia.org/wiki/Camellia_assamica). The Assam variety (used for many black teas) is sometimes referred to as _Camellia sinensis assamica_ or just _Camellia assamica_.

---

<div class="post-metadata">

**Author:** ![Laughing\_Lagomorph](https://avatars.discourse-cdn.com/v4/letter/l/6bbea6/32.png) [@Laughing\_Lagomorph](https://boards.straightdope.com/u/Laughing_Lagomorph)\
**Post date:** [October 23, 2004, 6:02pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/8 "2004-10-23T18:02:40Z")

</div>

> [@Xurando](#):
>
> …Is it possible to buy a gallon/liter of pure caffeine from a distributor of some sort? Is the sale of pure caffeine regulated?

I am not sure from your OP if you are aware that you can buy nearly pure caffeine over the counter at pretty much any pharmacy…it is the primary ingredient in products like No Doz and Vivarin.

---

<div class="post-metadata">

**Author:** ![Laughing\_Lagomorph](https://avatars.discourse-cdn.com/v4/letter/l/6bbea6/32.png) [@Laughing\_Lagomorph](https://boards.straightdope.com/u/Laughing_Lagomorph)\
**Post date:** [October 23, 2004, 6:16pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/9 "2004-10-23T18:16:54Z")

</div>

It’s the primary _active_ ingredient in those products, of course.

There is a relevant page here: [http://antoine.frostburg.edu/chem/senese/101/consumer/faq/print-decaffeinating-coffee.shtml](http://antoine.frostburg.edu/chem/senese/101/consumer/faq/print-decaffeinating-coffee.shtml)

It seems to indicate that the CO2 process **erislover** described is being used on a large scale in some places.

I am intrigued by the mention of genetic engineering of coffee plants so that they no longer produce caffeine. Being a molecular biologist as well as coffee fiend I had contemplated this years ago as probably the best way to remove caffeine from coffee while affecting the flavor as little as possible (I was thinking of a genetic “knockout” of the caffeine gene).

The kind of people who worry about the chemicals from traditional decaffeination processes are also in general the kind who are not too keen on genetically engineered food products though so maybe it wouldn’t fly comercially.

---

<div class="post-metadata">

**Author:** ![Caiata](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@Caiata](https://boards.straightdope.com/u/Caiata)\
**Post date:** [October 23, 2004, 7:04pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/10 "2004-10-23T19:04:54Z")

</div>

> [@chukhung](#):
>
> The above might be a bit misleading for those not familiar with tea production.

Thanks for the correction, **chukhung**. My cites both had them listed as separate entities - as I’m not an avid tea drinker, and in fact have very little interest in tea, I never would have known. 🙂

---

<div class="post-metadata">

**Author:** ![bizzwire](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@bizzwire](https://boards.straightdope.com/u/bizzwire)\
**Post date:** [October 23, 2004, 7:21pm UTC](https://boards.straightdope.com/t/how-is-caffeine-extracted-and-what-is-it-extracted-from/270777/11 "2004-10-23T19:21:04Z")

</div>

> [@erislover](#):
>
> According to a chemist I used to work with, caffiene is highly soluble in carbon dioxide held at its triple point. Caffeine-containing items like coffee beans placed in this will have the caffeine rapidly diffuse from the bean into the CO[sub]2[/sub]. I am not aware if this is how it is done on an industrial scale.

This refers to the “supercritical fluid extraction” process.

As other have alluded to, the original method of extraction was with the use of liquid/liquid extraction. Take two liquids which are immiscible, such as water and benzene, and add some ground coffee. Water is polar, as is caffeine. Benzene is non-polar. If you shake this mixture , the caffeine dissolves into the water, while the benzene will dissolve the more non-polar components. If you then let the whole thing stand without shaking, it will separate into two layers; benzene (and dissolved non-polar coffee components) on top, water (and caffeine and other polar components) on the bottom.  
You then physically strain out the coffee solids , separate the two liquids and evaporate the water portion to recover the caffeine. Similarly, evaporating the benzene portion will result in recovery of any non-polar constituents which have dissolved.

The problem with this method is that benzene is carcinogenic, and traces can remain if not dried completely.

SCE (supercritical fluid extraction) uses carbon dioxide gas. Under the correct combination of temperature and pressure, CO2 becomes a “supercritical fluid.” not quite a liquid, and not quite a gas, it can be thought of as a very viscous gas, or a very thin liquid. Supercritical CO2 is a great solvent for caffeine. Once dissolved, if you remove the pressure, it flashes back into a non-toxic gas (CO2), while any dissolved components are left behind. This avoids all of the hassles of the older extraction methods.
