The invention relates to a painting device, in particular to a device for uniformly painting a building. The invention aims at solving the technical problem of providing a device for uniformly painting the building with easiness operation and high painting speed. For solving the technical problem, the device for uniformly painting the building comprises a cart, a paint box, an oil pump, a hose, a sprayer, a painting device, a sliding block I, a sliding rail I, a rack, a deceleration motor and a gear, wherein the deceleration motor is arranged at the lower part of the right side of the cart, the gear is arranged at the rear side of the deceleration motor, the sliding rail I and the paint box are sequentially arranged at the top of the cart from left to right, the front side of the sliding rail I is slidably connected with the sliding block I, the right end of the sliding block I is connected with the painting device, the left end of the sliding block I is connected with the rack, the gear is matched with the rack, and the oil pump is arranged at the bottom in the paint box. The device for uniformly painting the building achieves the effects of uniformity in painting, easiness operation and high painting speed, and the building can be uniformly painted by utilizing the device provided by the invention.