Total soil alkalinity increases with:
* Weathering of silicate, aluminosilicate and carbonate minerals containing , ,  and ;
* Addition of silicate, aluminosilicate and carbonate minerals to soils; this may happen by deposition of material eroded elsewhere by wind or water, or by mixing of the soil with less weathered material (such as the addition of limestone to acid soils);
* Addition of water containing dissolved bicarbonates (as occurs when irrigating with high-bicarbonate waters).
The accumulation of alkalinity in a soil (as carbonates and bicarbonates of Na, K, Ca and Mg) occurs when there is insufficient water flowing through the soils to leach soluble salts. This may be due to arid conditions, or poor internal soil drainage; in these situations most of the water that enters the soil is transpired (taken up by plants) or evaporates, rather than flowing through the soil.
The soil pH usually increases when the total alkalinity increases, but the balance of the added cations also has a marked effect on the soil pH. For example, increasing the amount of sodium in an alkaline soil tends to induce dissolution of calcium carbonate, which increases the pH. Calcareous soils may vary in pH from 7.0 to 9.5, depending on the degree to which  or  dominate the soluble cations.