This application provides a padlock, including a lock shell, a lock body main unit, a lock rod
assembly, and: a lock cylinder, installed on the lock body main unit, with the lock cylinder having a first
keyhole; a first sensor, set on the lock cylinder; an
electronic component, with a second sensor set on it, one of the first sensor and the second sensor being a
transmitter, while the other is a
receiver; a fixing
assembly, including a fixing piece and an elastic piece, the
electronic component having a first fixing hole, both the fixing piece and the elastic piece placed within the first fixing hole, one end of the elastic piece abutting against the bottom of the first fixing hole, the other end of the elastic piece abutting against one end of the fixing piece, the lock shell having a second fixing hole, the other end of the fixing piece protruding from the
electronic component and placed within the second fixing hole; an alarm component, electrically connected to either the first sensor or the second sensor. Through the setup of the first sensor, second sensor, and alarm component, this application can promptly alert the user when the padlock is being tampered with, improving anti-theft performance.