The objectives of this study are to make a biosensor on a trial basis which can instantaneously measure the nitrogen in wastewater, and to develop a wastewater treatment system which is capable of on-line measurement and controlling. The system provides easier operational control relating to such a high efficient treatment as the removal of nitrogen content in wastewater, serving as a solution to the eutrophication problem. It can be applied also to the analysis of fertilizer components for agriculture. Ammonia oxidizing bacteria were immobilized with cellulose acetate film, which is mounted on a diaphragm type oxygen electrode to make a sensor, and its responsibility was studied. The gradient is slow in high concentration but sharp in low concentration, and it seems possible to use it for the measurement for less than 20 ppm nitrogen concentration. The dependence of the sensor including electrodes and activity of bacteria on temperature is large, and the measurement should be made at a constant temperature. The responsibility was best at the pH of 9. The sensor could be used repeatedly for about a month. 7 refs., 10 figs., 1 tab.