The invention discloses a paper feeder for an electrocardiogram machine that can automatically feed paper. It includes a paper feeder box, a drum box and a connection box. Both are provided with a first baffle, and a second baffle is placed under the first baffle, and a telescopic assembly is installed on the outside of the first baffle and the second baffle, and the drum box is installed on the continuous The bottom of the carton, and the left side of the tumbler box is connected with a discharge box, the left opening of the discharge box is equipped with a side cover, the inner bottom of the tumbler box is equipped with a boss, and the inside of the boss Inlaid with a distance measuring sensor, the boss, the first baffle and the second baffle are all placed between adjacent to the paper cylinder, the connection box is installed on the right side of the drum box, and the connection box and the drum A rotating rod is installed at the corner of the junction of the box. According to the invention, through the cooperation of the distance measuring sensor and the controller, automatic paper replacement and paper replacement are realized, and the intelligent degree is high, and the practicability is stronger.