In iOS 17, if you change your iPhone's passcode and forget it soon after, Apple offers you a 72-hour grace period to fix it without getting locked out of your device. Here's how it works.

iphone passcode green
In iOS 17 and iPadOS 17, it is now possible to reset an iPhone or iPad's new passcode with the previous passcode you used for up to three days after the change is made. In other words, Apple lets you use your old passcode within 72 hours of setting a new one, which is handy if you're someone who is likely to forget a newly created passcode.

When you enter an incorrect passcode on a device running iOS 17 after making a change, simply tap on the Forgot Passcode? option at the bottom of the display to use the Try Passcode Reset option. Tapping it allows you to use your old passcode to create yet another new passcode.

iOS 17 Passcode Reset Feature
For protection in case someone has learned your passcode, there is also an "Expire Previous Passcode Now" setting that you can make use of. (Note that if you use this option, you'll no longer be able to use your old passcode to gain access to your device if you forget your new passcode.) To use the new option in iOS 17, follow these steps:

  1. Open Settings.
  2. Scroll down and select Face ID/Touch ID & Passcode.
  3. Under "Temporary Passcode Reset," tap Expire Previous Passcode Now.
  4. Tap Expire Now to confirm.

settings

It is still possible to change an Apple ID account's password with an iPhone's passcode, despite a Wall Street Journal report in February highlighting instances of thieves spying on iPhone users in public when they enter their passcode, and then stealing the device in order to gain widespread access to the device.

Apple's software engineering chief Craig Federighi in June 2023 said Apple has continued to "look at other ways to address this," but no changes have been made as of yet. To make theft harder, Apple recommends that users switch from a four-digit passcode to an alphanumeric passcode, which would be more difficult for thieves to spy on. This can also be done in Settings under Face ID & Passcode -> Change Passcode.

Top Rated Comments

jaworq Avatar
22 months ago

It is still possible to change an Apple ID account's password with an iPhone's passcode, despite a Wall Street Journal report in February highlighting instances of thieves spying on iPhone users in public ('https://www.macrumors.com/2023/02/24/iphone-stolen-passcodes-report/') when they enter their passcode, and then stealing the device in order to gain widespread access to the device.

Apple's software engineering chief Craig Federighi in June 2023 said ('https://www.macrumors.com/2023/06/10/the-talk-show-live-from-wwdc-2023/') Apple has continued to "look at other ways to address this," but no changes have been made as of yet. To make theft harder, Apple recommends that users switch from a four-digit passcode to an alphanumeric passcode, which would be more difficult for thieves to spy on. This can also be done in Settings under Face ID & Passcode -> Change Passcode.

Article Link: iOS 17: How to Change a New iPhone Passcode If You Forget It ('https://www.macrumors.com/how-to/ios-change-your-new-passcode-if-you-forget-it/')
The biggest mistake is 4/6-digit passcode required to change the iCloud password... WTF. Current iCloud password should be provided to change the password. We can remember and/or store such password in some other place than Settings > Passwords and voila. Thief is no longer able to log us out from our iCloud by changing the password.
Score: 11 Votes (Like | Disagree)
5097842 Avatar
22 months ago

The biggest mistake is 4/6-digit passcode required to change the iCloud password... WTF. Current iCloud password should be provided to change the password. We can remember and/or store such password in some other place than Settings > Passwords and voila. Thief is no longer able to log us out from our iCloud by changing the password.
This! It's crazy you don't have to enter the current password to change it. That is just basic security.
Score: 8 Votes (Like | Disagree)
iFishishh Avatar
22 months ago
They should add ways to see your phone screen on other devices. That way if you get the black screen of death from say water damage or the like, you can back up your data if you haven’t previously.
Score: 8 Votes (Like | Disagree)
beanbaguk Avatar
22 months ago

People do it, nice option. Unless your ex-partner gets your device and you change the code. But they can use old within the time frame.
You have bigger problems if your ex-partner can get hold of your phone!

ETA: @TechnoMonk is one of those ex-partners… ?
Score: 5 Votes (Like | Disagree)
jlc1978 Avatar
22 months ago
I went with an alpha numeric passcode for heightened security. I’ve at least been able to convince family members to go to 6 digit and not use 000000. I suspect most folks do not realize the potential dangers from a lost phone and easily guessed passcode.


They should add ways to see your phone screen on other devices. That way if you get the black screen of death from say water damage or the like, you can back up your data if you haven’t previously.
I suspect most damage that causes a black screen would mean an external connection would not work either. Would be useful for cracked or damaged but powered on screens.

I am surprised by how many people simply never backup their phones; yet their entire lives a run on it. If you don’t trust the cloud at least backup to a computer. What would be nice is Time Machine for iOS/iPadOS.
Score: 5 Votes (Like | Disagree)
steve09090 Avatar
22 months ago

This seems like an issue which was solved before it became an actual problem. If I'm changing my passcode, there is a reason, I don't need the increased security risk of having two passcodes for a few days.
Do people not actually read the article? You can cancel using the expired password.


For protection in case someone has learned your passcode, there is also an "Expire Previous Passcode Now" setting that you can make use of. (Note that if you use this option, you'll no longer be able to use your old passcode to gain access to your device if you forget your new passcode.) To use the new option in iOS 17, follow these steps:
[LIST=1]
* Open Settings.
* Scroll down and select Face ID/Touch ID & Passcode.
* Under "Temporary Passcode Reset," tap Expire Previous Passcode Now.
* Tap Expire Now to confirm.

Score: 5 Votes (Like | Disagree)

Popular Stories

apple watch ultra yellow

What's Next for the Apple Watch Ultra 3 and Apple Watch SE 3

Friday April 25, 2025 2:44 pm PDT by
This week marks the 10th anniversary of the Apple Watch, which launched on April 24, 2015. Yesterday, we recapped features rumored for the Apple Watch Series 11, but since 2015, the Apple Watch has also branched out into the Apple Watch Ultra and the Apple Watch SE, so we thought we'd take a look at what's next for those product lines, too. 2025 Apple Watch Ultra 3 Apple didn't update the...
iphone 16 display

iPhone 17's Scratch Resistant Anti-Reflective Display Coating Canceled

Monday April 28, 2025 12:48 pm PDT by
Apple may have canceled the super scratch resistant anti-reflective display coating that it planned to use for the iPhone 17 Pro models, according to a source with reliable information that spoke to MacRumors. Last spring, Weibo leaker Instant Digital suggested Apple was working on a new anti-reflective display layer that was more scratch resistant than the Ceramic Shield. We haven't heard...
iPhone 17 Air Pastel Feature

iPhone 17 Reaches Key Milestone Ahead of Mass Production

Monday April 28, 2025 8:44 am PDT by
Apple has completed Engineering Validation Testing (EVT) for at least one iPhone 17 model, according to a paywalled preview of an upcoming DigiTimes report. iPhone 17 Air mockup based on rumored design The EVT stage involves Apple testing iPhone 17 prototypes to ensure the hardware works as expected. There are still DVT (Design Validation Test) and PVT (Production Validation Test) stages to...
Beyond iPhone 13 Better Blue

20th Anniversary iPhone Likely to Be Made in China Due to 'Extraordinarily Complex' Design

Monday April 28, 2025 4:29 am PDT by
Apple will likely manufacture its 20th anniversary iPhone models in China, despite broader efforts to shift production to India, according to Bloomberg's Mark Gurman. In 2027, Apple is planning a "major shake-up" for the iPhone lineup to mark two decades since the original model launched. Gurman's previous reporting indicates the company will introduce a foldable iPhone alongside a "bold"...
iPhone 17 Air Pastel Feature

iPhone 17 Air Launching Later This Year With These 16 New Features

Thursday April 24, 2025 8:24 am PDT by
While the so-called "iPhone 17 Air" is not expected to launch until September, there are already plenty of rumors about the ultra-thin device. Overall, the iPhone 17 Air sounds like a mixed bag. While the device is expected to have an impressively thin and light design, rumors indicate it will have some compromises compared to iPhone 17 Pro models, including only a single rear camera, a...
iPhone 17 Pro Blue Feature Tighter Crop

iPhone 17 Pro Launching Later This Year With These 13 New Features

Wednesday April 23, 2025 8:31 am PDT by
While the iPhone 17 Pro and iPhone 17 Pro Max are not expected to launch until September, there are already plenty of rumors about the devices. Below, we recap key changes rumored for the iPhone 17 Pro models as of April 2025: Aluminum frame: iPhone 17 Pro models are rumored to have an aluminum frame, whereas the iPhone 15 Pro and iPhone 16 Pro models have a titanium frame, and the iPhone ...