Skip to main content
coffeebase by CosmoLabs
Back to Science
Science
water
TDS

Water Chemistry: The Hidden Variable in Your Cup

Coffee is 98% water — learn how mineral content, TDS, pH, and simple DIY recipes can transform your brew from flat to extraordinary.

CoffeeBase Team
11 min read

Here’s an uncomfortable truth: you can buy the best single-origin beans, grind them on a $2,000 grinder, and brew with flawless technique — and still make mediocre coffee. The culprit? The ingredient that makes up 98% of your cup and gets approximately 0% of most brewers’ attention.

Water.

Not all water is created equal, and the differences aren’t subtle. The same coffee brewed with London tap water, San Francisco tap water, and distilled water will produce three noticeably different cups — not marginally different, but different in the way that a well-extracted and a poorly-extracted coffee are different. Understanding why, and what to do about it, might be the single highest-impact improvement available to most home brewers.

Why Minerals Matter

Water isn’t just a passive carrier vehicle for coffee compounds. The minerals dissolved in your water are active participants in extraction, forming chemical bonds with flavor compounds during brewing and influencing which solubles end up in your cup at what concentrations. A 2014 study by Christopher Hendon and collaborators at MIT, published in the Journal of Agricultural and Food Chemistry, was the first rigorous research to quantify this effect — and the results were more dramatic than most in the industry expected.

Magnesium: The Flavor Extractor

Magnesium ions (Mg²⁺) have a strong affinity for the fruity, acidic, and complex flavor compounds in coffee. Hendon’s research demonstrated that magnesium-rich water extracts more of coffee’s desirable flavor compounds than calcium-rich water at equivalent total hardness levels. The mechanism involves magnesium’s electron configuration making it particularly effective at chelating (binding with) the organic acids and aromatic molecules that define specialty coffee’s flavor complexity.

In practical terms: adequate magnesium in your brew water produces coffee with more clarity, more brightness, and better definition of individual flavor notes. Water that’s high in calcium but low in magnesium often produces coffee that’s “flatter” in the high notes.

Calcium: The Body Builder

Calcium ions (Ca²⁺) are less selective than magnesium — they extract a broader range of compounds, including heavier, creamier flavor molecules. Calcium-rich water tends to produce coffee with more body and a rounder mouthfeel, but it can mute the delicate high notes that magnesium highlights by over-extracting in certain frequency bands of flavor.

Calcium also has a practical dark side: it’s the primary driver of limescale buildup in kettles, boilers, and espresso machine group heads. High-calcium water is equipment’s worst enemy, causing scale deposits that reduce thermal efficiency, create temperature instability, and eventually damage heating elements. In espresso machines, scale in the boiler can cause temperature fluctuations of several degrees — enough to significantly affect extraction quality.

Bicarbonate: The pH Buffer

Bicarbonate (HCO₃⁻) acts as a pH buffer in brew water, neutralizing acids on contact. Some alkalinity is necessary: without any buffering, coffee’s extracted organic acids can produce an aggressively sour cup. But too much alkalinity steamrolls the bright, lively acidity that makes specialty coffee exciting — particularly the citric and malic acids that define washed Ethiopian and Colombian coffees.

Bicarbonate is the “alkalinity” measurement you’ll see in water quality reports, and it’s arguably the trickiest variable to optimize. Hard water — typically high in calcium carbonate — usually carries elevated bicarbonate levels, which is why hard water areas often produce flat-tasting coffee even after carbon filtration removes chlorine.

The SCA Water Standard

The Specialty Coffee Association developed water quality specifications based on sensory research with professional tasters and cupping panels, representing the center of the bell curve for “tastes optimal to most people”:

ParameterTargetAcceptable Range
TDS (Total Dissolved Solids)150 mg/L75–250 mg/L
Calcium Hardness68 mg/L (as CaCO₃)17–85 mg/L
Alkalinity40 mg/L (as CaCO₃)At or near 40 mg/L
pH7.06.5–7.5
Sodium10 mg/LAt or near 10 mg/L
Chlorine0 mg/L0 mg/L

These numbers aren’t absolute law — they represent a practical optimum. Some competition baristas deliberately deviate from SCA specs to emphasize specific characteristics of particular coffees. For instance, boosting magnesium beyond SCA recommendations can enhance brightness and fruit complexity in washed light roasts, at the cost of some body and sweetness in the cup.

Hard Water vs. Soft Water

Hard water (above 250 mg/L TDS) causes several compounding problems for coffee quality. Excessive minerals can over-extract, flattening the cup under a mineral haze. Very hard water often carries elevated bicarbonate that kills acidity. Scale buildup damages equipment over time, compromising temperature stability and flow consistency. A hard water area — London, Las Vegas, most of the American Midwest — is actively working against coffee quality unless treated.

Soft water (below 75 mg/L TDS) has the opposite problem. Without minerals to assist extraction chemistry, water is less efficient at dissolving flavor compounds, producing sour, thin cups where extraction never fully completes despite correct grinding and temperatures. The extreme case — distilled water at zero minerals — makes noticeably poor coffee for exactly this reason: the water molecules alone are weak solvents compared to mineral-assisted extraction. Soft water areas (Seattle, much of the Pacific Northwest, San Francisco) often produce coffee that needs some mineral addition to reach its potential.

DIY Water Recipes

The gold standard approach to brew water is to start from a blank canvas — reverse osmosis or distilled water — and add back exactly the minerals you want. Several well-tested recipes have been developed by specialty coffee professionals:

Barista Hustle Water Recipe

Developed by barista and researcher Matt Perger, this uses two concentrate solutions mixed into distilled water. Concentrate 1 (hardness/magnesium): add 2.45g Epsom salt (MgSO₄ 7H₂O) to 1 liter of distilled water. Concentrate 2 (buffer/bicarbonate): add 1.68g baking soda (NaHCO₃) to 1 liter of distilled water. The ratio of these two concentrates added to distilled water allows independent tuning of hardness and alkalinity. Perger’s default targets roughly 100 mg/L hardness and 40 mg/L alkalinity — slightly harder than SCA spec, emphasizing magnesium for flavor clarity in specialty light roasts.

Third Wave Water

For those who want the results without chemistry, Third Wave Water sells pre-measured mineral packets: drop one capsule into a gallon of distilled water to get SCA-spec brew water. It’s not the cheapest per liter, but it’s dead simple and consistently produces optimized water without any measuring or mixing.

Melbourne Water (The “Aussie” Recipe)

Popular in Australia’s influential specialty coffee scene, this uses magnesium chloride instead of Epsom salt — some baristas report a cleaner, less sulfuric result. The recipe: 3.0g magnesium chloride hexahydrate (MgCl₂ 6H₂O) per 10 liters of distilled water, plus 0.5g sodium bicarbonate per 10 liters. This creates a magnesium-forward, low-alkalinity water exceptional for light-roast filter coffee: bright, clean, and revealing.

Reverse Osmosis: The Long-Term Solution

For serious home brewers or cafés committed to water quality, a reverse osmosis (RO) system is the most practical long-term infrastructure investment. An RO membrane removes 95–99% of dissolved minerals, chlorine, and contaminants, producing near-blank-canvas water at 5–20 mg/L TDS. You then remineralize using a post-filter cartridge or DIY concentrate to reach your target mineral profile.

RO systems range from $150 counter-top units to $400+ under-sink installations, with ongoing costs for filter replacement every 6–12 months. For a household brewing daily, the per-cup cost of optimized water works out to a few cents — trivial relative to specialty bean costs. The key advantage over buying distilled water from stores is consistency and convenience: fresh, optimized water on tap for every brew.

One important clarification: pure RO water at 5–10 mg/L TDS is too empty to use directly. Brewing with it produces the same sour, thin results as distilled water. The RO system’s value is providing a consistent, predictable starting point for remineralization — not the final brew water itself.

How Water Affects Extraction

Water chemistry and extraction science are deeply intertwined, and understanding the connection illuminates why water matters as much as it does.

During extraction, calcium and magnesium ions form coordination complexes with coffee’s organic acids and aromatic molecules — essentially helping “grab” them from the ground coffee and hold them in solution. These mineral-compound complexes are more stable in solution than the raw compounds alone, which is why mineral-assisted extraction produces cleaner, better-defined flavor in the cup. Distilled water, lacking these mineral helpers, allows some extracted compounds to precipitate back out of solution rather than remaining dissolved.

Bicarbonate’s impact on perceived acidity is direct and measurable. The reaction HCO₃⁻ + organic acid → water + CO₂ + anion salt neutralizes citric and malic acids, converting them from their free acid form (bright, lively) to their salt form (present chemically but perceptually flatter). High-alkalinity water from a hard water tap is literally neutralizing the bright acids that define a washed Ethiopian’s character while you brew.

Scale buildup in equipment has a subtler but equally important effect: calcium carbonate deposits on heating elements reduce thermal efficiency and create temperature inconsistencies that translate directly to extraction inconsistencies. A kettle with significant scale takes longer to boil, overshoots target temperature, and creates unpredictable variation between brews — problems that feel like equipment failure but are actually water chemistry.

Practical Improvements by Effort Level

Not everyone wants to build a mineralization chemistry station. Here’s a progression from minimal to comprehensive:

Level 1 (free to $20): Use filtered water. A simple carbon filter (Brita, PUR, built-in pitcher filter) removes chlorine and chloramine, which cause off-flavors in coffee. It won’t change mineral content meaningfully, but chlorine removal is a noticeable improvement in hard water areas where chlorination levels are high. Never use water softener output — softeners replace calcium and magnesium with sodium ions, which taste salty and extract coffee compounds poorly.

Level 2 ($15–30): Buy a TDS meter. A $15 handheld meter tells you your water’s dissolved solids in seconds. Under 75 mg/L? Your water is too soft. Over 250 mg/L? Too hard. Between 100–200 mg/L, you’re likely in acceptable range for decent coffee. Request a water quality report from your municipal supplier for calcium, magnesium, and alkalinity specifics.

Level 3 ($30–50): Try Third Wave Water or the Barista Hustle recipe with distilled water. Make your usual coffee with your usual method — change only the water. The result will either be marginal (your tap water was fine) or revelatory (it wasn’t). This experiment costs under $20 and gives you more accurate water knowledge than any article can.

Level 4 ($150+): Install an RO system with remineralization. This is the solution for consistent, optimized water on tap indefinitely, removing the chemistry from daily brewing.

The Experiment Worth Running

If you take nothing else from this article: buy a gallon of distilled water and a packet of Third Wave Water, or make a basic magnesium bicarbonate concentrate using Epsom salt and baking soda. Brew your current favorite coffee twice — once with your tap water, once with the mineralized water. Same beans, same grind, same temperature, same technique.

The comparison will tell you more about water’s impact in five minutes than any amount of reading. For some people in some cities, the difference is marginal improvement. For others, it’s the single most significant upgrade they’ve ever made to their coffee — bigger than a new grinder, bigger than better beans, bigger than temperature control. Water is 98% of your cup. It deserves at least 2% of your attention.


Now that your water is dialed in, make sure you’re extracting properly. Read The Science of Coffee Extraction to understand the variables that turn good water into great coffee.

References

  • Hendon, Christopher H., et al. “The Role of Dissolved Cations in Coffee Extraction.” Journal of Agricultural and Food Chemistry, vol. 62, no. 21, 2014.
  • Specialty Coffee Association. Water Quality Handbook for Coffee Brewing. sca.coffee, 2020.
  • Perger, Matt. “Barista Hustle Water Recipe.” Barista Hustle, baristahustle.com, 2016.
  • Rao, Scott. The Coffee Brewing Handbook. Scott Rao Publications, 2009.
  • Batali, Mackenzie E., et al. “Determination of the Sensory Characteristics of Brewed Coffee as a Function of Extraction Yield.” ACS Food Science and Technology, 2021.
  • Colonna-Dashwood, Maxwell, and Hendon, Christopher. Water for Coffee. Colonna and Smalls, 2015.
  • Third Wave Water. Mineral Profile and Usage Guide. thirdwavewater.com, 2023.
  • Folmer, Britta, ed. The Craft and Science of Coffee. Academic Press, 2016.
  • Specialty Coffee Association. SCA Brewing Control Chart and Brewing Water Standards. sca.coffee, 2018.

Continue Reading

More articles you might enjoy