If you’re locked out of your iPhone and can’t remember the passcode, Apple’s support website (support.apple.com) offers a way to reset it. This guide walks you through the official process, which requires you to put your iPhone into Recovery Mode and restore it using a computer. You’ll need your Apple ID and password, and you’ll lose all data on the phone unless you have a recent backup.
What You’ll Need
- A computer (Mac or Windows PC) with the latest version of iTunes (Windows) or Finder (macOS Catalina or later).
- The USB cable that came with your iPhone (or a compatible cable).
- Your Apple ID and password (to re-activate the phone after the restore).
- If you have an eSIM, make sure you know your carrier’s activation details, as the restore may require you to re-add the eSIM.
Step-by-Step
- Turn off your iPhone. Press and hold the Side button (or Top button on older models) and drag the slider to power off. If the phone is unresponsive, skip to step 3.
- Connect your iPhone to your computer. Use the USB cable to plug your iPhone into your computer. If you’re using a Mac with macOS Catalina or later, open Finder. On Windows or older macOS, open iTunes.
- Put your iPhone into Recovery Mode. The exact buttons depend on your iPhone model:
- iPhone 8 or later (including SE 2nd gen and later): Press and quickly release the Volume Up button, then press and quickly release the Volume Down button. Then press and hold the Side button until the Recovery Mode screen appears (a computer icon with a cable).
- iPhone 7 and 7 Plus: Press and hold the Side (or Top) button and the Volume Down button simultaneously until the Recovery Mode screen appears.
- iPhone 6s and earlier (including SE 1st gen): Press and hold the Home button and the Top (or Side) button simultaneously until the Recovery Mode screen appears.
- When the Recovery Mode screen appears, you’ll see a dialog on your computer: “There is a problem with the iPhone that requires it to be updated or restored.” Click Restore.
- Confirm the restore. Your computer will download the iOS software for your iPhone (this may take a while). After downloading, it will erase your iPhone and install the latest iOS. Do not disconnect your iPhone during this process.
- Set up your iPhone. Once the restore is complete, your iPhone will restart and show the “Hello” screen. Follow the on-screen setup steps. You’ll need to enter your Apple ID and password to activate the phone. If you have a backup (iCloud or computer), you can restore from it during setup.
- If you don’t have a backup, you’ll need to set up as a new iPhone. Your data is gone, but the phone is now usable with a new passcode.
Common Mistakes
- Not putting the phone into Recovery Mode correctly: The timing of button presses is critical. If you hold too long, the phone may just restart normally. Watch for the exact screen with a computer icon.
- Using the wrong cable or port: A damaged or non-certified cable can cause connection issues. Use an Apple-certified cable and a USB port directly on your computer (avoid hubs).
- Disconnecting during the restore: This can leave your iPhone in a bricked state. Wait until the progress bar on the computer completes and the phone restarts.
- Forgetting your Apple ID password: After the restore, you must enter your Apple ID password to activate the phone. If you’ve forgotten it, you’ll need to reset it via Apple’s iforgot.apple.com before proceeding.
Tips
- Back up regularly: If you have Find My iPhone enabled, your data is likely backed up to iCloud automatically (when plugged in and on Wi-Fi). Check iCloud settings to see if a backup exists.
- Use a computer you trust: If you’re using a public or shared computer, ensure it’s secure and you log out of your Apple ID afterward.
- Update iTunes/Finder: Make sure you have the latest version to avoid compatibility issues.
- If your iPhone is disabled for security reasons, the same recovery mode process works, but you may see a message saying “iPhone is disabled, connect to iTunes.” Follow the same steps.
Troubleshooting
- Computer doesn’t recognize the iPhone: Try a different USB port, restart your computer, and reinstall iTunes (Windows). On a Mac, ensure Finder has permission to access the iPhone (you may see a prompt).
- Recovery Mode screen doesn’t appear: If you see the Apple logo or a black screen, you didn’t enter Recovery Mode correctly. Force restart your iPhone (press Volume Up, then Volume Down, then hold Side until you see the Apple logo) and try again.
- Restore fails with an error (e.g., error 4013): This often indicates a connection issue. Try a different cable, a different USB port, or restart your computer. If it persists, try on another computer.
- iPhone is stuck in Recovery Mode loop: After a failed restore, the phone may keep showing the computer icon. Simply repeat the restore process from step 4. If it still fails, try using a different computer or contact Apple Support.
- Forgot Apple ID password: Go to iforgot.apple.com to reset it. You’ll need access to your trusted phone number or email. If you can’t reset it, you won’t be able to activate the iPhone after the restore.
- No backup available: Unfortunately, the data is unrecoverable. If you had iCloud Photos or other cloud services, some data may be synced. But local data like messages and app data will be lost.
Frequently Asked Questions
Will this erase all my data?
Yes, restoring your iPhone via Recovery Mode erases all data and settings. You can only recover data if you have a backup (iCloud or computer).
Do I need to contact Apple Support before doing this?
No, the recovery mode process is available to anyone. However, if you have Activation Lock enabled (Find My iPhone), you’ll need your Apple ID and password to complete the setup after the restore.
Can I remove the passcode without a computer?
No, the official method requires a computer with iTunes or Finder. There is no way to bypass the passcode without a computer, unless you’ve previously set up a recovery method (like Face ID or Touch ID) that works while the phone is unlocked.
What if I don’t have a backup? Can I still use the phone?
Yes, you can set it up as a new iPhone. You’ll lose all local data, but the phone will be functional.
How long does the restore take?
The download of iOS can take 10-30 minutes depending on your internet speed, and the installation takes another 5-10 minutes. The whole process typically takes under an hour.
Will this remove the Activation Lock?
No, Activation Lock is tied to your Apple ID. After the restore, you’ll still need to enter your Apple ID and password to activate the phone. If you don’t have them, you’ll need to contact Apple Support with proof of purchase.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to View Wi-Fi Password on iPhone
- How to Stream on Twitch from PC
- GTM vs Facebook Pixel: What’s the Difference?
- Windows 10 Won’t Boot? Fix It in 30 Minutes
- Ubuntu 26.04 LTS Requirements & Hardware Checks
- ATK0100 Driver: Do You Need to Install It?