Why Does pH Change During the Day and Night?
The diurnal (daily) change in pH in reef aquaria comes about because of the biological processes of photosynthesis and respiration. Photosynthesis is the process whereby organisms convert carbon dioxide and water to carbohydrate and oxygen. The net reaction is:
5. 6CO2 + 6H2O + light � C6H12O6 (carbohydrate) + 6O2
So there is net consumption of carbon dioxide during the day. This net consumption leads to many aquaria becoming deficient in CO[SIZE=-1]2[/SIZE] during the day, and the pH rises.
Likewise, organisms also carry out the process of respiration, where this carbohydrate is converted back into energy for other processes. In the net sense, it is the opposite of photosynthesis:
6. C6H12O6 (carbohydrate) + 6O2 � 6CO2 + 6H2O + energy
This process is happening all of the time in reef aquaria, and it tends to reduce the pH due to the carbon dioxide produced.
The net effect of these processes is that pH rises during the day and drops at night in most reef aquaria. This change varies from less than a tenth of a pH unit, to more than 0.5 pH units in typical aquaria. As is discussed in other parts of this article, complete aeration of the aquarium water to drive out excess carbon dioxide, or pull in excess carbon dioxide when deficient, will prevent the diurnal ph swing entirely. In practice that is often not attained, and there is a pH change between day and night.
In addition to aeration, the amount of chemical buffering in the water will impact the magnitude of the pH swing. Higher carbonate alkalinity leads to a smaller pH swing as the combination of carbonate and bicarbonate buffer against pH changes. Boric acid and borate also buffer against pH changes. Both of these buffer systems have more capacity at high pH (8.5) than at low pH (7.8), so aquarists with lower pH may see a larger pH swing for that reason alone.