1. Plant
  2. Farm
  3. Process
  4. Trade
  5. Roast
  6. Brew
  7. Cup
Post-harvest processing · Science

Moisture and water activity

How much water a coffee seed holds (moisture content) and how freely that water can act (water activity) – the two numbers that decide when coffee is dry, safe from mould and stable in storage.

Across the chain: Science

Source-checkedby Coffearium verification pass· Last source-checked 8 Oct 2026· Prepared with AI assistance· 20 sources (19 tier A)· 4 contested· Updated 10 Oct 2026
Reading depth
Contents

In brief

  • Moisture content is how much water the coffee contains by weight; the Codex code and the ISO oven method express it on a wet basis (wb), as a share of the wet sample.1,2
  • Water activity (aw, 0 to 1) measures how available that water is to microorganisms and chemical reactions; it is not the same as moisture content.5,6
  • The Codex code of practice considers parchment coffee protected from fungi at below 12.5% moisture (wb) and a maximum water activity of 0.67–0.70.1
  • Moisture meters should be calibrated against the ISO 6673 oven method, which dries about 10 g of green coffee at 105 °C for 16 hours.1,2
0.30.40.50.60.70.80.91water activity (aw)Recommended in storage(cited in one study)0.4–0.615 Moulds in foods generally:no growth below0.625 Codex storage ceiling0.67–0.71 OTA fungi stop growingbelow0.76–0.781 OTA risk window in drying0.8–0.951 OTA fungi make no toxinbelow0.81
Data table
water activity (aw)Source
Recommended in storage (cited in one study)0.4–0.615
Codex storage ceiling0.67–0.71
OTA fungi stop growing below0.76–0.781
OTA risk window in drying0.8–0.951
Moulds in foods generally: no growth below0.625
OTA fungi make no toxin below0.81
Water activity thresholds that matter for coffee. The Codex storage ceiling sits below the level at which ochratoxin-producing fungi can grow; the general mould limit is for foods in general, not coffee. The 0.4–0.6 storage range is cited by one study from earlier work.1,5,15

Two different numbers#

Moisture content tells you how much water the coffee contains. Water activity tells you how much of that water is free – unbound and available to microorganisms for growth.6 Formally, water activity is the ratio of the partial pressure of water in a food to the vapour pressure of pure water at the same temperature.5 It runs from 0 to 1 and is directly related to the equilibrium relative humidity (ERH) of the air around the sample.5

The two are linked, but not one-to-one. The curve that connects them at a given temperature is called the sorption isotherm, and it is specific to each food – its “fingerprint”.5 It can even differ between lots of the same coffee: in parchment coffee, the ripeness at which the cherries were picked changed how available the water in the bean was.11 Temperature matters too: at a constant water activity, warmer Arabica coffee holds less water.12

Wet basis and dry basis#

Moisture content can be expressed in two ways:4

  • Wet basis (wb) – mass of water per unit mass of the wet sample. This is the basis of the Codex code and of the ISO 6673 oven method, and the one a university extension guide uses for traded green coffee.1,2,7
  • Dry basis (db) – mass of water per unit mass of completely dry matter. Sorption research often reports this, for example as g of water per 100 g of dry solids.10,12

Conversion, with both values in per cent:

  • Mdb = 100 × Mwb / (100 − Mwb)
  • Mwb = 100 × Mdb / (100 + Mdb)

So the Codex limit of 12.5% wb equals 14.3% db, and a freshly demucilaged bean at 50% wb holds 100% db – as much water as dry matter. The gap grows with moisture, which is why the basis must always be stated.

How water leaves the seed#

Coffee is hygroscopic: it loses or gains water until it reaches equilibrium with the surrounding air. It cannot be dried below the equilibrium moisture content (EMC) set by the temperature and humidity of the drying air.4 The Codex code gives the practical consequence for storage and transport: below 60% relative humidity coffee keeps drying, above 80% it starts to absorb water.1 Washed coffee in particular can reabsorb moisture in humid environments.9

Typical moisture along the chain:

  1. Harvest – freshly harvested coffee holds about 50–60% moisture (wb), depending on the processing method and climate.9 Across maturation stages, fruits are harvested at between 30% and 65% (wb).17
  2. Parchment after demucilaging – about 45–55% moisture, whether the mucilage was fermented off or removed mechanically.7
  3. Dried – reduced to 10–12% (wb) for safe storage.9 Green coffee is generally dried to, and traded at, about 12%.7 The Codex code says moisture should not exceed 12.5% anywhere from the loading area to roasting; where it states the basis, it is wet basis.1

Why it matters: mould, toxins and quality#

Above 12% (wb), green coffee can deteriorate through bacteria, mould or yeast, especially if the seed has died.7 The Codex code ties protection from fungi to two limits together: moisture below 12.5% (wb) and a water activity of no more than 0.67–0.70.1 Three different water-activity numbers are often confused. Below about 0.62, yeasts and moulds in foods in general usually do not grow.5 The 0.67–0.70 figure is the Codex storage ceiling for parchment coffee, not a growth limit.1 Below 0.76–0.78, the OTA-producing fungi of coffee cannot grow.1 Rewetting dried coffee is to be avoided, because it favours rapid fungal growth and ochratoxin A production.1

Even well below the mould threshold, water still matters. High temperature and high water content are the main reported causes of sensory change during storage.16

Reference values#

All moisture values are given with their basis as stated in the source. “Not stated” means the source gives no basis.

Parameter Value reported Basis Source
Freshly harvested coffee 50–60% wb Duque-Dussán et al.9
Coffee fruits at harvest, by maturation stage 30–65% wb (kg water per 100 kg material) Rocha et al.17
Parchment after demucilaging 45–55% not stated Gautz et al.7
Safe storage level 10–12% wb Duque-Dussán et al.9
Trading moisture About 12% wb (source convention) Gautz et al.7
Hawai’i grade standard 9–12% ± 0.3 points not stated Gautz et al.7
SCAA grades (Specialty, Premium, Exchange) 9–13% not stated Mutua8
Codex maximum, whole chain Not to exceed 12.5% wb where the code states a basis Codex1
Codex water activity ceiling 0.67–0.70 – Codex1
SCA specialty grade, archived (heritage) standard Water activity lower than 0.70; no moisture range – SCA20
Target kept in a storage and transport trial 10–12% wb Anokye-Bempah et al.15
Recommended in storage (cited from Harris and Miller, 2008) 10–12% and aw 0.4–0.6 wb Anokye-Bempah et al.15
Green coffee at the start of that trial 10.76% ± 0.2 at aw 0.57 wb Anokye-Bempah et al.15
Safe storage equivalence 10–12% ≈ aw 0.65–0.70 not stated Akbar et al.14
Storage air < 60% RH: keeps drying; > 80% RH: absorbs water – Codex1
Yeasts and moulds in foods generally (not coffee-specific) Usually no growth below aw 0.62 – FAO5
OTA-producing Aspergillus in coffee: growth floor No growth below aw 0.76–0.78 – Codex1
OTA-producing Aspergillus in coffee: toxin floor Present but no toxin below aw 0.80 – Codex1
OTA risk window during drying aw 0.80–0.95; 5 days or less in the drying yard prevented OTA accumulation in trials – Codex1
Optimum OTA, A. westerdijkiae on stored beans aw 0.95–0.97 at 30 °C – Akbar et al.14
EU maximum OTA, roasted beans and ground roasted coffee 3.0 µg/kg – Reg. (EU) 2023/91519
EU maximum OTA, soluble (instant) coffee 5.0 µg/kg – Reg. (EU) 2023/91519
Glass transition, green coffee 48.76 °C at aw 0.155 → 34.89 °C at aw 0.512 – Iaccheri et al.13
Arabica adsorption, 30–60 °C 0.0191–0.2534 (decimal; 1.9–25.3%) over aw 0.10–0.83 db dos Santos et al.12
010203040506070moisture, % (wet basis unless stated in text)Cherry at harvest, byripeness30–6517 Freshly harvested coffee50–609 Parchment afterdemucilaging45–557 SCAA grades9–138 Safe storage10–129 Codex maximum, whole chain< 12.51
Data table
Pointmoisture, % (wet basis unless stated in text)Source
Cherry at harvest, by ripeness30–6530–6517
Freshly harvested coffee50–6050–609
Parchment after demucilaging45–5545–557
SCAA grades9–139–138
Safe storage10–1210–129
Codex maximum, whole chain< 12.512.51
Moisture content reported at each stage, from cherry to green coffee. Ranges are as published; check the basis of each value in the table.1,7,8,9,17

Sorption isotherms and hysteresis#

An isotherm plots equilibrium moisture content against water activity at one temperature. For Arabica beans between 30 and 60 °C, the adsorption isotherms had a sigmoidal type II shape.12 Raising the temperature at constant water activity lowered the equilibrium moisture content.12

Models. The Guggenheim–Anderson–de Boer (GAB) model fitted desorption data well for green coffee, pulped coffee and whole fruits at 10–50 °C.10 It describes the isotherm with three parameters: the monolayer moisture content Xm, a constant C for how strongly water binds to the monolayer, and a constant K for the multilayer.11 In parchment coffee, K values close to one pointed to multilayer water behaving close to free water.11 The GAB model is not always the best fit: for Arabica adsorption at 30–60 °C, the Peleg model performed best.12

Hysteresis. Drying follows a desorption isotherm, rewetting in storage an adsorption isotherm. The two studies opened here measured one direction each – desorption in coffee fruits, pulped and green coffee,10 adsorption in Arabica beans12 – so the gap between the two curves is not quantified in this entry. In the desorption study, the differential enthalpy, entropy and Gibbs free energy rose as equilibrium moisture fell, and whole coffee fruits showed the highest values.10

Ripeness. In parchment coffee, cherry maturity changed water availability in the bean. Unripe stages lost water activity faster during drying, down to values (aw < 0.4) that the authors link to possible stalling after roasting.11

Glass transition#

Green coffee is mainly a glassy structure that changes slowly during storage.13 Water lowers its glass transition temperature (Tg): as water activity rose from 0.155 to 0.512, Tg of green coffee fell from 48.76 °C to 34.89 °C. Roasted coffee was less sensitive, falling from 45.73 °C to 40.15 °C over the same range.13 Whether green coffee stored warm enough to pass above its Tg ages faster has not been shown in the sources for this entry.

Mould and ochratoxin A#

In coffee, only Aspergillus species produce ochratoxin A (OTA): A. ochraceus and its relatives A. westerdijkiae and A. steynii, A. niger and relatives, and A. carbonarius.1 These belong to Aspergillus sections Circumdati and Nigri.18 Penicillium also makes OTA, mainly in temperate and colder zones,18 but the Codex code names only Aspergillus species for coffee.1 The water-activity bands below apply to these coffee Aspergillus species; they are not general limits for all moulds.

The Codex code describes water activity bands for OTA risk:1

  • aw > 0.95 – fast-growing hydrophilic fungi and yeasts grow first; OTA producers are unlikely to take hold.
  • aw 0.80–0.95 – the range in which OTA-producing fungi can grow. The time coffee spends in this range on the drying yard is the key control point; in trials, 5 days or less prevented OTA accumulation.
  • aw < 0.80 – OTA producers can be present but do not produce the toxin.
  • aw < 0.76–0.78 – they cannot grow.

Laboratory work on stored green coffee agrees on the upper band: Aspergillus westerdijkiae produced most OTA at aw 0.95–0.97 and 30 °C. With elevated CO2 (1,000 ppm) and 35 °C, OTA production was stimulated at aw 0.90–0.95.14 The authors note that the aw range of 0.90–0.97 used on the beans corresponds to roughly 40% down to 20–22% moisture (basis not stated).14

Measurement#

Oven reference method (ISO 6673). A test portion of about 10 g is heated at 105 °C for 16 h ± 0.5 h at atmospheric pressure.2 Strictly, it measures loss in mass, which by convention and agreement between parties is used as water content. It reads about 1.0% lower than the ISO 1446 basic reference method.2 These parameters are from the 2003 edition. A third edition was published in 2025 and applies to both decaffeinated and non-decaffeinated green coffee;3 its full text was not openly available to check whether the parameters changed. The Codex code asks for moisture measurements to be calibrated to ISO 6673.1 The oven method is a convenient reference because it needs no calibration itself.7

Capacitance meters. The most common coffee moisture meters are adapted grain meters that measure capacitance; modern units also measure temperature and bulk density.7 Any electronic device drifts with time, and the drift is corrected by calibration against a reference such as oven drying.7 Repeatability – the spread of readings when the same sample is presented several times – is the real accuracy of a meter and cannot be removed by calibration.7

Dielectric spectroscopy. In research, the dielectric constant of parchment coffee predicted both moisture content and water activity (R² 0.82–0.88), with 0.3–0.9 GHz as the most useful range.11

Water activity meters. Chilled-mirror dewpoint instruments combine a dewpoint sensor, an infrared thermometer and a fan in one sensor block.6 Capacitance aw sensors use a hygroscopic polymer between two plates whose ability to hold a charge rises as it adsorbs water.6 Because the isotherm shifts with temperature, an aw reading should be reported with the sample temperature.12

Reference protocol

Step Parameter Value reported Source
Sample Temperature before metering Cool to ambient unless the meter is rated for hot samples Gautz et al.7
Reference moisture Method ISO 6673: about 10 g, 105 °C, 16 h ± 0.5 h, atmospheric pressure ISO 66732
Reference moisture Alternative extension protocol 105 °C (220 °F) ± 5 °F, natural airflow, 24 h Gautz et al.7
Meter Calibration Against ISO 6673 Codex1
Reporting Basis State wb or db; trade and Codex use wb Codex1, FAO4
Water activity Instrument Chilled-mirror dewpoint or capacitance sensor Mermelstein6
Water activity Temperature Report with measurement temperature; EMC falls as temperature rises dos Santos et al.12
Acceptance Storage safety < 12.5% (wb) and aw ≤ 0.67–0.70 Codex1

Risks and defects#

  • Too wet – above 12% (wb): deterioration by bacteria, mould or yeast; in live seeds, enzyme activity changes cup quality.7
  • Slow drying – too long in the aw 0.80–0.95 window gives OTA producers time to grow.1
  • Rewetting – favours rapid fungal growth and OTA production.1 Washed coffee can pick up moisture in humid storage and become more brittle.9
  • Humid storage and transport – fluctuating temperature and relative humidity change moisture content, water activity, colour and sensory quality.15
  • Over-drying – very low water activity (aw < 0.4) in unripe beans has been linked to possible stalling after roasting.11
  • OTA above legal limits – in the EU, roasted beans and ground roasted coffee may contain at most 3.0 µg/kg OTA, and soluble coffee at most 5.0 µg/kg.19 The regulation sets no OTA limit for green coffee.19
  • Wrong basis – a dry-basis value read as wet basis overstates moisture; at 12.5% wb the difference is 1.8 percentage points.

Open questions#

  • There is no agreed single target water activity for green coffee in storage. The sources opened here give upper limits for safety (Codex 0.67–0.70; about 0.65–0.70 in a 2020 study)1,14 and, for specialty grade, the SCA’s archived limit of below 0.70,20 while the only lower target, 0.4–0.6 for preserving quality, appears in a 2023 study as a citation of earlier work rather than as its own finding (see Contested).15
  • Adsorption and desorption isotherms measured on the same green coffee lot at storage temperatures are scarce in the sources used here, so the size of the hysteresis loop in practice is not quantified.
  • How water activity is distributed across traded green coffee lots has not, to our knowledge, been reported in peer-reviewed work; the large datasets that exist come from the trade.
  • The link between glass transition and flavour loss in storage is suggested by the physics but not yet demonstrated for coffee in these sources.

Key studies#

Goneli et al., 2013 – Water sorption of coffee fruits, pulped and green coffee. Measured desorption isotherms of three forms of coffee at five temperatures (10–50 °C) and 11–95% relative humidity. The GAB model fitted well, and whole fruits showed the highest thermodynamic values.

LWT – Food Science and Technology 50(2), 386–391 · doi:10.1016/j.lwt.2012.09.006

Velásquez et al., 2021 – Cherry maturity, sorption and dielectric sensing. Showed that ripeness stage changes the water availability of parchment coffee and its drying behaviour, with unripe beans reaching very low water activity. Dielectric measurements at 0.3–0.9 GHz predicted both moisture content and water activity.

Food Control 123, 107692 · doi:10.1016/j.foodcont.2020.107692

Iaccheri et al., 2019 – Glass transition of green and roasted coffee. Used calorimetry and dielectric methods to track the glass transition at different water activities. In green coffee, Tg fell by about 14 °C as aw rose from 0.155 to 0.512, a stronger effect than in roasted coffee.

Food Chemistry 301, 125187 · doi:10.1016/j.foodchem.2019.125187

Akbar et al., 2020 – Aspergillus westerdijkiae under climate stress. Tested growth and OTA production across water activity, temperature and CO2 on coffee medium and stored beans. OTA peaked at aw 0.95–0.97 and 30 °C, and warmer, CO2-rich conditions stimulated production at slightly drier levels.

Microorganisms 8(9), 1268 · doi:10.3390/microorganisms8091268

Anokye-Bempah et al., 2023 – Desiccants in storage and transport. Examined how temperature and humidity swings during storage and shipping change the moisture, water activity, colour and sensory quality of green coffee, and tested desiccants as a way to keep beans in the recommended range. Over a simulated 42-day shipment from Brazil to Italy, hermetic packages with desiccants kept green coffee below 12% (wb) and below aw 0.6, while beans in jute sacks rose to 17.34% (wb) and aw 0.76.

Journal of Agriculture and Food Research 11, 100478 · doi:10.1016/j.jafr.2022.100478

Contested
  • Target water activity for green coffee in storage: a 2023 study states a recommended range of 0.4–0.6, citing earlier work (Harris and Miller, 2008), and treats 0.6 as the critical level in its own trial15, while the Codex code of practice treats 0.67–0.70 as the maximum that still protects parchment coffee from fungi1 and a 2020 study equates safe storage at 10–12% moisture with about 0.65–0.70.14 The lower range is given for preserving quality, the higher ones for protection from fungi; the sources do not reconcile the two. In the 2023 trial, green coffee at 10.76% (wb) had a water activity of 0.57.15
  • Acceptable moisture range for graded green coffee: the older SCAA grading reproduced by FAO allows 9–13% for its Speciality, Premium and Exchange grades8, whereas the Codex code sets 12.5% as the maximum anywhere in the chain (wet basis where the code states one)1. The narrower 10–12% (wb) appears in peer-reviewed work as a safe or recommended storage range9,14,15, not as a grading limit. The SCA’s archived (heritage) green coffee standards set no moisture range; for specialty grade they use a water-activity limit instead: the beans must measure lower than 0.70 aw.20 A current SCA document stating a 10–12% grading range could not be found in openly published form, so the 9–13% figure remains the only sourced grading range here.
  • Moisture of fresh fruit: a 2026 review gives 50–60% (wb) for freshly harvested coffee9, while a drying study states that fruits are harvested at 30–65 kg of water per 100 kg of material, depending on maturation stage.17 The two agree once ripeness is taken into account: the wider range covers fruit from ripe to partly dried on the tree.
  • Oven methods do not give identical numbers: ISO 6673 (105 °C, 16 h) gives results about 1.0 percentage point lower than the ISO 1446 reference method for water content2, and a university extension guide describes 105 °C for 24 h instead.7
Share or cite this entry

Sources

  1. ACodex Alimentarius Commission (FAO/WHO) (2009). Code of Practice for the Prevention and Reduction of Ochratoxin A Contamination in Coffee (CAC/RCP 69-2009). Codex Alimentarius.
  2. AInternational Organization for Standardization (2003). ISO 6673:2003 Green coffee — Determination of loss in mass at 105 °C. ISO.
  3. AInternational Organization for Standardization (2025). ISO 6673:2025 Green coffee — Determination of loss in mass at 105 °C. ISO.
  4. AProctor, D. L. (ed.) (1994). Grain storage techniques: Evolution and trends in developing countries (FAO Agricultural Services Bulletin 109), Drying principles and general considerations. FAO.
  5. ABarbosa-Cánovas, G. V.; Fernández-Molina, J. J.; Alzamora, S. M.; Tapia, M. S.; López-Malo, A.; Welti Chanes, J. (2003). Handling and preservation of fruits and vegetables by combined methods for rural areas (FAO Agricultural Services Bulletin 149), Chapter 3. FAO.
  6. BMermelstein, N. H. (2009). Measuring Moisture Content & Water Activity. Food Technology (Institute of Food Technologists).
  7. AGautz, L. D.; Smith, V. E.; Bittenbender, H. C. (2008). Measuring Coffee Bean Moisture Content (Engineer's Notebook EN-3). College of Tropical Agriculture and Human Resources, University of Hawai'i at Mānoa.
  8. AMutua, J. (2000). Post Harvest Handling and Processing of Coffee in African Countries, Annex 7: Green Coffee Classification and Grading. FAO.
  9. ADuque-Dussán, E.; Figueroa-Varela, P. A.; Cruz-Ospina, V.; Banout, J. (2026). Advances in coffee drying: A comprehensive review of traditional, solar, mechanical, hybrid, and emerging methods. Foods 15(10), 1737. doi:10.3390/foods15101737 · other copies
  10. AGoneli, A. L. D.; Corrêa, P. C.; Oliveira, G. H. H.; Afonso Júnior, P. C. (2013). Water sorption properties of coffee fruits, pulped and green coffee. LWT – Food Science and Technology 50(2), 386–391. doi:10.1016/j.lwt.2012.09.006 · other copies
  11. AVelásquez, S.; Franco, A. P.; Peña, N.; Bohórquez, J. C.; Gutierrez, N. (2021). Effect of coffee cherry maturity on the performance of the drying process of the bean: Sorption isotherms and dielectric spectroscopy. Food Control 123, 107692. doi:10.1016/j.foodcont.2020.107692 · other copies
  12. ASantos, S. G. F. dos; Silva, D. P. da; Sarti, J. K.; Almeida, V. G.; Rodovalho, R. S. (2020). Adsorption isotherms and isosteric heat in Coffea arabica beans. Pesquisa Agropecuária Tropical 50. doi:10.1590/1983-40632020v5058128 · other copies
  13. AIaccheri, E.; Ragni, L.; Cevoli, C.; Romani, S.; Dalla Rosa, M.; Rocculi, P. (2019). Glass transition of green and roasted coffee investigated by calorimetric and dielectric techniques. Food Chemistry 301, 125187. doi:10.1016/j.foodchem.2019.125187 · other copies
  14. AAkbar, A.; Medina, A.; Magan, N. (2020). Resilience of Aspergillus westerdijkiae Strains to Interacting Climate-Related Abiotic Factors: Effects on Growth and Ochratoxin A Production on Coffee-Based Medium and in Stored Coffee. Microorganisms 8(9), 1268. doi:10.3390/microorganisms8091268 · other copies
  15. AAnokye-Bempah, L.; Han, J.; Kornbluth, K.; Ristenpart, W.; Donis-González, I. R. (2023). The use of desiccants for proper moisture preservation in green coffee during storage and transportation. Journal of Agriculture and Food Research 11, 100478. doi:10.1016/j.jafr.2022.100478 · other copies
  16. AZarebska, M.; Stanek, N.; Barabosz, K.; Jaszkiewicz, A.; Kulesza, R.; Matejuk, R.; Andrzejewski, D.; Biłos, Ł.; Porada, A. (2022). Comparison of chemical compounds and their influence on the taste of coffee depending on green beans storage conditions. Scientific Reports 12, 2674. doi:10.1038/s41598-022-06676-9 · other copies
  17. ARocha, H. A.; Correa, J. L. G.; Borém, F. M. (2021). Vacuum drying of peeled coffee cherry beans: drying kinetics and physiological effects. Coffee Science 16, e161921. doi:10.25186/.v16i.1921 · other copies
  18. AOstry, V.; Malir, F.; Ruprich, J. (2013). Producers and Important Dietary Sources of Ochratoxin A and Citrinin. Toxins 5(9), 1574–1586. doi:10.3390/toxins5091574 · other copies
  19. AEuropean Commission (2025). Commission Regulation (EU) 2023/915 on maximum levels for certain contaminants in food (consolidated text, 01.01.2025), Annex I, section 1.2. EUR-Lex.
  20. ASpecialty Coffee Association Heritage Coffee Standards (archived), Green Coffee Standards. Specialty Coffee Association.

Tier A · authoritative · B · trade and expert · C · general. Supporting quotes for every source are in the data version of this entry. If a publisher’s site refuses access, try the doi link or “other copies”.

Suggest a change

On Moisture and water activity. Tell us what you would change and why. A source that supports it helps most.