The invention discloses a portable flour multi-quality detector based on near infrared and a detection method. The detector comprises a case, and a power supply, a light source module, a spectrum acquisition module and a control processing module which are arranged on the case, the light source module comprises a detection accessory, the detection accessory comprises an objective table, a light source seat, a light source cover, a sample reference box, a reflecting cover, an optical fiber collimating mirror, a height adjusting mechanism and a halogen lamp bead; the spectrum acquisition modulecomprises a spectrograph, and the spectrograph is connected with an optical fiber collimating mirror through an optical fiber; the control processing module comprises a circuit board, an embedded computer and a liquid crystal display screen, the embedded computer is connected with the halogen lamp beads through the circuit board, the spectrograph is connected with the embedded computer, and the embedded computer is connected with the liquid crystal display screen. The detector is compact in structure, complete in function, light, handy, portable, high in universality, capable of moving everywhere, simple in detection method, capable of effectively detecting whether the moisture value and the DON value of a sample exceed the standard or not and high in detection precision.