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

iPhone 17 Pro Lower Logo Feature 1

iPhone 17 Pro Coming Soon With These 14 New Features

Monday June 30, 2025 1:08 pm PDT by
Apple's next-generation iPhone 17 Pro and iPhone 17 Pro Max are less than three months away, and there are plenty of rumors about the devices. Apple is expected to launch the iPhone 17, iPhone 17 Air, iPhone 17 Pro, and iPhone 17 Pro Max in September this year. Below, we recap key changes rumored for the iPhone 17 Pro models:Aluminum frame: iPhone 17 Pro models are rumored to have an...
A18 Pro Chip

New MacBook With A18 Pro Chip Spotted in Apple Code

Monday June 30, 2025 8:05 am PDT by
Apple is developing a MacBook with the A18 Pro chip, according to findings in backend code uncovered by MacRumors. Earlier today, Apple analyst Ming-Chi Kuo reported that Apple is planning to launch a low-cost MacBook powered by an iPhone chip. The machine is expected to feature a 13-inch display, the A18 Pro chip, and color options that include silver, blue, pink, and yellow. MacRumors...
iPhone 17 Pro Lower Logo Magsafe

iPhone 17 Pro's New MagSafe Design Revealed in Leaked Photo

Wednesday July 2, 2025 8:37 am PDT by
The upcoming iPhone 17 Pro and iPhone 17 Pro Max are rumored to have a slightly different MagSafe magnet layout compared to existing iPhone models, and a leaked photo has offered a closer look at the supposed new design. The leaker Majin Bu today shared a photo of alleged MagSafe magnet arrays for third-party iPhone 17 Pro cases. On existing iPhone models with MagSafe, the magnets form a...
macbook air spacegray purple

Apple Planning to Launch Low-Cost MacBook Powered By iPhone Chip

Monday June 30, 2025 3:20 am PDT by
Apple is planning to launch a low-cost MacBook powered by an iPhone chip, according to Apple analyst Ming-Chi Kuo. In an article published on X, Kuo explained that the device will feature a 13-inch display and the A18 Pro chip, making it the first Mac powered by an iPhone chip. The A18 Pro chip debuted in the iPhone 16 Pro last year. To date, all Apple silicon Macs have contained M-series...
Apple Watch Ultra Night Mode Screen

Apple Watch Ultra 3 Launching Later This Year With Two Key Upgrades

Wednesday July 2, 2025 1:13 pm PDT by
The long wait for an Apple Watch Ultra 3 appears to be nearly over, and it is rumored to feature both satellite connectivity and 5G support. Apple Watch Ultra's existing Night Mode In his latest Power On newsletter, Bloomberg's Mark Gurman said that the Apple Watch Ultra 3 is on track to launch this year with "significant" new features, including satellite connectivity, which would let you...
iOS 18

Apple Releases Second iOS 18.6 Public Beta

Tuesday July 1, 2025 10:19 am PDT by
Apple today seeded the second betas of upcoming iOS 18.6 and iPadOS 18.6 updates to public beta testers, with the betas coming just a day after Apple provided the betas to developers. Apple has also released a second beta of macOS Sequoia 15.6. Testers who have signed up for beta updates through Apple's beta site can download iOS 18.6 and iPadOS 18.6 from the Settings app on a compatible...
Wi Fi WiFi General Feature

iOS 26 Adds a Useful New Wi-Fi Feature to Your iPhone

Wednesday July 2, 2025 6:36 am PDT by
iOS 26 and iPadOS 26 add a smaller yet useful Wi-Fi feature to iPhones and iPads. As spotted by Creative Strategies analyst Max Weinbach, sign-in details for captive Wi-Fi networks are now synced across iPhones and iPads running iOS 26 and iPadOS 26. For example, while Weinbach was staying at a Hilton hotel, his iPhone prompted him to fill in Wi-Fi details from his iPad that was already...
maxresdefault

Five Features Coming to AirPods Pro 3

Friday June 27, 2025 10:52 am PDT by
Apple hasn't updated the AirPods Pro since 2022, and the earbuds are due for a refresh. We're counting on a new model this year, and we've seen several hints of new AirPods tucked away in Apple's code. Rumors suggest that Apple has some exciting new features planned that will make it worthwhile to upgrade to the latest model. Subscribe to the MacRumors YouTube channel for more videos. Heal...
replay all time playlist apple music

Apple Music Debuts All-New Personalized Playlist

Monday June 30, 2025 7:16 am PDT by
As part of its 10-year celebrations of Apple Music, Apple today released an all-new personalized playlist that collates your entire listening history. The playlist, called "Replay All Time," expands on Apple Music's existing Replay features. Previously, users could only see their top songs for each individual calendar year that they've been subscribed to Apple Music, but now, Replay All...