The invention relates to a Baijiu taking method based on near-infrared spectrum on-line detection. The Baijiu taking method comprises the following steps of performing spectrum collecting; performingdata processing and modeling; performing modeling verifying; setting the alcohol strength content range parameter of taken Baijiu; cleaning pipelines and charging baskets; detecting alcohol with a near-infrared spectrum instrument; treating spectroscopic data, performing analysis, performing differentiation, and performing Baijiu taking; taking out Baijiu; and after test, performing cleaning. An on-line simulation Baijiu taking device comprises a detection module, a detection module processor, a raw material pot, a cleaning pot, at least five charging baskets, a main pipeline, at least five branch pipelines, a PLC, an expansion module, a PLC power supply and a valve power supply. The near-infrared spectrum instrument is used for non-destructive test, so that the problems that a mechanizedBaijiu taking system is complex, and the application scene is strict in requirements, are effectively solved, and artificial Baijiu taking versatility and flexibility can be achieved.