An in-situ analyzer for nutritive salt and a nutritive salt content analyzing method are disclosed. The analyzer includes a microprocessor, drive components, a multi-ported valve, an injector, a colorimetric detector, a mixing ring, a sample pipeline, a pure water bin, a standard solution bin and various agent bins. The injector, the colorimetric detector, the mixing ring, the sample pipeline, thepure water bin, the standard solution bin and various agent bins are correspondingly connected to ports of the multi-ported valve. The microprocessor is connected to a first motor driver and a firstmotor in order and is then connected to an injection pump of the injector. The microprocessor is connected to a second motor driver and a second motor in order, is then connected to the multi-ported valve, and controls a multi-ported valve port connected to the injector and other ports in the multi-ported valve to be communicated in order. The colorimetric detector is connected to the microprocessor. The analyzer can achieve continuous automatic sampling and nutritive salt content analysis, can achieve on-line analysis of a plurality of components, and has advantage of a simple structure, powerful functions, high applicability and high reliability.