The primary conditions for soil development are controlled by the chemical composition of the rock on which the soil will be. Rock types that form the base of the soil profile are often either sedimentary (carbonate or siliceous), igneous or metaigneous (metamorphosed igneous rocks) or volcanic and metavolcanic rocks. The rock type and the processes that lead to its exposure at the surface are controlled by the regional geologic setting of the specific area under study, which revolve around the underlying theory of plate tectonics, subsequent deformation, uplift, subsidence and deposition.
Metaigneous and metavolcanic rocks form the largest component of cratons and are high in silica. Igneous and volcanic rocks are also high in silica, but with non-metamorphosed rock, weathering becomes faster and the mobilization of ions is more widespread. Rocks high in silica produce silicic acid as a weathering product. There are few rock types that lead to localized enrichment of some of the biologically limiting elements like phosphorus (P) and nitrogen (N). Phosphatic shale (O) and phosphorite (> 15% PO) form in anoxic deep water basins that preserve organic material. Greenstone (metabasalt), phyllite, and schist release up to 30–50% of the nitrogen pool. Thick successions of carbonate rocks are often deposited on craton margins during sea level rise. The widespread dissolution of carbonate and evaporites leads to elevated levels of Mg, , Sr, Na, Cl and  ions in aqueous solution.