An electric pruner includes a housing, a motor accommodated within the housing, a transmission mechanism, a movable blade, and a fixed blade extending from the front end of the housing. The fixed blade is fixedly mounted on the housing, and the movable blade is rotatably connected to the fixed blade via a shaft and driven by the motor via the transmission mechanism. A locking device manually operable by the user is arranged n the shaft for locking the movable blade, the locking device being switchable between a first position where the movable blade is locked to stay connected with the transmission mechanism and a second position where the movable blade is releasable from the transmission mechanism. Thus, the replacement of the movable blade is very simple and convenient.