A personal unblocking key (PUK), sometimes called personal unblocking code (PUC), is used in SIM cards to reset a personal identification number (PIN) that has been lost or forgotten.
Most mobile phones offer the feature of PIN protection. After switching on the phone, if the PIN security function is active, the user is required to enter a 4-8 digit PIN to unlock the SIM card and connect to the mobile network. Without this, functions such as phone calls (except for emergency calls), text messages and mobile data will not be available. If the wrong PIN is entered more than three times, the SIM card will become locked. It can be unlocked by entering the PUK code provided by the mobile service provider,[1] which may be available on the SIM card's packaging, the contract, or provided by customer service after identity verification. After the PUK code is entered, the PIN must be reset. If the wrong PUK is entered ten times in a row, the SIM card will become permanently blocked and unrecoverable, requiring a replacement. Mobile phone users are therefore advised by most providers to keep their PUK written down in a safe place separate from the device.