If you’ve forgotten your iPhone passcode, it’s normal to feel frustrated when you see messages like “iPhone Unavailable” or “Security Lockout.” I’ve helped many people get back into their devices, and the good news is that Apple offers a few reliable ways to reset your iPhone even if you don’t remember the passcode.
This guide will show you the safest ways to reset your iPhone and get it working again. These steps work for iPhone 16, 15, 14, and older models, so you can use them in 2026 no matter which device you have.
Why You May Need to Reset an iPhone Without a Passcode
There are several reasons you might need to erase your iPhone:
- You forgot your screen lock passcode.
- The device is disabled after too many incorrect attempts.
- You purchased a second-hand iPhone that is locked.
- The iPhone displays “Security Lockout” or “iPhone Unavailable.”
- You want to restore the device to factory settings.
Important: When you reset your iPhone, all data on the device will be erased. But you can get your information back if you have an iCloud or computer backup.
Method 1: Reset iPhone Using Apple Account (Apple ID)
This is the simplest way to reset your iPhone if it’s connected to Wi-Fi or cellular data.
Step 1: Enter Wrong Passcodes
Continue entering incorrect passcodes until the device displays:
- “Security Lockout”
- “iPhone Unavailable”
You should see the Forgot Passcode? option.
Step 2: Tap “Forgot Passcode?”
Select:
Forgot Passcode? → Start iPhone Reset
Step 3: Enter Your Apple ID Password
Apple will ask you to enter the password for the Apple ID that’s signed in on your device.
Step 4: Erase the iPhone
Tap:
Erase iPhone
Your iPhone will reset and restart on its own.
Step 5: Set Up Again
After restarting:
- Choose your language.
- Connect to Wi-Fi.
- Sign in with your Apple ID.
- Restore from an iCloud backup if available.
Method 2: Reset iPhone Using Finder on Mac
e yonewhave you cawithinder to restore yonewer, you can use Finder to restore your iPhone./h3>
Turn off your iPhone completely.e Into Recovery Mode
For iPhone 8 and Later
- Press and release Volume Up.
- Press and release Volume Down.
- Hold the Side button until the recovery mode screen appears.
For iPhone 7 Series
Hold:
- Volume Down + Side button
For iPhone 6s and Earlier
Hold:
- Home button + Power button
Continue holding until the recovery mode screen appears.
Step 3: Connect to Mac
Use a Lightning or USB-C cable.
FindFinder should automatically detect your iPhone.ne.store
Finder presents two options:
- Update
- Restore
Choose:
Restore
FFinder will download iPhone.
Step 5: Complete Setup
After restoration:
- Connect to Wi-Fi.
- Sign in with Apple ID.
- Restore backup.
Method 3: Reset iPhone Using Windows PC and iTunes
If you use Windows, you can erase your iPhone with iTunes.
Step 1: Install iTunes
Download and install the latest version of iTunes.
Step 2: Put the iPhone Into Recovery Mode
Follow the same button combinations explained earlier.
Step 3: Connect to Computer
Launch iTunes.
It should display:
There is a problem with the iPhone that requires it to be updated or restored.
Step 4: Click Restore
Choose:
Restore and Update
iTunes will download iOS and reinstall it on your iPhone.
Step 5: Set Up the Device
After the reset:
- Activate your iPhone.
- Sign into your Apple account.
- Restore your backup.
Method 4: Reset iPhone Through iCloud Find My
This method works if:
- Find My iPhone was enabled.
- The device is online.
- You know your Apple ID password.
Step 1: Visit iCloud
Open a browser and sign in.
Step 2: Select Find Devices
Choose the locked iPhone from your device list.
Step 3: Click Erase iPhone
Apple will remotely wipe the device.
Step 4: Set Up Again
After your iPhone is erased, you can activate it as usual with your Apple ID.
How to Put Different iPhones Into Recovery Mode
iPhone 8, X, XR, XS, 11, 12, 13, 14, 15, and 16
- Press Volume Up.
- Press Volume Down.
- Hold Side button.
- Continue holding until the recovery mode screen appears.
iPhone 7 and 7 Plus
Hold:
- Side button
- Volume Down button
iPhone 6s and Earlier
Hold:
- Home button
- Power button
Can You Reset an iPhone Without Apple ID?
No.
Even after a factory reset, Activation Lock protects the device. Apple requires the original Apple ID and password used on the iPhone.
This security feature prevents stolen devices from being reused.
What Happens After Resetting?
Once the reset is complete:
Your Data Is Removed
- Photos
- Messages
- Apps
- Contacts
- Videos
iOS Is Reinstalled
The latest compatible iOS version will be installed.
Activation Lock Remains
You’ll still need:
- Apple ID
- Apple ID password
How to Restore Data After Reset
If you made a backup before, restoring your data is simple.
Restore From iCloud Backup
- Complete the setup process.
- Choose:
Apps & Data → Restore from iCloud Backup
- Sign into your Apple account.
- Select your most recent backup.
Restore From Mac or PC
Choose:
Restore from Mac or PC
and select the latest backup.
Tips to Avoid Forgetting Your Passcode Again
Here are a few simple tips I always recommend:
Enable Face ID or Touch ID
Using Face ID or Touch ID means you don’t have to remember your passcode as often.
Keep Your Apple ID Credentials Safe
Keep your Apple ID details safe in a password manager.
Create Regular Backups
Use:
- iCloud Backup.
- Finder.
- iTunes.
Use an Easy-to-Remember Passcode
Pick a passcode that’s easy for you to remember.
Frequently Asked Questions
Can I unlock my iPhone without losing data?
Usually, you can’t unlock your iPhone without losing data. If you forget your passcode, Apple requires you to erase the device before you can use it again.
How many wrong attempts disable an iPhone?
After multiple incorrect passcode entries, the iPhone gradually locks for longer periods and may eventually display:
- “iPhone Unavailable”
- “Security Lockout”
Can Siri unlock a locked iPhone?
No.
Older Siri loopholes have been patched by Apple.
Does a factory reset remove Activation Lock?
No.
Activation Lock remains active until the original Apple ID credentials are entered.
Can Apple unlock my iPhone for me?
Apple cannot bypass passcodes. However, Apple Support may assist with account recovery if you own the device.
Final Thoughts
If you forget your iPhone passcode, don’t worry—your device isn’t locked forever. In my experience, the easiest fix is to use the Forgot Passcode option or restore your device with Finder or iTunes.
Just remember, any reset will erase your iPhone, and you’ll still need your Apple ID details because of Apple’s Activation Lock.
If you keep regular backups and store your Apple ID info safely, you’ll avoid a lot of hassle later on.
