PROBLEM TO BE SOLVED: To provide an infusion pump that has the function of preventing a medical malpractice through the use of an alarm and the like, by detecting a continuous flow falling through a drip tube and generated by an unintended flow rate.SOLUTION: A light-emitting element and a light-receiving element are arrayed in such a manner as to face each other in the state of sandwiching a drip tube therebetween, at the height of a horizontal plane through which a drip falling within the drip tube passes. Structurally, a pair of optical axes created by the light-emitting element and the light-receiving element in the horizontal plane of the drip tube is scanned at a high speed, and the quantity of light attenuated by refraction and shading is measured by the light-receiving element when the optical axis passes through the continuous flow so as to detect the continuous flow.