Formation
(1) Secondarily in reducing, iron-rich environments through the reaction of dissolved iron(II) with phosphate from organic material under anoxic conditions in lacustrine sediments, peatlands, or marine shelf areas.
(2) As an oxidation product of iron phosphates in pegmatites or through the weathering of iron-bearing sulfides in the presence of phosphate-containing solutions.