If your iPhone’s Security Lockout countdown seems stuck, stop entering passcodes and let the displayed delay run. Apple does not document a way to speed up, bypass, or manually reset the timer. Restarting won’t clear it—it can make the current waiting period start over. If the delay has passed but you still can’t get in, use an eligible passcode reset or erase the iPhone and restore it from a backup.
Check what the Lock Screen is showing
A countdown after incorrect passcode attempts means the iPhone is enforcing a waiting period. The delay increases after repeated incorrect attempts, and you’ll still need the correct passcode when it ends. Avoid guessing while you wait.
“iPhone Unavailable” or “Security Lockout” indicates that the phone is locked out. Depending on your iOS version and whether the iPhone meets Apple’s requirements, the screen may offer Forgot Passcode? or Erase iPhone.
If the screen says “Unavailable” but no countdown appears, the waiting period may have ended. That does not unlock the iPhone: you still need the correct passcode or a supported reset method.
Wait for the timer if you know the passcode
- Leave the iPhone on the lockout screen until the displayed delay ends.
- When prompted, enter the passcode you’re confident is correct.
- If you’re unsure of the passcode, don’t keep trying guesses; use one of the reset options below if available.
Don’t restart the iPhone to clear the countdown. Apple says a restart during a timed delay does not remove the lockout; the current waiting period starts over.
If the countdown appears frozen for much longer than the displayed delay, Apple does not document a separate fix for a frozen timer. Don’t keep guessing or restart just to try to clear it. If access still doesn’t return, consider the supported reset options below.
Use your previous passcode if you changed it recently
If you changed your passcode within the last 72 hours, you may be able to use the previous one through Passcode Reset. This option requires iOS 17 or later, and may be unavailable if the previous passcode was manually expired.
- On the Lock Screen, tap Forgot Passcode? when it appears.
- Choose Enter Previous Passcode.
- Enter your old passcode and follow the prompts to set a new one.
If the reset succeeds, you’ll be prompted to change the passcode again immediately. This option is for a recently changed passcode; it is not a way to bypass the timer if you don’t know either passcode.
Erase the iPhone from the Lock Screen
You may be able to erase the iPhone without a computer if it has iOS 15.2 or later, Find My was enabled before it was locked, the phone has an active Wi-Fi or cellular connection, and you know the password for the Apple Account linked to it.
On iOS 17 or later
- Tap Forgot Passcode? when it appears on the Lock Screen.
- Tap Start iPhone Reset.
- Enter your Apple Account password, then tap Erase iPhone.
The Forgot Passcode? option appears only when the iPhone meets Apple’s lockout, network, account, and Find My requirements.
On iOS 15.2 or iOS 16
The Lock Screen may show Erase iPhone. Follow the onscreen instructions and enter your Apple Account password when asked.
Erasing permanently deletes the data and settings currently on the iPhone. Afterward, set it up again and restore from a backup if one is available. On iOS 17 or later, the erase process may also offer a choice to keep or delete your eSIM.
Restore the iPhone with a computer
If the Lock Screen erase option isn’t available, restore the iPhone using a Mac or Windows PC, a cable, and an internet connection. This process erases the iPhone.
- Turn off the iPhone.
- For an iPhone with Face ID, press and hold the side button and Volume Down until the power-off slider appears, then drag the slider.
- For an iPhone with a Home button or top button, press and hold the side or top button until the slider appears, then drag it.
- Connect the cable to the computer. Then connect it to the iPhone while holding the button for your model until the Connect to computer screen appears:
- iPhone with Face ID, iPhone 8, iPhone 8 Plus, or iPhone SE (2nd or 3rd generation): Hold the side button.
- iPhone 7 or iPhone 7 Plus: Hold Volume Down.
- iPhone 6s or earlier, or iPhone SE (1st generation): Hold the Home button.
- On a Mac, open Finder and select the iPhone. On a Windows PC, open Apple Devices and select the iPhone. If prompted on Windows, choose Trust.
- Choose Restore and follow the onscreen prompts.
If the software download takes more than 15 minutes and the iPhone exits recovery mode, let the download finish. Then turn off the iPhone and repeat the steps to enter recovery mode.
If the restore fails, make sure your Mac or the Apple Devices app is up to date. If a button doesn’t work or you can’t start recovery mode, seek service. If you don’t have access to a computer, Apple advises visiting an Apple Store or Apple Authorized Service Provider for help with this reset route.
Know what an erase means before you proceed
- Your data will be deleted. You can restore only what’s included in a backup that’s available. Don’t assume a backup exists unless you know it does.
- Activation Lock remains enabled. During setup, the iPhone may require the Apple Account previously linked to it. Make sure you can access that account before erasing.
- For a work- or school-managed iPhone, contact the organization’s IT administrator if you need help with the account or setup.
- For an eSIM on iOS 16 or earlier, contact your carrier before resetting and ask how to set it up again. On iOS 17 or later, the on-device erase process may offer eSIM choices.
- If the on-device erase option is missing, check that the iPhone has a network connection and that Find My was enabled before lockout. If it still isn’t available, use the computer-based restore method.