Ammonium nitrogen reacts with hypochlorite and phenolic substances in a strong alkaline medium to produce water-soluble dye indigophenol blue, which has a characteristic absorption peak at 625nm, and the absorption value is proportional to the content of ammonium nitrogen.