High levels of ammonia inhibit microbial activities and lead to process instability of traditional wastewater treatment. Nitrogen recovery via ammonia stripping is the best developed method, but this approach requires large amounts of alkaline chemicals and substantial energy for stripping. In this study, we designed a simple electrochemical system that allows the facile accumulation of a neutral species of ammonia (NH3), resulting in much lower overall stripping costs. In batch operation treatment of synthetic livestock wastewater (LW), the energy efficiency for total ammonia nitrogen (TAN) migration was found to be the best at a current density of 93.8 mA cm(-2). Fed-batch operation, using synthetic or real LW, resulted in very high degrees of TAN accumulation (10,158 mg-N L-1 for synthetic and 17,704 mg-N L-1 for real LW) in catholyte after 400 min. It was found that TAN migration was responsible for 0.221 and 0.492 of total charge migration for synthetic and real LW, respectively. The nitrogen flux across a cation exchange membrane was 5975 g-N m(-2) d(-1) with an energy input of 28.2 kWh (kg-N)(-1) when using real LW. All this supported the conclusion that an electrochemical approach such as this makes it possible to achieve highly desirable ammonia recovery from wastewater in a sustainable manner. (c) 2020 Elsevier Ltd. All rights reserved.