Security Lockout on iPhone? Here's How to Unlock It Safely
Seeing the Security Lockout message on your iPhone can be alarming, especially when you're locked out of important photos, contacts, or work-related files. This security feature is designed to protect your personal information after too many incorrect passcode attempts, but it often leaves users unsure of what to do next.
Fortunately, a Security Lockout doesn't necessarily mean your iPhone is permanently unusable. Depending on your situation, you may be able to regain access with different methods. In this guide, we'll explain what the Security Lockout message means, why it appears, whether your data can still be recovered, and the best ways to regain access to your iPhone safely.

- Quick Answer: What to Do When iPhone Says Security Lockout
- What Does Security Lockout Mean on iPhone?
- Why Does My iPhone Say Security Lockout?
- Can You Unlock a Security-Locked iPhone Without Losing Data?
- How to Fix Security Lockout When Previous Passcode Isn't Available
- FAQs About Security Lockout on iPhone
- Conclusion
Quick Answer: What to Do When iPhone Says Security Lockout
What you should do depends on what appears on the Lock Screen. You may be able to use Previous Passcode, reset the iPhone directly, erase it with Find My, or restore it with a computer.
| What You See | What to Check |
|---|---|
| Security Lockout + countdown | WWait and enter the correct passcode when another attempt becomes available |
| Security Lockout + Erase | Use the on-device reset if you meet the requirements |
| Forgot Passcode? / reset flow | Check Previous Passcode first, then Start iPhone Reset if needed |
| No usable reset option | Use Find My or computer recovery |
What Does Security Lockout Mean on iPhone?
Security Lockout appears after repeated incorrect passcode attempts and means iOS has temporarily or fully restricted normal passcode attempts to protect the device. Depending on the lockout state and iOS version, you may see a countdown, an Erase iPhone option, or other recovery choices.
If your Security Lockout screen shows no countdown, see what to do when the lockout screen has no timer
Security Lockout is closely related to iPhone Unavailable, but they are not always the same screen. For a detailed comparison, see Security Lockout vs iPhone Unavailable. On current iOS versions, both terms may appear during the lockout process, while Security Lockout can also appear as part of Apple's reset flow.
If your iPhone shows a different lockout state, see our complete guide to fix iPhone Unavailable.
Note
If your iPhone displays "Try Again in X Minutes" or "Try Again in X Hours," avoid entering random passcodes. Waiting until the timer expires gives you another opportunity to enter the correct passcode before more advanced recovery methods become necessary. If the countdown stays on the same number longer than expected, see our guide to fixing an iPhone lockout timer that is not going down.
Why Does My iPhone Say Security Lockout?
Several common situations can trigger this security protection. Here are the most common reasons your iPhone displays Security Lockout:
- You Entered the Wrong Passcode Too Many Times: This is the most common cause. If you repeatedly enter an incorrect passcode, iOS gradually increases the waiting time before allowing another attempt.
- You Recently Changed Your Passcode: Many users accidentally continue entering their old passcode after changing it, which can lead to more failed attempts and longer security delays.
- Face ID or Touch ID Failed Repeatedly: If biometric authentication doesn't recognize your face or fingerprint several times, your iPhone requires the passcode. Entering the wrong passcode multiple times afterward can trigger Security Lockout.
- A Child Accidentally Entered the Wrong Passcode: Children often play with locked devices and unknowingly enter random passcodes until the phone locks itself.
- Accidental Screen Touches: An iPhone inside a pocket or bag may register unintended touches on the Lock Screen, especially if Raise to Wake or Tap to Wake is enabled.
- You Forgot the Correct Passcode: This often happens after not using an older iPhone for an extended period.
Can You Unlock a Security-Locked iPhone Without Losing Data?
Seeing the Security Lockout screen doesn't always mean you'll lose your data. Whether you can regain access without erasing your iPhone mainly depends on your iOS version, when you changed the passcode, and whether Previous Passcode is available. If you no longer know the current passcode and Previous Passcode is unavailable, Apple's standard recovery methods require erasing the iPhone. This is because your personal data is encrypted with your passcode, and Apple cannot decrypt it without successful authentication.
However, there is one important exception.
Option 1. Use Your Previous Passcode (iOS 17 or Later)
If your iPhone is running iOS 17 or later and you changed your passcode within the last 72 hours, Apple may display the "Forgot Passcode?" option on the screen.
- Step 1. If Forgot Passcode? appears on the unavailable Lock Screen, tap it and check whether Enter Previous Passcode is available.
- Step 2. Tap the Enter Previous Passcode option. You can use your old passcode to verify your identity.
- Step 3. Set a new one without erasing your iPhone or losing your data.

This feature is available only if:
- Your iPhone is running iOS 17 or later.
- The passcode was changed within the last 72 hours.
- Your iPhone is connected to Wi-Fi or cellular network.
- Your device has signed in to an Apple Account.
- The Find My is enabled on your device.
- The Forgot Passcode? option is available on your device.
If you don't see the Forgot Passcode? or Enter Previous Passcode option, your device doesn't meet the required conditions, and you'll need to use one of the recovery methods below.
Option 2. Restore from a Backup After Erasing
If the previous passcode feature isn't available, you'll need to erase your iPhone using Lock Screen reset, Find My, Recovery Mode with Apple Devices or Finder, or TunesKit iPhone Unlocker.
Although the device will be reset, you can restore your personal data afterward if you have an available backup.
Note
Restoring a backup can recover previously backed-up data, but it does not preserve data added after the latest backup.
How to Fix Security Lockout When Previous Passcode Isn't Available
If Previous Passcode isn't available and you no longer know the current passcode, you'll need to reset or restore the iPhone to regain access. The methods below erase the current data on the device, but you can restore an existing iCloud or computer backup afterward.
- All methods below erase the current data on the device.
- You'll need your Apple Account credentials to activate the iPhone after resetting it if Activation Lock is enabled.
- If you've backed up your iPhone using iCloud, Finder, or Apple Devices, you can restore your personal data during setup.
- Official Apple methods should always be your first choice whenever they're available.
| Your Situation | Recommended Solution |
|---|---|
| You remember your Apple Account password | Use Erase iPhone / Forgot Passcode? |
| You have a Mac or Windows computer | Restore with Apple Devices or Finder |
| Find My is enabled | Erase remotely through iCloud Find My |
| Apple's on-device reset options are unavailable | Use TunesKit iPhone Unlocker |
Method 1. Reset iPhone from the Lock Screen
iPhone users who remember their Apple Account password and see the "Erase iPhone" / "Forgot Passcode?" option
Apple introduced Erase iPhone (iOS 15.2-iOS 16) and Forgot Passcode? (iOS 17 or later) to make recovery easier for users who have forgotten their passcode. If your device is connected to a network and signed in with an Apple Account, you may be able to reset your iPhone directly from the Security Lockout screen without using a computer.
This method is officially supported by Apple and is usually the fastest solution when available. However, because it removes the passcode by erasing the device, all locally stored data will be deleted unless you have a backup.
On iOS 17 or Later
- Step 1. On the locked screen, tap Forgot Passcode?
- Step 2. On the next screen, tap Start iPhone Reset.
- Step 3. Enter your Apple Account password when prompted.
- Step 4. Tap Erase iPhone. Wait while your iPhone removes all content and settings.

On iOS 15.2–16
- Step 1. On the locked screen, tap Erase iPhone
- Step 2. Tap Erase iPhone again to confirm.
- Step 3. Enter your Apple Account password. Wait for the reset to finish
- Step 4. Restart your iPhone and follow the setup instructions. Sign in with your Apple Account and restore your data from an available backup. .

Pros and Cons of Using Erase iPhone
- Official Apple recovery method
- No computer required
- Simple and beginner-friendly
- Works directly from Lock Screen
- Deletes all data on the device
- Requires Apple Account password
- Option may not appear on all devices
- Requires network connection
Why Can't I See the Erase iPhone/Forgot Passcode Option?
Many users search for "Security Lockout iPhone no Erase or forgot passcode option" because the button does not always appear. Common reasons include:
- Your iPhone is running an older iOS version.
- The device is not connected to the internet.
- Find My iPhone was disabled.
- The iPhone is not currently showing an eligible reset option.
If the Lock Screen reset option is unavailable, try Find My or Recovery Mode instead.
Method 2. Restore a Security-Locked iPhone Using Apple Devices or Finder
Users with a Mac or Windows PC who want to use Apple's official restore process
If your iPhone doesn't show the Erase iPhone option, restoring it through Finder or Apple Devices is another official way to remove Security Lockout. This method uses Recovery Mode to reinstall iOS and erase the device, allowing you to set it up again with a new passcode.
This approach is especially useful when the iPhone is completely disabled or cannot access normal settings. However, you'll need a computer, a USB cable, and enough time for the restore process to complete.
- Step 1. Connect your iPhone to your computer using a USB cable and power off your iPhone.
- Step 2. Put your iPhone into Recovery Mode by pressing the corresponding button combination for your iPhone model.
- Step 3. Open Finder or Apple Devices. A prompt will appear. Choose Restore when prompted.
- Step 4. Wait for the restore process to complete, then set up your iPhone again and restore your backup if available.

Pros and Cons of Finder/Apple Devices Recovery
- Official Apple method
- Works when Erase iPhone is unavailable
- Suitable for many iPhone models
- Free to use
- Requires a computer
- Takes longer
- Requires Recovery Mode
- Can fail due to connection or firmware issues
Method 3. Erase Security-Locked iPhone Using iCloud Find My
Users who enabled Find My iPhone and cannot physically access the device
If you cannot access your iPhone directly, Apple's Find My service provides another way to erase the device remotely. This method is useful if your iPhone is lost, unavailable, or stuck on the Security Lockout screen but still connected to your Apple Account.
Like other official recovery methods, Find My removes the passcode by deleting all content and settings. After erasing, you can set up the iPhone again and restore from a backup. If the iPhone is offline, the erase remains pending until the device comes online.
- Step 1. Open the Find My service on another Apple device or visit iCloud Find My.
- Step 2. Sign in with the Apple Account linked to your locked iPhone.
- Step 3. Select the unavailable iPhone from your device list.
- Step 4. Choose Erase This Device / Erase iPhone, and confirm the erase request.
- Step 5. After the process finishes, set up your iPhone again.

Pros and Cons of iCloud Find My
- Works remotely
- No cable required
- Useful for lost devices
- Official Apple solution
- Requires Find My enabled
- Requires Apple Account access
- Deletes all device data
- May not work immediately if device is offline
- Activation Lock remains enabled after a remote erase
Method 4. Unlock Security Lockout with TunesKit iPhone Unlocker
Users who cannot use Apple's on-device reset options or prefer a guided computer-based screen-passcode removal process.
If Apple's built-in recovery methods are unavailable or too complicated, TunesKit iPhone Unlocker provides an alternative way to remove iPhone screen locks, including Security Lockout caused by forgotten passcodes.
Unlike manual Recovery Mode operations, TunesKit guides users through the unlocking process with a simplified interface. It automatically detects the connected device, downloads the required firmware package, and helps remove the existing screen lock so you can access your iPhone again.
This solution is especially useful for users who:
- Forgot their iPhone passcode
- Cannot access the device after too many failed attempts
- Do not see the Erase iPhone option
- Experience problems restoring through Apple Devices or Finder
- Prefer a more beginner-friendly recovery process
Try TunesKit iPhone Unlocker
Need a guided way to remove a forgotten iPhone screen passcode? TunesKit iPhone Unlocker walks you through the screen-lock removal process on Windows and Mac. Easy to use with clear instructions!
- Step 1. Download and install TunesKit iPhone Unlocker on a Windows PC or Mac. Then connect your locked iPhone with a USB cable.
- Step 2. Select the Unlock iOS Screen feature and then click Start. Follow the instructions to put your iPhone into Recovery Mode or DFU Mode.

- Step 3. Confirm your device information and download the matching firmware package.
- Step 4. Click Unlock and wait while TunesKit removes the screen lock from your iPhone.
Note:
Removing the forgotten screen passcode erases the current data on the iPhone. If Activation Lock appears afterward, you may still need the linked Apple Account to activate the device.
FAQs About Security Lockout on iPhone
-
Does Security Lockout go away by itself?
Sometimes. If the Lock Screen shows a countdown, wait until it ends and enter the correct passcode when another attempt becomes available. If no passcode attempt is offered, use the available recovery options instead.
-
What does Security Lockout with no timer mean?
It means another timed passcode attempt is not currently available. Check whether you can use Previous Passcode, reset the iPhone from the Lock Screen, erase it with Find My, or restore it with a computer.
-
Can I unlock Security Lockout without losing data?
Sometimes. On iOS 17 or later, if you changed your passcode within the last 72 hours and remember the old one, Apple's Previous Passcode feature may let you regain access without erasing the iPhone. Most reset methods erase the current device data.
-
What if Forgot Passcode? or Erase iPhone does not appear?
Use another recovery method. If Find My was enabled, you can erase the iPhone remotely. Otherwise, restore it with Apple Devices on Windows or Finder on Mac. A computer-based screen-passcode removal tool is another option.
Conclusion
If your iPhone shows Security Lockout, try Previous Passcode first when available. Otherwise, use Apple's Lock Screen reset, Find My, or Recovery Mode. TunesKit iPhone Unlocker provides another computer-based option for removing a forgotten screen passcode.
Most reset methods erase the current device data, so restore an existing backup afterward if available.