How to Unlock Your iPhone If You Forget Your New Passcode - MacRumors
Skip to Content

How to Unlock Your iPhone If You Forget Your New Passcode

by

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

41 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)
41 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
41 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)
41 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)
Jackbequickly Avatar
41 months ago
You should never use your passcode in public! FaceID is way better.
Score: 5 Votes (Like | Disagree)
jlc1978 Avatar
41 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)

Popular Stories

apple lock security bug vulnerability fix privacy

Apple Still Working on Anti-Snatching Feature That Locks Stolen iPhones

Tuesday September 22, 2026 4:44 am PDT by
New references in the latest iOS 27.2 beta show that Apple continues to develop a new feature which will lock your iPhone if it's snatched from your hand by a thief. As previously reported, the feature will use the gyroscope, accelerometer, and other sensors to determine when an iPhone has been grabbed. It'll also rely on a paired Apple Watch to detect when the iPhone has suddenly moved...
Apple TV 4K HomeView HomePod Mini tweaked

New Apple TV 4K, HomeView, and HomePod Mini: 16 Details Just Leaked

Sunday October 11, 2026 12:56 pm PDT by
Just two days before Apple's "Welcome home" experience in New York, Bloomberg's Mark Gurman has leaked several details about the new products set to be unveiled, including an all-new smart home hub, a HomePod mini 2, and a new Apple TV 4K. Here is an all-in-one summary of the details shared by Gurman:Apple's home hub with a touch-enabled display will be named HomeView, seemingly confirming a ...
Apple HomeView lineup feature1

Apple Announces 'HomeView' Smart Home Hub

Tuesday October 13, 2026 6:00 am PDT by
Apple today announced the "HomeView," an all-new kind of smart home hub featuring a 7-inch Liquid Retina display and Siri AI. Apple's senior vice president of Worldwide Marketing Greg Joswiak said: Apple HomeView is designed to be shared by everyone in the home yet feel completely personal to each user. It recognizes your face to shift from a household screen to your own experience,...
Latest Stories
Touchscreen MacBook Pro Could Launch on November 6
Touchscreen MacBook Pro Could Launch on November 6
33 minutes ago
New Withings Users Must Pay $99/Year for Apple Health Syncing
New Withings Users Must Pay $99/Year for Apple Health Syncing
35 minutes ago
Meta and Apple Bring Muse Spark Open AI Model to Mac Studio
Meta and Apple Bring Muse Spark Open AI Model to Mac Studio
2 hours ago
iPad Mini 8: Apple Has Tested Both 60Hz and 120Hz ProMotion Displays
iPad Mini 8: Apple Has Tested Both 60Hz and 120Hz ProMotion Displays
2 hours ago
Apple TV 4K 2022 vs. 2026 Buyer's Guide: All Differences Compared
Apple TV 4K 2022 vs. 2026 Buyer's Guide: All Differences Compared
4 hours ago
Apple CEO John Ternus on Early Foldables: 'Kind of Cheap and Crappy'
Apple CEO John Ternus on Early Foldables: 'Kind of Cheap and Crappy'
4 hours ago
Greg Joswiak Says Apple Isn't Focused on Making AI for 'Lunatic Fringe'
Greg Joswiak Says Apple Isn't Focused on Making AI for 'Lunatic Fringe'
5 hours ago
Amazon Offers $120 Discount on AirPods Max 2, $50 Off AirPods Pro 3
Amazon Offers $120 Discount on AirPods Max 2, $50 Off AirPods Pro 3
5 hours ago
Apple CEO John Ternus Featured on Cover of TIME Magazine: 'New Era'
Apple CEO John Ternus Featured on Cover of TIME Magazine: 'New Era'
6 hours ago
Apple Announces Deadline to 'Get Ready' to Pre-Order the iPhone Duo
Apple Announces Deadline to 'Get Ready' to Pre-Order the iPhone Duo
7 hours ago
MKBHD is 'Not Convinced' About Apple's New HomeView, Here's Why
MKBHD is 'Not Convinced' About Apple's New HomeView, Here's Why
7 hours ago
Apple's Wall-Mounted HomeView Ships Without a Power Adapter
Apple's Wall-Mounted HomeView Ships Without a Power Adapter
7 hours ago
Rare Apple-1 With Steve Jobs Letter Sells for $1.15 Million
Rare Apple-1 With Steve Jobs Letter Sells for $1.15 Million
8 hours ago
Apple Now Inviting Media to October 28 'Launch Experience'
Apple Now Inviting Media to October 28 'Launch Experience'
8 hours ago
iPhone Duo's A20 Pro Chip Benchmarked Ahead of Launch
iPhone Duo's A20 Pro Chip Benchmarked Ahead of Launch
19 hours ago
10 HomeView Features You Might Have Missed
10 HomeView Features You Might Have Missed
21 hours ago
Apple Becomes Second Company to Close Above $5 Trillion
Apple Becomes Second Company to Close Above $5 Trillion
21 hours ago
Which Apple Home Devices Get Siri AI, and When
Which Apple Home Devices Get Siri AI, and When
22 hours ago
Apple's Long-Delayed HomeView Was Already Being Tested in 2024
Apple's Long-Delayed HomeView Was Already Being Tested in 2024
23 hours ago
Apple Intelligence Coming to China in December With iOS 27.3
Apple Intelligence Coming to China in December With iOS 27.3
23 hours ago
Apple Invites App Updated With Two New Features
Apple Invites App Updated With Two New Features
23 hours ago
OpenAI Says Ex-Employee Showed Its Device Plans to Apple
OpenAI Says Ex-Employee Showed Its Device Plans to Apple
1 day ago
Discover the Best Cases and Screen Protectors for Your New iPhone Duo
Discover the Best Cases and Screen Protectors for Your New iPhone Duo
1 day ago
Apple Store Near Los Angeles Closed Due to 'Events Beyond Our Control'
Apple Store Near Los Angeles Closed Due to 'Events Beyond Our Control'
1 day ago
No, HomePod Mini 1 Won't Support Siri AI as CNET Reported
No, HomePod Mini 1 Won't Support Siri AI as CNET Reported
1 day ago
iPhone Duo Compromises: Everything You Have to Give Up
iPhone Duo Compromises: Everything You Have to Give Up
1 day ago
Apple HomeView Has These 15 Apps, Some CarPlay Apps and Widgets Also Supported
Apple HomeView Has These 15 Apps, Some CarPlay Apps and Widgets Also Supported
1 day ago
iPhone Duo: Apple Charging $49 for New Cover Layer, $229 for Battery
iPhone Duo: Apple Charging $49 for New Cover Layer, $229 for Battery
1 day ago
iPhone Duo: Skipping AppleCare+ Could Be $1,499 Mistake
iPhone Duo: Skipping AppleCare+ Could Be $1,499 Mistake
1 day ago
Ready for HomeView? Don't Miss These Smart Home Accessory Deals
Ready for HomeView? Don't Miss These Smart Home Accessory Deals
1 day ago