Skip to main content
Chemistry LibreTexts

Temperature Dependence of pH in Solutions

Typically, the pH of solutions will change as temperature changes. The reasons why depend on the context, but even a simple solution of a weak acid (HA) will exhibit a (weak) temperature dependence.

Basis of Dependence

The pH is given by the Henderson-Hasselbalch approximation:

\[pH = pK_a + \log{ \dfrac{[A^-]}{[HA]}} \tag{1}\]

where \(K_a\) is the equilibrium constant for the acid dissociation reaction

\[ HA \rightleftharpoons H^+ + A^- \tag{2}\]


\[K_a = \dfrac{[H^+][A^-]}{[HA]} \tag{3a}\]


\[pK_a = -\log{K_a} \tag{3b}\]

As with all equilibrium constants, \(K_a\) is a function of temperature, since it is related to the Gibbs free energy of reaction (\(\Delta{G}\)) by the equation:

\[\Delta{G} = - RT \ln{K_a} = -2.303 RT \log{K_a} = 2.303 RT \; pK_a \tag{4}\]


\[ pK_a = \dfrac{\Delta{G}}{2.303 \;RT} \tag{5}\]

and \(\Delta{G}\) is itself given by (under constant pressure and temperature)

\[\Delta{G} = \Delta{H} - T \; \Delta{S}  \tag{6}\]


  • \(\Delta{H}\) is the enthalpy of reaction and
  • \(\Delta{S}\) is the entropy of reaction.

Combining these, we get

\[pK_a = \dfrac{\Delta{H}}{ 2.303 \; RT} - \dfrac{\Delta{S}}{2.303\; R} \tag{7}\]

Assuming that \(\Delta{H}\) and \(\Delta{G}\) are approximately independent of temperature \(T\) (which is not a bad approximation over a narrow temperature range), then the variation with temperature is determined exclusively by the sign of \(\Delta{H}\).

  • Endothermic dissociation: If \(\Delta{H} > 0\), then \(pK_a\) gets smaller as the temperature gets larger; this results in an increase in \(K_a\), which means that the reaction favors dissociation more as temperature increases (in agreement with Le Châtelier's principle). This increases \([H^+]\) and decreases the pH.
  • Exothermic dissociation: If \(\Delta{H} > 0\), then the opposite effect will be observed.

Either way, we expect the pH to depend on temperature (unless If \(\Delta{H} = 0\). These arguments can be extended to strong acids too. Things get complicated when there are multiple chemical reactions. Biological systems can use enzyme-catalyzed reactions to keep the pH constant even when T varies (within limits, of course).

Weak Dependence

The general equation for the change of an equilibrium constant is:

\[\dfrac{d(\ln(K_{eq}))}{dT} = \dfrac{\Delta{H}}{RT^2} \tag{8}\]


  • the "d's" mean the change in the natural log of Keq,
  • the temperature \(T\) in Kelvin,
  • \(\Delta{H}\) is the heat of reaction (change of enthalpy),
  • and \(R\) is the gas constant.

Since pH is already a "log" function of \(K_{eq}\) and the change in \(K_{eq}\_ is again a "log" function of the heat of reaction, \(\Delta{H}\) the change in pH is not a very sensitive function of temperature. In addition, the heat of the ionization reaction \(\Delta{H}\) for weak acids (partially dissociated) like acetic acid, formic acid etc. is very small. To a reasonable approximation for such acids, \(\Delta{H}\) is less than 1-2 kcal per mol, which is very small. So pH does not change greatly with temperature. More details can be found in an article in the Journal of Chemical Education, Vol. 48,pg.338, 1971.

Temperature Dependence of pH for Commonly Used Buffers

The apparent \(pK_a\), and therefore the pH, of any buffer are temperature dependent. Consequently, the pH of prepared concentrated buffer solutions will change with temperature.

Buffer System \(pK_a\)/20°C \(\Delta{pK_a}\) /10°C
MES 6.15 –0.110
ADA 6.60 –0.110
PIPES 6.80 –0.085
ACES 6.90 –0.200
BES 7.15 –0.160
MOPS 7.20 –0.013
TES 7.50 –0.200
HEPES 7.55 –0.140
Tricine 8.15 –0.210
Tris 8.30 –0.310
Bicine 8.35 –0.180
Glycylglycine 8.40 –0.280

Reference: Good, N.E. (1986) Biochemistry 5 ,467.


  1. Journal of Chemical Education, Vol. 48,pg.338, 1971.