iPhone Passcode Bypass: Lock Screen Methods
In this article
This guide covers legitimate ways to regain access to an iPhone when you're locked out of the device. It does not include methods for bypassing the passcode on someone else's phone, as that would be illegal and unethical. The methods below are for your own device where you've forgotten the passcode, or for a device you own but can't access. Before you start, ensure you know your Apple ID credentials, as most methods require them.
What You'll Need
- Your Apple ID username and password
- A computer with the latest version of iTunes (Windows) or Finder (macOS Catalina or later)
- A USB cable compatible with your iPhone
- Access to a Wi-Fi network (for the iCloud method)
- If you have two-factor authentication enabled, a trusted device or phone number to receive a verification code
Step-by-Step
- Identify the iOS version. The method you use depends on whether your iPhone runs iOS 15.2 or later, or an earlier version. You can check the iOS version if you can see the Settings app, but if you're locked out, you may need to recall the version you last updated to.
- Method 1: Using iCloud (Find My iPhone). If you have Find My iPhone enabled and your iPhone is connected to the internet, go to iCloud.com/find on a computer or another device. Sign in with your Apple ID, select your iPhone, and click "Erase iPhone." This will erase the device and remove the passcode. After the erase, you can restore from a backup or set up as new.
- Method 2: Using Recovery Mode (for iOS 15.2 and later). This is the most reliable method for newer iOS versions. Connect your iPhone to a computer, then put it into recovery mode: For iPhone 8 or later, press and quickly release the Volume Up button, then the Volume Down button, then press and hold the Side button until the recovery mode screen appears. For iPhone 7/7 Plus, press and hold the Side (or Top) button and the Volume Down button simultaneously. For iPhone 6s and earlier, press and hold the Home button and the Top (or Side) button. When the recovery mode screen appears, a pop-up on your computer will ask if you want to Update or Restore. Choose "Restore." Your computer will download the iOS software and reinstall it, which removes the passcode. After the restore, you'll need to set up the iPhone as new or restore from a backup.
- Method 3: Using Recovery Mode (for iOS 15.1 and earlier). For older iOS versions, the process is similar, but you may need to use the "Update" option first to preserve your data. Connect your iPhone to a computer, enter recovery mode as described above, and then choose "Update" instead of "Restore." This will reinstall iOS without erasing your data, but it may not always work. If the update fails, you'll need to restore, which erases everything.
- Method 4: Using iTunes/Finder (when you've previously synced). If you've previously synced your iPhone with a computer and trusted that computer, you can connect your iPhone to that computer and open iTunes (or Finder). If prompted, enter the passcode on the iPhone (if you remember it), but if you don't, you can still try to restore. Select your device, then click "Restore iPhone." This will erase the device and install the latest iOS. After that, you can restore from a backup.
- Method 5: Using the "Erase iPhone" option after multiple failed attempts. If you've tried the passcode incorrectly many times, your iPhone may be disabled. If you have "Erase Data" enabled (Settings > Face ID & Passcode > Erase Data), after 10 failed attempts, the iPhone will automatically erase itself. If that happens, you'll be able to set it up as new, but you'll lose all data unless you have a backup.
- After any successful bypass: You'll need to enter your Apple ID password to activate the iPhone. If you don't remember it, you can use Apple's account recovery process at iforgot.apple.com. Once activated, you can restore from an iCloud or iTunes backup if you have one.
Common Mistakes
- Using the wrong recovery mode button sequence. The sequence varies by iPhone model. Double-check your model before attempting.
- Not having your Apple ID password. Most methods require it for activation. Without it, the iPhone will be unusable until you reset the password.
- Choosing "Update" when you need "Restore" (or vice versa). For iOS 15.2 and later, "Update" may not remove the passcode. For older versions, "Restore" will erase everything, which you might not want.
- Disconnecting the iPhone during the restore. This can cause a software error, making the situation worse. Keep the cable connected until the process is fully complete.
- Assuming a backup exists. If you never backed up, you'll lose all data after a restore. Check iCloud settings or iTunes backups before proceeding.
Tips
- Always back up your iPhone regularly. This is the best way to avoid data loss if you're locked out. Use iCloud or a computer.
- Note your Apple ID credentials somewhere safe. Consider using a password manager to store them securely.
- If you have a trusted computer, sync your iPhone to it. This can make recovery easier, as the computer may be recognized even without a passcode.
- Use a strong but memorable passcode. Avoid using simple patterns or birthdays that you might forget.
- If you're buying a used iPhone, make sure the seller has erased it properly. Otherwise, you may be locked out and unable to activate it.
Troubleshooting
- Recovery mode not appearing: Make sure you're pressing the correct buttons and holding them long enough (about 10-15 seconds). If it still doesn't work, try a different USB port or cable, and restart your computer.
- Restore fails with an error (e.g., error 4013 or 9): This often indicates a connection issue or a problem with the USB cable. Try a different cable, use a direct USB port (not a hub), and ensure you have a stable internet connection for the download.
- iPhone says "Activation Lock" after restore: This means you need to sign in with the Apple ID that was previously used on the phone. If it's your own, sign in. If you bought the phone used, contact the previous owner to remove it from their account.
- Forgot Apple ID password: Go to iforgot.apple.com and follow the account recovery steps. This can take a few days, so be patient.
- iCloud erase doesn't work: Ensure the iPhone is connected to the internet (via Wi-Fi or cellular) and that Find My iPhone is enabled. If it's not, you'll need to use recovery mode.
- iPhone disabled for a long time (e.g., "iPhone is disabled, try again in 1 hour"): Wait the specified time, or use recovery mode to erase the device immediately.
Frequently Asked Questions
Will this erase all my data?
Yes, most bypass methods erase the iPhone. The only exception is the "Update" method on older iOS versions, which may preserve data, but it's not guaranteed. Always have a backup.
Can I bypass the passcode without a computer?
If you have Find My iPhone enabled, you can erase the device from iCloud.com on another device, which doesn't require a computer. Otherwise, a computer is needed for recovery mode.
What if I don't know my Apple ID password?
You'll need to reset it via Apple's account recovery. Without it, you cannot activate the iPhone after a restore.
Can I bypass the passcode on someone else's iPhone?
No, and attempting to do so is illegal. The methods here are only for your own device.
How long does recovery mode restore take?
It depends on your internet speed and the iOS version. It can take anywhere from 10 minutes to over an hour. Do not disconnect during the process.
Is there a way to bypass the passcode without erasing?
No, Apple does not provide a way to remove a forgotten passcode without erasing the device. This is a security feature.