The utility model relates to a pipe-type full-spectrum water quality detection device, and the device comprises a spectrograph for full-spectrum acquisition, and further comprises an optical fiber-based reflective probe arranged on a pipe, a xenon lamp light source which is used for providing ultraviolet light and visible light, a cooperative work module which is used for synchronizing the light source, the spectrograph and a waterway, a controllable waterway pipe which is used for waterway control and cleaning, a constant-temperature box which is used for placing the spectrograph and the xenon lamp light source, and a data processing and display module which is used for spectral data processing and water quality index display. The invention further provides a pipe-type full-spectrum waterquality detection method. Various water quality parameters can be measured at the same time; the pipe-type installation based on an industrial field facilitates the maintenance, is strong in self-cleaning capacity, enables the probe not to be prone to pollution, and enables the spectrograph, the light source and other electronic equipment to be placed in a constant-temperature box to achieve reliable operation at the temperature of-20 DEG C to 60 DEG C; a PCA dimension reduction and BP neural network learning method is used to realize rapid and reliable measurement of a plurality of mixed substances in full spectrum data.