The invention provides a tubular NOx sensor, which includes a heating shell, a base, a diffusion barrier and a sleeve, the base includes a bottom plate and an intake pipe, the heating shell is fixed on the bottom plate and the intake pipe is inserted into the heating shell, and the diffusion barrier is fixed on the upper end of the intake pipe , the sleeve is set on the diffusion barrier, the diffusion barrier is a honeycomb coal cylinder, the base and the sleeve are made of zirconia, the outer wall of the intake pipe is provided with the lower section of the positive electrode of the main pump electrode, the lower section of the negative electrode of the main pump electrode, the lower section of the auxiliary pump electrode and Reference electrode, the sleeve is provided with the upper section of the positive electrode of the main pump electrode, the upper section of the negative electrode of the main pump electrode and the upper section of the auxiliary pump electrode, the upper section and the lower section of the positive electrode of the main pump electrode are connected, the upper section and the lower section of the negative electrode of the main pump electrode are connected, the upper section and the lower section of the auxiliary pump electrode are connected, The inner wall of the heating shell is not in contact with the intake pipe and the sleeve, and the inner wall of the intake pipe is provided with a reference electrode. The beneficial effect of the present invention is to solve the problem that the heater and the sensitive element are integrated in the existing nitrogen oxide sensor, and the leakage of the heater affects the measurement sensitivity.