The invention discloses a sampling knife for food detection. The sampling knife comprises a sampling pipe, an inner pipe body, a semicircular baffle, a motor, a protective shell, a vibration motor, anairflow pipeline, an air pump, sampling holes and a rubber pad; the lower end of the sampling pipe is in threaded connection with a sampling probe; and an annular groove is formed in one side of theupper end of the sampling pipe. A traditional sampling knife needs to be shaken manually, as a result, the puncture hole of a bag container is apt to be enlarged, and cereal outflows. In order to solve the problem in the prior art, a vibration motor is adopted; the vibration motor vibrates to drive the whole sampling knife to vibrate, so that a cereal sample can smoothly flow into the sampling pipe, and will not be jammed; a motor drives a gear to rotate; the gear is meshed with a rack ring so as to rotate a rotary disc to rotate, so that the semicircular baffle can be driven to rotate to sealthe sampling holes; and with the above structure of the sampling knife for food detection of the invention adopted, the sample is effectively prevented from flowing out; and meanwhile, when the sampling knife is not used, the sampling holes can be sealed, so that external impurities are prevented from entering the sampling pipe.