Precipitation of struvite (MgNH4PO4) is a known process for purification of wastewater from high concentrations of ammonium. The optimal conditions for precipitation are basic pH (around 9) and sufficient concentrations of magnesium and phosphate ions. In this work, we accomplished efficient precipitation of ammonium from concentrated industrial waste stream by using magnesium oxide (MgO) both as a source of magnesium ions and as a base. Best results were obtained with technical-grade MgO, which provided 99% removal of ammonium. Moreover, ammonium removal occurred already at pH 7, and the residual ammonium concentration (50 mg/L) remained constant upon addition of more MgO without rising again, as occurs with sodium hydroxide (NaOH). This process may have two other advantages; it also can be relevant for the problem of uncontrolled precipitation of struvite in the supernatant of anaerobic sludge treatment plants, and the precipitate can be used as a fertilizer.