Struvite readily forms in alkaline conditions where its constituent ions are present. In nature, it forms primarily in areas associated with organic matter decomposition, including guano deposits, basaltic caves, and marshlands. Similar conditions are found when human bladders are infected by urease-producing bacteria, when wastewater is treated, etc.
