The invention discloses a rapid and automatic determination method and device for tripolycyanamide content in dairy products, belonging to the field of food analysis. The method comprises the following steps that: in a unit (A) under an operating procedure, a first step, a multifunctional valve is in a state I, a pump A rotates, a pump B stops, a first sample flows into a column 2 for enriching tripolycyanamide, and the eluent flows into a column 1 for regenerating tripolycyanamide; a second step, the pump A stops, the pump B rotates, the cleanout fluid flows into the column 2 for cleaning the impurities therein; a third step, the multifunctional valve is switched to a state II, eluent flows into the column 2 for eluting and regenerating tripolycyanamide; the tripolycyanamide in the column 2 is substituted by the eluent and directly enters into a sampling ring of a unit (B) in the form of a sample plug, so as to perform volume quantification, injection, re-separation and detection, and a response signal is processed by a computer; and meanwhile, a second sample enters into the column 1 for enrichment, and the process of the column 2 is repeated. The method and the device are high in automation degree and excellent in reproducibility, and can analyze about 30 samples per hour; and the unit (A) in the invention can be used with various flow injection analysis systems.