Formation
(1) Primarily under hydrothermal conditions in high-aluminum, often phosphate-bearing quartz veins and pegmatites under moderate temperatures and pressures.
(2) Metamorphic in quartz-rich rocks (metaquartzites) through the conversion of aluminum precursors under conditions of green schist to amphibolite facies.