The Science of Water Composition in Espresso
Water comprises 98-99% of espresso, and its mineral composition—especially magnesium levels—dramatically impacts flavor extraction and taste quality.
- Magnesium-rich water extracts coffee compounds better than sodium-softened or high-bicarbonate water
- Coffee contains approximately 1,500 aromatic compounds (versus wine's 200), all requiring proper water chemistry for full extraction
- Test your water's mineral composition and experiment with filtration systems to unlock hidden flavors in premium beans
By any measure, coffee is the most complex beverage in the world. Comprised of 98-99% water, the entire science of coffee comes down to the absorption and extraction of solids and oils found within the beans. “There are approximately 1,500 aromatic and flavor compounds in coffee—for comparison’s sake, wine has about 200″, says Erin Molnar, manager of Rising Star Coffee, relating that water essentially must absorb those flavors and minerals are responsible for taking up coffee’s essence. This rate of absorption, and the solids and oils which are extracted are determined by a whole host of variables:
| Variable | Effect |
|---|---|
| Bean origin | Not all beans have the same chemical composition. |
| Bean roast | The chemical composition of the coffee bean changes throughout the roasting process. |
| Size of coffee grindings | A consistent particle size is important, as the higher the surface area, the faster the extraction. |
| Dry mass of coffee grindings | A different extraction composition. |
| Temperature of extraction | The temperature dictates both the rate and composition of the extraction. |
| Pressure of extraction | Has a similar effect as temperature. |
| Time of extraction | Increasing extraction time allows for greater extraction. |
| The water | The variable is less obvious, but it is clear that the chemical composition of water (i.e. dissolved ions) play a very important role. |
Source: Schrödinger’s water for perfect cup of Coffee, Chemistry World Blog 6/11/2014
The least understood, but likely most important is the water. Yes. If you are spending $17 per 12 oz bag of coffee and not spending the time and effort to perfect your water, you may be missing out on many of the hidden flavors still locked in the beans. Water is a canvas for these flavors. The mineral composition and chemistry of the water is as much a determining factor to what you are tasting as the beans themselves.
So, how do you perfect your water? There are as many opinions as there are roasters. The SCAA has released general guidance to improve the “overall” flavor of extracted coffee
| Characteristic | Target | Acceptable Range |
|---|---|---|
| Odor1 | Clean / Fresh, Odor free | |
| Color2 | Clear color | |
| Total Chlorine | 0 mg/L | |
| TDS3 | 150 mg/L | 75-250 mg/L |
| Calcium Hardness | 4 grains or 68 mg/L | 1-5 grains or 17 mg/L – 85 mg/L |
| Total Alkalinity | 40 mg/L | At or near 40 mg/L |
| pH | 7.0 | 6.5 to 7.5 |
| Sodium | 10 mg/L | At or near 10 mg/L |
- Odor is based on sensory olfactory determination
- Color is based on sensory visual determination
- TDS measured based on a 4-4-2 conversion
However, recent research has uncovered that it isn’t necessarily the overall total dissolved solids (TDS), but the actual minerals that are dissolved. Christopher Hendon (a PhD student at the University of Bath) and Maxwell Colonna-Dashwood (a World Barista Championship finalist) have studied the chemical composition of water and methods to deliver the best flavor.
“We’ve found that the water composition is key to the proportions of sugars, starches, bases and acids extracted from a particular roast.”\
“Hard water is generally considered to be bad for coffee, but we found it was the type of hardness that mattered – while high bicarbonate levels are bad, high magnesium ion levels increase the extraction of coffee into water and improve the taste.”
The study also found that sodium-rich water, such as that produced by water softeners, didn’t help the taste of the coffee either.
“There is no one particular perfect composition of water that produces consistently flavoursome extractions from all roasted coffee. But magnesium-rich water is better at extracting coffee compounds and the resultant flavour depends on the balance between both the ions in the water and the quantity of bicarbonate present.”
Achieving this water nirvana is both extremely difficult, expensive and depends on the beans that you are using. However, cafe owners and roasters have started taking notice. There are now commercially available systems that will strip the water with reverse osmosis, and then re-add the ideal elements for better tasting coffee (“formulating water”). GC Water is one of a number of growing companies offering these systems to restaurants cafes.
GC Water AB Formulator

Says Portola Coffee Lab’s Jeff Duggan:
“After extensive cuppings using formulated water compared to various other sources, the benefits of this system were crystal clear. The role of water does not play second fiddle to sourcing and roasting coffee. They all share equally important roles in creating that elusive “perfect cup.”
So, one of the leaders of the specialty coffee movement is saying that water is just as essential as the source and roast of your coffee.
Obviously, you would need to be a very, very aggressive home enthusiast in order to justify these systems, but you can see a future where there is a water filtration and dosing system for home enthusiasts. Until then, here are some steps you can follow to better your water:
- Measure: Spend some money testing your water to see what you are starting with. This isn’t just for hardness – measure the other minerals in your water as well. It is important to know that your municipal tap water quality will vary dramatically from month to month. A rainstorm has a tremendous impact on water minerality, for example.
- Taste Test: Taste test as much water and coffee as possible. Can you tell a difference between certain types of water? This is easy to do with bottled water. For example, try Acqua Panna water (a high mineral favorite among Italian espresso machine manufacturers) with your favorite beans, and then test your water versus this to see where your municipal water is lacking.
- Filter: Review filtration company test results to see what filters get you to the magic TDS amounts.
If you are nerdy home enthusiasts like us, you will find a long, fun process of determining water quality and what you prefer for a relatively small price. Keep in mind, that while researchers have shown that water softened with sodium might not be best for flavor – SOFT WATER IS ESSENTIAL FOR ESPRESSO MACHINES TO FUNCTION CORRECTLY.
Fascinated by this water topic? Keep reading about The Importance of Water and Your Machine and check out the Water 101 course with Third Wave Water available exclusively through Coffee School.
Frequently Asked Questions
What type of water is best for espresso machines?
Magnesium-rich water with 4 grains (68 mg/L) calcium hardness and 150 mg/L total dissolved solids produces optimal extraction. Avoid sodium-softened water, which doesn't improve taste, and high-bicarbonate water, which inhibits flavor extraction. The SCAA recommends maintaining pH between 6.5-7.5 for consistent results.
Does water quality really affect espresso taste?
Absolutely—water comprises 98-99% of your espresso and directly determines which of coffee's 1,500 aromatic compounds get extracted. Research by Christopher Hendon shows that mineral composition, particularly magnesium levels, affects the extraction of sugars, starches, and acids. Even premium $17/bag beans won't reach their full potential without proper water chemistry.
How can I improve my espresso machine's water at home?
Start by testing your tap water's mineral content and TDS levels (target: 150 mg/L). Conduct taste tests comparing your water against high-mineral bottled waters like Acqua Panna. Install quality filtration systems designed for espresso machines that balance mineral content rather than completely softening water. Remember that municipal water quality varies seasonally, so regular testing is important.
Why is hard water bad for espresso machines?
Not all hardness is equal—high bicarbonate hardness reduces extraction and creates scale buildup that damages machines. However, magnesium-based hardness actually improves flavor extraction. The key is maintaining proper calcium hardness (1-5 grains) while avoiding excessive bicarbonate levels that both harm taste and cause damaging mineral deposits in boilers and group heads.