Recovering nitrogen and phosphorus through struvite (MgNH4PO4 6H2O) crystallization from swine wastewater has gained increasing interest. However, swine wastewater contains complex compositions, which may hinder the formation of struvite crystal and affect the purity of the precipitates by forming other insoluble minerals. In this work, experiments were carried out to evaluate struvite precipitation in the anaerobically digested swine wastewater, with dosing bittern as a low-cost magnesium source. Exceeded 90% phosphate removal and 23-29% ammonium reduction were obtained. FTIR, XRD and mass balance analysis were combined to analyze the species of precipitated minerals. Results showed that the precipitates were struvite, mixed with amorphous calcium phosphate (ACP) and brucite. The presence of Ca2+ diminished the percentage of struvite and gave rise to ACP formation. Controlling pH below 9.5 and bittern dosage above 1% (w/w) could inhibit ACP precipitation and harvest a highly pure struvite crystal product.