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
23 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
23 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
23 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
23 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
23 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
23 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

iPadOS 26 App Windowing

Apple Explains Why iPads Don't Just Run macOS

Friday June 13, 2025 7:46 am PDT by
iPadOS 26 allows iPads to function much more like Macs, with a new app windowing system, a swipe-down menu bar at the top of the screen, and more. However, Apple has stopped short of allowing iPads to run macOS, and it has now explained why. In an interview this week with Swiss tech journalist Rafael Zeier, Apple's software engineering chief Craig Federighi said that iPadOS 26's new Mac-like ...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday June 12, 2025 8:58 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
Logitech Logo Feature

Logitech Announces Two New Accessories for WWDC

Friday June 13, 2025 7:22 am PDT by
Alongside WWDC this week, Logitech announced notable new accessories for the iPad and Apple Vision Pro. The Logitech Muse is a spatially-tracked stylus developed for use with the Apple Vision Pro. Introduced during the WWDC 2025 keynote address, Muse is intended to support the next generation of spatial computing workflows enabled by visionOS 26. The device incorporates six degrees of...
iOS 26 Screens

Here Are All the iOS 26 Features That Require iPhone 15 Pro or Newer

Thursday June 12, 2025 4:53 am PDT by
With iOS 26, Apple has introduced some major changes to the iPhone experience, headlined by the new Liquid Glass redesign that's available across all compatible devices. However, several of the update's features are exclusive to iPhone 15 Pro and iPhone 16 models, since they rely on Apple Intelligence. The following features are powered by on-device large language models and machine...
CarPlay Liquid Glass Dark

Apple to Let iPhone Users Watch Videos on CarPlay Screen While Parked

Thursday June 12, 2025 6:16 am PDT by
Apple this week announced that iPhone users will soon be able to watch videos right on the CarPlay screen in supported vehicles. iPhone users will be able to wirelessly stream videos to the CarPlay screen using AirPlay, according to Apple. For safety reasons, video playback will only be available when the vehicle is parked, to prevent distracted driving. The connected iPhone will be able to...
iOS 26 on Three iPhones

Hate iOS 26's Liquid Glass Design? Here's How to Tone It Down

Wednesday June 11, 2025 4:22 pm PDT by
iOS 26 features a whole new design material that Apple calls Liquid Glass, with a focus on transparency that lets the content on your display shine through the controls. If you're not a fan of the look, or are having trouble with readability, there is a step that you can take to make things more opaque without entirely losing out on the new look. Apple has multiple Accessibility options that ...
Mac Studio Feature

Apple Begins Selling Refurbished Mac Studio With M4 Max and M3 Ultra Chips at a Discount

Thursday June 12, 2025 10:14 am PDT by
Apple today added Mac Studio models with M4 Max and M3 Ultra chips to its online certified refurbished store in the United States, Canada, Japan, Singapore, and many European countries, for the first time since they were released in March. As usual for refurbished Macs, prices are discounted by approximately 15% compared to the equivalent new models on Apple's online store. Note that Apple's ...
iOS 26 Feature

Apple Seeds Revised iOS 26 Developer Beta to Fix Battery Issue

Friday June 13, 2025 10:15 am PDT by
Apple today provided developers with a revised version of the first iOS 26 beta for testing purposes. The update is only available for the iPhone 15 and iPhone 16 models, so if you're running iOS 26 on an iPhone 14 or earlier, you won't see the revised beta. Registered developers can download the new beta software through the Settings app on each device. The revised beta addresses an...
maxresdefault

Everything Apple Announced at WWDC 2025 in 10 Minutes

Monday June 9, 2025 5:21 pm PDT by
At today's WWDC 2025 keynote event, Apple unveiled a new design that will inform the next decade of iOS, iPadOS, and macOS development, so needless to say, it was a busy day. Apple also unveiled a ton of new features for the iPhone, an overhauled Spotlight interface for the Mac, and a ton of updates that make the iPad more like a Mac than ever before. Subscribe to the MacRumors YouTube channel ...