Remove iPhone Screen Lock With or Without Password
In this article
This guide shows you how to remove the screen lock from your iPhone, whether you know your passcode or have forgotten it. You'll learn the official methods for turning off the passcode when you have it, and the recovery options when you don't. Before starting, ensure your iPhone is charged and, if possible, backed up to iCloud or a computer, as some methods erase your data.
What You'll Need
- Your iPhone and its charging cable.
- A computer (Mac or Windows) with the latest version of iTunes (Windows) or Finder (macOS Catalina or later).
- Your Apple ID and password if you plan to use iCloud or erase the device.
- If you have a passcode but forgot it, you'll need to put the iPhone into Recovery Mode.
Step-by-Step
If You Know Your Passcode
- Open the Settings app on your iPhone.
- Tap Face ID & Passcode (or Touch ID & Passcode on older models).
- Enter your current passcode when prompted.
- Scroll down and tap Turn Passcode Off.
- Enter your passcode again to confirm. Your screen lock is now removed.
If You Forgot Your Passcode
If you've forgotten your passcode, you cannot simply turn it off. You must erase the iPhone, which removes the passcode and all data. Here's how to do it using Recovery Mode.
- Back up your iPhone if possible – If you have an iCloud backup from before you forgot the passcode, you can restore from it after erasing. Otherwise, your data will be lost.
- Turn off your iPhone – Press and hold the Side button (or Top button on older models) and drag the slider to power off.
- Put your iPhone in Recovery Mode – The steps vary by model:
- iPhone 8 or later (including SE 2nd gen): Press and hold the Side button. While holding it, connect your iPhone to your computer. Keep holding the Side button until you see the Recovery Mode screen (a computer icon with a cable).
- iPhone 7/7 Plus: Press and hold the Volume Down button while connecting to the computer. Release when you see the Recovery Mode screen.
- iPhone 6s and earlier, iPod touch, iPad with Home button: Press and hold the Home button while connecting to the computer. Release when you see the Recovery Mode screen.
- Restore your iPhone – On your computer, open Finder (macOS Catalina or later) or iTunes (Windows or older macOS). A dialog will appear saying there's a problem with the iPhone. Click Restore to erase the device and install the latest iOS. If the dialog doesn't appear, select your device in Finder/iTunes, then click Restore iPhone.
- Wait for the restore to complete – Your iPhone will restart and show the setup screen. You can now set it up as new or restore from a backup.
Using iCloud Find My iPhone (if Find My was enabled)
If you have Find My iPhone enabled and you know your Apple ID, you can erase your iPhone remotely.
- Go to iCloud.com/find on any device and sign in with your Apple ID.
- Click All Devices and select your iPhone.
- Click Erase iPhone. This will remove the passcode and all data.
- After erasing, you can either set up the iPhone as new or restore from a backup. Note that after erasing, the iPhone will still be linked to your Apple ID until you remove it from Find My iPhone.
Common Mistakes
- Not backing up before erasing – If you forget your passcode and haven't backed up recently, you'll lose all photos, messages, and other data. Always back up regularly.
- Using the wrong Recovery Mode buttons – Pressing the wrong combination can put your iPhone in a different mode or do nothing. Check your model's specific instructions.
- Forgetting to turn off Find My iPhone – If Find My is enabled, you'll need your Apple ID and password to erase the device. If you don't remember it, you'll need to go through Apple's account recovery.
- Interrupting the restore process – Unplugging the iPhone during a restore can cause errors or leave the device in a partial state. Let the process finish.
Tips
- Use a strong but memorable passcode – After removing the lock, consider setting a new passcode that's easy for you to remember but hard for others to guess. Avoid simple patterns like 123456.
- Enable Face ID or Touch ID – This adds convenience while keeping your device secure. You can set it up in Settings > Face ID & Passcode.
- Keep your Apple ID credentials safe – Your Apple ID is the key to recovering your device if you forget the passcode. Store it in a password manager.
- Regularly back up your iPhone – Use iCloud or your computer to back up so you never lose important data if you need to erase the device.
Troubleshooting
- iPhone won't enter Recovery Mode – Try again, ensuring you press and hold the correct button for your model. If it still doesn't work, try a different cable or USB port.
- Restore fails with error 4013 or 9 – This often indicates a connection issue. Try a different cable, use a USB port directly on your computer (not a hub), and ensure iTunes/Finder is updated.
- iPhone is disabled or says 'Security Lockout' – If you've entered the wrong passcode too many times, the iPhone will be disabled. You'll need to erase it using Recovery Mode or iCloud.
- Forgot Apple ID password – If you need your Apple ID to erase via iCloud, you can try Apple's account recovery at iforgot.apple.com. This may take a few days.
- Find My is still enabled after erase – If you erase via Recovery Mode, Find My remains on if Activation Lock is active. You'll need to enter your Apple ID and password to fully unlock the device.
Frequently Asked Questions
Can I remove the screen lock without losing data?
Only if you know your passcode. If you forgot it, there is no official way to remove the lock without erasing the device, which deletes all data unless you have a backup.
Will erasing my iPhone remove the passcode?
Yes, erasing the iPhone removes the passcode and all data. After the erase, you can set it up as new or restore from a backup.
What if I don't have a computer to use Recovery Mode?
You can use iCloud Find My iPhone if you have Find My enabled and know your Apple ID. If not, you'll need to borrow a computer or visit an Apple Store.
How long does Recovery Mode take?
The restore process typically takes 5-15 minutes, depending on your internet speed and computer performance. Do not disconnect during this time.
Can I use a third-party tool to unlock my iPhone?
We don't recommend third-party tools as they may be unreliable, void your warranty, or compromise security. Stick to official methods.
What is Activation Lock?
Activation Lock is a security feature that requires your Apple ID and password to erase or reactivate your iPhone. It's automatically enabled when Find My iPhone is on.