The invention relates to the technical field of waste treatment, and discloses medical waste treatment equipment with a cleaning function. The equipment comprises a box body, wherein a transmission mechanism is arranged on the right side of the box body, two sliding blocks are welded on the inner wall of the box body, the right side of the box body communicates with a feeding pipe, the feeding pipe is positioned below the transmission mechanism, a sliding block is slidably connected to the inner wall of the rear portion of the box body, an electromagnet is fixedly installed on the rear portion of the box body, a purification mechanism is arranged on the front portion of the box body, a first smashing roller and a second smashing roller are rotatably connected to the inner wall of the box body, a treatment box is fixedly installed on the bottom wall inside the box body, and an inclined block is welded to the top of the treatment box. According to the equipment, cleaning liquid is injected into the feeding pipe, and then the inner wall of the treatment box can be automatically cleaned through the transmission mechanism, so that manual cleaning by workers is not needed, the risk of contact infection is reduced, and the working efficiency is further improved.