The invention provides a hull cleaning mechanism of wall climbing robot. The hull cleaning mechanism includes a u-shaped plate, a conduit, bolt, a horizontal pipe, a positioning lever, a mounting plate, a suction head, a front cover, a collecting box, a spring and a contact switch. The U-shape plate is welded on the right end surface of the mount plate, the conduit is arranged on the low end of the suction fan, the low end of the conduit extends into the U-shape plate, the bolt is mounted on the right end face of the U-shaped plate, the left end of that bolt is attached to the scraper plate, the lateral tube is fixed on the lower end surface of the conduit, the scraper is arranged on the positioning lever, the locate rod is welded on that left end surface of the U-shape plate, the mount plate is welded on the right end surface of the wall climbing robot body, the suction head is arrange on that lower end surface of the horizontal pipe, the front cover is arranged on the front end surface of the box body through a hinge, the collecting box is arranged on the upper end of a pressing plate, the pressing plate is arrange in the box body through a spring, and the contact switch is fixedon the lower end surface of the box body. The design is convenient to use, is convenient to replace a scraper, is convenient to collect dust, and is convenient to alarm and remind an operator to process.