The invention discloses an electronic rear lock and a control method thereof. The electronic rear lock comprises a shell, a driving assembly, a shaft sleeve and a base plate, wherein a sliding groove is formed in a driven gear, a protruding rib of the shaft sleeve is contained in the sliding groove, and the protruding rib can abut against a first abutting face or a second abutting face which are oppositely arranged through rotation of the driven gear, and therefore, electric unlocking and locking can be achieved in the mode that a driving piece drives the driven gear to drive the shaft sleeve to rotate, and manual unlocking and locking can also be achieved in the mode that the shaft sleeve is manually rotated to rotate in the sliding groove under the condition that the driven gear is not moved; three sensors are arranged on the base plate, the rotating position of the driven gear can be indicated, the three sensors can indicate the unlocking position, the initial position and the locking position respectively, the state of a lock cylinder can be recognized without arranging too many sensors, and control logic is simple.