The invention relates to an electric fan capable of reciprocating on a wall, and belongs to the field of household appliances. The electric fan comprises a fixing plate, a motor, a coupling, a rotating shaft, an electric fan body, a slide block, a screw hole, a guide rail, a guide wheel, a storage battery, a guide wheel groove, a voltage amplifying device, a single chip microcomputer and a wireless receiving device, wherein the motor is connected with the rotating shaft through the coupling, and therefore when the motor works, the rotation of the rotating shaft drives the slide block to move; when the rotating shaft rotates in a forward direction, the slide block moves rightwards, and when the slide block reaches the utmost right end, the motor stops rotating forwards and starts to rotate in a reverse direction, so that the slide block moves leftwards; when the slide block moves to the utmost left end, the motor stops rotating reversely and starts to rotate in the forward direction, and therefore a user can remotely control the electric fan through the wireless receiving device arranged inside the electric fan; the electric fan capable of reciprocating on the wall has the advantages of being capable of saving floor space and energy, environment-friendly, simple to control and particularly suitable for restaurants, station waiting rooms and other places with large human traffic.