News

How to unlock our iPhone if we have forgotten the code after changing it?

A grace period after any change.

How to unlock our iPhone if we have forgotten the code after changing it?

David Bernal Raspall

  • October 15, 2023
  • Updated: July 2, 2025 at 12:58 AM
How to unlock our iPhone if we have forgotten the code after changing it?

In the digital age, security is essential. Our devices store very valuable and personal information, and protecting that information has become a priority. That’s why we set up a passcode on our iPhones. A passcode that we can change regularly and, after changing it, we might forget. Fortunately, the situation has a solution. Let’s see, then, how to unlock our iPhone if we have forgotten the passcode after changing it.

Apple Support DOWNLOAD

A grace period for the first few days with a new passcode

With the arrival of iOS 17 and iPadOS 17, Apple has introduced a truly useful feature: a grace period of 72 hours after changing the passcode. If we have recently changed the passcode of our iPhone or iPad and forget it, now we have up to three days to use the old passcode and regain access.

How? Very easy. If we enter an incorrect passcode, simply touch the “Forgot Passcode?” option at the bottom of the screen, which allows us to use the “Try Passcode Recovery” option using our old passcode to set up a new one.

Furthermore, the feature also considers the following scenario: What if we are changing the passcode to prevent someone who knew the old one from accessing the device? Apple has thought of this and offers a function called “Expire Previous Passcode Now.” With this feature, our old passcode will no longer be valid, thus ensuring an additional layer of security. Expiring the previous passcode is as easy as following these steps:

  1. Open the Settings app on our iPhone or iPad.
  2. Go to Face ID & Passcode or Touch ID & Passcode.
  3. Tap on “Expire Previous Passcode Now.”
  4. Confirm by selecting “Expire Now.”
Apple Support DOWNLOAD

With this, iOS 17 has made the process of regaining access to our device after a passcode change easier and more secure. Considering always choosing a secure, preferably alphanumeric passcode, changing the passcode is, pun intended, safer than ever before.

Latest Articles

Loading next article