The three ways to reset an iPhone when you don't know the passcode
You can reset an iPhone without the passcode using Find My iPhone, iCloud.com, or Apple's recovery mode on a computer. All three methods erase the phone completely — you lose all data unless you have a backup. The fastest route depends on whether you remember your Apple ID password and whether you have access to another device or a computer.
Before you start: if you set up an Apple ID on this phone, you will need that Apple ID password to finish the reset. If you don't remember it, you can reset your Apple ID password at iforgot.apple.com before you begin the phone reset. This step matters because Apple locks the phone to your account after a factory reset, and you won't be able to use it without that password.
Key Takeaways
- All three reset methods erase your iPhone completely, so only use them if you have a backup or are willing to lose your data.
- You will need your Apple ID password to finish any reset, so confirm you remember it before you start.
- Find My iPhone is the fastest method if you have another device and remember your Apple ID password.
- Recovery mode on a computer works even if you don't have another device, but requires a Mac or Windows PC with iTunes or Finder.
- After the reset, your phone will ask for the Apple ID password before you can set it up again.
Using Find My iPhone from another device
This is the quickest method if you have an iPad, another iPhone, a Mac, or access to a friend's device. Go to iCloud.com on any browser, sign in with your Apple ID, and select Find My. Click Find My iPhone, then select your phone from the list of devices.
Click Erase This Device. The phone will wipe itself remotely, and you'll be asked to enter your Apple ID password to confirm. Once the erase completes, the phone will restart and show the setup screen. You can then set it up as new or restore from a backup if you have one saved to iCloud.
This method works even if your phone is powered off or far away, as long as it was turned on at some point in the past and connected to the internet. The erase happens the next time the phone connects to the internet.
Using iCloud.com directly
If you don't have another Apple device but you have a computer, you can go directly to iCloud.com in any web browser. Sign in with your Apple ID, select Find My, then Find My iPhone. The steps are identical to the method above: select your phone, click Erase This Device, and confirm with your Apple ID password.
This method requires you to remember your Apple ID email and password. If you don't, reset your Apple ID password at iforgot.apple.com first. The browser doesn't need to be on an Apple device — it works on Windows, Mac, or any computer with internet access.
Using recovery mode on a computer
If you don't have another device and can't use iCloud.com, you can reset the phone using a Mac or Windows PC. Connect your iPhone to the computer with a USB cable. On a Mac, open Finder and select your phone from the sidebar. On Windows, open iTunes (or Apple Devices if you have the newer version).
Look for a button that says Restore or Restore iPhone. Click it. The computer will read the latest iPhone software and install it on the phone, erasing everything in the process. This takes 10 to 30 minutes depending on your internet speed and the phone model.
When the restore finishes, the phone will restart and show the setup screen. You'll be asked for your Apple ID password. If you don't remember it, you won't be able to proceed — the phone is locked to that account. In that case, reset your Apple ID password at iforgot.apple.com, then set up the phone again.
What happens after the reset
Once the reset is complete, your iPhone will show the Hello screen and walk you through setup. You'll be asked to sign in with your Apple ID. This is a security feature called set up Lock — it prevents someone else from using your phone if it's stolen or lost.
If you have an iCloud backup, you can restore your apps, photos, messages, and settings during setup. If you don't have a backup, you'll set up the phone as new and can read your apps again from the App Store. Text messages, photos, and other data stored only on the phone will be gone.
Preventing this situation in the future
Turn on iCloud Backup so your data saves automatically. Go to Settings > [Your Name] > iCloud > iCloud Backup and toggle it on. Your phone will back up whenever it's plugged in, locked, and connected to Wi-Fi.
Write down your Apple ID password or store it in a password manager. If you forget it, you can reset it at iforgot.apple.com, but having it written down saves time. Consider using a password manager like 1Password, Bitwarden, or LastPass so you don't have to remember it yourself.
Frequently Asked Questions
What if I don't remember my Apple ID password?
Go to iforgot.apple.com and enter your Apple ID email. Apple will send you a link to reset the password. You'll need access to the email address or phone number associated with your account. Once you reset the password, you can use it to complete the iPhone reset.
Can I reset my iPhone without erasing everything?
No. All three methods erase the phone completely. If you want to keep your data, you need to know the passcode. If you've forgotten it and don't want to lose data, your only option is to restore from a backup after the reset.
How long does the reset take?
Find My iPhone and iCloud.com erase the phone in a few minutes, but the phone must be online. Recovery mode on a computer takes 10 to 30 minutes because it downloads and installs the full iPhone software. The exact time depends on your internet speed and phone model.
Will the reset remove the Apple ID from the phone?
No. After the reset, the phone will ask for the Apple ID password during setup. This is set up Lock, and it's designed to prevent theft. You must enter the correct Apple ID password to use the phone again.
What if my iPhone is offline when I try to erase it remotely?
The erase will happen the next time the phone connects to the internet. You can check the status by going back to Find My on iCloud.com — it will show whether the erase is pending or complete.