An electric sprayer is provided. The electric sprayer includes a water tank and a spray device. The water tank is provided at the upper end with a sealing cover, and is provided at the front with a mounting seat, on which a motor, a pump and an electric outlet are fixed. A power supply, which is a lithium battery pack, is removably disposed on the electric outlet. The spray device is connected to a water outlet of the pump, whose water inlet is in communication with the water tank. With the technical solution of the present disclosure, the power supply is disposed in front of the water tank, which facilitates knapsack operation of the sprayer, and avoids the problem of heating the operator's back due to prolonged operation.