Water constitutes over 98% of a finished espresso and 98.5% of filter coffee. It is not merely a carrier for dissolved coffee solids. It is an active chemical solvent whose mineral composition directly determines which flavour compounds are extracted from the coffee matrix, at what rate, and in what concentration. Pure distilled water is a poor extraction agent for coffee, pulling fewer desirable aromatic compounds and producing flat, lifeless cups. Specific dissolved mineral ions are required to selectively bind to and extract the organic acids, aromatic sugars, and flavour-active compounds that define specialty coffee quality.

This article documents the precise mineral chemistry of optimal coffee brewing water, the specific roles of magnesium and calcium ions in flavour extraction, the critical importance of bicarbonate alkalinity as a flavour buffer, and the practical water recipes that allow baristas and home enthusiasts to control extraction outcomes with the same precision as any other brewing variable.

1. The Role of Dissolved Minerals in Coffee Extraction

Coffee flavour compounds are not uniformly soluble in water. Different compound classes have different solubility characteristics and different affinities for specific mineral ions. The desirable flavour-active compounds in specialty coffee include organic acids such as citric, malic, and phosphoric acid, which contribute brightness and fruit character, along with aromatic sugars producing sweetness, and volatile aromatic compounds responsible for the distinctive fragrance of high-quality roasted coffee.

The Specialty Coffee Association published its water quality standard in 2009, recommending total dissolved solids (TDS) of 150 mg/L as the optimal brewing water composition, with an acceptable range of 75 to 250 mg/L. Below 75 mg/L, water lacks sufficient mineral content to effectively extract flavour compounds, producing thin, underdeveloped cups. Above 250 mg/L, excessive mineral content interferes with extraction selectivity and begins to mask delicate flavour nuances while also accelerating scale formation in boilers and heat exchangers.

1.1 Total Dissolved Solids and Extraction Efficiency

The relationship between TDS and extraction efficiency is not linear. Extraction is not simply a function of TDS. The SCA standard treats 150 mg/L as its target, and its acceptable range of 75 to 250 mg/L reflects the fact that both very low and very high mineral levels hurt extraction. The composition of those dissolved solids matters as much as their total concentration. A water profile of 150 mg/L dominated by sodium bicarbonate performs very differently to 150 mg/L dominated by magnesium sulphate, despite identical TDS readings.

Figure 1.1 (Illustrative): Extraction Yield vs Total Dissolved Solids

24% 22% 19% 16% 50 mg/L 100 mg/L 150 mg/L 200 mg/L 300 mg/L Peak: 150 mg/L SCA minimum threshold

Illustrative curve only, showing the general shape described in the text, not plotted measurements. Orange Line: yield peaks near the SCA target and falls at very high TDS. Dashed line: an example yield floor, not a sourced threshold.

2. Magnesium vs Calcium Ion Binding Affinities

Magnesium ions (Mg2+) and calcium ions (Ca2+) are the two primary hardness minerals in brewing water, and their relative proportions have a profound and measurable effect on flavour extraction selectivity. Research by Christopher Hendon, Lesley Colonna-Dashwood and Maxwell Colonna-Dashwood, published in the Journal of Agricultural and Food Chemistry in 2014, used computational modelling to show that magnesium ions bind more strongly than calcium ions to citric and malic acids, which contribute brightness. This was a modelling study, not a brewing trial, and it has not yet been shown that the same effect changes the cup at typical concentrations.

The mechanism involves the electrostatic interaction between the divalent cation and the electron-rich carboxylate groups of organic acids. Magnesium, with its smaller ionic radius and higher charge density compared to calcium, forms stronger and more selective complexes with the lighter organic acids responsible for the bright, citric, and floral character of high-quality single-origin coffees. Calcium ions, with their larger ionic radius, bind more readily to the heavier, higher-molecular-weight compounds associated with bitter and astringent flavour notes in darker roasted or over-extracted coffee.

2.1 Practical Mineral Ratios for Specialty Extraction

If the modelling holds in practice, a higher magnesium to calcium ratio would favour the brighter acids and leave proportionally more of the heavier, bitter-leaning compounds behind. This is a hypothesis to test on your own equipment, not an established rule. The SCA standard sets a calcium hardness target of 68 mg/L (acceptable range 17 to 85 mg/L) and a total alkalinity target of 40 mg/L, and most published recipes start from these numbers.

Several commercial products and community recipes make these profiles practical to build. According to the company, Third Wave Water's popular profiles target a total hardness of about 150 mg/L. The original Barista Hustle Recipe No. 4 uses only Epsom salt (magnesium sulphate) and baking soda in distilled water, targeting roughly 80 mg/L general hardness and 40 mg/L alkalinity.

Coffee refractometry measurement of extraction yield

Refractometry measures total dissolved solids in a brewed coffee sample in real time, allowing baristas to calculate extraction yield percentage and adjust grind, dose, or water mineral profile accordingly.

3. Bicarbonate Alkalinity and Acid Buffering

Bicarbonate ions (HCO3-) in brewing water serve as a chemical buffer, neutralising the organic acids extracted from coffee during brewing. This buffering capacity is measured as total alkalinity, expressed in mg/L as calcium carbonate equivalent. Alkalinity is the most consequential single variable in coffee water chemistry for its effect on perceived flavour, because it directly determines how much of the acidity extracted from the coffee bean survives to reach the palate.

Low-alkalinity water (below 40 mg/L as CaCO3) leaves the extracted organic acids fully intact, producing the bright, transparent, high-acidity flavour profile prized in natural process Ethiopian and Kenyan single-origin coffees brewed as filter or pour-over. High-alkalinity water (above 100 mg/L as CaCO3) neutralises a significant proportion of the extracted acids through the buffering reaction, producing a flatter, rounder flavour profile that emphasises body and sweetness over brightness and clarity. This is not inherently inferior, it is appropriate for different roast profiles and brewing methods.

Figure 1.2 (Illustrative): Perceived Acidity vs Water Alkalinity in Espresso

High Med Low 20 mg/L 40 mg/L 80 mg/L 120 mg/L 180 mg/L Perceived bitterness Perceived acidity

Illustrative: the direction of these relationships follows the buffering chemistry described in the text. The curves are not plotted from sensory data.

4. Sodium and Sulphate: The Flavour Modifiers

Beyond the primary hardness minerals, two additional ionic species deserve attention in specialty water formulation. The SCA standard sets a sodium target of 10 mg/L. Hendon and colleagues found that sodium binds coffee compounds only weakly, and sodium-rich water, such as softened water, has not been shown to improve cup quality.

Sulphate ions (SO42-) are paired with magnesium in the widely used magnesium sulphate water additive. Sulphate, the anion in Epsom salt, is widely used in community recipes. Claims that it independently sharpens acidity are not backed by the sources reviewed for this article, so treat them as untested. Third Wave Water notes that chlorides can be harmful to espresso machines, which is why its profiles avoid them.

5. Building a Custom Water Recipe

The practical application of water chemistry knowledge for a specialty barista or serious home enthusiast begins with knowing the composition of the local tap water supply, which is published annually by water utilities. Where tap water alkalinity is too high for specialty extraction, the most practical approach is dilution with distilled or reverse osmosis water to bring alkalinity into the target range, then remineralisation with magnesium sulphate and calcium chloride to reach the target hardness profile.

A practical starting point consistent with the SCA targets is about 40 mg/L total alkalinity and 68 mg/L calcium hardness, with a TDS near 150 mg/L. Community recipes reach these targets with different salts, so confirm the result with a TDS meter and a hardness or alkalinity test kit rather than trusting the arithmetic alone, since salt purity and hydration change the real dose.

Water chemistry is not the last variable in coffee quality, but it may be the most overlooked. A barista who has achieved consistent grind size, optimal dose and yield, and stable extraction temperature, but is brewing with high-alkalinity municipal tap water is systematically neutralising a significant proportion of the flavour compounds they have worked to extract. Controlling water chemistry closes the loop on the extraction system and allows the full expression of the coffee's potential to reach the cup.