Introduction

Biomedical laboratories routinely perform cell culture to produce a cellular environment that is precisely defined, well controlled and physiologically relevant. Among the main chemical variables of culture systems is the concentration of H+ ions, oftentimes referred to as protons. These ions are present in every aqueous compartment, not least from the ionization of water. Various solutes can become protonated, thereby establishing multiple chemical equilibria involving H+ ions. Consequently, the concentration of free H+ ions is not intuitive to predict, but fortuitously simple to measure (e.g. with electrodes or indicator dyes). For over a century, the pH scale has been the reporting standard for the concentration of free H+ ions1, that is, the form that is able to protonate targets and post-translationally modify proteins, such as enzymes or receptors2,3,4. The much larger pool of buffered H+ ions can, however, influence pH through dynamic re-equilibration5.

There is still a widely held misconception that buffers have an inherent ability to set the pH of a solution to a pre-defined level. More accurately, in a system of one dominant buffer, pH is related to the concentration of the buffer’s protonated (HB) and unprotonated (B) forms, and the acid dissociation constant (pKa):

$${\mathrm{pH}} = {\mathrm{p}}K_{\mathrm{a}} + {\mathrm{log}}\frac{{\left[ {\mathrm{B}} \right]}}{{\left[ {{\mathrm{HB}}} \right]}}.$$
(1)

Consider the dissolution of HEPES buffer (4-(2-hydroxyethyl)-1-piperazineethanesulfonic acid), typically supplied as a powder of the free acid form. This produces an acidic solution that must be titrated (with base, e.g. NaOH) to the desired pH; once the [B]/[HB] ratio is raised to the required level, pH will remain stable, unless there is an additional source of acid or base. In live-cell culture, pH disturbances are an inescapable consequence of metabolism and there is a general tendency for media to undergo acidification, the extent of which is also a function of medium buffering capacity. In a closed system, it can be derived mathematically (see Supplementary Note) and shown empirically5 that peak buffering capacity is attained when the buffer’s protonated and unprotonated forms are equimolar, that is, when medium pH aligns with the buffer’s pKa. Many exogenous buffers are available, covering a wide pH range, including HEPES (pKa = 7.3; 37 °C), PIPES (piperazine-N,N′-bis(2-ethanesulphonic acid); pKa = 6.7) and MES (2-(N-morpholino)-ethanesulfonic acid; pKa = 6.0)6.

A more active means of maintaining high buffering capacity involves the regulation of [HB] and [B], so that their ratio is kept at an optimum5. This strategy underpins the reason why complex organisms rely on CO2/HCO3 buffer (despite low pKa = 6.15)7, and have evolved gas exchange surfaces (e.g. lungs) and ion transport epithelia (e.g. kidneys) to empower CO2 and HCO3 homeostasis8. The combination of CO2 (an acidic gas) with HCO3 (a base) produces quantitatively the most important buffer in extracellular body fluids. In culture systems, this so-called carbonic buffer is stabilized by adding an amount of HCO3 salt to media and enriching the incubator's atmosphere with CO2. Here, we relate HCO3 and CO2 with pH, show how the system responds to changes in its components and demonstrate how the equilibrium is affected by non-volatile buffers (NVBs) added to augment buffering capacity. Furthermore, we explain how certain cell culture manoeuvres may lead to poor pH control. While a number of high-profile guidelines relating to cell culture have been published recently9,10,11,12,13, they do not comprehensively cover the aforementioned issues pertaining to pH. Based on our observations, we propose guidelines for good practice in controlling pH in culture systems.

Results

Monitoring culture medium pH under incubation

Buffers are included in culture media to control acidity, yet the ensuing pH is not routinely monitored. This becomes a quality control issue whenever the components of buffering are being disturbed: for example, in response to metabolic acid production, or as a consequence of transferring media between atmospheres of different CO2 partial pressures (pCO2). The dye Phenol Red (PhR) is routinely included in the media to allow investigators to assay medium acidity14,15. Such assessment could be done ‘by eye’, but a more quantitative readout of pH is obtainable from the PhR absorbance spectrum, which can be recorded on plate-reader platforms with an incubator chamber (e.g. Cytation 5, BioTek). To obtain a calibration curve, freshly prepared standards of known pH were scanned in a CO2-free atmosphere to prevent the acidifying effect of CO2. Calibration solutions had no added HCO3, as otherwise this basic substance would have reacted slowly with H+ ions and then escape as CO2 gas. Fig. 1a shows absorbance spectra of PhR in bicarbonate-free Dulbecco’s modified Eagle’s medium (DMEM) (D7777, Sigma-Aldrich) supplemented with 10% foetal bovine serum (FBS) and 1% penicillin–streptomycin (PS; 100 U mL−1 penicillin, 0.1 mg mL−1 streptomycin), 10 mM HEPES and 10 mM MES (2-(N-morpholino)-ethanesulfonic acid), and titrated to a target pH with NaOH. To correct for pH-independent variables, such as light path or PhR concentration, absorbance was sampled at two wavelengths that respond differently to pH. Good resolving power is attained by rationing absorbance at 560 and 430 nm (Fig. 1b). The best-fit equation can then be used to convert PhR ratio assayed in subsequent experiments to pH.

Fig. 1
figure 1

Measuring and setting medium pH under incubation. a Absorbance spectrum of Phenol Red (PhR) in Dulbecco’s modified Eagle’s medium (DMEM) (D7777) with 10% foetal bovine serum (FBS), 1% penicillin–streptomycin (PS), 10 mM HEPES (4-(2-hydroxyethyl)-1-piperazineethanesulfonic acid) plus 10 mM 2-(N-morpholino)-ethanesulfonic acid (MES), and titrated (5 M HCl or 4 M NaOH) to the indicated pH. Arrows indicate wavelengths for optimal ratiometric analysis. b pH dependence of 560/430 nm ratio, fitted to curve: pH = 8.35 + log((10.9 – ratio))/(ratio – 0.0392)). c Controlling equilibrium pH by varying pCO2 and [HCO3] in DMEM (D7777) supplemented with 10% FBS and 1% PS. Dashed line plots Eq. 1. Continuous line is best fit to Eq. 3 (corrected version of Eq. 1), which accounts for buffering by serum (best fit: 1.11 mM pH−1). Inset replots the data at low [HCO3]. d Empirical determination of intrinsic buffering capacity of DMEM (D7777; 10% FBS/1% PS, 25 mM glucose) nominally lacking buffers; titration with either HCl or NaOH. Inverse of slope  provides an estimate of buffering due to serum proteins and media salts. All measurements were repeated three times (three technical replicates each). Data are shown as mean ± SEM

Setting medium pH by pCO2 and [HCO3 ]

In principle, it is possible to control pH with one of many commercially available buffers, but the most physiologically relevant one is CO2/HCO3. Incubators maintain a CO2-rich atmosphere (typically 5%) to enable CO2/HCO3 buffering. A salt of HCO3 must be included in the  medium to balance the spontaneous H+-yielding CO2 hydration reaction, and stabilize pH:

$${\mathrm{CO}}_{\mathrm{2}}\left( {{\mathrm{gas}}} \right)\rightleftarrows{\mathrm{HCO}}_{\mathrm{3}}^{\mathrm{ - }}\left( {{\mathrm{aq}}} \right){\mathrm{ + H}}^{\mathrm{ + }}\left( {{\mathrm{aq}}} \right).$$
(2)

Conveniently, pH can be titrated in the range between ~6 and ~8 by varying the concentration of HCO3. Figure 1c plots the relationship between pCO2, [HCO3] and pH measured in DMEM (D7777, Sigma-Aldrich) containing 10% FBS and 1% PS. To keep osmolality constant, any reduction in NaHCO3 was matched by a compensatory rise in NaCl. Over the alkaline range, pH reported by PhR is in very close agreement with the prediction of the Henderson–Hasselbalch equation (Eq. 1), consistent with CO2/HCO3 being the dominant buffer (pKa = 6.15; CO2 solubility 0.024 M atm−1, i.e. 1.2 mM in 5%)7. However, at low [HCO3], Eq. 1 underestimates pH. This discrepancy arises because the so-called ‘intrinsic’ buffers in medium (such as proteins included in serum) react with H+ ions generated by CO2 hydration, pushing the equilibrium (Eq 2) towards a higher [HCO3] and lower [H+], that is, a less acidic medium. This correction is derived mathematically in the Supplementary Note. Thus, the concentration of HCO3 required for attaining a target pH is:

$$\left[ {{\mathrm{HCO}}_3^ - } \right] = \left[ {{\mathrm{CO}}_2} \right] \times 10^{{\mathrm{pH}}_{{\mathrm{target}}} - 6.15} + \beta _{\mathrm{intrinsic}} \times \left( {{\mathrm{pH}}_{{\mathrm{target}}} - 7.4} \right).$$
(3)

By best fitting the data to this equation, intrinsic buffering (βintrinsic) was estimated to be 1.1 mM pH−1. Alternatively, βintrinsic can be measured empirically from the response of pH to the step-wise addition of acid or base (1.6 mM pH−1; Fig. 1d).

Stability of CO2/HCO3 buffering

In most instances, media are prepared to a neutral or alkaline pH, and over this pH range, the Henderson–Hasselbalch equation (1) is adequate for predicting equilibrium pH. However, the robustness of Eq. 1 depends on the accuracy of pCO2 and [HCO3] measurements. In many instances, it may be appropriate to assume that the amount of HCO3 salt added to a medium accurately predicts the final concentration of base; however, some formulations contain weak acids that react with HCO3 salts. Under these circumstances, Eq. 1 will underestimate pH, and therefore direct pH measurements are advocated. For example, the addition of 22 mM of NaHCO3 to media supplemented with lactic acid will not produce the expected pH of 7.4 due to the titration reaction (Fig. 2a). If, instead, media contained a salt of lactic acid (e.g. Na-lactate), then the acid-titration reaction with HCO3 will not take place, and Eq. 1 adequately approximates pH (Fig. 2a). The difference in behaviour between lactic acid and its conjugate base can be explained in terms of equilibria:

$${\mathrm{Lactic}}\,{\mathrm{acid\rightleftarrows Lactate + H}}^{\mathrm{ + }}.$$

Around neutral pH, this equilibrium is shifted far to the right. After dissolving a lactate salt, only a tiny fraction of lactate will protonate, thus the change in pH is negligible. In contrast, lactic acid added to a medium undergoes near-complete deprotonation, which reduces pH.

Fig. 2
figure 2

The control and stability of pH in CO2/HCO3-buffered medium. a Effect of increasing [lactic acid] or [lactate] on equilibrium pH of medium (DMEM D5030) with 22 mM NaHCO3 (10% foetal bovine serum (FBS), 1% penicillin–streptomycin (PS)) placed in 5% CO2. b Effect of metabolic lactic acid production by DLD1 cells (seeding density 4,000 cells per well, growth area 0.32 cm2 per well) on the pH of medium (DMEM D5030; 10% FBS,  1% PS) containing 0–25 mM glucose (osmotically compensated with NaCl). Error bars omitted for clarity. c Effect of varying starting glucose concentration on net glucose uptake and lactate production probed on the seventh day of incubation. 90% of glucose is metabolized to lactate. d Relationship between lactate production (measured by biochemical assay) and total acid production (calculated from the pH change and buffering capacity). Slope of 1.0 indicates that medium acidification is due to lactic acid production. e Cell growth of three colorectal cancer cell lines (seeding density 4,000 cells per well, growth area 0.32 cm2 per well) measured from protein biomass (sulforhodamine B (SRB) assay) after 6 days of incubation in DMEM (D7777; 10% FBS, 1% PS, 25 mM glucose) over a range of starting pH attained by varying [HCO3] at constant 5% CO2. Data are normalized to the optimum pH derived by best fit to biphasic curve. Optimal growth is near the physiological pH of 7.4. f Effect of varying pCO2 on medium pH, mimicking the withdrawal of medium from under CO2 incubation. All experiments were repeated three times (three technical replicates each). Data are shown as mean ± SEM

Physiologically, a principal source of lactic acid is glycolytic metabolism (~1:1 lactate:H+ stoichiometry16), which inadvertently reduces the pH of a finite volume of medium by reacting with its HCO3 ions. An exemplar time course of medium acidification produced by DLD1 cells is shown in Fig. 2b for a range of starting glucose concentrations. Below a starting glucose concentration of ~12 mM, substrate availability is rate-limiting for lactic acid output, measured from lactate accumulation and glucose consumption after 6 days of incubation (Fig. 2c). When glucose availability was not rate-limiting (>12 mM), DLD1 cells were able to produce ~20 mM of lactic acid over a period of 6 days. The extent to which lactic acid production underpins medium acidification was determined by comparing lactate measurements with cumulative acid production:

$${\mathrm{Acid}}\,{\mathrm{produced}} = - \mathop {\sum }\nolimits( \beta \cdot \Delta {\mathrm{pH}}).$$

Here, buffering capacity (β) is the sum of intrinsic buffering and CO2/HCO3-dependent buffering (see Supplementary Note). Plotting the relationship between these two independent measurements (Fig. 2d) demonstrates that in DLD1 cells, medium acidification is entirely accounted for by glycolytic lactic acid production.

Considering the magnitude of lactic acid production, medium [HCO3] will invariably fall below starting levels during extended periods of incubation. As a pre-emptive measure, many types of media are formulated to contain 44 mM NaHCO3, an excess to provide a safety margin for adequate base. However, at 5% CO2, such media will equilibrate at pH 7.7, which is a supra-physiological level that can have untoward effects on cells6. To demonstrate the importance of physiological [HCO3], cell growth was studied at various levels of pH attained by varying [HCO3], over a period of 6 days in serum-containing medium. Cellular growth, in the presence of 10% FBS and 1% PS, was interrogated by a cytotoxicity assay based on the protein-binding probe sulforhodamine B (SRB)17. In three colorectal cancer cell lines (NCI-H747, DLD1, Caco2), growth was optimal near pH 7.4, and the effect of incubation at pH 7.7 varied, with the strongest inhibition of growth in NCI-H747 cells (Fig. 2e). The notion of an optimal pH for cell growth has been noted by others18, but the molecular mechanism behind this response is not well defined. Reduced proliferation at pH >7.4 may, for instance, relate to excessive debinding of H+ ions from sensors and ‘ionic trapping’ of lactate in alkaline cytoplasm.

Another factor that may contribute towards pH instability relates to pCO2. In vivo, most mammalian cells will be exposed to a tightly regulated pCO2, which helps maintain pH homeostasis. By analogy, feedback circuits in incubators are designed to keep pCO2 constant. This environmental constancy is, however, not always possible with cultured cells, as various protocol steps may require transfers between atmospheres of different pCO2 (e.g. in and out of an incubator). There are two implications of this. First, a medium that had been titrated in a CO2-free atmosphere (e.g. at the bench) will acidify upon placement in a CO2 incubator6. Second, data collected from cells that had been withdrawn from an incubator may be influenced by the abrupt rise in pH6. This issue could be addressed by minimizing CO2 loss from the medium (e.g. by enclosing the culture dish in a regulated atmosphere), or by superfusing with solutions pre-equilibrated with 5% CO2. The loss of CO2 from a medium can be tracked using the time course of alkalinization evoked when HCO3-containing media equilibrated at 5% CO2 is transferred into a CO2-free atmosphere (Fig. 2f). The small volume of media contained in 96-well plates begin to alkalinize immediately, with a time constant of 2–3 h. The reverse reaction has a time-constant of 45 min, indicating that freshly prepared media may require an hour to equilibrate inside a CO2 incubator.

Effect of NVBs on the stability of medium pH

The perceived drawbacks of CO2/HCO3, namely its volatility and weaker buffering at low pH, have led to the use of exogenous NVBs such as HEPES, PIPES and MES19. It is crucial that the preparation of media containing such buffers carefully considers the CO2/HCO3 equilibrium, which takes place under CO2 incubation. NVB-buffered medium titrated ‘at the bench’ to a target pH will invariably become more acidic upon placement in a 5% CO2 incubator. For example, bicarbonate-free DMEM buffered with 20 mM HEPES (a widely used formulation) acidifies by over half a pH unit upon exposure to 5% CO2 (Fig. 3a). Acidification was less pronounced at low pH because the concentration of HCO3 required to meet the equilibrium condition is lower. The extent of CO2 hydration could be curtailed by supplementing media with HCO3 salts. This, however, produces a two-buffer system in which pH dynamics are less intuitive to predict. To demonstrate this instability, media were prepared with 22 mM NaHCO3 and one of either HEPES, PIPES or MES. These mixtures were titrated ‘at the bench’ to near the pKa of the constituent NVB, and then promptly placed in a 5% CO2 incubator for continuous pH monitoring. Media prepared this way demonstrated a substantial degree of pH instability (Fig. 3b). The direction of pH drift is determined by two opposing chemical reactions (Fig. 3c): (i) the acidifying effect of atmospheric CO2 dissolving and reacting with the medium; and (ii) the alkalinizing effect arising from the equilibration between HCO3 ions and the NVB, a slow process that had started prior to incubation in 5% CO2. The balance between these opposing processes depends on the starting pH, and produces an array of responses that are not intuitive to predict (Fig. 3b).

Fig. 3
figure 3

pH dynamics in media prepared with non-volatile buffers without consideration of the CO2-HCO3 equilibrium. a Medium  (DMEM D7777) supplemented with non-volatile buffer (HEPES, PIPES or MES; 20 mM), 10% FBS, 1% PS, and titrated to indicated target pH (large circles). Time courses show pH dynamics (measured from PhR ratio) evoked by placing media inside 5% CO2 incubator, showing a tendency to acidify. b  Medium (DMEM D7777) supplemented with 22 mM NaHCO3 plus non-volatile buffer (HEPES, PIPES or MES; 20 mM), and titrated to indicated pH before placement in 5% CO2. Time courses show pH dynamics evoked by placing media in 5% CO2 incubator, demonstrating pH instability. c Schematic of the chemical processes that underpin medium pH drifts. d pH-dependence of Caco2 cell growth (seeding density 4000 cells per well, growth area 0.32 cm2 per well) measured from protein biomass (SRB assay) after 6 days of incubation in D7777 (25 mM glucose). Media were prepared by method A (20 mM HEPES/PIPES) or method B (20 mM HEPES/PIPES plus 22 mM NaHCO3), and placed in 5% CO2. To obtain a range of pH values, HEPES- and PIPES-buffered media were mixed in various ratios. Data are plotted as a function of assumed pH (titrated ‘at the bench’). Results compared against curve obtained with CO2/HCO3 buffer, plotted against measured equilibrium pH (data from Fig. 2e). e Experiment performed on DLD1 cells, a more pH-sensitive line. Data are shown as mean ± SD (a, b) or mean ± SEM (de). All measurements were repeated three times (three technical replicates each). Statistical tests: two-sided t test (**P < 0.01)

Poorly controlled pH, such as in the instances described above, will impinge on the accuracy and reliability of biological recordings. To illustrate this problem, the pH dependence of growth under 5% CO2 incubation was measured in NVB-buffered media prepared either with or without the addition of 22 mM NaHCO3, according to the schemes shown in Fig.  3a, b, respectively. Experiments were performed on Caco2 (Fig. 3d) and DLD1 cells (Fig. 3e), representing a weakly and strongly pH-sensitive line, respectively (see Fig. 2e). Growth, measured by the SRB assay after 6 days of culture, was plotted against the pH to which media were titrated ‘at the bench’ (i.e. the assumed pH). In line with previous studies20, PIPES was selected for acidic media and HEPES was chosen for alkaline media; to obtain a range of pH, these media were mixed in various ratios. As a control, growth was measured separately in media prepared with CO2/HCO3 in a manner that produces a predictable starting pH (Fig. 1c). If the error associated with pH instability under CO2 incubation were negligible, then the pH dependence of growth measured in NVB-buffered media would be the same, irrespective of the method of medium preparation. However, the measured pH–growth relationship was apparently different, depending on how the medium was prepared. NVB-buffered media prepared without NaHCO3 (Fig. 3a; method A) yielded an apparently steeper pH dependence of growth, compared to NVB-buffered media prepared with NaHCO3 (method B). This disparity, which was more pronounced in the strongly pH-sensitive DLD1 line, cannot be explained merely by the chemical presence of NVBs because both methods used matching concentrations of HEPES and/or PIPES. Also, the differences do not relate to inadequate [HCO3] (e.g. for supplying pH-regulating proteins) because all media inside CO2 incubators eventually accumulate HCO3 from the spontaneous hydration of CO2. Instead, the apparent shifts in pH–growth relationship relate to the pH error incurred during medium preparation. When placed inside a CO2 incubator, NVB-buffered media prepared according to method A (Fig. 3a) will undergo an acid-shift across the pH range. This has the effect of over-estimating the degree of growth inhibition at low pH. In contrast, the pH of NVB-buffered media prepared with NaHCO3 and titrated ‘at the bench’ (Fig. 3b) will converge towards pH ~7 during CO2 incubation. This produces apparently pH-insensitive growth, because the test range of pH is, in reality, narrowed. Ultimately, the error was introduced because medium pH was set in a manner that did not take into account the CO2-HCO3 equilibrium.

Notwithstanding the issues described above, there may be valid reasons to supplement media with NVBs (e.g. to limit medium acidification under long-term cell culture of highly glycolytic cell lines)20. The apparent instability of systems containing a NVB plus CO2/HCO3 (described in Fig. 3) could be addressed by modifying the protocol for preparing media. In the first step, the NVB should be added to bicarbonate-free media, and then titrated to a target level ‘at the bench’. To include CO2/HCO3 buffer, its components must be added at a concentration ratio that will be in equilibrium with the target pH (Fig. 1c). In the case of HEPES-buffered media titrated to pH 7.4, this would require the addition of 22 mM of NaHCO3 and placement in 5% CO2. Media prepared this way will equilibrate to the target pH within 2 h when aliquoted into 96-well plates (Fig. 4a). Note that the equilibration takes longer than in the experiment shown in Fig. 2f because of the resistive action of NVBs towards pH changes. Hence, it is possible to combine an exogenous buffer with physiological CO2/HCO3 to improve overall buffering capacity, and still attain a predictable pH (Fig. 4b).

Fig. 4
figure 4

Enhancing buffering capacity of CO2/HCO3-containing media with non-volatile buffers, with consideration of the CO2-HCO3 equilibrium. a Medium (DMEMD 7777, 10% FBS, 1% PS, 25 mM glucose) supplemented with non-volatile buffer HEPES and MES (10 mM), and titrated to indicated target pH (large circles). NaHCO3 then added to a concentration expected to be in equilibrium with 5% CO2 at target pH (Fig. 1c). Time course of pH equilibration under 5% CO2 from different starting levels. Repeated  three times (three technical replicates each). b Good agreement between target and measured equilibrium pH. c Time course of medium acidification in Caco2 cells (seeding density 4,000 cells per well, growth area of 0.32 cm2 per well). Media buffered with 5% CO2/22 mM HCO3, or the combination of CO2/HCO3 plus 10 mM HEPES/MES (a 19% increase in time-averaged buffering, β). Medium lactate accumulation at the end point was greater with enhanced buffering. d Experiment performed on DLD1 cells. e Experiment performed on DLD1 cells with 30 mM HEPES/MES. f Experiment repeated from a more acidic starting pH, at which 30 mM HEPES/MES is expected to provide half of total buffering. Measurements repeated four times (three technical replicates each). Statistical tests: lactate measurements tested by two-sided t test (*P < 0.05, **P < 0.01); time courses tested by two-way analysis of variance (ANOVA) (P value for the effect of buffering is stated). g Increasing buffering capacity with non-volatile buffers also increases osmolarity due to the buffer molecules and the base required for titration. Calculated [NaOH] required to titrate MES, PIPES or HEPES buffer to a target pH. h Osmolality of three different media formulations. Arrows show gap in osmolality in HCO3-free media, which can be filled with buffer and acid–base required for titration, plus additional NaCl required to bring osmolality to a physiological level. Note, in the case of medium D7777 and D1152, a total of 88 and 132 mOsm kg−1 can be added, respectively. i Free [Ca2+] measured by electrode, showing partial Ca2+ chelation by non-volatile buffers. Data are shown as mean ± SEM. Repeated three times

To test how additional buffering affects the time course of medium acidification, Caco2 or DLD1 cells were cultured in CO2/HCO3-buffered DMEM supplemented with 10 mM HEPES and 10 mM MES, prepared as described in Fig. 4a. This combination of two NVBs adds a constant buffering capacity over the pH range 6 to 8, making it easier to identify biological effects in media undergoing acidification. Somewhat paradoxically, 10 mM HEPES/MES did not meaningfully reduce medium acidification (Fig. 4c, d), despite the obvious increase in buffering power. However, the enhanced buffering was found to increase lactate production, implying a greater collective glycolytic rate. The resulting pH time course was unaffected, because the augmented buffering capacity was cancelled out by the stimulated metabolic acid production, which can be expressed mathematically as:

$${\mathrm{Change}}\,{\mathrm{in}}\,{\mathrm{medium}}\,{\mathrm{pH}} = - \frac{{{\mathrm{lactic}}\,{\mathrm{acid}}\,{\mathrm{production}}}}{{{\mathrm{buffering}}\,{\mathrm{capacity}}}}.$$

These observations can be explained in terms of the inhibitory feedback of acidity on metabolic rate21,22,23. Augmented buffering reduces the degree of medium acidification, which is permissive for a higher metabolic rate. As expected from a simple pH-operated feedback circuit, the ensuing pH time course will follow an unchanged trajectory. When the experiment was repeated on DLD1 cells using a much higher (30 mM) concentration of HEPES/MES, lactate production was still stimulated, but not to a degree that would offset the increase in buffering (Fig. 4e). The effects of 30 mM HEPES/MES become more evident when starting pH is reduced (i.e. when CO2/HCO3 buffering is weaker) (Fig. 4f). Thus, it is possible to curtail medium acidification with 30 mM HEPES/MES, but less than anticipated from its buffering capacity per se. Whilst these observations should not be generalized to all cells, they emphasize the importance of making confirmatory measurements of pH, and taking into consideration the biological responses to increased buffering, such as metabolic stimulation.

Two additional precautions must be taken when using NVBs. The first issue relates to the titration of these buffers with acids (e.g. HCl) or bases (e.g. NaOH), which introduces additional osmolytes (Na+, Cl) into the medium (Fig. 4g). The build-up of osmolytes can be substantial, for example, the addition of 20 mM HEPES and titration to pH 7.4, introduces ~30 mOsm kg−1 of additional osmolytes (i.e. excess of ~10%). A major increase in osmolality would lead to cell shrinkage, changes in membrane tension and potentially a myriad of downstream effects24. Indeed, supra-physiological osmolality is likely to influence the results of the experiment shown in Fig. 4e, f. Some media formulations are available without buffers, giving some leeway for adding extra osmolytes within physiological limits. For example, a total of 88 mOsm kg−1 of additional osmolytes can be added to HCO3-free medium D7777 (Sigma-Aldrich) for the final solution to attain the same osmolality as ready-to-use medium D5796 (Sigma-Aldrich) (Fig. 4h). The second issue to consider relates to the binding properties of buffers. Although NVBs are primarily chelators of H+ ions, they also show modest affinity for Ca2+ ions. Lower [Ca2+] reduces the driving force for Ca2+ entry into cells and hence the state of Ca2+ signalling cascades25. Solutions containing 20 mM HEPES, PIPES or MES will reduce Ca2+ by ~10–15% (Fig. 4i). Whilst this may not have a paramount effect on Ca2+-dependent properties, it will contribute towards increased noise and weaker statistical power. This issue could be avoided by adding CaCl2 to compensate for the chelation.

High-throughput analysis of intracellular pH

A fundamental reason why changes in medium pH (controlled or unwarranted) can influence cellular physiology is because intracellular pH (pHi) responds to changes in extracellular pH (pHe). This coupling arises because the proteins that regulate pHi are also sensitive to pHe, and a re-balancing of transmembrane acid–base fluxes alters steady-state pHi. A major contributor to these acid–base fluxes are HCO3 transporters, which are active only in the presence of CO2/HCO3 buffering8,26. Thus, an assessment of the effects of medium pH and buffering regime on cell behaviours should consider actions mediated through changes in pHi. Plate-based imaging platforms allow high-throughput fluorescence measurements that can capture the population distribution of pHi in a monolayer. These pHi data can be obtained by loading cells with pH-sensitive fluorescence dye cSNARF127. To identify the centroids of cells, nuclei can be stained with Hoechst-33342, which is spectrally resolvable from cSNARF1. After a period of loading (10 min) and wash-out in dye-free media, stacks of images were collected, corresponding to 447 nm fluorescence excited at 377 nm (Hoechst-33342) and of 590 and 640 nm fluorescence excited at 531 nm (cSNARF1) (Fig. 5a). Offline, the pHi in individual cells was inferred from the cSNARF1 fluorescence probed around nuclei, identified by particle analysis of Hoechst-33342 images. After ratioing background-subtracted fluorescence at 590 and 640 nm, pHi can be sampled individually for each cell (Fig. 5a). An example of a suitable code, written as a MATLAB script, is included as Supplementary Code 1. This approach was first applied to generate a calibration curve with the nigericin method28, in which cells are incubated in solutions containing 100 µM nigericin (a H+/K+ ionophore), 140 mM KCl (to balance intracellular K+), 0.5 mM EGTA, 1 mM MgCl2, 10 mM MES (for pH <7) or 10 mM HEPES (for pH >7) titrated to a desired target pH in a CO2-free atmosphere. The calibration curve shown in Fig. 5b was determined in CO2-free conditions, and the best-fit equation can be applied to convert measured fluorescence ratio into pH for cells under various test conditions.

Fig. 5
figure 5

Effects of buffering regime and medium pH on intracellular pH, measured using a high-throughput imaging method. a Monolayer of DLD1 cells imaged with Cytation 5 plate reader. Image on left shows superimposition of cSNARF1 and Hoechst-33342 fluorescence maps. Image on right shows pH in individual cells, identified by nuclear staining. b Calibration curve determined from nine colorectal cancer cell lines (LS174T, PMFKO14, LS513, HCT15, SW620, GP2D, HCT116, Caco2, RW2892; seeding density 100,000 cells per well, growth area 0.56 cm2 per well). Three technical replicates each. Best-fit curve: pH = 6.978 + log((1.497 −ratio)/(ratio − 0.221)). c Histogram of intracellular pH in Caco2 monolayers bathed in D7777-based media (25 mM glucose) at pH 7.4, buffered by either 5% CO2/22 mM HCO3, or 10 mM HEPES + MES titrated to 7.4 (CO2 free). Note the substantial alkalinization in the absence of physiological buffer. Repeated three times (three technical repeats each). d Experiment performed on DLD1 monolayers. e Effect of medium pH on intracellular pH in Caco2 monolayers. The pH of CO2/HCO3-buffered media was varied by changing [HCO3] (incubation in 5% CO2). In contrast, the pH of HEPES/MES-buffered media were titrated to target pH with NaOH at the bench (incubation in 0% CO2). Best fit: linear (CO2/HCO3) or polynomial (HEPES/MES). Note that intracellular pH is more responsive to changes in extracellular pH in the absence of physiological (CO2/HCO3) buffer. f Experiment repeated on DLD1 monolayers. Data are shown as mean ± SD. Repeated three times (three technical repeats each)

This pHi imaging approach was used to investigate the effect of CO2/HCO3 buffering on pHi. Figure 5c, d show histograms of pHi in populations of Caco2 or DLD1 cells, incubated either in media buffered with 5% CO2/22 mM HCO3 (equilibrated at pH 7.4), or CO2/HCO3-free media buffered by 10 mM HEPES and 10 mM MES (titrated to pH 7.4). In the absence of HCO3 ions, the pHi of DLD1 and Caco2 cells was shifted in the alkaline direction by 0.3 units, which is attributable to the inactivation of pHi-regulating HCO3 transporters. The direction and magnitude of this effect is likely to be cell type-dependent, and therefore not intuitive to predict. By repeating these experiments over a range of media pH, it is possible to map the pHe–pHi relationship (Fig. 5e, f). The pHi of cells was more sensitive to changes in pHe in the absence of CO2/HCO3. For example, pHi in Caco2 cells acidified by twice as much in the absence of CO2/HCO3 in response to a drop in pHe from 7.4 to 6.4 (Fig. 5e). Since the majority of H+ targets are intracellular, such buffer regime-dependent changes in pHe–pHi coupling can lead to erroneous inferences concerning the mechanisms of cell responses to microenvironmental acid–base challenges.

Discussion

Research in virtually every biomedical laboratory relies on cell culture, either to maintain cells in a state that is conducive for physiologically relevant activity or to explore the effects of controlled chemical, physical or biological influences. Cultured cells will remain an essential biological resource, offering a tractable model for characterizing pathways, recording responses and manipulating disease-related processes29. However, the translational relevance of findings borne from culture systems is critically dependent on the extent to which in vitro conditions relate to in vivo setting. Furthermore, the value of any experimental finding is determined by its reproducibility. However, 70% of scientists surveyed recently by Nature were unable to reproduce another’s experiment30, and a post-publication analysis has suggested a reproducibility rate of as little as 10% in cancer biology31. The inadequate quality of preclinical data has been linked to the high failure rate of agents progressing from in vitro validation to phase III testing, of the order of 95% in cancer research32. One factor contributing towards these outcomes has been attributed to variables relating to environmental conditions31.

Commercial sources of media offer a wide range of formulations, summarized in Fig. 6a for three major types: DMEM, MEM and RPMI-1640. Fewer than half of the available formulations contain physiological [HCO3], and a substantial number of options include media with considerably lower or higher [HCO3], which would produce acidic and alkaline conditions, respectively (Fig. 2a). Special precautions are needed with various formulations supplemented with HEPES because these may produce unexpected pH dynamics inside CO2 incubators (Fig. 3). Formulations that lack CO2/HCO3 and any major NVB provide are useful starting point for producing bespoke media (Fig. 4).

Fig. 6
figure 6

Summary of buffering regimes in commercially-available media formulations, and flow chart showing instructions for preparing media at a target pH. a Venn diagrams summarizing the commercial availability of Dulbecco’s modified Eagle’s medium (DMEM), minimum essential medium (MEM) or RPMI-1640 buffers (supplied by Sigma-Aldrich and Thermo Fisher Scientific), grouped by buffering regime. Area is proportional to the number of media available in each category. Media with physiological HCO3 and no additional non-volatile buffer are highlighted with a thick black border. HEPES-buffered media are indicated with a red outline. b Flow chart guiding through the steps required to adjust the pH of culture media. NVB: non-volatile buffer (e.g. HEPES). Target [HCO3] for a given medium pH can be calculated from Eq. 3. Total osmolality can be approximated as 2 × [NaCl] + 2 × [NaHCO3] + 2 × [KCl] + [Glucose]. See Supplementary Data 1 for further details of these steps

In a retrospective review of articles published in Nature and Cancer Research (third quartile of 2017, a period selected at random for the purpose of this analysis) reveals that only a small percentage of studies provide the necessary information about the buffering regime and pH of culture media. Three-quarters of articles published in Cancer Research and two-thirds of life science articles published in Nature present data from cultured cells. However, just under half of these articles report the manufacturer of the medium, and only a tenth give information about the buffer composition. Only a third of all studies report the pCO2 in incubators: typically 5%, although some using 10% CO2 (which then necessitates a proportional adjustment to HCO3). A significant number of studies use media containing [HCO3] outside the range 22–26 mM, producing a non-physiological pH. Among the studies that reported the use of 5% CO2, approximately one-third used classical DMEM, the underlying formulation of which contains 44 mM HCO3 (which would equilibrate to pH 7.7 in 5% CO2). Less than a tenth of studies used media supplemented with HEPES, half of which were a mixture of HEPES and bicarbonate, which are identified herein as potentially problematic (Fig. 3).

Attaining a fine degree of control over pH is realistically achievable in modern culture systems, and efforts should be made to implement the best practice in a bid to improve the accuracy, compatibility and reproducibility of measurements. The flow chart in Fig. 6b illustrates the suggested steps in setting the pH of media. Supplementary Data 1 provides further details of these steps, illustrated in a selection of media from a major supplier. Based on the observations described herein, we make the following recommendations:

Recommendation 1: CO2/HCO3 is the physiological buffer and therefore should be the preferred choice for biological research. Its use avoids possible unwarranted effects that exogenous buffers may have19, for example, longer-term toxicity33,34,35, Ca2+ binding (Fig. 4i) or glycolytic stimulation (Fig. 4c–f). Including CO2 as part of the buffering regime also establishes a more realistic transmembrane [CO2] gradient for those cells that generate CO2. Additionally, the presence of HCO3 ions activates essential membrane transport processes responsible for cellular pH homeostasis8,26. This influences steady-state intracellular pH and its sensitivity to changes in extracellular pHe (Fig. 5c–f), an important transduction mechanism by which medium pH modulates cellular behaviours.

Recommendation 2: media exposed to an atmosphere enriched in CO2 must include an appropriate concentration of HCO3 salt in order to stabilize at the required pH. CO2/HCO3 is unusual among buffers because its acidic component is a gas. Consequently, precautionary measures are warranted when handling CO2/HCO3-buffered media in open chambers to avoid the loss of gas, and hence alkalinization. Whilst this chemical peculiarity is desirable in vivo because it allows the lungs to regulate buffering, it poses a challenge for experiments involving changes in ambient pCO2. Media that are to be exposed to a raised pCO2 (e.g. inside a CO2 incubator) must contain a salt of HCO3 in order for the buffer to promptly stabilize at a predictable pH. Conveniently, medium pH could be set by changing the ratio of pCO2 to [HCO3] (Fig. 1c). When taking readings outside CO2 incubators, it is important to consider the pH dynamics associated with abrupt shifts in pCO2. The pH of media in small volumes (e.g. 200  µL) will begin to rise immediately when removed from a CO2 incubator, and may require hours to attain the new equilibrium. Conversely, when preparing media for incubation, adequate time should be allowed for equilibration inside a CO2 incubator. This mitigates the risk of an unwarranted transient alkaline stimulus imposed on cells by an out-of-equilibrium medium.

Recommendation 3: media supplemented with non-volatile buffers  may have unstable pH if these are prepared without consideration of the CO2-HCO3 equilibrium. For periods outside CO2 incubators, non-volatile buffers can be used to stabilize pH, provided that HCO3 salts are not included (to match the absence of CO2). Conversely, for experiments involving CO2 incubation, non-volatile buffers should not be used in lieu of HCO3, as this results in media becoming more acidic than anticipated. If there is a good biological reason to supplement physiological CO2/HCO3 with a non-volatile buffers, the medium should first be prepared with the non-volatile buffers, titrated to the target pH, and then supplemented with a combination of CO2 and HCO3 that is expected to be at equilibrium with the target pH. Some ready-made media, containing mixtures of several buffers, may not be compatible with this sequence, and thus yield unstable pH dynamics under CO2 incubation. Additionally, when preparing bespoke media with non-volatile buffers, changes in free [Ca2+] and total osmolality must be considered to avoid non-physiological conditions.

Recommendation 4: reporting standards must provide adequate information about the buffering regime. This should include a description of buffer composition, CO2 partial pressure and, in the case of bespoke media, the steps involved in preparing media.

Methods

Cell lines and culture conditions

Human colorectal adenocarcinoma cells Caco2, DLD1 and NCI-H747 cells were obtained from Prof. Walter Bodmer’s collection at the Weatherall Institute of Molecular Medicine (University of Oxford, UK). Caco2 and DLD1 cells were cultivated in DMEM (Life technologies, Cat. No. 41965-039) supplemented with 10% FBS (Sigma-Aldrich) and 1% PS (100 U mL−1 penicillin, 100 µg mL−1 streptomycin; Sigma-Aldrich). NCI-H747 cells were cultivated in RPMI-1640 (Thermo Fisher Scientific, Cat. No. 21875-034), in 5% CO2 and at 37 °C. Alternatively, cells were treated with media based on NaHCO3-free DMEM (Sigma-Aldrich, Cat. No. D7777), supplemented with various concentrations of NaHCO3, NaCl, HEPES, PIPES or MES, as indicated in figure legends or NaHCO3 and glucose-free DMEM (Sigma-Aldrich, Cat. No. D5030) supplemented with various concentrations of glucose and NaCl, as indicated in figure legends. Lines were authenticated by  single nucleotide polymorphism (SNP)-based profiling and tested routinely for mycoplasma contamination.

Monitoring medium pH using absorbance

Medium pH was measured by PhR absorbance at 430 and 560 nm using Cytation 5 imaging plate reader (Biotek) equipped with a CO2 gas controller (Biotek). Measurements were taken from 200 µL medium in clear, flat-bottom 96-well plates (Costar) with lids at 37 °C. Media were based on NaHCO3-free DMEM (Sigma-Aldrich, Cat. No. D7777), supplemented with 10% FBS, 1% PS and various concentrations of NaHCO3, NaCl, HEPES, PIPES or MES, as indicated in figure legends. Alternatively, media based on NaHCO3-free, glucose-free DMEM (Sigma-Aldrich Cat. No. D5030) supplemented with 10% FBS, 1% PS and various concentrations of glucose and NaCl, as indicated in figure legends was used.

Cell growth analysis using SRB

Cells were plated in triplicates at densities of 4,000 cells per well in clear, flat-bottom, 96-well plates with a growth area of 0.32 cm2 per well (Costar). The following day, the medium was replaced with 200 µL DMEM (Sigma-Aldrich, Cat. No. D7777), supplemented with  10% FBS, 1% PS and various concentrations of NaHCO3, NaCl, HEPES, PIPES or MES, as indicated in figure legends. Alternatively, media based on NaHCO3-free, glucose-free DMEM (Sigma-Aldrich Cat. No. D5030) supplemented with 10% FBS, 1% PS and various concentrations of glucose and NaCl, as indicated in figure legends was used. Cells were cultured for 6 days and pHe was monitored on each day using PhR absorbance. After 6 days, the cells were fixed using 10% trichloroacetic acid at 4 °C for 60 min. Afterwards, they were washed with H2O four times, and stained with SRB (0.057% in 1% acetic acid) for 30 min. Residual SRB was removed by washing four times with 1% acetic acid. SRB was then dissolved in 10 mM Tris base. SRB absorbance was read at 520 nm absorbance using Cytation 5 imaging plate reader (Biotek).

pHi measurements

Cells were plated in triplicate at 100,000 cells per well in black wall, flat coverslip bottom µ-plate 96-well plates with a growth area of 0.56 cm2 per well (Ibidi) and were left to attach overnight. They were then incubated in media supplemented with cSNARF1-AM (5 µg mL−1, Molecular Probes) and the nuclear stain Hoechst-33342 (10 µg mL−1, Molecular Probes), for 10 min, and then replaced with dye-free medium (twice). Images of fluorescence excited at 377 nm and collected at 447 nm (Hoechst-33342), and of fluorescence excited at 531 nm and collected at 590 nm and 640 nm (cSNARF1), were acquired using Cytation 5 imaging plate reader and its bespoke software. For media buffered with CO2/HCO3, measurements were performed in an atmosphere of 5% CO2, established in the plate reader. Further analysis of the population distribution of pH data was performed with a MATLAB script (Supplementary Code 1).

Lactate and free calcium measurements

Free lactate and calcium concentrations were determined using ABX Pentra 400 (Horiba) from 150 µL aliquots of medium.

Reporting summary

Further information on experimental design is available in the Nature Research Reporting Summary linked to this article.