The invention discloses a rat-proof device for a warehouse. The device comprises a base seat, universal wheels, a cover seat, upright columns, insulation sleeves, electric shock boards, an outer pipe,stiffeners, an inner pipe, a locking bolt, a protective cover, a supporting plate, an isolation net, a pest sticking felt, a top plate and the like. The device provided by the invention has the advantages of a reasonable and simple structure, low production costs and convenient installation, can catch rats in the warehouse to improve the efficiency of catching the rats, and can effectively reducethe number of the rats in the warehouse to achieve the purpose of preventing and eliminating the rats, thereby reducing the damage caused by the rats; the universal wheels are arranged, so that the movement performance is greatly improved, and the device is convenient for moving to various places in the warehouse; when the rats hit the electric shock boards, and the rats are directly killed, theelectric shock boards are located under the base seat to avoid human from contacting; except that the device can eliminate the rats, the pest sticking felt catches other pests, a trapping lamp captures mosquitoes, and liquid droplets dropped from a liquid chamber kill the pests; and in order to improve the stability of the entire device, pressure plates are treaded to make nail columns inserted into the ground.