In agriculture, the human urine could have been used as a natural fertilizer, although there are some problems with the direct utilization, such as the presence of micropollutants in urine, odour and storage of large volume of urine. Therefore, nutrients, such as nitrogen, can be recovered from urine. Continuous flow laboratory membrane reactor was built to investigate nitrogen recovery from wastewater and from human urine. Membrane gas separation method has not been investigated for ammonia recovery from human urine yet. Nitrogen as ammonia gas was recovered in acid using Zeus Aeos™ ePTFE gaspermeable hydrophobic membrane. Acid flux, operating pH, hydraulic retention time and effective membrane surface were experimentally determined. The aim of this work was to verify wastewater experiments in professional flowsheet environment, rigorously modelled with ChemCAD and optimized by dynamic programming optimization method: the membrane separation. Such nitrogen recovery membrane separation has not been published in this professional flowsheet environment yet. The objective function of the process is the ammonia harvesting efficiency. Eighty-five percentage ammonia harvesting efficiency can be reached with 60 membrane surface area/reactor volume ratio, at 35 °C feed temperature with 350 L/m 2 h acid and in 8 h' hydraulic retention time. It can be stated that this separation method is based on physical phenomena without any biological factors. The focus for nitrogen treatment in a wastewater treatment plant is removal instead of recovery. It can be determined that this system is capable for the nitrogen recovery from wastewater, and it can reduce the ammonia content of human urine too.